SRL Archive - OSR Help

Quick chat worlds


soccnut

2008-07-22 03:11:05

When running script on quick chat only world, it will log players out and state that player not found in player array.

the reason is bcos there is a message at the bottom thus blocking the char's name.Perhaps a fix could be made or else others could take note not to use the quick chat worlds

ZephyrsFury

2008-07-22 04:25:49

Go to Line 456 in Login.scar and remove this bit:


T := GetSystemTime;
while (not(FindColor(Tx, Ty, 0, 8, 458, 45, 470))) and (GetSystemTime - T < 5000) do
Wait(100);
if (FindColor(Tx, Ty, 0, 8, 458, 45, 470)) then
if (not(FindTextTpa(0, 0, 7, 457, 137, 475, Players[CurrentPlayer].Nick, SmallChars, Nothing))) then //Double check if logged in player is what we think it is
begin
WriteLn('Logged In Player is not in Players array.');
LogOut;
Wait(1000 + Random(1000));
LoginPlayer;
Exit;
end;


Metagen

2008-07-22 06:22:33

There are quickchat worlds?

Infidel00

2008-07-22 06:51:50

Thanks Zephyr, you fixed my problem as well!:D

Wade007

2008-07-23 10:05:15

Would you be able to attach your login.scar here ? as i think i took a bit too much

ZephyrsFury

2008-07-24 04:32:05

From: Wade007
Would you be able to attach your login.scar here ? as i think i took a bit too much


If you stuff up an include file you can just delete it and reupdate SRL through the SVN. That will restore the deleted file back to the original version.