Hi guys, i need help with opened chest bot. With new headers don't work. When open a chest the game crashes. Can someone share wich is the correct header?
Thanks!
Global Const $HEADER_CHEST_OPEN = 0x51 ;Opens a chest (with key AFAIK)
Quote:
Originally Posted by ultradie
My KilroyBot doesnt Work anymore, can anyone help me, pls? Thx
Hi guys, i need help with opened chest bot. With new headers don't work. When open a chest the game crashes. Can someone share wich is the correct header?
Thanks!
Global Const $HEADER_CHEST_OPEN = 0x51 ;Opens a chest (with key AFAIK)
Quote:
Originally Posted by lisbethlol
Same here, anyone know the chest open header?
Quote:
Originally Posted by random/
hello, chest run bots are down ?
The header (0x51) is correct. If it still crashes, there is something else in your script that is breaking it. If you have more questions, feel free to ask. Dont beg for a fix tho, it's really annoying.
Some kind user already answered you.
It literally says whats wrong with the bot... "Error: Duplicate function name." You dont have to be a rocket scientist to figure out what the issue is, you just have to use your brain and read the damn error...
The header (0x51) is correct. If it still crashes, there is something else in your script that is breaking it. If you have more questions, feel free to ask. Dont beg for a fix tho, it's really annoying.
Some kind user already answered you.
It literally says whats wrong with the bot... "Error: Duplicate function name." You dont have to be a rocket scientist to figure out what the issue is, you just have to use your brain and read the **** error...
Is rarely because it works before the new headers update.
The bot crashes calling function Openchest and the function is the same and don't have changes between old gwa2 and new gwa2.
The only different is the header.
Perhaps u use other function to open chests?
I use this func
;~ Description: Open a chest.
Func OpenChest()
Return SendPacket(0x8, $HEADER_CHEST_OPEN, 2)
EndFunc ;==>OpenChest
Is rarely because it works before the new headers update.
The bot crashes calling function Openchest and the function is the same and don't have changes between old gwa2 and new gwa2.
The only different is the header.
Perhaps u use other function to open chests?
I use this func
;~ Description: Open a chest.
Func OpenChest()
Return SendPacket(0x8, $HEADER_CHEST_OPEN, 2)
EndFunc ;==>OpenChest
The header is correct. I even went out and tested it, works perfectly for me. And before you ask, Im not sharing my gwa2, Im only answering questions here.
Like I said, it's something else that is breaking your bot, not the openchest function. Your chest bots call like 50 functions (fyi, I didnt count) just to reach and open 1 chest. 99% of the people here cant even properly read an error that states EXACTLY what the problem is. How can you be so sure that its the header?
Is rarely because it works before the new headers update.
The bot crashes calling function Openchest and the function is the same and don't have changes between old gwa2 and new gwa2.
The only different is the header.
Perhaps u use other function to open chests?
I use this func
;~ Description: Open a chest.
Func OpenChest()
Return SendPacket(0x8, $HEADER_CHEST_OPEN, 2)
EndFunc ;==>OpenChest
You have to run to signpost first then its ,1 to use a regular key and ,2 to use a lockpick... the way you have it now is obs for lockpicks.
Is rarely because it works before the new headers update.
The bot crashes calling function Openchest and the function is the same and don't have changes between old gwa2 and new gwa2.
The only different is the header.
Perhaps u use other function to open chests?
I use this func
;~ Description: Open a chest.
Func OpenChest()
Return SendPacket(0x8, $HEADER_CHEST_OPEN, 2)
EndFunc ;==>OpenChest
Here is how I do it (to add in your bot - IT DOES NOT REPLACE THE FUNCTION YOU ALREADY HAVE IN GWA2)
In the last days I helped a few people to fix their bots (omnibot, chest runner and more) and all had the same problem:
They all downloaded the header file that was uploaded by Strecky. But in that version some headers are still wrong. For some of them you can find the correct values like 1-2 pages after Strecky's post. So it would have been quite easy to solve the problems without additional help if you people were willing to read what is posted on this forum.
But none of you have read that far.
The common error was:
It doesn't matter if your omnibot tries to open the gate or your chest bot finds a chest and wants to open it. In both cases the function named GoSignpost() is called.
Unfortunately the header for this one is wrong in Strecky's header file. But it was correctly uploaded by Thagreat 1 page later:
Global Const $HEADER_SIGNPOST_RUN = 0x4F ;Runs to signpost
Change that one and you are most likely good to go.
If you still get crashes then you may have to update some more headers. In the previous few pages are some more posted that were wrong in the initial upload. Please update them yourself, I belief you are capable of skipping through the pages (118-123) to find the correct ones.
No one on this forum will help you with errors like "duplicate function" or "missing function" because the error already says what you have to do.
But if you run into other problems than that, feel free to post it for an open discussion.
P.S.:
If your salvage function is not working, your salvage pattern is wrong. Maltram only published updated patterns for ScanAgentBase and ScanChangeTargetFunction. But the last update broke more than those two patterns.
i see lot of R/A in Saint Anjeka's Shrine apparently it work fine ^^
why wouldn't it work fine every bot is "fine" again - so just use the stuff given an fix an old or create a new one it's not like they are super complex xD
why wouldn't it work fine every bot is "fine" again - so just use the stuff given an fix an old or create a new one it's not like they are super complex xD
But its easyer to keep being annoying and
scrounge for bots.
Learning how to fix it on their own requires time and brain ):
But its easyer to keep being annoying and
scrounge for bots.
Learning how to fix it on their own requires time and brain ):
I have the feeling lately the people get even more lazy than before - the amount of dublicated Func questions is too funny
And people are like "i dOn'T kNoW hOw tO CoDe" eventhough 90% is like basic common sence and the remaining 10% can be learned by looking at other bots given here - ask questions or watch a video about autoit.
As much as I usually dislike the air of superiority that stereotypically emanates from code able people on these forums, I have to say that this time I feel they're right in refusing to help further.
Like a lot here, I downloaded the incomplete fixed headers, asked for help about it, was very kindly given them and moved from there.
I have ZERO code knowledge and once I was given the right headers, I was able to fix my bot with a couple hours of READING the errors and fixing them. It doesn't take a fullstack developer to understand that a "Duplicate Function" means a function is there more than once and that you need to delete it, or that an "Unknown Function" means that line is trying to call a function that wasn't ported in the new GWA2s and that you just need to port it over from the old one. Come on, guys.