Para's VanillaTool [Rework]

01/11/2018 23:38 I_Satelite_I#6901
my clients have been crashing while running event script, any fix?
01/11/2018 23:43 sinDN#6902
Idk if im doing something wrong but the Tradeslave do not accept the trade in my case
01/12/2018 00:10 mscrasth#6903
he
Quote:
#IF=%FirstTime,;
#UseLoop
#EnableChatLog
#ClearChatLog
Delay=300
#NeedResolution=816,638;
MemPtrWrite=%AddrFPS,%OffsetFPS1,24,BYTE;FPS
MemPtrWrite=%AddrFPS,%OffsetFPS2,24,FLOAT;FPS
MemPtrWrite=%AddrCamMax,%OffsetCamMax,0.1,FLOAT;CA MMAX
Delay=100;
MemPtrWrite=%AddrThirdPerson,%OffsetThirdPerson,0, FLOAT;THIRDPERSON
MemWrite=%AddrCamY,85,FLOAT;
#SmoothBackground
UseSpeed=25;
#DisableScrolling
#ENDIF

Mouse=446,330,Left;
Delay=50;
_SearchChatLog=The other player has pressed the Lock List button.;
Delay=100;
Mouse=71,308,Left;
Delay=20;
Mouse=71,308,Left;
Delay=50;
_SearchChatLog=The other player has pressed the Final Confirmation button.;
Delay=100;
Mouse=196,331,Left;
Delay=20;
Mouse=196,331,Left;
Delay=50;
_SearchChatLog=The trade is complete.;
#ClearChatLog
#ENDIF
01/12/2018 03:46 songold3#6904
hey ive gottan banned like 5 times in 1 day is there a way to slow this down
01/12/2018 08:43 Paraly#6905
Quote:
Originally Posted by I_Satelite_I View Post
my clients have been crashing while running event script, any fix?
Should be fixed with the latest version
Quote:
Originally Posted by node182 View Post
I have issue with taking the candy from quest and issue moving to standard server
Rightclick at your desktop ->Display Settings -> make sure the percentage value there is set to 100% (restart afterwards)

Be sure UI size is at 100% InGame
Be sure the windows are reseted to default position
Be sure Aion is in windowed mode

If you still have issues, add this line
Code:
DelayGlobal=1.3;
Right under this line
Code:
#IF=%FirstTime,;
Quote:
Originally Posted by sinDN View Post
Idk if im doing something wrong but the Tradeslave do not accept the trade in my case
Should be fixed with the latest version
Quote:
Originally Posted by mscrasth View Post
he
Nice alternative but chatlog is kinda experimental if you run multiple clients, also the chat.log file doesn't even get created for some people even tho they have g_chatlog enabled.
However I updated the TradeSlave script it should work for everyone now.
Quote:
Originally Posted by songold3 View Post
hey ive gottan banned like 5 times in 1 day is there a way to slow this down
Don't use dangerous scripts
at NA you should avoid: Fallen Poeta, Fissure of Oblivion
at EU you should avoid: Kroban, Rift of Oblivion, Garden of Knowledge, Archives of Eternity, Lost Refuge, General Shop, Barracks
01/12/2018 10:09 Diavolakos#6906
I got some client crashes too. The client always crashed when the new char was created and hit the play button, right before he sees the cinematic.

Maybe delaying the SendKey a little later could fix this.

I am running 1 slave and 4 new accounts they all work in unison so far,
01/12/2018 10:10 Paraly#6907
Quote:
Originally Posted by Diavolakos View Post
I got some client crashes too. The client always crashed when the new char was created and hit the play button, right before he sees the cinematic.

Maybe delaying the SendKey a little later could fix this.

I am running 1 slave and 4 new accounts they all work in unison so far
Yea I also noticed that, I already fixed it in the last version at least I hope it's fixed now
01/12/2018 10:16 Diavolakos#6908
Is there a way for the char to keep trying to /trade until the trade window is open? So if eventually due to timing differences two chars try to trade the same time, one will wait a little bit till he does trade.

This way we can have 1 slave trade char and as many new accounts as our pc can hold

I think it is here:
Code:
Command=/select %Var6;
Delay=200;
Command=/attack;
Delay=3000;
Command=/trade;
Delay=1000;
MemWrite=%AddrFreeMem5,0,BYTE;
#DO=60000;
_IFFrameVisible=171; trade window
MemWrite=%AddrFreeMem5,1,BYTE;
#ENDIF
Delay=500;
_UNTILMemRead=%AddrFreeMem5,BYTE,=1;
This would be the way to do it right? Put the #Do on top of the trades

Code:
MemWrite=%AddrFreeMem5,0,BYTE;
#DO=60000;
Command=/select %Var6;
Delay=200;
Command=/attack;
Delay=3000;
Command=/trade;
Delay=1000;
_IFFrameVisible=171; trade window
MemWrite=%AddrFreeMem5,1,BYTE;
#ENDIF
Delay=500;
_UNTILMemRead=%AddrFreeMem5,BYTE,=1;
(Do other people get disconnects frequently after 5.8 too or is it just me?)
01/12/2018 10:18 Paraly#6909
Quote:
Originally Posted by Diavolakos View Post
is there a way for the char to keep trying to /trade until the trade window is open? So if eventually due to timing differences two chars try to trade the same time, one will wait a little bit till he does trade.

