Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 02:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to get the headers?

Discussion on How to get the headers? within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2024
Posts: 78
Received Thanks: 79
How to get the headers?

I'm curious to know how the headers are gathered. I'm currently looking at the ones from Zilvermoon and comparing them to Logicdoor's and I'm wondering how they got about finding them.

I heard that the headers got changed a few years back by Anet and that broke most bots.


Here's an example:
Code:
#Region ;=QUEST=
;GAME_SMSG_QUEST_ADD
Global Const $HEADER_QUEST_ACCEPT = 0x39			;Accepts a quest from the NPC
Global Const $HEADER_QUEST_REWARD = 0x4F			;Retrieves Quest reward from NPC
;GAME_CMSG_QUEST_ABANDON 0x0F or GAME_SMSG_QUEST_REMOVE 0x51
Global Const $HEADER_QUEST_ABANDON = 0x0F			;Abandons the quest

;LogicDoors
Global Const $HEADER_QUEST_ABANDON = 0x000F ;Same as above
Global Const $HEADER_QUEST_REQUEST_INFOS = 0x0010
Global Const $HEADER_QUEST_SET_ACTIVE = 0x0012
#EndRegion ;=QUEST=

Google isn't helping because it gives me stuff about image headers (like cover images) :/

Also is there functionally a difference between the 2 extra 0's?
Global Const $HEADER_QUEST_ABANDON = 0x0F
vs
Global Const $HEADER_QUEST_ABANDON = 0x000F




Are headers also meant to be unique?

Code:
;GAME_CMSG_INTERACT_ITEM 0x3D or GAME_CMSG_INTERACT_GADGET 0x4F
Global Const $HEADER_SIGNPOST_RUN = 0x4F			;Runs to signpost
vs

Code:
Global Const $HEADER_QUEST_REWARD = 0x4F			;Retrieves Quest reward from NPC
Both have the same 0x4F header for different actions.


Edit: pretty sure they're meant to be unique and the Zilvermoon version reuses the same header with different variable names as shown here:

Code:
Global Const $HEADER_QUEST_ACCEPT = 0x39	
Global Const $HEADER_DIALOG = 0x39	

Func AcceptQuest($aQuestID)
	Return SendPacket(0x8, $HEADER_QUEST_ACCEPT, '0x008' & Hex($aQuestID, 3) & '01')
EndFunc   ;==>AcceptQuest
but when compared to Logicdoor's:

Code:
Global Const $HEADER_SEND_DIALOG = 0x0039 

Func AcceptQuest($aQuestID)
	; If IsDllStruct(GetQuestByID($aQuestID)) Then Return
	Out("Accepting quest" & $aQuestID)
	SendPacket(0x8, $HEADER_SEND_DIALOG, '0x008' & Hex($aQuestID, 3) & '01')
	RequestQuestInformation($aQuestID)
	Out($aQuestID)
	Out("Accepted quest " & $Quest_ID[$aQuestID] & " - Status: " & QuestLogState($aQuestID))
	Out("Starting at " & $Map_ID[QuestMapFrom($aQuestID)])
	Out("Ending at " & $Map_ID[QuestMapTo($aQuestID)])
	Pingsleep(100)
EndFunc   ;==>AcceptQuest
JimRaynerd is offline  
Old 09/12/2024, 14:02   #2
 
elite*gold: 0
Join Date: Nov 2006
Posts: 45
Received Thanks: 5
i dont understand, both headers are the same in every case. Just the funcs are a bit different (logicdoors has more debugging going on). The way to update them is go to wait until the guys on github update GWCA and grab the headers from them. Finding the headers after an update that breaks them requires some reverse engineering skill to find the new ones no idea how they do this part.
silencer001 is offline  
Old 09/12/2024, 18:22   #3
 
elite*gold: 0
Join Date: May 2021
Posts: 284
Received Thanks: 268
I haven't seen this question before, I cangive more insight on how it's done.

The "headers" in AutoIt are direct memory addresses for data that the library needs to read/write

