malufett Posted September 12, 2012 Posted September 12, 2012 Hi fellows.. Regarding this one: post:137564 can we make it something like Aegis format?? // Mob Type: // 0x0 All type // 0x1 Demi-Human // // Type: // 0=exp, 1=mvpexp, 2=drop, 3=mvpdrop //Type, Mob Type, Level Diffirence, Rate 1, 0x0, 10, 100 And can we add some custom stuffs..like mob type(just an example)..please suggest if you want other customs/features to be included.. Thanks.. 1
Flaid Posted September 14, 2012 Posted September 14, 2012 I like this, too. Would be awesome to have it.
Ind Posted September 26, 2012 Posted September 26, 2012 i failed to think on a efficient way to have this coded, perhaps a multi-dimentional array? e.g. modifier_array[MAX_PLAYER_LV][MAX_MOB_LV], exp modifier = modifier_array[sd->status.base_level][md->level]?
malufett Posted September 27, 2012 Author Posted September 27, 2012 i failed to think on a efficient way to have this coded, perhaps a multi-dimentional array? e.g. modifier_array[MAX_PLAYER_LV][MAX_MOB_LV], exp modifier = modifier_array[sd->status.base_level][md->level]? me I code it like this level_penalty[TYPE][RC_MAX][MAX_LEVEL*2+1] first array holds whether exp or drop..second is the mob race so It can be specific(angel & etc) or generic RC_BOSS/RC_NONBOSS.. and the third one is the the difference between the mob and character..since array index can't accept negative values so I doubled the length of max level.. and here is my sample DB..Euphy/Akkarin please check my grammar/settings..hahah // Experience/Item Drop Penalty Database // // Structure of Database: // Type, Race, Level Difference, Rate // // Race // 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, // 5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, // 10=Boss monster, 11=Other than (normal monster) boss monster // // Type: // 1=exp, 2=item drop // // NOTE: RENEWAL_DROP or RENEWAL_EXP must be enabled. // EXP penalty due to difference in level sets. 1,11,16,40 1,11,15,115 1,11,14,120 1,11,13,125 1,11,12,130 1,11,11,135 1,11,10,140 1,11,9,135 1,11,8,130 1,11,7,125 1,11,6,120 1,11,5,115 1,11,4,110 1,11,3,105 1,11,0,100 1,11,11,100 1,11,-6,95 1,11,-11,90 1,11,-16,85 1,11,-21,60 1,11,-26,35 1,11,-31,10 // Boss Type 1,10,0,100 // Item drop rate penalty due to level difference. 2,11,16,50 2,11,13,60 2,11,10,70 2,11,7,80 2,11,4,90 2,11,0,100 2,11,-4,90 2,11,-7,80 2,11,-10,70 2,11,-13,60 2,11,-16,50 // Boss Type 2,10,0,100 I'm just waiting for a go before committing..
Ind Posted September 27, 2012 Posted September 27, 2012 I'm just waiting for a go before committing.. can you post the whole diff then?
malufett Posted September 27, 2012 Author Posted September 27, 2012 here it sir...please evaluate..I did not do iteration check for this yet since its my less priority... http://www.4shared.c...evel_diff.html?
Euphy Posted September 27, 2012 Posted September 27, 2012 I think "modifier" is more suitable than "penalty" since there are values over 100. Here's the very slightly edited file: // Experience & Drop Rate Modifier Database // // Structure of Database: // Type,Race,Level difference,Rate // // TYPE: // 1=experience, 2=item drop // RACE: // 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, // 5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, // 10=Boss monsters, 11=Normal monsters // // Note: RENEWAL_DROP and/or RENEWAL_EXP must be enabled. // EXP modifiers due to level difference 1,11,16,40 1,11,15,115 1,11,14,120 1,11,13,125 1,11,12,130 1,11,11,135 1,11,10,140 1,11,9,135 1,11,8,130 1,11,7,125 1,11,6,120 1,11,5,115 1,11,4,110 1,11,3,105 1,11,0,100 1,11,11,100 1,11,-6,95 1,11,-11,90 1,11,-16,85 1,11,-21,60 1,11,-26,35 1,11,-31,10 // Boss Type 1,10,0,100 // Drop rate modifiers due to level difference 2,11,16,50 2,11,13,60 2,11,10,70 2,11,7,80 2,11,4,90 2,11,0,100 2,11,-4,90 2,11,-7,80 2,11,-10,70 2,11,-13,60 2,11,-16,50 // Boss Type 2,10,0,100
Ind Posted September 28, 2012 Posted September 28, 2012 I think "modifier" is more suitable than "penalty" since there are values over 100. Here's the very slightly edited file: // Experience & Drop Rate Modifier Database // // Structure of Database: // Type,Race,Level difference,Rate // // TYPE: // 1=experience, 2=item drop // RACE: // 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, // 5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, // 10=Boss monsters, 11=Normal monsters // // Note: RENEWAL_DROP and/or RENEWAL_EXP must be enabled. // EXP modifiers due to level difference 1,11,16,40 1,11,15,115 1,11,14,120 1,11,13,125 1,11,12,130 1,11,11,135 1,11,10,140 1,11,9,135 1,11,8,130 1,11,7,125 1,11,6,120 1,11,5,115 1,11,4,110 1,11,3,105 1,11,0,100 1,11,11,100 1,11,-6,95 1,11,-11,90 1,11,-16,85 1,11,-21,60 1,11,-26,35 1,11,-31,10 // Boss Type 1,10,0,100 // Drop rate modifiers due to level difference 2,11,16,50 2,11,13,60 2,11,10,70 2,11,7,80 2,11,4,90 2,11,0,100 2,11,-4,90 2,11,-7,80 2,11,-10,70 2,11,-13,60 2,11,-16,50 // Boss Type 2,10,0,100 I support this name change here it sir...please evaluate..I did not do iteration check for this yet since its my less priority... http://www.4shared.c...evel_diff.html? well I can't really give a go since, as you said, its not finished. Post the final one here when you're ready, at this point however I can say you've done a wonderful job
Recommended Posts