I think it is here:
Code:
Command=/select %Var6;
Delay=200;
Command=/attack;
Delay=3000;
Command=/trade;
Delay=1000;
MemWrite=%AddrFreeMem5,0,BYTE;
#DO=60000;
_IFFrameVisible=171; trade window
MemWrite=%AddrFreeMem5,1,BYTE;
#ENDIF
Delay=500;
_UNTILMemRead=%AddrFreeMem5,BYTE,=1;
This would be the way to do it right? Put the #Do on top of the trades

Code:
#DO=60000;
Command=/select %Var6;
Delay=200;
Command=/attack;
Delay=3000;
Command=/trade;
MemWrite=%AddrFreeMem5,0,BYTE;
_IFFrameVisible=171; trade window
MemWrite=%AddrFreeMem5,1,BYTE;
#ENDIF
Delay=500;
_UNTILMemRead=%AddrFreeMem5,BYTE,=1;
:D just check the latest version, that's exactly what I added at it

Quote:
Originally Posted by Diavolakos View Post
(Do other people get disconnects frequently after 5.8 too or is it just me?)
No, I don't get any disconnects at all.
01/12/2018 10:20 Diavolakos#6910
You are always one brain click ahead of us aren't you :D

I'll check the script. I'll probably have 8 accounts totally in, which I know my pc can hold easily.

Alright it works, the only thing we need to do is to make it not get critical error in client
01/12/2018 14:29 Paraly#6911
Quote:
Originally Posted by Diavolakos View Post
You are always one brain click ahead of us aren't you :D

I'll check the script. I'll probably have 8 accounts totally in, which I know my pc can hold easily.

Alright it works, the only thing we need to do is to make it not get critical error in client
Yea I made it a lot slower at the create / delete character part to prevent crashes and right now I'm 2 hours playing the script without crashes

It's really important that you don't leave the mouse hovering above the client, I'll probably fix this in the next vanillatool update
01/12/2018 15:36 Diavolakos#6912
I had to remake all the delays for me, increasing the global delay by 1.3 for example would do nothing for my ping, some delays are so short that even if global delay was 2.5 or something would still be too fast.

Having 250~350 ping, any delay smaller than 200ms is way too low.

~~~~~~~~~

I have a problem with the quests. He talks to the npcs, cancels the dialog, then re-talks, then the dialog window "flies" upwards and down again, re-talks etc.

Is all this on purpose or is there additional actions done? Most of the times my chars trade 3 candies only instead of 4 and some times they trade nothing.

So I remade the quests and made them pretty simple like this. Deleted everything else with seeing if there is a quest etc.
The char goes to the npc spot, then does this function, then opens the candy boxes and goes to normal server to trade.

Code:
start_NewcomerDialog;

Command=/select Laira; <<--1st quest
Delay=300;
Command=/attack;
Delay=1500;
Mouse=106,208; <--1st click
Delay=1150;
Mouse=195,394; <--Accept
Delay=1150;

Command=/attack;
Delay=1500;
Mouse=113,208; <--1st click
Delay=1150;
Mouse=103,205; <--2nd Click
Delay=1150;
Mouse=196,390; <--OK
Delay=1150;

Command=/attack; <<-2nd quest
Delay=1500;
Mouse=106,208; <--1st click
Delay=1150;
Mouse=195,394; <--Accept
Delay=1150;

Command=/attack;
Delay=1500;
Mouse=113,208; <--1st click
Delay=1150;
Mouse=108,186; <--2nd Click
Delay=1150;
Mouse=196,390; <--OK
Delay=1150;

end_NewcomerDialog;
I personally still got clients crashing. I am not sure what could fix it for me, since it works for you it must be my problem.

So far if I have 1 slave and 2 new accounts running, I get no crashes. If I open another client it gets a crash. For other scripts I can open as many as 8 clients without a problem. But I will be glad to do it like this.

~~~~

Also Luvara never has a quest for us, since it is for returning players.
01/12/2018 16:26 mscrasth#6913
Server switch with lag
Code:
Mouse=610,491; Server switch
Delay=1250;
_IFFrameVisible=276;
#ELSE
Mouse=610,491; Server switch
Delay=1250;
#ENDIF
Delay=50;
FrameAction=276,STATE,SHOW;
FrameAction=276,XPOS,0;
FrameAction=276,YPOS,0;
Delay=500;
_IFFrameVisible=276;
Mouse=124,170;
Delay=50;
Mouse=124,170;
Delay=50;
Mouse=124,170;
Delay=50;
Mouse=124,170;
#ENDIF
01/12/2018 16:36 Exem strike#6914
I'm having a lot of error log send has how to solve, some method somebody knows

of something
01/12/2018 16:50 Cuckedbattles#6915
Everything worked in this script except for the PIN part for me and I tried all kinds of crap but I finally got it to work by changing my pin from 7 digits to a full 8 digit pin and now its working fine.