Jump to content
  • 0

How to edit this?


kaiGAMING

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   2
  • Joined:  05/11/12
  • Last Seen:  

hi guys, can someone explain it to me how to edit this?


{ "item_logarithmic_drops",			 &battle_config.logarithmic_drops,			   0,	  0,	  1,			  },
{ "item_drop_common_min",			   &battle_config.item_drop_common_min,			1,	  1,	  10000,		  },
{ "item_drop_common_max",			   &battle_config.item_drop_common_max,			10000,  1,	  10000,		  },
{ "item_drop_equip_min",				&battle_config.item_drop_equip_min,			 1,	  1,	  10000,		  },
{ "item_drop_equip_max",				&battle_config.item_drop_equip_max,			 10000,  1,	  10000,		  },
{ "item_drop_card_min",				 &battle_config.item_drop_card_min,			  1,	  1,	  10000,		  },
{ "item_drop_card_max",				 &battle_config.item_drop_card_max,			  10000,  1,	  10000,		  },
{ "item_drop_mvp_min",				  &battle_config.item_drop_mvp_min,			   1,	  1,	  10000,		  },
{ "item_drop_mvp_max",				  &battle_config.item_drop_mvp_max,			   10000,  1,	  10000,		  },
{ "item_drop_heal_min",				 &battle_config.item_drop_heal_min,			  1,	  1,	  10000,		  },
{ "item_drop_heal_max",				 &battle_config.item_drop_heal_max,			  10000,  1,	  10000,		  },
{ "item_drop_use_min",				  &battle_config.item_drop_use_min,			   1,	  1,	  10000,		  },
{ "item_drop_use_max",				  &battle_config.item_drop_use_max,			   10000,  1,	  10000,		  },
{ "item_drop_add_min",				  &battle_config.item_drop_adddrop_min,		   1,	  1,	  10000,		  },
{ "item_drop_add_max",				  &battle_config.item_drop_adddrop_max,		   10000,  1,	  10000,		  },
{ "item_drop_treasure_min",			 &battle_config.item_drop_treasure_min,		  1,	  1,	  10000,		  },
{ "item_drop_treasure_max",			 &battle_config.item_drop_treasure_max,		  10000,  1,	  10000,		  },
{ "item_rate_mvp",					  &battle_config.item_rate_mvp,				   100,	0,	  1000000,		},
{ "item_rate_common",				   &battle_config.item_rate_common,				100,	0,	  1000000,		},
{ "item_rate_common_boss",			  &battle_config.item_rate_common_boss,		   100,	0,	  1000000,		},
{ "item_rate_equip",					&battle_config.item_rate_equip,				 100,	0,	  1000000,		},
{ "item_rate_equip_boss",			   &battle_config.item_rate_equip_boss,			100,	0,	  1000000,		},
{ "item_rate_card",					 &battle_config.item_rate_card,				  100,	0,	  1000000,		},
{ "item_rate_card_boss",				&battle_config.item_rate_card_boss,			 100,	0,	  1000000,		},
{ "item_rate_heal",					 &battle_config.item_rate_heal,				  100,	0,	  1000000,		},
{ "item_rate_heal_boss",				&battle_config.item_rate_heal_boss,			 100,	0,	  1000000,		},
{ "item_rate_use",					  &battle_config.item_rate_use,				   100,	0,	  1000000,		},
{ "item_rate_use_boss",				 &battle_config.item_rate_use_boss,			  100,	0,	  1000000,		},
{ "item_rate_adddrop",				  &battle_config.item_rate_adddrop,			   100,	0,	  1000000,		},
{ "item_rate_treasure",				 &battle_config.item_rate_treasure,			  100,	0,	  1000000,		},

for example

{ "item_drop_common_min",			   &battle_config.item_drop_common_min,			1,	  1,	  10000,		  },

what is 1, 1, 10000. i need to edit this because im setting to drops.conf and the map server have warning and backing to default.

Edited by kaiGAMING
Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

post the warning screen msg here...and please hide ur ip address for security...just a suggestion

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   2
  • Joined:  05/11/12
  • Last Seen:  

post the warning screen msg here...and please hide ur ip address for security...just a suggestion

here

image.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

dude , anything equal to 10000 is 100% , making above doesn't make any sense y are u doing it?

Edited by Ryax
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   2
  • Joined:  05/11/12
  • Last Seen:  

dude , anything equal to 10000 is 100% , making above doesn't make any sense y are u doing it?

my server is super high rate. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

{ "item_drop_common_min", &battle_config.item_drop_common_min, 1, 1, 10000, },

change that 10000 to the max value u want , its like integer min value and max value , here min is 1 and max is

10000, change accordingly and compile.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

You're editing the wrong values. You should leave the min and max alone.

Here's an example

item_rate_common: 3000

item_rate_common_boss: 3000

item_drop_common_min: 1

item_drop_common_max: 10000

This would be for a 30x server.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  84
  • Reputation:   2
  • Joined:  05/11/12
  • Last Seen:  

You're editing the wrong values. You should leave the min and max alone.

Here's an example

item_rate_common: 3000

item_rate_common_boss: 3000

item_drop_common_min: 1

item_drop_common_max: 10000

This would be for a 30x server.

30x is too low, :( and 90x.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

trunk/conf/battle/drops.conf

90x would be ...

// The rate the common items are dropped (Items that are in the ETC tab, besides card)
item_rate_common: 9000
item_rate_common_boss: 9000
item_drop_common_min: 1
item_drop_common_max: 10000

as Ryax said, you can't set the *****_max configs higher than 10000 because 100% is the highest drop chance already.

PS: if you wanted to make every item drop at 100% chance, you could make all the

*****_min configs equal to 10000.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

item_drop_common_min: [value]

item_drop_common_max: [value]

[value] for every _min and _max drop.conf have range between 1 (0.00%) until 10000 (100.00%)

if you set them more than 10000, they will be set to default, 1

{ "item_drop_common_min",     &battle_config.item_drop_common_min,  1,   1,   10000,    },

is

{ [variable_name],     &battle_config.[variable_name],  [default_value],   [min_value],   [max_value],    },

You don't need change the rates here, just need change them on your conf/battle/drop.conf

if you want to super high rate,

maybe the _min you can set for 8000 (every item has drop rate minimum 80%)

and the _max you can set for 10000 (every item has drop rate maximum 100%), they're mean that your server will has drop rate between 80%~100%, and you can try the _common and _boss rate with value that maybe you'd love. haha

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...