SRL Archive - OSR Help

Error with FindNormalRandoms;


Sjoe

2013-03-25 19:47:01

Anyone know why this happens on occasions?
It happens with findnormalrandoms sometimes.


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

ikillthechickens

2013-03-25 20:10:20

set the screen name after you call setUpSRL;

Sjoe

2013-03-25 20:13:11

From: ikillthechickens
set the screen name after you call setUpSRL;


Players[0].Nick :=''; // For Anti-randoms

this right? :p

Got it :)

King

2013-03-25 20:13:20

From: ikillthechickens
set the screen name after you call setUpSRL;


I believe this is it, check out the bug section, I saw benny post something about how to fix this :P

ikillthechickens

2013-03-25 20:16:34

From: Sjoekeloe
Players[0].Nick :=''; // For Anti-randoms

this right? :p

Got it :)


Yes but you also need to call SetScreenName(Players[0].Nick) after SetUpSRL until they include it in, for now just do it manually.

King

2013-03-25 20:17:37

From: ikillthechickens
Yes but you also need to call SetScreenName(Players[0].Nick) after SetUpSRL until they include it in, for now just do it manually.


Thanks, I forgot this part :P

Sjoe

2013-03-25 20:19:09

From: ikillthechickens
Yes but you also need to call SetScreenName(Players[0].Nick) after SetUpSRL until they include it in, for now just do it manually.


Cheers bud!

Ashaman88

2013-03-25 21:47:47

Also calling declareplayers before setupsrl would work. Don't need to set screen name then. I also have a prevent fix I need to pull to address this