Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Server] Understanding World_drop.scp

Joined
Aug 27, 2013
Messages
800
Reaction score
1,967
The most time consuming, repetitive and one of the most calculations required, but at the same time - the most crucial file explanation.

It has variety of things to consider and can make your server slightly more unique, if you dedicate enough time to work on this file.

Hope this helps newbies and refreshes memory for other members!​

Full description:
[WorldDrop] - row number, mainly for "logs".
(Can be 0 for more "cleaner" look or numerate (1,2,3,4....7463) to look more "professional".)


Terrain_World - Map ID
(Refer to cabal_msg.dec world list -> worldXXX -> Example: <msg id="world1" cont="Bloody Ice" />)

DungeonID - Dungeon ID
(In missiondungeon.scp or questdungeon.scp QDungeonIdx can be found, using it go to cont_msg.dec/cont2_msg.dec and you will see the dungeon name linked to it, as an example: id="194" name="Lake in Dusk")

Terrain_Mob - monster ID
(Refer to cabal_msg.dec monster list -> monsterXXX -> <mob_msg> section)

ItemKind - item ID
(Refer to cabal_msg.dec item list -> itemXXX -> <item_msg> section)

ItemOpt - Item Option
(if randomized with option pool, keep: 0 ; if custom set - input item option code)
Build Item + Option Part 1 - [Server] Understanding World_drop.scp - RaGEZONE Forums

Build Item + Option Part 2 - [Server] Understanding World_drop.scp - RaGEZONE Forums

DropRate - A percentage, which defines the chance of the specified item drop.
(NOTE: Always make sure you are summing up drop in specific location to be 100%, which also doesn't apply in all scenarios, but in majority cases. More in depth explanation by PwrDex )


MinLv - Minimal level required to loot a specific item. (Usually kept at Level 1)
(Example: If set to 100, any players below 100 will not be able to loot that item.)

MaxLv - Maximum level required to loot a specific item. (Usually kept at lvl200)
(Example: If set 150, any player above Level 150 will not be able to loot that item.)

Group - Default setting is 0 (not tested how it works or what it does exacly).

MaxDropCnt - This limits the amount of items drop throughout the whole server. Default 0.
(Example: If set to 15, that means when 15 specified items drop, no more will be dropped, until server restarts.)

OptPoolIdx - Pre-set randomized option from OptionPool.scp file.
1 - [Server] Understanding World_drop.scp - RaGEZONE Forums

2 - [Server] Understanding World_drop.scp - RaGEZONE Forums
Thanks to w3rnis

DurationIdx - duration of the item (if you want to add duration on it).
Cabal Duration ID Values - [Server] Understanding World_drop.scp - RaGEZONE Forums

TIP: You can also modify the times of durations in Product.scp file.

DropSvrCh - An Option set in which channel drops specified item. NOT TESTED.
(Example: If set 2, that item will be dropped on channel 2 only.)

EventDropOnly - Related to database, only works with event related to mobs spawn. NOT TESTED.


Images credits to their respective owners.

If anyone have anything to add or correct - please do so and I will edit this thread.
 

Attachments

You must be registered for see attachments list
Last edited:
Joined
Jul 24, 2011
Messages
806
Reaction score
615
Code:
DropRate - A percentage, which defines the chance of the specified item drop.
(NOTE: Always make sure you are summing up drop in specific location to be 100%, which also doesn't apply in all scenarios, but in majority cases. This part will be updated.)

So the magic is the next about this value:
-These rates are weighted rates. This mean you are specify a droprate which is rolled by order in World_Drop.scp file and not randomly.

For example:
You have 100 loot in specific chest. You set the 1st item with 0,5% and the last item to 2%. You will roll out the first item with 0,5% more often than the last 2%. Somehow the method is same with OptionPool Lottery parts, just while you don't need set Rate and AccuRate at same time.

Well usable rates:
-1%+ High Rate
-0,5 - 1% Medium Rate
-0,1 - 0,5% Low-Medium Rate
-0,01 - 0,1% Low Rate
-0,001 - 0,01 Very Low Rate
-0,0001 - 0,001 Ultra Low Rate

Notice that if your chest is not 100% and you have Drop Rate boost added by BB or any other source than it will multiply it directly and can cause bugs.
If your chest above 100%, the latest one(s) which exceed it, will be ignored.
Example:
UCH 33%
FCH 33%
SEH 33%
SGHH 33%

SGHH ignored and your chest will be 99% and 1% chance of Alz (or common loot if set)

Overall if you wanna control it, always be sure it set to 100%.
 
Back
Top