Cydh Posted December 9, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted December 9, 2013 Related this conversation until the last comment from @Lighta We need to re-structure the MaxHP and MaxSP calculation, because well, current calculation give us far away from official MaxHP/SP calculation. For u that play official servers, you can compare our current MaxHP/SP with official server. (well, I tested on idRO) Here, I need someone can test this diff. If you have official account, you can check, if the max HP/SP results are good for mob, hom, etc with/without buff. Maybe the problem like "my hom didn't get any HP/SP bonus from buff", "the HP/SP of X isn't calculated", "the mob with buff skill to add maxHP, after it casting the skill, the MaxHP isn't added", etc. If you don't have official account, what I need, please check the HP/SP for each ur chars there, then try give same equips, stats, cards, levels, jobs (that will affected HP/SP) on ur rAthena after this diff. The references are http://irowiki.org/wiki/Max_HP and http://irowiki.org/wiki/Max_SP And this diff, will throw away the job_maxhpsp_db.txt which unused here, except someone has idea to keep it as Max HP/SP limiter instead on current limiter on battle conf. diff: status_maxhpsp.diff Changes: Implemented new and updated configs: max_parameter: 99 max_trans_parameter: 99 max_third_parameter: 135 max_third_trans_parameter: 135 max_baby_parameter: 80 max_baby_third_parameter: 108 max_extended_parameter: 125 (Oboro/Kagerou and Rebellion) Added: db/pre-re/job_param_db.txt db/re/job_param_db.txt Removed: db/pre-re/job_maxhpsp_db.txt db/re/job_maxhpsp_db.txt Can be test them online (ingame), here. or just add this connection on clientinfo.xml <connection> <display>ChyraRO!</display> <balloon>ChyraRO!</balloon> <desc>ChyraRO!</desc> <address>198.23.187.123</address> <port>6900</port> <version>45</version> <langtype>1</langtype> <registrationweb>http://pservero.com/chyraro</registrationweb> </connection> Link to comment Share on other sites More sharing options...
Cydh Posted December 11, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted December 11, 2013 moved from staff discussion Link to comment Share on other sites More sharing options...
exneval Posted December 11, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 01/03/12 Last Seen: November 18, 2019 Share Posted December 11, 2013 static bool pc_readdb_job1(char* fields[], int columns, int current){ int idx, class_; unsigned int i; #ifndef HP_SP_TABLES - unsigned int k = 0, val; + unsigned int k = 0;//, val; #endif wrong diff I guess? Link to comment Share on other sites More sharing options...
Cydh Posted December 11, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted December 11, 2013 yeah just leftover. updated the attached file hmm, just think better if I make branch for this. but hmm, I'm still war with inactive admins Link to comment Share on other sites More sharing options...
exneval Posted December 11, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 01/03/12 Last Seen: November 18, 2019 Share Posted December 11, 2013 (edited) haha, just keep it flow agan cydh, time will tell, for the diff, i want try it in iRO, i have an aco in there Edited December 11, 2013 by exneval Link to comment Share on other sites More sharing options...
Cydh Posted December 11, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted December 11, 2013 haha, just keep it flow agan cydh, time will tell, for the diff, i want try it in iRO, i have an aco in there my IP can't reach iRO. I just can try it on idRO, on my first tests, the results are good. Link to comment Share on other sites More sharing options...
exneval Posted December 12, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 01/03/12 Last Seen: November 18, 2019 Share Posted December 12, 2013 just commit it out, if the result already good Link to comment Share on other sites More sharing options...
Cydh Posted December 12, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted December 12, 2013 just commit it out, if the result already good it's only good for me, but it's not great if no one can confirm. and I don't want make critical bug (for users who always update) and need me to stand-by a whole day to fix the bug encounter Link to comment Share on other sites More sharing options...
Cydh Posted December 15, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted December 15, 2013 if anyone want try it on my server, here u go https://db.tt/91Pc4NBI NOTE: I just got 100Mbit connection for that VPS, F2P, don't give any DDoS :v Link to comment Share on other sites More sharing options...
Kido Posted December 18, 2013 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted December 18, 2013 (edited) downloading it, i hope with my lilttle help i can contribuate to something :DD! the client does not run D: Edited December 18, 2013 by Kido Link to comment Share on other sites More sharing options...
Cydh Posted December 19, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted December 19, 2013 then, just go add this connection on clientinfo.xml <connection> <display>ChyraRO!</display> <balloon>ChyraRO!</balloon> <desc>ChyraRO!</desc> <address>198.23.187.123</address> <port>6900</port> <version>45</version> <langtype>1</langtype> <registrationweb>http://pservero.com/chyraro</registrationweb> </connection> Link to comment Share on other sites More sharing options...
GmOcean Posted December 19, 2013 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted December 19, 2013 So what were trying to test here, is that it my be more effecient to calculate the max HP/SP all through src, without the use of a table? Seems, good, but would it not be better to have a db/conf file that does this for us so to speak. Example: db file, will consist of what we have now more or less... and conf file, will just have modifier changes like: //Vit HP percent modifier. Increase HP by x/10000% of MaxHP per vit. ( 0 to disable ) vit_permodifier: 1 //Vit HP Base modifier. Increase HP by x per vit. ( 0 to disable ) vit_basemodifier: 50 //Int SP percent modifier. Increase SP by x/10000% of MaxSP per int. ( 0 to disable ) int_permodifier: 1 //Int SP Base modifier. Increase SP by x per int. ( 0 to disable ) Now, I don't know how realistic or functional this may seem, but if the only reason were changing the calculation is because were not equal to official servers, perhaps were taking the wrong approach in trying to find the right formula and could get it done by doing something like this. Link to comment Share on other sites More sharing options...
Cydh Posted December 19, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Author Share Posted December 19, 2013 ahh thx guys for talking and watching this, this is going to anywhere. and even some f****** admins not give any response, thx god. Link to comment Share on other sites More sharing options...
Recommended Posts