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

Stat system

Not this time xD if not wrong login.lua?
Lua:
[CODE=lua]Search "player:registerEvent("StatSystemModal")" (2 hits in 2 files of 1709 searched)
  C:\Ots\Forgotten server\data\creaturescripts\scripts\login.lua (1 hit)
    Line 50:     player:registerEvent("StatSystemModal")
  C:\Ots\Forgotten server\data\lib\point_stat_system.lua (1 hit)
    Line 39:     player:registerEvent("StatSystemModal")
[/CODE]
 
Use support board, no point in trashing this thread.
 
Note for people who uses it
you can bug your mana with this system
lets say as example u use 5 points at level 50
and someone else use those 5 points at level 150
means
the 150 level will have always more mana even after both reseted the mana

best solution prob would be using condition onLogin
 
Last edited:
This system was originally written for @Lucifer by me long time ago, he paid for it and has full credits to it. He messaged me, that he won't use it anymore and wants to release it.
He told me that I should do it, so I'm doing it.

This code was tested and does work with TFS 1.3, it should also work on any 1.x as long as all the interfaces needed are avaliable.

How does it work?


To add it to your server, just register all files to correct tfs interfaces, healthchange, advance and modal are creaturescripts, talkaction is talkaction. Point_stat_system is lib file, you add a dofile in main lib file in libs folder.

and that's it basically.

Enjoy!
hello, could you modify this system according to the image below, acquiring points with missions or tasks? Each stat gives different % or x number like health/mana as per the picture.

 
Note for people who uses it
you can bug your mana with this system
lets say as example u use 5 points at level 50
and someone else use those 5 points at level 150
means
the 150 level will have always more mana even after both reseted the mana

best solution prob would be using condition onLogin
May someone help with this? ^^`
 
Back
Top