Register for your free account! | Forgot your password?

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

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

Advertisement



Refresh character list button not working

Discussion on Refresh character list button not working within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2024
Posts: 66
Received Thanks: 13
Refresh character list button not working

I'm getting this error and I can't catch why

ReDim $CharName UBound($charname) +1

ReDim used without an array variable error.

This is the code asociated with the button:


Func RefreshInterface()
Local $CharName[1]
Local $lWinList = ProcessList("gw.exe")

Switch $lWinList[0][0]
Case 0
MsgBox(16, "Please open Guild Wars and log into a character before running this program.")
Exit
Case Else
For $i = 1 To $lWinList[0][0]
MemoryOpen($lWinList[$i][1])
$lOpenProcess = DllCall($mKernelHandle, 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $lWinList[$i][1])
$GWHandle = $lOpenProcess[0]
If $GWHandle Then
$CharName = ScanForCharname()
If IsString($CharName) Then
ReDim $CharName[UBound($CharName) + 1]
$CharName[$i] = $CharName
EndIf
EndIf
$GWHandle = 0
Next
GUICtrlSetData($CharInput, _ArrayToString($CharName, "|"), $CharName[1])
EndSwitch
EndFunc

I checked from other bots in which it works, and it's all the same, but for some reason here doesn't.

Any ideas?
ATbs is offline  
Old 05/10/2024, 06:26   #2
 
elite*gold: 0
Join Date: Feb 2024
Posts: 66
Received Thanks: 13
Figured it out... was missing #include <Array.au3>
Question is, I don't have Array.au3 in the list of bot files. Where is it detecting it from?
ATbs is offline  
Old 05/13/2024, 10:56   #3
 
elite*gold: 0
Join Date: Jul 2023
Posts: 147
Received Thanks: 147
Quote:
Originally Posted by ATbs View Post
Figured it out... was missing #include <Array.au3>
Question is, I don't have Array.au3 in the list of bot files. Where is it detecting it from?
A lot of includes are in the autoit program directory containing functions that allow you to get a working script.
t7tcrusher is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
pvp server register button no funciona help - register button does not work help
12/02/2014 - DarkOrbit - 1 Replies
He instalado el servidor register button no funciona ¡ayuda ********************** I installed server register button does not work help **********************
Switchbot Refresh Button fehlt O.o
04/01/2014 - Metin2 Private Server - 5 Replies
Bei dem Switchbot von DaRealFreak v 3.1.2 fehlt mir der Refresh Button für die Item Liste links :o wie mache ich den rein? import chat import item import net import player import snd import locale import shop import ui
[B] Push Button [S] 10 e*gold/Button; 25 e*g/psd+Button
09/20/2013 - elite*gold Trading - 4 Replies
Moin, Hier könnt ihr folgenden Push Button kaufen: http://i.epvpimg.com/YlrYe.jpg Pro Button wären das 10e*g, pro Button mit .psd dazu 25e*g. Wenn ihr einen Button kaufen wollt, schreibt mir eine PN, damit ich den Namen ändern kann, alles hochladen kann und euch dann per Treasure schicken kann. ;) Schrift kann auch geändert werden. Dazu einfach in der PN schreiben, welche Schrift ihr haben wollt^^



All times are GMT +1. The time now is 00:37.


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.