Jump to content
  • 0

EXP Chat Display


llchrisll

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Hello guys,

 

first off I'm not sure if I'm in the correct section, sorry in advance.

 

To the problem or rather question about the EXP Display in the Chatbox:

 

I have the feeling that it does show one number too less as from the actual EXP given by monsters.

 

Here some screenshots from the Chatbox and from the debugmes taken from the map-server:

post-402-0-93661000-1442912508_thumb.png

post-402-0-41974600-1442912512_thumb.png

 

Image #1:

1st Line: Value displayed by client

EXP gained Base: 3382, Job: 3804

2nd Line: Ignore please

3rd Line: Value provided by OnPCKillEvent with dispbottom and getexp

 

Image #2:

First two debug lines are from my custom script calculated with exp / 100.

Last three lines are the important ones:

There I calculated the EXP via /1000 instead and I get the same value as in the image above.

 

My question is: what is correct? 

 

Here is that code, if you want:

OnNPCKillEvent:
set .@expr,100;
debugmes "EXP Rate: "+.@expr;
set .@bexp,(getmonsterinfo(killedrid,3)*.@expr)/100;
set .@jexp,(getmonsterinfo(killedrid,4)*.@expr)/100;
debugmes "Base EXP: "+.@bexp+", Job EXP: "+.@jexp;
set .@base_m,getmonsterinfo(killedrid,3);
set .@job_m,getmonsterinfo(killedrid,4);
debugmes "Monster Base EXP: "+.@base_m;
debugmes "Monster Job EXP: "+.@job_m;
debugmes "Monster Base EXP * "+.@expr+": "+set(.@base_rate,.@base_m*.@expr);
debugmes "Monster Job EXP * "+.@expr+": "+set(.@job_rate,.@job_m*.@expr);
debugmes "Monster Base EXP Bonus / 1000: "+set(.@btest,.@base_rate/1000);
debugmes "Monster Job EXP Bonus / 1000: "+set(.@jtest,.@job_rate/1000);
debugmes "Base EXP: "+.@btest+", Job EXP: "+.@jtest;
end; 

Regards,

Chris

Edited by llchrisll
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  01/09/22
  • Last Seen:  

On 9/22/2015 at 10:14 AM, llchrisll said:

Hello guys,

 

first off I'm not sure if I'm in the correct section, sorry in advance.

 

To the problem or rather question about the EXP Display in the Chatbox:

 

I have the feeling that it does show one number too less as from the actual EXP given by monsters.

 

Here some screenshots from the Chatbox and from the debugmes taken from the map-server:

post-402-0-93661000-1442912508_thumb.png

post-402-0-41974600-1442912512_thumb.png

 

Image #1:

1st Line: Value displayed by client

EXP gained Base: 3382, Job: 3804

2nd Line: Ignore please

3rd Line: Value provided by OnPCKillEvent with dispbottom and getexp

 

Image #2:

First two debug lines are from my custom script calculated with exp / 100.

Last three lines are the important ones:

There I calculated the EXP via /1000 instead and I get the same value as in the image above.

 

My question is: what is correct? 

 

Here is that code, if you want:

OnNPCKillEvent:
set .@expr,100;
debugmes "EXP Rate: "+.@expr;
set .@bexp,(getmonsterinfo(killedrid,3)*.@expr)/100;
set .@jexp,(getmonsterinfo(killedrid,4)*.@expr)/100;
debugmes "Base EXP: "+.@bexp+", Job EXP: "+.@jexp;
set .@base_m,getmonsterinfo(killedrid,3);
set .@job_m,getmonsterinfo(killedrid,4);
debugmes "Monster Base EXP: "+.@base_m;
debugmes "Monster Job EXP: "+.@job_m;
debugmes "Monster Base EXP * "+.@expr+": "+set(.@base_rate,.@base_m*.@expr);
debugmes "Monster Job EXP * "+.@expr+": "+set(.@job_rate,.@job_m*.@expr);
debugmes "Monster Base EXP Bonus / 1000: "+set(.@btest,.@base_rate/1000);
debugmes "Monster Job EXP Bonus / 1000: "+set(.@jtest,.@job_rate/1000);
debugmes "Base EXP: "+.@btest+", Job EXP: "+.@jtest;
end; 

Regards,

Chris

this is the same situation we are experiencing today

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

What's your base_exp_rate and  job_exp_rate value on /conf/exp.conf?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

200000 = 2000%

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...