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

8.60 / Tfs 0.4 ( BROKEN 2B HP AND MP LIMIT same for Monsters ) OFFICAL RELEASE

i have a problem on here i made the an item give 1 billion health each time u use it. now this item can be used to get up to 4 billion health but when u use it again it will not calculate correctly and your health will go from 4 billion to around 1 billion. The script line im looking at which gets maxhealth and adds the extra is here.

Code:
setCreatureMaxHealth(cid, (getCreatureMaxHealth(cid) + 1000000000))

Im unsure but did you change on ur database from int to bigint?

Health & Healthmax
Mana & Manamax
 
Im unsure but did you change on ur database from int to bigint?

Health & Healthmax
Mana & Manamax


umm im pretty sure the database if fine i can put it manually higher if i edit database but the item wont increase it with the script anymore
 
I cant understand. U can help me put 9223372036854775808 life ???
I'm newbie but I think you must change type of variable health and healthmax in monster.cpp
Code:
health = (int32_t)(mType->health * multiplier);
healthMax = (int32_t)(mType->healthMax * multiplier);
 
max health/mana work just fine it goes way past 2 billion but there are so many source bugs in this release the exp is totally screwed ppl keep maxing out chars at 717217k the magic level its not normal.

I have a question can anyone compile me a 8.6 engine with fast attack and hp/mana in % only no edits to health or mana?
 
hello bro im sry but your tfs is bugged for example fire field when iwalk on it add +20 health and the tfs crashes always when i open it if you or some one can fix that fast please thanks :D
 
Code:
Error    85    error C2556: 'int32_t round(float)' : overloaded function differs only by return type from 'float round(float) throw()' (..\protocol.cpp)    c:\local\ots\tools.h    99    1    theforgottenserver

Error    86    error C2371: 'round' : redefinition; different basic types (..\protocol.cpp)    c:\local\ots\tools.h    99    1    theforgottenserver

Error    87    error C2556: 'int32_t round(float)' : overloaded function differs only by return type from 'float round(float) throw()' (..\protocolgame.cpp)    c:\local\ots\tools.h    99    1    theforgottenserver

Some error i got when i try compile your source
 
When I put any other ip than 127.0.0.1 it crashes, ip or domain, both crashed, anyone?
 
Yea happens for me too, I think its bcus the sources are rev3777 and if im not wrong 3777 is made for linux xD
 
my server crash when i put ip adress, but if i open with 127.0.0.1 the server don't crash, someone help me please
 
i need help to compile this sources with hp and mp in % and level broken please if someone have sucess compile can pass the link? please and thank you..
 
For windows? if so then it is already compiled/attached to the thread
 
that have some error when i put public ip only run with ip 127.0.0.1 and after i tested in localhost the windows defenter deleted that :/ yes for windows i need it please
 
I released these sources long time ago.
If you want to use stable source then just use:
or
 
Back
Top