Hello,
I am currently following this guide:
villavu.com/forum/showthread.php?t=117106
To create a simple first script.
I have gotten to this point:
Code:
program new;
{$DEFINE SMART}
{$i AeroLib/AeroLib.Simba}
Procedure PlayerSetup;
begin
Me.Active := True;
Me.Name := '****';
Me.Pass := '****';
Me.Member := False;
end;
begin
initAL;
PlayerSetup;
if (not isLoggedIn()) then
loginPlayer(false);
end.
My issue is that when running this (using proper name and password) the script tries to login to a member world, fails, goes in to world select and waits for a moment, cancels (without changing to F2P world), goes back in to world select, selects another P2P world and stops without trying to log in this time. This is the log i get:
Code:
Compiled successfully in 6813 ms.
[=================================]
| < Aero|Library > |
| ---------------- |
| Version : 1.2 |
| Revision : 6 |
[=================================]
[AL] Initiating AeroLib...
[AL] Checking version...
[AL] Currently up to date.
[AL] Loaded 2 MSObjects.
[AL] Best world found: 66
[AL] Loading SMART: World 66
[AL] Startup complete!
[AL] Switching to a F2P world
[AL] Logging player in...
[AL] Members world
[AL] Changing worlds; current world:366
[AL] W384 selected <------------------------ DOES NOT REALLY SELECT ANYTHING WORLD IS STILL 366
[AL] Switching to a F2P world
[AL] Logging player in...
Successfully executed.
The behaviour varies, sometimes it tries multiple times and sometimes it actually succeeds in changing a world. The big issue is that it thinks i has selected a new F2P world when it actually did not change the world at all.
Anyone experiencing similar issues? How could i solve this? Is there any other approach?