Anyone any idea what it could mean when your character loses connection to the server?
I tried to integrate PackMan into a Kilroy bot and on the second selling procedure i keep losing connection and it sends me back on char selection screen.
Every other bot works fine, there are no network issues, the issue is bot related.
Anyone any idea what it could mean when your character loses connection to the server?
I tried to integrate PackMan into a Kilroy bot and on the second selling procedure i keep losing connection and it sends me back on char selection screen.
Every other bot works fine, there are no network issues, the issue is bot related.
You will have the same problem if you try to buy and sell really quickly
It seems like the PackMan bot beeing unstable during the salvaging process. Couldn't identify the exact issue yet.
I've noticed it as well. There is a function RndPingSleep(). Make sure you use one of the latest GWA2's where GetPing() is fixed. The one packed with PackMan 1.5 will work.
The line where is kicks you is RndSleep(GetPing() * 6). For me a multiplier of * 3 is usually quite stable, but I set to * 6 to try account for slower connections. If you increase that value to 8, 10, 12, 14... you should eventually reach a state where it doesn't kick you, but obviously each time you slow your script down a bit. If using with a bot though then that extra few seconds wont hurt
If people who test this can post which values are stable for them, that would be helpful, thanks!
I've noticed it as well. There is a function RndPingSleep(). Make sure you use one of the latest GWA2's where GetPing() is fixed. The one packed with PackMan 1.5 will work.
The line where is kicks you is RndSleep(GetPing() * 6). For me a multiplier of * 3 is usually quite stable, but I set to * 6 to try account for slower connections. If you increase that value to 8, 10, 12, 14... you should eventually reach a state where it doesn't kick you, but obviously each time you slow your script down a bit. If using with a bot though then that extra few seconds wont hurt
If people who test this can post which values are stable for them, that would be helpful, thanks!
Yep, this is the best way to fix it in the current gwa2 available to the public. The 100% bullet proof way would be to hook the GameServer -> Client Decryption function to only move on when the client receives back the finished salvage packets like gwca does.
Yep, this is the best way to fix it in the current gwa2 available to the public. The 100% bullet proof way would be to hook the GameServer -> Client Decryption function to only move on when the client receives back the finished salvage packets like gwca does.
...or an even easier way to fix this is to wait till your salvage kit value drops (meaning a salvage use has been used out of the salvage kit), this happens at the end of the salvage kit being used and signifies that the salvage is also finished. You can use already defined functions in gwa2 to fix it this way as well...
...or an even easier way to fix this is to wait till your salvage kit value drops (meaning a salvage use has been used out of the salvage kit), this happens at the end of the salvage kit being used and signifies that the salvage is also finished. You can use already defined functions in gwa2 to fix it this way as well...
Nice, that is a clever way to tell the transaction is finished. One of the funnest parts of game hacking is finding creative ways to relay information to the API.
updated, fixed some ****,
added some **** nobody asked for
Hard mode, theoretically works, but dont use it, the bot wont be able to complete it 90% of the time.
picks up golds, stone summit emblems and gold now,
uses lightbringer/serker/whatever scrolls (not my doing)
have fun
Hey All,
when I try to run this bot, it says to me: Error: GWA2 not included
I did start GWA2 before, and i tried many different downloaded versions of GWA2. Someone has any idea what could be wrong here? I really would like to try this Kilroy bot.
Yep, this is the best way to fix it in the current gwa2 available to the public. The 100% bullet proof way would be to hook the GameServer -> Client Decryption function to only move on when the client receives back the finished salvage packets like gwca does.
I think this would be ideal. Any ideas on how to create the hook?
Quote:
Originally Posted by phat34
...or an even easier way to fix this is to wait till your salvage kit value drops (meaning a salvage use has been used out of the salvage kit), this happens at the end of the salvage kit being used and signifies that the salvage is also finished. You can use already defined functions in gwa2 to fix it this way as well...
In my tests waiting for salvage-kit uses to decrement was unfortunately not enough to prevent disconnect if starting another salvage immediately after.
But even if we have a long enough pause inbetween salvage items, it will also disconnect if there is not a long enough pause inbetween StartSalvage() -> Salvage(). Not sure why this is the case since TraderRequestSell() -> TraderSell() has similar process but does not have this issue Nevermind, TraderRequestSell() waits for TraderQuoteId before continuing