[Question] How to configure the Chest in Worldeditor

03/06/2025 14:48 inap01#1
Hey lovely community,

First of all: I search a lot, but wasn't able to find a solution online. If there is a thread with an answer, please just link it ;)

Now let's come to my question :D
[Only registered and activated users can see links. Click Here To Register...]

I want to setup chests all over the world, but I just don't get how these settings work out.
As you can see, I have 4 possible items in it, and it should drop 1-4 items.
However it sometimes drops nothing and also not always the first one (with has the maximum possible number)

I also tried to find the code part inside the source, but I think I don't have the right keywords to find it.

I would be glad for any hint/tutorial for this topic :D
03/07/2025 14:13 Flogolo#2
Quote:
Originally Posted by inap01 View Post
Hey lovely community,

First of all: I search a lot, but wasn't able to find a solution online. If there is a thread with an answer, please just link it ;)

Now let's come to my question :D
[Only registered and activated users can see links. Click Here To Register...]

I want to setup chests all over the world, but I just don't get how these settings work out.
As you can see, I have 4 possible items in it, and it should drop 1-4 items.
However it sometimes drops nothing and also not always the first one (with has the maximum possible number)

I also tried to find the code part inside the source, but I think I don't have the right keywords to find it.

I would be glad for any hint/tutorial for this topic :D
most of the times these values have a max sum, and the "rates/chances" are fragments of it. you can find it for example in awakes (randomoption.inc) and multiple other calculations in flyff files.

Example:

Max Sum: 100
Value 1: 20, Value 2: 35, Value 3: 15, Value 4 (of course it is 100-20-35-15=) 30

In your screenshot i can see, that 1 Value is 99999999, i guess this is the problem.
03/25/2025 21:54 dimmy123#3
Quote:
Originally Posted by inap01 View Post
Hey lovely community,

First of all: I search a lot, but wasn't able to find a solution online. If there is a thread with an answer, please just link it ;)

Now let's come to my question :D
[Only registered and activated users can see links. Click Here To Register...]

I want to setup chests all over the world, but I just don't get how these settings work out.
As you can see, I have 4 possible items in it, and it should drop 1-4 items.
However it sometimes drops nothing and also not always the first one (with has the maximum possible number)

I also tried to find the code part inside the source, but I think I don't have the right keywords to find it.

I would be glad for any hint/tutorial for this topic :D
100% = MAX Value of int. Enjoy! :)