![]() |
Serveroptions.txt option (usehearts)
~AlphaFlame~
This is mainly for playerworlds wanting to use a different system than hearts... since lag can be created by having an if (playerhurt){playerhearts=playerfullhearts;} event being triggered every time you're hit, we should be able just to turn off the usage of hearts in the serveroptions.txt... or at least be able to specify if we want to use hearts/strings/variables whatever for HP. Ex: usehearts=false or *specify* usehealth=playerhp -- uses the string "playerhp" usehealth=hearts -- uses hearts |
So don't use playerhurt, in a timeout have:
if(playerhearts<playerfullhearts){ hitpoints--; playerhearts=playerfullhearts; } |
Quote:
|
~AlphaFlame~
Apparently you guys have no idea what I mean... I'll explain my system a bit... I'm using strings to determine the players HP/MP and a couple other additions... I don't want hearts to be included, and since I can use the space that the if (playerhurt){playerhearts=playerfullhearts;} takes up for other things - yes, things can be done with even that much space - and since there *is* a limit to the space an NPC can take up (48k was it?)... it would just be hellishly easier to turn off hearts. |
| All times are GMT +2. The time now is 09:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.