Page 1 of 1

Where to find?

Posted: May 29th, 2018, 3:02 pm
by paskalt
Hello. Guys, where to find drop rate / spawn chance/time of items,bosses. Which one files. Checked all war3map.x and didnt found. Plox help ;(
P.S. Was searching with MPQEditor and JassCraft

Re: Where to find?

Posted: May 29th, 2018, 3:19 pm
by devoltz
All in war3map.j but every map has a unique system, so you have to find it.

Re: Where to find?

Posted: May 29th, 2018, 4:19 pm
by paskalt
devoltz wrote:All in war3map.j but every map has a unique system, so you have to find it.

Is it will be hard to do for newbie? Map - twrpg

Re: Where to find?

Posted: May 30th, 2018, 10:06 am
by devoltz
Well, for twrpg, its all in one function (wich items Drop, time of respawn, how many items can Drop)
Do a reverse search with a itemid until u find it. Will be something like:
call dada(dudu'I03W', (10)*(0,1)) (not sure if is this right, wrote on phone).

Re: Where to find?

Posted: May 30th, 2018, 11:17 am
by paskalt
devoltz wrote:Well, for twrpg, its all in one function (wich items Drop, time of respawn, how many items can Drop)
Do a reverse search with a itemid until u find it. Will be something like:
call dada(dudu'I03W', (10)*(0,1)) (not sure if is this right, wrote on phone).


This one is right? "call FUx(ATv,('cnob'),((6.00)*1.5))" If "1.5" mean drop rate, what means "6.00"?

Re: Where to find?

Posted: May 30th, 2018, 12:42 pm
by devoltz
Yes, but in that case, drop rate for this item would be 9% (6*1.5).

Re: Where to find?

Posted: May 30th, 2018, 3:53 pm
by paskalt
devoltz wrote:Yes, but in that case, drop rate for this item would be 9% (6*1.5).

Ahh got it. Thanks a lot. One more question. You made version for me with increased drops. How to change more than one line in a time? Or you did same every line swaping by hand?

Re: Where to find?

Posted: May 30th, 2018, 5:10 pm
by devoltz
paskalt wrote:Ahh got it. Thanks a lot. One more question. You made version for me with increased drops. How to change more than one line in a time? Or you did same every line swaping by hand?
On SHDR versions,i do both, because i have some hidden commands to change drops ingame.
But if you want to change all droprate from map, with a single line, search for this one:

Code: Select all

if(h6x or(A3v[Zi*(A6v[(ndv)])+(bcv[xLx])])or h5x>0)and GetRandomReal(0,100)<(1.+gjx((ndv)))*(A2v[Zi*(A6v[(ndv)])+(bcv[xLx])]) then
And modify it like:

Code: Select all

if(h6x or(A3v[Zi*(A6v[(ndv)])+(bcv[xLx])])or h5x>0)and GetRandomReal(0,100)<(1.+gjx((ndv)))*(A2v[Zi*(A6v[(ndv)])+(bcv[xLx])]) *2 then //Would be all current drop rates, from every item *2
Other example:

Code: Select all

if(h6x or(A3v[Zi*(A6v[(ndv)])+(bcv[xLx])])or h5x>0)and GetRandomReal(0,100)<(1.+gjx((ndv)))*(A2v[Zi*(A6v[(ndv)])+(bcv[xLx])]) *35 then // All current drop rate *35
Codes from 0.15c version.

Re: Where to find?

Posted: May 31st, 2018, 9:53 pm
by paskalt
Thanks a lot