Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 23:00

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

Advertisement



OK to ask for exploit/Scripting help here...

Discussion on OK to ask for exploit/Scripting help here... within the GW Bots forum part of the Guild Wars category.

Reply
 
Old 11/11/2019, 21:19   #211
 
honigkuchenpferd2's Avatar
 
elite*gold: 32
Join Date: Dec 2010
Posts: 671
Received Thanks: 43
Quote:
Seem found error here; replace DonateFaction(1) by DonateFaction(l) (k for kurzick l for luxon and not 1 the number)
Thank you it is working now! Holy **** i went full ****** mode!
honigkuchenpferd2 is offline  
Old 11/12/2019, 23:55   #212
 
elite*gold: 0
Join Date: Jan 2018
Posts: 1
Received Thanks: 0
Hello all,

i need a bit of help with modifying the bot from this post:

I could get it to work with other builds, but as i saw that the bot doesn't use some skills very good i just wanted to try leaving skill slots open. What would i write in the skill/build part of the bot from line 90 for empy skills?

Quote:
Enum $SKILL_Contagion = 1, _
$SKILL_DarkAura, _
$SKILL_DeathNova, _
$SKILL_PutridBile, _
$SKILL_ShadowWalk, _
$SKILL_SignetOfAgony, _
$SKILL_TouchOfAgony, _
$SKILL_Dash
perester is offline  
Old 11/15/2019, 05:07   #213
 
Nachico's Avatar
 
elite*gold: 28
Join Date: Jul 2018
Posts: 38
Received Thanks: 31
Does Somebody have the right offsets for me for these functions? How can i find Offsets? I am using the c++ developer tool.

I did some google search and came out on cheat engine everytime. Is that usable for this game to find out the offsets?

Code:
Func TradeWinExist()
	Local $lOffset = [0, 24, 88, 0]
	Return MemoryreadPtr($mBasePointer, $lOffset)[1]
EndFunc   ;==>Trade Window Exist

Func TradeOfferItemExist()
	Local $lOffset = [0, 24, 88, 40, 0]
	Return MemoryReadPtr($mBasePointer, $lOffset)[1]
EndFunc   ;==>Trade Offer Items Exist

Func TradeOfferMoneyExist()
	Local $lOffset = [0, 24, 88, 36]
	Return MemoryReadPtr($mBasePointer, $lOffset)[1]
EndFunc   ;==>Trade Offer Money Exist
For example: Packet 5 would be the trade window i think.
-- PACKET: P005

<GStoC> Size: 0x8 Header: 0x5
05 00 00 00 5D 00 00 00
---------------------------------
0x00 Header => 5
0x04 DWORD => 93 float => 0.000000
---------------------------------

Are these the offsets? I found this C++ Developer Tools -> GW-Config. I'm afraid this is for ingame settings and not to identify if a window exists.

Hmmm edit... the image don't show.
[IMG][/IMG]

Anyways! Help would be much appreciated! Thanks in advance!
Nachico is offline  
Old 11/16/2019, 18:14   #214
 
oneshout's Avatar
 
elite*gold: 0
Join Date: Dec 2017
Posts: 385
Received Thanks: 294
Maybe i'm blind but cannot find my error to have function "Pauses after this round" working

Code:
Global $BotRunning = False
Code:
#Region GUI
Global Const $mainGui = GUICreate("Mantid", 350, 175)
	GUISetOnEvent($GUI_EVENT_CLOSE, "_exit")

Global $Input
If $doLoadLoggedChars Then
	$Input = GUICtrlCreateCombo("", 8, 8, 129, 21)
		GUICtrlSetData(-1, GetLoggedCharNames())
Else
	$Input = GUICtrlCreateInput("character name", 8, 8, 129, 21)
EndIf

