SRL Archive - OSR Help

A common problem yet to be resolved comment if you are having the same problem..


heyaiam

2013-04-14 04:05:05

Error: Exception: Mask is invalid. Width/Height: (9,6). WhiteHi/BlackHi: (-1,53) at line 778
The following DTMs were not freed: [0, 1, 2, 3, SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

YUp I searched the forums NOTHING.
No solution for this.

heyaiam

2013-04-14 04:08:21

And I did try re-installing java. I downloaded the chrome version 7- update 17

Sjoe

2013-04-14 04:35:04

Put your nickname in Players[0].Nick

if the error still occurs then redownload SRL-OSR on Github.

(PS: DeclarePlayers has to be called before Setupsrl now)

mcbain

2013-04-18 13:56:38

Do what Sjoe said and if it is still giving you problems then put this line of code in the script. SetScreenName(Players[0].Nick);

This line of code would be put in like so..
(inside the main loop)

begin
DeclarePlayers;
`SetupSRL;
SetScreenName(Players[0].Nick);
end.