SRL Archive - Help and Support

World switching..


syberium

2007-02-17 22:14:13

hey guys i think there is a problem with SCSS. it works just fine UNTIL i try to load a world whether i use loadrandom world or a preset one it still bugs out. well here is my main loop. this one works fine because i commented out the SCSSLoadRandomWorld. but if i dont comment it loads a world but it doesent login it just sits there..
 
begin

SetupSRL;
ScriptID := '71';
ClearDebug;
DeclarePlayers;
DeclareBMPS;
CurrentPlayer := StartPlayer;
OpenSCSS;
SCSSSetHandle;
//SCSSLoadRandomWorld(Mworld,False);
if(not(LoggedIn)) then LoginPlayer;
writeln('x');
NickNameBMP:= CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
DoChats;
MouseSpeed := MSpeed + Random(3)
BenMouse:=False;
MakeCompass('E');
Highestangle;
ZammyMageColors;
MakeCompass('E');
MakeCompass('E');
MakeCompass('E');
FindMage;
LocateMage;
findnormalrandoms;

repeat
AutoRespond;
MouseSpeed := MSpeed + Random(3)
missclick;
randoms;
talkrnd;
AutoRespond;
jacked;
norunes;
wait(1500+random(200));
zammymage;
wait(200+random(100));
howmany:=howmany + 3;
progress;
antiban1;
antiban2;
FindFastRandoms;
AutoRespond;
until(howmany>=howmanyto);
NextPlayer(False);
writeln('dbuf 1');
end.


O btw Mworld is a const so thats not the problem-

pwnaz0r

2007-02-17 22:39:09

Its like that.. all buggy and stuff.. same thing happened to me I dnt know how long its been since freddy updated

syberium

2007-02-17 22:51:10

dam.. i really wanted a world switcher to. =[

Boreas

2007-02-18 00:14:26

Does Fawki's AddyMiner work?

syberium

2007-02-18 00:19:21

umm i would assume the world switching part does.. but he made his own array and procedures to do so.. im just trying to use SRL'S SCSSLoadRandomWorld thing.. and it loads but it wont log in and as far i know do anything after it loads the world.. cuz i tryed making it writeln('z') or sometin after it loaded a random world, it wouldent writln('z')