GUICtrlCreateLabel("Successful Run:", 8, 50, 70, 17)
Global Const $RunsLabel = GUICtrlCreateLabel($RunCount, 80, 50, 50, 17)
GUICtrlCreateLabel("Failed Run:", 8, 65, 70, 17)
Global Const $FailsLabel = GUICtrlCreateLabel($FailCount, 80, 65, 50, 17)
GUICtrlCreateLabel("Shield:", 8, 80, 70, 17)
Global Const $DropsCount = GUICtrlCreateLabel("0", 80, 80, 50, 17)
GUICtrlCreateLabel("Sword:", 8, 95, 70, 17)
Global Const $DropsCount2 = GUICtrlCreateLabel("0", 80, 95, 50, 17)
Global Const $Checkbox = GUICtrlCreateCheckbox("Stop Rendering", 8, 125, 129, 17)
	GUICtrlSetState(-1, $GUI_DISABLE)
	GUICtrlSetOnEvent(-1, "ToggleRendering")
Global Const $Button = GUICtrlCreateButton("Start", 8, 145, 131, 25)
	GUICtrlSetOnEvent($Button, "GuiButtonHandler")
Global Const $StatusLabel = GUICtrlCreateLabel("", 8, 190, 125, 17)

Global $GLOGBOX = GUICtrlCreateEdit("", 140, 8, 200, 165, BitOR($ES_AUTOVSCROLL, $ES_AUTOHSCROLL, $ES_WANTRETURN, $WS_VSCROLL))
GUICtrlSetColor($GLOGBOX, 65280)
GUICtrlSetBkColor($GLOGBOX, 0)
GUISetState(@SW_SHOW)
Code:
Func GuiButtonHandler()
	If $BotRunning Then
		GUICtrlSetData($Button, "Pauses after this round")
		GUICtrlSetState($Button, $GUI_DISABLE)
		$BotRunning = False
	ElseIf $BotInitialized Then
		GUICtrlSetData($Button, "Pause")
		$BotRunning = True
	Else
		Out("Starting")
		Local $CharName = GUICtrlRead($Input)
		If $CharName=="" Then
			If Initialize(ProcessExists("gw.exe"), True, True, True) = False Then
				MsgBox(0, "Error", "GW is not open")
				Exit
			EndIf
			WinSetTitle($mainGui, "", "Celestial Weapons Farm Bot_" & GetCharname())
		Else
			If Initialize($CharName, True, True, True) = False Then ;
				MsgBox(0, "Error", "Cannot find character: '"&$CharName&"'")
				Exit
			EndIf
			WinSetTitle($mainGui, "", "Celestial Weapons Farm Bot_" & $CharName)
		EndIf
		GUICtrlSetState($Checkbox, $GUI_ENABLE)
		GUICtrlSetData($Button, "Pause")
		$BotRunning = True
		$BotInitialized = True
	EndIf
EndFunc
If someone have an idea, welcome
oneshout is offline  
Old 11/17/2019, 13:18   #215
 
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 328
Quote:
Originally Posted by Nachico View Post
Does Somebody have the right offsets for me for these functions? How can i find Offsets? I am using the c++ developer tool.

I did some google search and came out on cheat engine everytime. Is that usable for this game to find out the offsets?

Code:
Func TradeWinExist()
	Local $lOffset = [0, 24, 88, 0]
	Return MemoryreadPtr($mBasePointer, $lOffset)[1]
EndFunc   ;==>Trade Window Exist

Func TradeOfferItemExist()
	Local $lOffset = [0, 24, 88, 40, 0]
	Return MemoryReadPtr($mBasePointer, $lOffset)[1]
EndFunc   ;==>Trade Offer Items Exist

Func TradeOfferMoneyExist()
	Local $lOffset = [0, 24, 88, 36]
	Return MemoryReadPtr($mBasePointer, $lOffset)[1]
EndFunc   ;==>Trade Offer Money Exist
For example: Packet 5 would be the trade window i think.
-- PACKET: P005

<GStoC> Size: 0x8 Header: 0x5
05 00 00 00 5D 00 00 00
---------------------------------
0x00 Header => 5
0x04 DWORD => 93 float => 0.000000
---------------------------------