You get them by either monitoring those memory addresses or reverse engineering them.

The way GWCA get it's memory addresses is by performing byte search in the game memory, finding the patterns ensures a "base pointer" and then they can locate the memory area by shifting bytes.

That is why GWca doesn't break on major game updates, because it has a method of locating relevant memory areas.


As per your question of "quest headers" the packet you need to send when accepting a quest is formed by several factors, the dialog of the button presented, the I'd of the quest you're taking and some other things, you only see a single uint_32 number because it's what can be written in memory but the message is encoded there.

To see what are the values that you need, you can look In toolbox, see in the "info module" and look for the values you are looking for.

If instead what.you want is to learn how the packet is formed, look in the dialogmodule.cpp in the code, all info you need is there
apoguita is offline  
Old 11/13/2024, 08:45   #4
 
Backxtar's Avatar
 
elite*gold: 0
Join Date: Feb 2015
Posts: 400
Received Thanks: 46
Does any1 have the new headers already?
Backxtar is offline  
Old 11/13/2024, 16:21   #5
 
elite*gold: 0
Join Date: Oct 2010
Posts: 1
Received Thanks: 0
Maybe this will help you, gl man
Attached Files
File Type: txt packetlogger.txt (3.1 KB, 41 views)
pendulum1 is offline  
Old 11/13/2024, 20:50   #6
 
elite*gold: 0
Join Date: Jan 2009
Posts: 59
Received Thanks: 32
Quote:
Originally Posted by pendulum1 View Post
Maybe this will help you, gl man
How to use this ? (You can message me if you want)
Zilvermoon is offline  
Reply


Similar Threads Similar Threads
[JS] Simple HTTP GET Request mit Headers?
05/09/2023 - Web Development - 6 Replies
Hey, vorab ich hab die SuFu genutzt aber aus verzweifelung copy & paste ich alles durch und bekomme kein ergebnis... Mein Projekt: Ich lasse auf meinem IPhone Siri Shortcuts laufen, an sich funktioniert alles und zwar handelt es sich einfach um eine Bildersuche, wo dann mehrere Bilder angezeigt werden und man soll dann mit einem Submit Button pro bild quasi ein Like geben können. auf dem IPhone in der Kurzbefehle app mit "Inhalte von Website" abrufen "Methode: GET" und 4 Headers die...
FF Live Http Headers funktioniert nicht
03/16/2012 - Off Topic - 0 Replies
Hallo, habe mir heute das Addon für FireFox heruntergeladen. Nur leider geht es nicht, immer wenn ich auf Einstellung drücke passiert nichts und ich kann nichts mehr bei FireFox drücken und muss den Prozess beenden. Habe schon meinen PC neugestartet und das neueste Update für FF installiert. Und kann das Addon auch nicht über Extras aufrufen, da es dort nicht aufgelistet ist. Ich hoffe mir kann jemand helfen. Grüße edit: Habe gerade bemerkt das ich kein Addon unter Einstellung öffnen...
[C++] Fehlende Headers
10/19/2011 - C/C++ - 8 Replies
Hallo, ich frag jetzt einfach mal euch. Da Pinki für die S4 section mal einen 10 Minuten Bypass src für Xtrap releast hat, möchte ich den nun ein bisschen aufbauen und umschreiben. Hab den schon umgeschrieben (die ganzen hooks für die detourxs kompatibel gemacht, mehr hooks), nur jetzt bin ich bei dem Problem dass ich es nicht compilen kann da mir diverse Header Dateien Fehlen. Mir fehlen diese Header Dateien: tlhelp32.h nt/ntdll.h Ich habe mich auch schon gut bei google informiert...
anderes programm als live http headers
10/19/2010 - General Coding - 2 Replies
hey wenn ich mich auf die-staemme.de einlogge, kommt keine nachricht bei live http headers (FF addon). gibts n anderes programm dafür, dass auch von Diestaemme ausliest? :handsdown::handsdown::handsdown::handsdown: edit keine http header nachrichten :-)



All times are GMT +1. The time now is 02:53.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.