Jump to content
  • 0

SP Bar always filled upon respawn...


Question

Posted

When I character dies and returns back their save point their SP bar is refilled instead of being at 1SP per the conf/battle/player.conf. I have tested this over and over again with the same result and had non-gm players do the same. I could just adjust this in the source files, however, I would like actually to fix it instead of just putting a band-aid on it! My version is 16600.

Peopleperson49

// The amount of SP a player will respawn with, 0 is default.

// (Unit is in percentage of total SP, 100 is full heal of SP, 0 is respawn with 1SP total.)

restart_sp_rate: 0

7 answers to this question

Recommended Posts

Posted

No I havn't tried any fixes to it yet, I would like to know why it's acting that way. If I just fix it now and ignore it the next time I do an update I will have to fix it all over again! I would perfer not to do that. What is in the battle.c that I should look at?

Peopleperson49

Posted

In battle.c you can set absolute values for your server to obey.

You can look up the line:

{ "restart_sp_rate", &battle_config.restart_sp_rate, 0, 0, 100, },

And try to alter the latter part:

0, 0, 100, },

to change it into anything you want your server to be set to, by changing the first zero into another percentage value,

so it works the same as with player.conf only this is closer to being a "hardcoded" solution, and the server is more likely

to work with those settings as a fail safe.

Either way, what I do whenever I fix anything in my server, is make notitions. Just to keep track of everything.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...