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

Solved Create item on server startup.

Exoltes

Novia OTserv Developer
Joined
Jul 2, 2009
Messages
563
Reaction score
47
Location
Belgium
I'm working on a 8.54 Open Tibia Server using The Forgotten Server - Version 0.2.7 (Mystic Spirit).

I'm looking for a way to create certain items on my server the moment I start it. (due to some problems I'm unable to map them)

Any help is welcome.
Thanks in advance.
 
I'm not at home, but generally you need to make a "function onStartUp()" event in globalevents, and simply use the add item command, and set the position.. the exact same as if you were making a lever in actions.xml.
 
The Forgotten Server - Version 0.2.7 (Mystic Spirit) doesn't include global events :p

But maybe it can be done within creaturescripts?
 
Nvm though of a soltion, I'll put an item which I don't use on my map with my map editor and make it decay into the one I want after 1 sec.
That Should do the trick :)
Thx eitherway for checking this out.
 
Back
Top