I compile metin2 using visualstudio19 (server side) and I have a problem with the drop.
As you can see, the drop is set to 1% but despite this I continue to drop, at each mob 101 eliminated, at least 2 of the items in the list.
On freebsd it didn't happen.
Some advice?
Group test_dog
{
type drop
mob 101
1 1012 1 1
2 4012 1 1
3 11402 1 1
4 16022 1 1
}
if (iPercent >= number(1, iRandRange))
iPercent = 100000 | in mob_drop_item the percentage is set to 10
number = 1, 4000000 | random number between 1 and 4000000
I noticed, however, how the random values obtained are very different between the two versions:
random = 3894439 random = 229634 random = 1664283 random = 3958197 | BSD VERSION random = 924476 random = 2193081 random = 181074 ----------------------------------------------------------------------------- random = 12851 random = 10165 | WINDOWS VERSION random = 23397 random = 12871i don't enter all the other values because they follow the same trend.
In the first case, having a high random value I will not drop, while having a low one in the second case I will always drop.
Any ideas on this?


