PDA

View Full Version : RandomsInclude



BigRedJapan
05-29-2013, 08:15 PM
I cant run my bot for more than a few mins beecause this antirandoms include is trolling and stuffing up!


Error: Exception: Mask is invalid. Width/Height: (9,6). WhiteHi/BlackHi: (-1,53) at line 778
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]

Haxz
05-29-2013, 08:16 PM
Because you didn't set your nickname?

BigRedJapan
05-29-2013, 08:18 PM
Please don't write stupid comments! I write scripts I think I know that I need to write the nickname!

Sjoe
05-29-2013, 08:29 PM
Please don't write stupid comments! I write scripts I think I know that I need to write the nickname!

95% of the times is cause the nick wasn't set, no need to show your agitation towards other members who are trying to help.
How would he know you write scripts to begin with?

Is DeclarePlayers; begin called before SetupSRL; ? Have you updated to the latest SRL-OSR include?

Haxz
05-29-2013, 08:29 PM
Please don't write stupid comments! I write scripts I think I know that I need to write the nickname!

I see. Okay.

BigRedJapan
05-29-2013, 08:51 PM
I have everything up to Date!

Sorry if you cant see my big Signature with Range Guild on it!


Because of this stupid dog Wooofing all the time it thinks its a random and trys to find name but doesn't and causes Error!

@Ashaman88

Sjoe
05-29-2013, 08:58 PM
I have everything up to Date!

Sorry if you cant see my big Signature with Range Guild on it!

rofl, I didn't to be honest. Text is too dark .

BigRedJapan
05-29-2013, 09:00 PM
As I said in comment before! It finds the dog wooooofing but not my name so it causes and error! Not only a dog but if any NPC writes something it causes this error!

samerdl
05-31-2013, 06:38 AM
wrong section.


Anyway, WRONG WAY:

program ssdada;

begin
setupsrl;
declareplayers;
end.


Correct way:


program ababa;

begin
declareplayers;
setupsrl;
end.


Declareplayers needs to be before setupsrl.

If you still get the error then you didn't set up nickname correctly.

Two useful links: bottom of this post (http://villavu.com/forum/showthread.php?t=5410) & a script i made to test nicknames. (http://villavu.com/forum/showthread.php?t=101113&page=5&p=1230209#post1230209)

Ashaman88
05-31-2013, 11:20 AM
http://villavu.com/forum/showthread.php?t=100946&highlight=

BigRedJapan
05-31-2013, 05:12 PM
IT doesnt make a Difference! The randoms still dont work! Randoms fail 4/6 Randoms! So I think im take it out!

Haxz
05-31-2013, 05:34 PM
Since you can script, you should be able to make a solver for those 4/6 randoms that fails.

BigRedJapan
06-01-2013, 10:05 AM
Im not going to go into the include and start messing around with it! I let the pros do that! Im beginner scripter and stay out of the light! Just do a few scripts here and there and work on private scripts!

rj
06-01-2013, 10:16 PM
IT doesnt make a Difference! The randoms still dont work! Randoms fail 4/6 Randoms! So I think im take it out!

Maybe... Just maybe..4/6 randoms fail because according to the randoms Thread 4/6 are working...lol