Jump to content

Suggestion: Renewal EXP/DROP rates in to DB


malufett

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

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..

:meow:

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  146
  • Topics Per Day:  0.03
  • Content Count:  1195
  • Reputation:   467
  • Joined:  11/15/11
  • Last Seen:  

+1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

I like this, too. Would be awesome to have it.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  169
  • Topics Per Day:  0.04
  • Content Count:  1260
  • Reputation:   750
  • Joined:  11/19/11
  • Last Seen:  

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]?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

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..:)

:meow:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  169
  • Topics Per Day:  0.04
  • Content Count:  1260
  • Reputation:   750
  • Joined:  11/19/11
  • Last Seen:  

I'm just waiting for a go before committing..

can you post the whole diff then?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

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?

:meow:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  169
  • Topics Per Day:  0.04
  • Content Count:  1260
  • Reputation:   750
  • Joined:  11/19/11
  • Last Seen:  

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?

:meow:

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

Link to comment
Share on other sites

×
×
  • Create New...