Are these the offsets? I found this C++ Developer Tools -> GW-Config. I'm afraid this is for ingame settings and not to identify if a window exists.

Hmmm edit... the image don't show.
[IMG][/IMG]

Anyways! Help would be much appreciated! Thanks in advance!
Neighter the GStoC-Packet nor the Position of the Trade-Window are the right place you're looking for.

Code:
Func TradeWinExist()
	Local $lOffset[4] = [0, 0x18, 0x58, 0]
	Local $TradePtr = MemoryReadPtr($mBasePointer, $lOffset)
	Return MemoryRead($TradePtr[0], 'long') > 0
EndFunc   ;==>Trade Window Exist

Func TradeOfferItemExist()
	Local $lOffset[4] = [0, 0x18, 0x58, 0]
	Local $TradePtr = MemoryReadPtr($mBasePointer, $lOffset)
	Return MemoryRead($TradePtr[0] + 0x28, 'ptr') > 0
EndFunc   ;==>Trade Offer Items Exist

Func TradeOfferMoneyExist()
	Local $lOffset[4] = [0, 0x18, 0x58, 0]
	Local $TradePtr = MemoryReadPtr($mBasePointer, $lOffset)
	Return MemoryRead($TradePtr[0] + 0x24, 'ptr') > 0
EndFunc   ;==>Trade Offer Money Exist
Still works for me ...

Quote:
Originally Posted by oneshout View Post
Maybe i'm blind but cannot find my error to have function "Pauses after this round" working

Code:
Global $BotRunning = False
Code:
#Region GUI
Global Const $mainGui = GUICreate("Mantid", 350, 175)
	GUISetOnEvent($GUI_EVENT_CLOSE, "_exit")

Global $Input
If $doLoadLoggedChars Then
	$Input = GUICtrlCreateCombo("", 8, 8, 129, 21)
		GUICtrlSetData(-1, GetLoggedCharNames())
Else
	$Input = GUICtrlCreateInput("character name", 8, 8, 129, 21)
EndIf

GUICtrlCreateLabel("Successful Run:", 8, 50, 70, 17)
Global Const $RunsLabel = GUICtrlCreateLabel($RunCount, 80, 50, 50, 17)
GUICtrlCreateLabel("Failed Run:", 8, 65, 70, 17)
Global Const $FailsLabel = GUICtrlCreateLabel($FailCount, 80, 65, 50, 17)
GUICtrlCreateLabel("Shield:", 8, 80, 70, 17)
Global Const $DropsCount = GUICtrlCreateLabel("0", 80, 80, 50, 17)
GUICtrlCreateLabel("Sword:", 8, 95, 70, 17)
Global Const $DropsCount2 = GUICtrlCreateLabel("0", 80, 95, 50, 17)
Global Const $Checkbox = GUICtrlCreateCheckbox("Stop Rendering", 8, 125, 129, 17)
	GUICtrlSetState(-1, $GUI_DISABLE)
	GUICtrlSetOnEvent(-1, "ToggleRendering")
Global Const $Button = GUICtrlCreateButton("Start", 8, 145, 131, 25)
	GUICtrlSetOnEvent($Button, "GuiButtonHandler")
Global Const $StatusLabel = GUICtrlCreateLabel("", 8, 190, 125, 17)

