SRL Archive - SRL Archives

Why is this code commented out in the Box Handler?


YoHoJo

2011-02-24 03:32:25

  {if (Length(Trim(srl_Implode(Players[CurrentPlayer].BoxRewards, ''))) = 0) then
begin
SRL_Warn('OpenRewardBox', 'No preferences for BoxRewards... dropping box', Warn_AllVersions);
Mouse(fx, fy, 0, 0, False);
Result := WaitOption('rop', 500);
Wait(3000 + Random(2000));
Exit;
end; }

According to this
http://runescape.wikia.com/wiki/Random_event_gift
it is still dropable, so why not drop it if an option is'nt found?

Coh3n

2011-03-02 13:12:03

Not sure. :unsure:

This wouldn't solve the problem's we're having with it, though. It still chooses the reward, just doesn't confirm for whatever reason. May not be a bad idea to just drop it if the solving fails, though.

Coh3n

2011-03-20 21:23:14

Yeah shortly after I made that post I added the box dropping. I forgot all about thsi thread :p

NCDS

2011-03-20 21:33:27

From: Coh3n
Yeah shortly after I made that post I added the box dropping. I forgot all about thsi thread :p


Think you removed his post? lol

Geo

2011-03-20 22:11:08

From: NCDS
Think you removed his post? lol


I removed it after I checked the dates. :p

NCDS

2011-03-20 23:12:33

From: Geo
I removed it after I checked the dates. :p


Hmm, usually I can see deleted posts :confused: