integral Posted March 8, 2012 Posted March 8, 2012 (edited) Can anyone help me with this problem? Using rAthena latest version with renewal mode 0. When the def of items equipped on my character reaches 128 and above, it gives negative results. Thank you. Edit: I forgot to add, I'm also using the item_db of renewal. Edited March 8, 2012 by integral Quote
exneval Posted March 8, 2012 Posted March 8, 2012 if you disable renewal or REMODE = 0, your item_db must also be pre renewal , because def on renewal is different from before it Quote
integral Posted March 8, 2012 Author Posted March 8, 2012 if you disable renewal or REMODE = 0, your item_db must also be pre renewal , because def on renewal is different from before it yeah, but isn't there any way for me to use the renewal item_db but still having the pre-re mechanics? Quote
Arcenciel Posted March 9, 2012 Posted March 9, 2012 You can just transfer over the contents of the renewal item_db over to the pre-re item_db. however do note that changes like armor, attack, etc will be renewal. Quote
integral Posted March 10, 2012 Author Posted March 10, 2012 You can just transfer over the contents of the renewal item_db over to the pre-re item_db. however do note that changes like armor, attack, etc will be renewal. Yes, I already did that, but, due to the def armor raised, the defense of a character is going negative once it reaches 127 def. Quote
Variant Posted March 10, 2012 Posted March 10, 2012 (edited) "pre-re" mechanics? But then having above 99 defense would mean you'd take no damage from physical attacks wouldn't it? Well, here you go: if you go into status.h and find where the structure status_data is declared, and then find: signed char def, mdef; And change signed char into short, then def and mdef should be able to go from -32k to +32k, but there's probably several checks that cap the value to 128 (CHAR_MAX/2 = 256/2, since a signed character can go from -128 to 128) in status.c, but you could find those with a little searching. At least it shouldn't overcap unless you somehow get above 33k defense. Edited March 10, 2012 by Variant Quote
lilyuuki Posted July 16, 2012 Posted July 16, 2012 (edited) i have the same problem to.. i dont want to use the renewal defense formunal because my server is only in 99/70 and no 3rd class.. so i want to use the item_db of the renewal, and no renewal formula on defense.. if i reach 100 def.. it turns negative This my Setting // Max armor def/mdef // NOTE: This setting have no effect if server is run on Renewal Mode (RRMODE) // NOTE: does not affects skills and status effects like Mental Strength // If weapon_defense_type is non-zero, it won't apply to max def. // If magic_defense_type is non-zero, it won't apply to max mdef. max_def: 500 // Def to Def2 conversion bonus. If the armor def/mdef exceeds max_def, // the remaining is converted to vit def/int mdef using this multiplier // (eg: if set to 10, every armor point above the max becomes 10 vit defense points) over_def_bonus: 1 still become negative when i reach the defense of 100 Edited July 16, 2012 by lilyuuki Quote
Wafflebutt Posted July 16, 2012 Posted July 16, 2012 (edited) i have the same problem to.. i dont want to use the renewal defense formunal because my server is only in 99/70 and no 3rd class.. so i want to use the item_db of the renewal, and no renewal formula on defense.. if i reach 100 def.. it turns negative @lilyuuki Look at the post from Variant: 99def @pre-re makes you pretty much immune to physikal attacks. So going above 99def @pre-re makes no sense at all. Here are some possible "fixes": - Turn on Renewal - Use the pre-re db - try what Variant posted - modify the renewal items in your re db to give less def Edited July 16, 2012 by Ainna Quote
lilyuuki Posted July 17, 2012 Posted July 17, 2012 @ainna i dont know what to modify.. im using rathena - Revision 16434.. i want to disable the renewal.. so no renewal defense formula and i use the pre-re itemdb.txt but still it gives me negative defense Quote
Wafflebutt Posted July 17, 2012 Posted July 17, 2012 Any refineable custom items with uber def? +10 refiner? Accessory refineable? It´s not easy to get 99def in pre-re. Quote
jaynard09 Posted December 26, 2012 Posted December 26, 2012 Can u teach how to use pre-renewal DB instead of renewal DB Quote
markiez22 Posted November 18, 2013 Posted November 18, 2013 if im using pre-re but my item_db is renewal. . . what can i solve my problem for negative when i reach the defense of 100? Quote
Question
integral
Can anyone help me with this problem?
Using rAthena latest version with renewal mode 0.
When the def of items equipped on my character reaches 128 and above, it gives negative results.
Thank you.
Edit: I forgot to add, I'm also using the item_db of renewal.
Edited by integral11 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.