• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

INQ Doesn't works

yanger

Banned User
Joined
Aug 28, 2009
Messages
740
Reaction score
7
Location
Stalowa Wola, Poland
Yo,
I have one real map.. and this guy who gave me this map said me that is 100% real, inq, poi like real. I did poi and it works, but INQ doesnt works. I killed all at normal player, then i go to final and Magic Wall is burning and burning and i can't do anything. :blink:

I have this scripts:
inq1
inq2
inq3
inq4
inqchests

What i have to paste here? Thanks. ^^
 
Inqchests
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
   	if item.uid == 1300 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found robe of the underworld.")
   			doPlayerAddItem(cid,8890,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
   	elseif item.uid == 1301 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a  Spellbook of Dark Mysteries.")
   			doPlayerAddItem(cid,8918,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
   	elseif item.uid == 1302 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Fireborn Giant Armor.")
   			doPlayerAddItem(cid,8881,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
		end
   	elseif item.uid == 1303 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Master Archer's Armor.")
   			doPlayerAddItem(cid,8888,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
  	elseif item.uid == 1304 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Royal Crossbow.")
   			doPlayerAddItem(cid,8851,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
	elseif item.uid == 1305 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Hellforged Axe.")
   			doPlayerAddItem(cid,8924,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
	elseif item.uid == 1306 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Obsidian Truncheon.")
   			doPlayerAddItem(cid,8928,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
	elseif item.uid == 1307 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Emerald Sword.")
   			doPlayerAddItem(cid,8930,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
	elseif item.uid == 1308 then
		queststatus = getPlayerStorageValue(cid,6076)
   		if queststatus == -1 then
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Warsinger Bow.")
   			doPlayerAddItem(cid,8854,1)
   			setPlayerStorageValue(cid,6076,1)
			if getPlayerSex(cid) == 1 then 
            doPlayerAddOutfit(cid, 289, 2)
			doPlayerAddOutfit(cid, 289, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			elseif getPlayerSex(cid) == 0 then
            doPlayerAddOutfit(cid, 288, 2)
			doPlayerAddOutfit(cid, 288, 1)
			doSendMagicEffect(getCreaturePosition(cid), 49)
			end
   		else
   			doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
   		end
	end
   	return 1
end

inq1
Code:
function onUse(cid, item, frompos, item2, topos)
	wall1 = {x=33226, y=31721, z=11, stackpos=1}
	wall2 = {x=33227, y=31721, z=11, stackpos=1}
	wall3 = {x=33228, y=31721, z=11, stackpos=1}
	wall4 = {x=33229, y=31721, z=11, stackpos=1}
	wall5 = {x=33230, y=31721, z=11, stackpos=1}
	wall6 = {x=33231, y=31721, z=11, stackpos=1}
	wall7 = {x=33232, y=31721, z=11, stackpos=1}
	wall8 = {x=33233, y=31721, z=11, stackpos=1}
	wall9 = {x=33234, y=31721, z=11, stackpos=1}
	wall10 = {x=33235, y=31721, z=11, stackpos=1}
	wall11 = {x=33236, y=31721, z=11, stackpos=1}
	wall12 = {x=33237, y=31721, z=11, stackpos=1}
	wall13 = {x=33238, y=31721, z=11, stackpos=1}
	getwall1 = getThingfromPos(wall1)
	getwall2 = getThingfromPos(wall2)
	getwall3 = getThingfromPos(wall3)
	getwall4 = getThingfromPos(wall4)
	getwall5 = getThingfromPos(wall5)
	getwall6 = getThingfromPos(wall6)
	getwall7 = getThingfromPos(wall7)
	getwall8 = getThingfromPos(wall8)
	getwall9 = getThingfromPos(wall9)
	getwall10 = getThingfromPos(wall10)
	getwall11 = getThingfromPos(wall11)
	getwall12 = getThingfromPos(wall12)
	getwall13 = getThingfromPos(wall13)
	

	if item.itemid == 1945 and getwall1.itemid == 1524 then
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)
		doRemoveItem(getwall10.uid,1)
		doRemoveItem(getwall11.uid,1)
		doRemoveItem(getwall12.uid,1)
		doRemoveItem(getwall13.uid,1)
		
		doCreateItem(1050,1,wall1)
		doCreateItem(1050,1,wall2)
		doCreateItem(1050,1,wall3)
		doCreateItem(1050,1,wall4)
		doCreateItem(1050,1,wall5)
		doCreateItem(1050,1,wall6)
		doCreateItem(1050,1,wall7)
		doCreateItem(1050,1,wall8)
		doCreateItem(1050,1,wall9)
		doCreateItem(1050,1,wall10)
		doCreateItem(1050,1,wall11)
		doCreateItem(1050,1,wall12)
		doCreateItem(1050,1,wall13)
		doTransformItem(item.uid,item.itemid+1)
	elseif item.itemid == 1946 then
	
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)
		doRemoveItem(getwall10.uid,1)
		doRemoveItem(getwall11.uid,1)
		doRemoveItem(getwall12.uid,1)
		doRemoveItem(getwall13.uid,1)
		doTransformItem(item.uid,item.itemid-1)	
		
		doCreateItem(1524,1,wall1)
		doCreateItem(1524,1,wall2)
		doCreateItem(1524,1,wall3)
		doCreateItem(1524,1,wall4)
		doCreateItem(1524,1,wall5)
		doCreateItem(1524,1,wall6)
		doCreateItem(1524,1,wall7)
		doCreateItem(1524,1,wall8)
		doCreateItem(1524,1,wall9)
		doCreateItem(1524,1,wall10)
		doCreateItem(1524,1,wall11)
		doCreateItem(1524,1,wall12)
		doCreateItem(1524,1,wall13)
		
		
	else
		doPlayerSendCancel(cid,"Sorry, not possible.")
	end

	return 1
end
inq2
Code:
function onUse(cid, item, frompos, item2, topos)
	wall1 = {x=33223, y=31724, z=11, stackpos=1}
	wall2 = {x=33223, y=31725, z=11, stackpos=1}
	wall3 = {x=33223, y=31726, z=11, stackpos=1}
	wall4 = {x=33223, y=31727, z=11, stackpos=1}
	wall5 = {x=33223, y=31728, z=11, stackpos=1}
	wall6 = {x=33223, y=31729, z=11, stackpos=1}
	wall7 = {x=33223, y=31730, z=11, stackpos=1}
	wall8 = {x=33223, y=31731, z=11, stackpos=1}
	wall9 = {x=33223, y=31732, z=11, stackpos=1}

	getwall1 = getThingfromPos(wall1)
	getwall2 = getThingfromPos(wall2)
	getwall3 = getThingfromPos(wall3)
	getwall4 = getThingfromPos(wall4)
	getwall5 = getThingfromPos(wall5)
	getwall6 = getThingfromPos(wall6)
	getwall7 = getThingfromPos(wall7)
	getwall8 = getThingfromPos(wall8)
	getwall9 = getThingfromPos(wall9)
	

	if item.itemid == 1945 and getwall1.itemid == 1526 then
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)
		
		doCreateItem(1049,1,wall1)
		doCreateItem(1049,1,wall2)
		doCreateItem(1049,1,wall3)
		doCreateItem(1049,1,wall4)
		doCreateItem(1049,1,wall5)
		doCreateItem(1049,1,wall6)
		doCreateItem(1049,1,wall7)
		doCreateItem(1049,1,wall8)
		doCreateItem(1049,1,wall9)

		doTransformItem(item.uid,item.itemid+1)
	elseif item.itemid == 1946 then
	
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)

		doTransformItem(item.uid,item.itemid-1)	
		
		doCreateItem(1526,1,wall1)
		doCreateItem(1526,1,wall2)
		doCreateItem(1526,1,wall3)
		doCreateItem(1526,1,wall4)
		doCreateItem(1526,1,wall5)
		doCreateItem(1526,1,wall6)
		doCreateItem(1526,1,wall7)
		doCreateItem(1526,1,wall8)
		doCreateItem(1526,1,wall9)

		
		
	else
		doPlayerSendCancel(cid,"Sorry, not possible.")
	end

	return 1
end
inq3
Code:
function onUse(cid, item, frompos, item2, topos)
	wall1 = {x=33226, y=31735, z=11, stackpos=1}
	wall2 = {x=33227, y=31735, z=11, stackpos=1}
	wall3 = {x=33228, y=31735, z=11, stackpos=1}
	wall4 = {x=33229, y=31735, z=11, stackpos=1}
	wall5 = {x=33230, y=31735, z=11, stackpos=1}
	wall6 = {x=33231, y=31735, z=11, stackpos=1}
	wall7 = {x=33232, y=31735, z=11, stackpos=1}
	wall8 = {x=33233, y=31735, z=11, stackpos=1}
	wall9 = {x=33234, y=31735, z=11, stackpos=1}
	wall10 = {x=33235, y=31735, z=11, stackpos=1}
	wall11 = {x=33236, y=31735, z=11, stackpos=1}
	wall12 = {x=33237, y=31735, z=11, stackpos=1}
	wall13 = {x=33238, y=31735, z=11, stackpos=1}
	getwall1 = getThingfromPos(wall1)
	getwall2 = getThingfromPos(wall2)
	getwall3 = getThingfromPos(wall3)
	getwall4 = getThingfromPos(wall4)
	getwall5 = getThingfromPos(wall5)
	getwall6 = getThingfromPos(wall6)
	getwall7 = getThingfromPos(wall7)
	getwall8 = getThingfromPos(wall8)
	getwall9 = getThingfromPos(wall9)
	getwall10 = getThingfromPos(wall10)
	getwall11 = getThingfromPos(wall11)
	getwall12 = getThingfromPos(wall12)
	getwall13 = getThingfromPos(wall13)
	

	if item.itemid == 1945 and getwall1.itemid == 1524 then
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)
		doRemoveItem(getwall10.uid,1)
		doRemoveItem(getwall11.uid,1)
		doRemoveItem(getwall12.uid,1)
		doRemoveItem(getwall13.uid,1)
		
		doCreateItem(1050,1,wall1)
		doCreateItem(1050,1,wall2)
		doCreateItem(1050,1,wall3)
		doCreateItem(1050,1,wall4)
		doCreateItem(1050,1,wall5)
		doCreateItem(1050,1,wall6)
		doCreateItem(1050,1,wall7)
		doCreateItem(1050,1,wall8)
		doCreateItem(1050,1,wall9)
		doCreateItem(1050,1,wall10)
		doCreateItem(1050,1,wall11)
		doCreateItem(1050,1,wall12)
		doCreateItem(1050,1,wall13)
		doTransformItem(item.uid,item.itemid+1)
	elseif item.itemid == 1946 then
	
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)
		doRemoveItem(getwall10.uid,1)
		doRemoveItem(getwall11.uid,1)
		doRemoveItem(getwall12.uid,1)
		doRemoveItem(getwall13.uid,1)
		doTransformItem(item.uid,item.itemid-1)	
		
		doCreateItem(1524,1,wall1)
		doCreateItem(1524,1,wall2)
		doCreateItem(1524,1,wall3)
		doCreateItem(1524,1,wall4)
		doCreateItem(1524,1,wall5)
		doCreateItem(1524,1,wall6)
		doCreateItem(1524,1,wall7)
		doCreateItem(1524,1,wall8)
		doCreateItem(1524,1,wall9)
		doCreateItem(1524,1,wall10)
		doCreateItem(1524,1,wall11)
		doCreateItem(1524,1,wall12)
		doCreateItem(1524,1,wall13)
		
		
	else
		doPlayerSendCancel(cid,"Sorry, not possible.")
	end

	return 1
end
inq4
Code:
function onUse(cid, item, frompos, item2, topos)
	wall1 = {x=33241, y=31724, z=11, stackpos=1}
	wall2 = {x=33241, y=31725, z=11, stackpos=1}
	wall3 = {x=33241, y=31726, z=11, stackpos=1}
	wall4 = {x=33241, y=31727, z=11, stackpos=1}
	wall5 = {x=33241, y=31728, z=11, stackpos=1}
	wall6 = {x=33241, y=31729, z=11, stackpos=1}
	wall7 = {x=33241, y=31730, z=11, stackpos=1}
	wall8 = {x=33241, y=31731, z=11, stackpos=1}
	wall9 = {x=33241, y=31732, z=11, stackpos=1}

	getwall1 = getThingfromPos(wall1)
	getwall2 = getThingfromPos(wall2)
	getwall3 = getThingfromPos(wall3)
	getwall4 = getThingfromPos(wall4)
	getwall5 = getThingfromPos(wall5)
	getwall6 = getThingfromPos(wall6)
	getwall7 = getThingfromPos(wall7)
	getwall8 = getThingfromPos(wall8)
	getwall9 = getThingfromPos(wall9)
	

	if item.itemid == 1945 and getwall1.itemid == 1526 then
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)
		
		doCreateItem(1049,1,wall1)
		doCreateItem(1049,1,wall2)
		doCreateItem(1049,1,wall3)
		doCreateItem(1049,1,wall4)
		doCreateItem(1049,1,wall5)
		doCreateItem(1049,1,wall6)
		doCreateItem(1049,1,wall7)
		doCreateItem(1049,1,wall8)
		doCreateItem(1049,1,wall9)

		doTransformItem(item.uid,item.itemid+1)
	elseif item.itemid == 1946 then
	
		doRemoveItem(getwall1.uid,1)
		doRemoveItem(getwall2.uid,1)
		doRemoveItem(getwall3.uid,1)
		doRemoveItem(getwall4.uid,1)
		doRemoveItem(getwall5.uid,1)
		doRemoveItem(getwall6.uid,1)
		doRemoveItem(getwall7.uid,1)
		doRemoveItem(getwall8.uid,1)
		doRemoveItem(getwall9.uid,1)

		doTransformItem(item.uid,item.itemid-1)	
		
		doCreateItem(1526,1,wall1)
		doCreateItem(1526,1,wall2)
		doCreateItem(1526,1,wall3)
		doCreateItem(1526,1,wall4)
		doCreateItem(1526,1,wall5)
		doCreateItem(1526,1,wall6)
		doCreateItem(1526,1,wall7)
		doCreateItem(1526,1,wall8)
		doCreateItem(1526,1,wall9)

		
		
	else
		doPlayerSendCancel(cid,"Sorry, not possible.")
	end

	return 1
end

Here you have
 
Back
Top