• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Question about Character Stats Window v83

Joined
Apr 13, 2009
Messages
592
Reaction score
141
Hi,

so I was playing around in a v83 source by adding some bonus stat things for characters. I noticed that if you add extra stat through code to variables such as localstr or localluk it does add to your total amount of stat. However, in the character stat window UI, the respective stat that I tried to increase does not display correctly. I was just wondering if its possible to still display those extra stat points added or if it has to be done through client editing.

Thanks.
 
Junior Spellweaver
Joined
Apr 30, 2012
Messages
100
Reaction score
41

The client calculates these stat bonuses locally. However, they're calculated using data sent from the server. This may be the stats on the equipment you're wearing or the buffs you tell the client to have active at any given point in time.

Your 'local luk' is for the server to have a good idea of what stats the player should have at any given time, assuming the server calculates this correctly. I recommend not touching this unless you're trying to make the count more accurate than it already may be, if it needs to be.

As for adjusting the stats you see in the window, you'll need to manipulate the buffs, equipment, or any other factors you're sending that the client may use to calculate stats instead of modifying your server's reference variable directly.
 
Upvote 0
Joined
Apr 13, 2009
Messages
592
Reaction score
141

Thanks! Would you happen to know where the server actually sends the data to that UI?
 
Upvote 0