SRL Archive - OSR Help

getting same error for multiple scripts please help


sadfacegohappy

2013-04-28 22:49:15

i keep getting this error for a few scripts

Error: Exception: Access violation at line 398
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [0, 1, 2, 4, SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap, 8, 12, 16]


could someone please help?

meanderingmonk

2013-04-29 10:00:30

this happens because of a problem with setting the nickname for use with anti-randoms.. you have to include the following code in the Declareplayers portion of script.

SetScreenName(Players[0].Nick); 


If the script supports multiple players, be sure to change 0 to the correct iterator. hope this helps.

sadfacegohappy

2013-04-29 13:04:11

okay thanks but one more question. i have spaces in between the last 4 digits so do i include the spaces or act like they dont exist?

sadfacegohappy

2013-04-29 17:35:10

yes i included underscores and im still getting the same error