• 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!

Lua Problem with parhment, can't move item!

Michaeel

New Member
Joined
Mar 6, 2009
Messages
272
Reaction score
1
Hey i have problem with parchment room quest.
Script works good. when i take parchment, scripts summons 4 demons but only GM can take parchment :S

parchment15.png


data/movemens/scripts/Demon-Edron-Summon4.lua
Code:
function onAddItem(moveitem, tileitem, position)
  if moveitem.itemid == 1953 then
    doRemoveItem(60999)
    parchment = {x=33063, y=31623, z=15}
    demon1pos = {x=33060, y=31623, z=15}
    demon2pos = {x=33066, y=31623, z=15}
    demon3pos = {x=33060, y=31627, z=15}
    demon4pos = {x=33066, y=31627, z=15}
    doSummonCreature("Demon", demon1pos)
    doSummonCreature("Demon", demon2pos)
    doSummonCreature("Demon", demon3pos)
    doSummonCreature("Demon", demon4pos)
	addEvent(doCreateItem,10000,1953,1,parchment)
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You made the demon lord angry and he summoned 4 demons around you.")
	end
	return TRUE
end

data/movements/movement.xml
Code:
 <movevent type="AddItem" event="script" actionid="60999" value="Demon-Edron-Summon4.lua"/>

What's wrong?
 
According to that you would have to put the parchment on your backpack SLOT (as if it were a container).
Sorry, it won't work.
 
If it's a 8.54 map, it could be possible that there is a invisible piece of ground. Unless of course you did that map on your own. Just saying ^^
 
Back
Top