Global $GLOGBOX = GUICtrlCreateEdit("", 140, 8, 200, 165, BitOR($ES_AUTOVSCROLL, $ES_AUTOHSCROLL, $ES_WANTRETURN, $WS_VSCROLL))
GUICtrlSetColor($GLOGBOX, 65280)
GUICtrlSetBkColor($GLOGBOX, 0)
GUISetState(@SW_SHOW)
Code:
Func GuiButtonHandler()
	If $BotRunning Then
		GUICtrlSetData($Button, "Pauses after this round")
		GUICtrlSetState($Button, $GUI_DISABLE)
		$BotRunning = False
	ElseIf $BotInitialized Then
		GUICtrlSetData($Button, "Pause")
		$BotRunning = True
	Else
		Out("Starting")
		Local $CharName = GUICtrlRead($Input)
		If $CharName=="" Then
			If Initialize(ProcessExists("gw.exe"), True, True, True) = False Then
				MsgBox(0, "Error", "GW is not open")
				Exit
			EndIf
			WinSetTitle($mainGui, "", "Celestial Weapons Farm Bot_" & GetCharname())
		Else
			If Initialize($CharName, True, True, True) = False Then ;
				MsgBox(0, "Error", "Cannot find character: '"&$CharName&"'")
				Exit
			EndIf
			WinSetTitle($mainGui, "", "Celestial Weapons Farm Bot_" & $CharName)
		EndIf
		GUICtrlSetState($Checkbox, $GUI_ENABLE)
		GUICtrlSetData($Button, "Pause")
		$BotRunning = True
		$BotInitialized = True
	EndIf
EndFunc
If someone have an idea, welcome
Have you set
Code:
Opt("GUIOnEventMode", 1)
on Top of your script?
DerMoench14 is offline  
Old 11/17/2019, 14:20   #216
 
oneshout's Avatar
 
elite*gold: 0
Join Date: Dec 2017
Posts: 385
Received Thanks: 294
Quote:
Originally Posted by DerMoench14 View Post

Have you set
Code:
Opt("GUIOnEventMode", 1)
on Top of your script?
got this :

Code:
Opt("GUIOnEventMode", True)
Opt("GUICloseOnESC", False)
Opt("MustDeclareVars", True)
oneshout is offline  
Old 11/17/2019, 14:36   #217
 
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 328
No clue ... looks good for me ...
DerMoench14 is offline  
Old 11/17/2019, 16:19   #218
 
phat34's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 354
Received Thanks: 120
Use

Code:
AUTOITSETOPTION("TrayIconDebug", 1)
to help determine where your code pointer is...

Also $botrunning should be False to initialize a pause... Your GUIbutton handler is corrupt... look at my blades FREE file to get the correct code for that pause after round method.
phat34 is offline  
Thanks
2 Users
Old 11/17/2019, 17:10   #219
 
Nachico's Avatar
 
elite*gold: 28
Join Date: Jul 2018
Posts: 38
Received Thanks: 31
Quote:
Originally Posted by DerMoench14 View Post
Neighter the GStoC-Packet nor the Position of the Trade-Window are the right place you're looking for.

Code:
Func TradeWinExist()
	Local $lOffset[4] = [0, 0x18, 0x58, 0]
	Local $TradePtr = MemoryReadPtr($mBasePointer, $lOffset)
	Return MemoryRead($TradePtr[0], 'long') > 0
EndFunc   ;==>Trade Window Exist

Func TradeOfferItemExist()
	Local $lOffset[4] = [0, 0x18, 0x58, 0]
	Local $TradePtr = MemoryReadPtr($mBasePointer, $lOffset)
	Return MemoryRead($TradePtr[0] + 0x28, 'ptr') > 0
EndFunc   ;==>Trade Offer Items Exist

Func TradeOfferMoneyExist()
	Local $lOffset[4] = [0, 0x18, 0x58, 0]
	Local $TradePtr = MemoryReadPtr($mBasePointer, $lOffset)
	Return MemoryRead($TradePtr[0] + 0x24, 'ptr') > 0
EndFunc   ;==>Trade Offer Money Exist
Still works for me ...
****, thanks buddy. But to learn from this where to look for it? What tools and how can i look for this myself?
Nachico is offline  
Old 11/17/2019, 18:07   #220
 
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 328
Quote:
Originally Posted by Nachico View Post
****, thanks buddy. But to learn from this where to look for it? What tools and how can i look for this myself?
Any Debugger you like will do ..
CE ist easy to use for beginner ...
DerMoench14 is offline  
Old 11/17/2019, 19:56   #221
 
Nachico's Avatar
 
