Jump to content
  • 0

Stat points cost per stat point problem


Poseidon

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

Okay here is my problem im currently developing my server with max lvl 255/120 renewel mechanics and max stats 255, i can go to max lvl 255 and job lvl 120 but i can only put about 200 stat points in one stat the cost per stat point goes up to 92 when hitting 195 stat points. how can i fix this problem please? ive already tried changing my statpoint.txt with pre-renewel but it didnt work.

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

Hi,

for this matter you got 2 choices.

-Recompile server with pre-renewal formulas overall by commenting this line in renewal.h,

#define RENEWAL

and recompile. It well turn your server into part pre-renewal for several formulas unless you comment out the rest on it.

or

-Go in the source code, pc.c, and change the following line,

sp += (low < 100) ? (2 + (low - 1) / 10) : (16 + 4 * ((low - 100) / 5));

for

sp += ( 1 + (low + 9) / 10 );

and recompile the server which will make server use pre-renewal formulas for status point calculations while keeping the rest of the renewal settings.

Edited by JoWei
  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

Thank you for you quick reply

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   3
  • Joined:  04/02/12
  • Last Seen:  

thanks to this post problem solved!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

thanks /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  21
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

thanks for this info.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  198
  • Reputation:   47
  • Joined:  08/01/12
  • Last Seen:  

Thanks! /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

can someone help?

i already make like this

if ( low >= pc_maxparameter(sd) && val > 0 )
return 0; // Official servers show '0' when max is reached

high = low + val;

if ( val < 0 )
swap(low, high);

for ( ; low < high; low++ )
#ifdef RENEWAL // renewal status point cost formula
sp += ( 1 + (low + 9) / 10 );
#else
sp += ( 1 + (low + 9) / 10 );
#endif

return sp;
}

still same with renewal stats and i already recompile

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  10/18/12
  • Last Seen:  

Thank you SO much Keep up!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   11
  • Joined:  05/31/12
  • Last Seen:  

IF YOU DO THIS THE LEVEL WILL GO TO 99/70 SO HOW WOULD YOU FIX THAT PROBLEM?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   16
  • Joined:  05/18/20
  • Last Seen:  

On 8/11/2012 at 4:06 AM, PapaZola said:

can someone help?

i already make like this

 


if ( low >= pc_maxparameter(sd) && val > 0 )
return 0; // Official servers show '0' when max is reached

high = low + val;

if ( val < 0 )
swap(low, high);

for ( ; low < high; low++ )
#ifdef RENEWAL // renewal status point cost formula
sp += ( 1 + (low + 9) / 10 );
#else
sp += ( 1 + (low + 9) / 10 );
#endif

return sp;
}
 

 

still same with renewal stats and i already recompile

I am also dealing with the same problems..

anyone can help?

Link to comment
Share on other sites

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.

×
×
  • Create New...