llchrisll Posted September 22, 2015 Share Posted September 22, 2015 (edited) 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: 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 [email protected],100; debugmes "EXP Rate: "[email protected]; set [email protected],(getmonsterinfo(killedrid,3)*[email protected])/100; set [email protected],(getmonsterinfo(killedrid,4)*[email protected])/100; debugmes "Base EXP: "[email protected]+", Job EXP: "[email protected]; set [email protected]_m,getmonsterinfo(killedrid,3); set [email protected]_m,getmonsterinfo(killedrid,4); debugmes "Monster Base EXP: "[email protected]_m; debugmes "Monster Job EXP: "[email protected]_m; debugmes "Monster Base EXP * "[email protected]+": "+set([email protected]_rate,[email protected]_m*[email protected]); debugmes "Monster Job EXP * "[email protected]+": "+set([email protected]_rate,[email protected]_m*[email protected]); debugmes "Monster Base EXP Bonus / 1000: "+set([email protected],[email protected]_rate/1000); debugmes "Monster Job EXP Bonus / 1000: "+set([email protected],[email protected]_rate/1000); debugmes "Base EXP: "[email protected]+", Job EXP: "[email protected]; end; Regards, Chris Edited September 22, 2015 by llchrisll Quote Link to comment Share on other sites More sharing options...
0 arcada Posted January 19 Share Posted January 19 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: 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 Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted September 22, 2015 Share Posted September 22, 2015 What's your base_exp_rate and job_exp_rate value on /conf/exp.conf? Quote Link to comment Share on other sites More sharing options...
llchrisll Posted September 22, 2015 Author Share Posted September 22, 2015 200000 = 2000% Quote Link to comment Share on other sites More sharing options...
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:
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:
Regards,
Chris
Edited by llchrisllLink to comment
Share on other sites