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

koshei the deathles spawn when walking at tile

shawntio

Member
Joined
Apr 14, 2008
Messages
737
Reaction score
5
Location
sweden
Hi i have the blue legs quest script but koshei the deathless don't respawn ;S he should respawn when you walk at a special tile like the door or something but he dont :/ pelase reply Thanks!
 
omg.. you have got to be kidding, look just put that script in the lua file[dont edit anything in it] , and add that line to the movemnt.xml , and add 7000 to the tile in game
/attr aid 7000. And see the result.
 
LUA:
local config = {
	storage = 2222 --Quest storage
	pos = {x=33179, y=31867, z=12, stackpos = 253} --Koshei pos
	}
function onStepIn(cid, item, position, fromPosition)
	if isPlayer(cid) and getPlayerStorageValue(cid, config.storage) == -1 then
	                        doSummonCreature("Koshei The Deathless", pos) 
							setPlayerStorageValue(cid, config.storage, 1)
							doCreatureSay(cid, "You have awoke a old deathless creature, Koshei the Deathless!", TALKTYPE_ORANGE_1)
		end
	return true
	end
Should work now :)
 
I changed the name of the creature from Koshei the Deathless to Koshei The Deathless, because in his creature file it is with The not the, and for me it must be like this, else it won't work.
 
what for this
Code:
 doSummonCreature("Koshei The Deathless", pos)
must be
Code:
 doSummonCreature("Koshei The Deathless", conf.pos)
 
LUA:
local config = {
	storage = 2222 --Quest storage
	pos = {x=33179, y=31867, z=12, stackpos = 253} --Koshei pos
	}
function onStepIn(cid, item, position, fromPosition)
	if isPlayer(cid) and getPlayerStorageValue(cid, config.storage) == -1 then
	                        doSummonCreature("Koshei The Deathless", config.pos) 
							setPlayerStorageValue(cid, config.storage, 1)
							doCreatureSay(cid, "You have awoke a old deathless creature, Koshei the Deathless!", TALKTYPE_ORANGE_1)
		end
	return true
	end
Sorry my fault, windows scripting sucks.
 
Back
Top