elite*gold: 28
Join Date: Jul 2018
Posts: 38
Received Thanks: 31
Quote:
Originally Posted by DerMoench14 View Post
Any Debugger you like will do ..
CE ist easy to use for beginner ...
So cheatengine is used for that. I read somewhere that based on runtime the pointers would change and that cheat engine could not be used on guild wars but that didnt make any sense to me since $mBasepointer is a static pointer and besides that how can the game itself now where to point in memory. It's prolly a lot more complicated. Anyways. i can do some more research now in the right direction! Cheers!
Nachico is offline  
Old 11/18/2019, 08:54   #222
 
oneshout's Avatar
 
elite*gold: 0
Join Date: Dec 2017
Posts: 385
Received Thanks: 294
Quote:
Originally Posted by phat34 View Post
Use

Code:
AUTOITSETOPTION("TrayIconDebug", 1)
to help determine where your code pointer is...

Also $botrunning should be False to initialize a pause... Your GUIbutton handler is corrupt... look at my blades FREE file to get the correct code for that pause after round method.
i have rebuild all constants, GUIbutton handler and the GUI... All working fine now Tks for the help
oneshout is offline  
Thanks
1 User
Old 11/21/2019, 11:28   #223
 
richpianagroyper's Avatar
 
elite*gold: 0
Join Date: Oct 2019
Posts: 11
Received Thanks: 2
So I got 2 questions here
a) does anyone have a working script to salvage in explorable areas when running multiple accounts? the script i have works perfect (no dcs or crashes whatsoever) when salvaging in an outpost but even changing the sleep to something like sleep(getping() + 1000) will cause dcs and is very unreliable, while multiboxing and in explorable areas.
b) is there a function that uses a mod? there is a function useitem in the gwa2 but since that cant target that wont work for mods, right?
richpianagroyper is offline  
Old 11/22/2019, 00:15   #224
 
elite*gold: 0
Join Date: Oct 2014
Posts: 13
Received Thanks: 0
esto es asombroso
QuickyBuyer is offline  
Old 11/24/2019, 10:43   #225
 
richpianagroyper's Avatar
 
elite*gold: 0
Join Date: Oct 2019
Posts: 11
Received Thanks: 2
@
a)i just use cheap salavage kits in explorables bots will get dcs until only one acc is running little to no issue when just running 1 account and no issue whatsoever when salvaging in outposts
b) what i want to do is use measure for measure inscription on items that only salvage to wood on items that salvage to a lot of dust or iron not wasting the inscription. what i can do right now is store the inscription and an item that is suitable for salvage but ideally i can let the bot apply the inscription and salvage the item for mats, currently i have to do the latter part manually
richpianagroyper is offline  
Reply


Similar Threads Similar Threads
Hello guys, i got hacked and gm didnt help me :( so i ask for help here
12/22/2009 - Kal Online - 25 Replies
Hello guys, i got hacked 7 days ago, i sent a c/s to gms connected my id card, they told me twrite back after 7 days... GM Reply Hello. This is Kalonline. We checked over your report and blocked hackers.
HELP! I need help scripting
02/06/2007 - Conquer Online 2 - 1 Replies
OK, I want to know how u ppl do it! I what program do u use to make them? cause i wanna help but i dun know how... somone plz reply!
L2Walker, scripting questions/help
12/13/2006 - Lineage 2 - 0 Replies
Hey, just asking a few questions hope you don't mind ^_^ I'm looking to make a script so when I cast magic on something, the walker bot will cast, say Wind Strike, on the same thing, at the same time. I've looked through the options in walker and have it setup now, but it doesn't cast at the same time, but when I've finished casting. If this isn't possible, last time I checked Walker scripts could not pickup what was said in chat, is this still the case? Thanks. ^_^ Note: If you...
I need help scripting
09/05/2006 - General Coding - 0 Replies
Ok I am tired of leeching I am ready to try my hand at scripting but I dont know where to start and I was wondering if someone could help me get started or tell me a website that can help me learn so I can make my own hacks and contribute to the epvp community that we all love :D



All times are GMT +1. The time now is 23:01.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.