llchrisll Posted September 22, 2015 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 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 .@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 September 22, 2015 by llchrisll Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted September 22, 2015 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 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 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Author Share Posted September 22, 2015 200000 = 2000% Quote Link to comment Share on other sites More sharing options...
0 arcada Posted January 19, 2022 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 01/09/22 Last Seen: March 17, 2022 Share Posted January 19, 2022 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...
Question
llchrisll
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
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.