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

Compiling How can I convert "rooked" system to "cant die below x lvl"?

Hellrage

Worr
Joined
Oct 30, 2007
Messages
2,477
Reaction score
5
Location
Sweden
Hello.

I want to change "rooked" system to work with my war server.

I have this in config.lua:
Code:
    -- Level on which player will get rooked
    LevelToRook = 5

When someone die to level 59 (LevelToRook = 59) I want him to be teleported to his normal temple position (RookTempleId = 1, same ID as normal city).

When this happens normally there are many things changed:
  • Vocation is set back to "no vocation"
  • Level is reset to 1
  • Items are reset to start equipment
  • Etc

I only want players level to reset to 60. Backpacks, skills, vocation and others must be the same.

Is this possible? How can I do this? I have sources but I dont really know what to change.

edit: Solved. If you want to know how, send me pm.
 
Last edited:
Hello.

I want to change "rooked" system to work with my war server.

I have this in config.lua:
Code:
    -- Level on which player will get rooked
    LevelToRook = 5

When someone die to level 59 (LevelToRook = 59) I want him to be teleported to his normal temple position (RookTempleId = 1, same ID as normal city).

When this happens normally there are many things changed:
  • Vocation is set back to "no vocation"
  • Level is reset to 1
  • Items are reset to start equipment
  • Etc

I only want players level to reset to 60. Backpacks, skills, vocation and others must be the same.

Is this possible? How can I do this? I have sources but I dont really know what to change.

edit: Solved. If you want to know how, send me pm.

Tjena Alex, hur löste du detta?
 
Back
Top