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

3x REQUEST

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
@Zulazza
- When the monster zulazza the corruptor dies will close the gate [Will create the a item with id: 9486 in position {x=1000, y=1000, z=7}, and will create a teleport in the position {x=1010, y=1000, z=7} with actionid 9474].

@random spawn
I want just a simple thing, that I don't know how to do, it's like:

- A Demon will respawn in a random time (2 - 5 minutes) in the position {x=1000, y=1000, z=7}

@a event mby(?)
Three times per week from 6pm - 9pm the player can enter in the teleport with actionid (8884), and only can enter the maximum of 8 players (check position from: {x=1000, y= 1000, z=7 <> to: {x=1050, y= 1020, z=7}). And after 15 seconds, will create effect Nº8 in the position {x=1005, y=1000, z=7} and will summon a Demon, and when kill the Demon, will got a random time to respawn again (2 - 4 minutes), after 20 minutes all players from {x=1000, y= 1000, z=7 <> {x=1050, y= 1020, z=7} will be kicked out of the room, and the Demon was in the room, will be deleted.

Thanks so much. I hope someone can make theses requests for me/community.
 
Last edited:
use this
Lua:
--[[
otland.net/members/slave+ots
[url]http://otland.net/reputation.php?do=addreputation&p=1821077[/url]
]]--
local config = {
item_id = 9486,-- blcok itemid
 pos_block = {x=1000, y=1000, z=7},-- beock item pos
 teleport_pos = {x=1010, y=1000, z=7}, -- pos where u need tp to be created
 teleport_aid = 9474, -- teleport action id
 monster = 'Demon' -- keep this params  '  '
}

function onKill(cid, uid, target, damage, flags, war)
if (isMonster(uid)) and (isPlayer(target)) and getMonsterInfo(name) == config.monster then 
local pos = getThingPos(cid)
	 doBroadcastMessage('the '..monster..' is died. now the gat is closed.')
	 	doCreateItem(config.item_id, config.pos_block)
		doItemSetAttribute(doCreateItem(1387,1, config.teleport_pos), "aid", config.teleport_aid.TP_uid)
	 return true
 end

 return true
end
rep++ if it helped
 
use this
Lua:
--[[
otland.net/members/slave+ots
[URL]http://otland.net/reputation.php?do=addreputation&p=1821077[/URL]
]]--
local config = {
item_id = 9486,-- blcok itemid
 pos_block = {x=1000, y=1000, z=7},-- beock item pos
 teleport_pos = {x=1010, y=1000, z=7}, -- pos where u need tp to be created
 teleport_aid = 9474, -- teleport action id
 monster = 'Demon' -- keep this params  '  '
}

function onKill(cid, uid, target, damage, flags, war)
if (isMonster(uid)) and (isPlayer(target)) and getMonsterInfo(name) == config.monster then 
local pos = getThingPos(cid)
     doBroadcastMessage('the '..monster..' is died. now the gat is closed.')
         doCreateItem(config.item_id, config.pos_block)
        doItemSetAttribute(doCreateItem(1387,1, config.teleport_pos), "aid", config.teleport_aid.TP_uid)
     return true
 end

 return true
end
rep++ if it helped

TP_uid is not defined
 
Back
Top