Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 19:14

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

Advertisement



Completely Puzzled By Func

Discussion on Completely Puzzled By Func within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2019
Posts: 65
Received Thanks: 29
Completely Puzzled By Func

I need a little bit of help with this confusing error im getting.

Im using this function :

Func _MoveToItem($agent) ; Carries on staying alive while collecting item
Local $lMe
If GetIsDead(-2) Then Return
$x = DllStructGetData($agent, "x")
$y = DllStructGetData($agent, "y")
MoveTo($x, $y) ; Change this to MoveToAggro/MoveTo/Move - Whatever your using as an advanced movement function
EndFunc

I have been using it on other scripts and works perfectly fine, however on a new one i am writting. I am getting a error that the $x is not being declared. I have looked at both scripts and im seeing nothing different between the two.

I do believe its something simple that i am just overlooking.

Thank you.
ForgottenRelic is offline  
Old 03/04/2025, 21:41   #2
 
elite*gold: 0
Join Date: Mar 2021
Posts: 10
Received Thanks: 6
Func _MoveToItem($agent) ; Carries on staying alive while collecting item
Local $lMe, $x, $y
If GetIsDead(-2) Then Return
$x = DllStructGetData($agent, "x")
$y = DllStructGetData($agent, "y")
MoveTo($x, $y) ; Change this to MoveToAggro/MoveTo/Move - Whatever your using as an advanced movement function
EndFunc
Ac900 is offline  
Reply


Similar Threads Similar Threads
Func nach der func ausführen problem
08/15/2011 - AutoIt - 6 Replies
Hi, ich hab hier mal nen code schnipel der nicht funktioniert.. Die error Erkennung... if StringInStr($oWebTcp.body, "Du kannst nicht weitermachen...") Then GUICtrlSetData($list1, "Login failed. Please fix"&" = "&$array&" ANR: ")
Func in Func ?
02/11/2011 - AutoIt - 8 Replies
Hallo E*PvP, Ich habe eine frage , ich will ein shortcut ..ding machen ..xD also wen ich z.b F1 drücke,soll ich in ein Menü reinkommen und dan auch für F1 etwas anderes amchen also z.b F1= Begrüßungs hotkeys => Press F1 =>
[Fragen zu] Gui Hide & Show / Admin Rights / Func in Func
12/12/2010 - AutoIt - 29 Replies
Hi Leute, wie ihr oben ja bereits lesen könnt habe ich ein paar Fragen. 1. Könnte mir jmd. eine Hotkeyset-Func schreiben, womit ich mit nur einer (!) Taste die GUI verstecken und wieder anzeigen lassen kann ? 2. Gibt es etwas, dass dem gescripteten Tool von selbst Adminrechte verschafft? Ich rede NICHT von RequireAdmin, da muss man ja Administrator des PCs sein. €: Kann "#requireadmin" rausgezögert werden ?! Ich möchte, dass das passiert, aber erst, wenn ich einen Knopf gedrückt...
Puzzled :S
12/30/2009 - Dekaron Private Server - 6 Replies
Hello guys, sorry to keep asking for help :D Ok, so I wanna modify a skill that is deply bugged, only, I think I do it in Status.csv. However I have no clue where the indexes are found :S I've checked the files named s_4_1_powersacra etc etc.. And thoes indexes arn't the same as the ones in status.csv. Can someone tell me where the indexes from status.csv are located? I could really do with help on this, pm me if it's too complicated to explain and we will talk through msn. Thanks in...



All times are GMT +1. The time now is 19:15.


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.