Search found 124 matches

by theon
19 Apr 2021, 21:17
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

boiler wrote:
19 Apr 2021, 21:11
You still have these lines in for no reason:

Code: Select all

#include gdip.ahk
 
;Start up gdip
pToken := Gdip_Startup()
I forgot to delete
by theon
19 Apr 2021, 21:16
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

something else on that RegExMatch line has to accept only words like a to z why he should only check names, not symbols What do you mean only check names? It checks ReadEOClient1 to ReadEOClient11 for those symbols because that’s what you said you wanted it to do. What are you saying it should do i...
by theon
19 Apr 2021, 20:55
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

It looks like your code has changed since the version I just pulled lines from. You should post your full code as it currently stands. There is only so much review and debugging I can do of your hundreds of lines of code, though. ok, my full code something else on that RegExMatch line has to accept...
by theon
19 Apr 2021, 20:14
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

Just do the same thing for those checkboxes. If they’re checked then gosub to their subroutines. boiler it saves the position in the config.ini but when loing it doesn’t read the foodx and foody positions why? do I have to put a gui, edit for him to read? code pos x and y #SingleInstance,Force #NoE...
by theon
18 Apr 2021, 23:30
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

load: IniRead, runa, %SelectedFile%, bot variables, runa GuiControl,, runa, %runa% if runa gosub, bruna return I have one more problem how do I load a code like that? he does not accept the foodx and foody pos from iniread foodd: gui,submit,nohide if (foodd) { { global client_id := namechar DllCall...
by theon
18 Apr 2021, 23:27
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

boiler wrote:
18 Apr 2021, 23:23

Code: Select all

load:
IniRead, runa, %SelectedFile%, bot variables, runa
GuiControl,, runa, %runa%
if runa
	gosub, bruna
return
ty ty ty ty ^^
by theon
18 Apr 2021, 23:20
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

You put code in that checks the value of the checkbox when you load the values from the ini file, then uses Gosub to execute the subroutine if it’s checked. can you give me an example in this code? Gui Add, CheckBox, x280 y80 w73 h23 vruna gbruna , Rune Gui Show, w439 h274, test bruna: gui,submit,n...
by theon
18 Apr 2021, 23:08
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

If you mean after choosing Load from the menu, it still shows the MsgBox after I load it and then click on it. Are you expecting it to run bruna without even clicking on it after you load it? It doesn’t run the code at the label based on whether it’s checked or not. It runs it when it gets clicked ...
by theon
18 Apr 2021, 22:55
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

Yes it does. Maybe it doesn't do anything, so you need to fix the code in bruna, but change it to this to prove it executes it: bruna: MsgBox, here ; <<< IF MSGBOX SHOWS, IT EXECUTED IT gui,submit,nohide If (runa=1){ settimer,runa,500 GuiControl, Disable, key GuiControl, Disable, manaa } else { set...
by theon
18 Apr 2021, 22:36
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

he load more does not execute the gbrune fuction Gui Add, CheckBox, x280 y80 w73 h23 vruna gbruna , Rune bruna: gui,submit,nohide If (runa=1){ settimer,runa,500 GuiControl, Disable, key GuiControl, Disable, manaa } else { settimer,runa,OFF ;check = 0 so dont loop GuiControl, enable, key GuiControl, ...
by theon
18 Apr 2021, 22:33
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

If you're asking why the food checkbox and others doesn't save and update, it seems pretty obvious. The variable name for the checkbox is foodd (two d's): Gui Add, CheckBox, x280 y128 w82 h23 vfoodd Checked%foodd% gbfoodd, Food ...and you don't have a global variable set for foodd, only for food (a...
by theon
18 Apr 2021, 21:40
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

boiler I’m not sure what you’re asking, but did you check that the .ini file contains all the info you think it does? yes, it has all the ini, but it does not perform the checkbox functions when selected by IniRead code config ini. [bot variables] foody=224 foodx= manaa=180 key=F1 tempo=1 nome=Game...
by theon
18 Apr 2021, 21:03
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

@boiler,Thank you very much, if you are not too upset, can you take another doubt?
by theon
17 Apr 2021, 23:20
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

didn't work there's a way to do it, ta finding this square and I want to ignore it too > "" loop,11 if !RegExMatch(ReadEOClient%A_Index%, "[\^?$%#@]") If (StrLen(ReadEOClient%A_Index%) > 2) if ((ReadEOClient%A_Index% = "name1") OR (ReadEOClient%A_Index% = "name2") OR (ReadEOClient%A_Index% = "name3"...
by theon
17 Apr 2021, 22:28
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

boiler wrote:
17 Apr 2021, 22:22
Do you really need to know which character it found and store it in a variable, or do you just want it skipped if it contains any of those characters?
this if any name has an illegal character it is to be ignored
example $bolier
%test $test
cannot have symbols
by theon
17 Apr 2021, 22:11
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

I think I explained it wrong I want my if ingore these characters when he scans and finds these types of characters is for him to ignore boiler loop,11 if ignored == ^, ?, $ ,%, #, @ If (StrLen(ReadEOClient%A_Index%) > 2) if ((ReadEOClient%A_Index% = "name1") OR (ReadEOClient%A_Index% = "name2") OR ...
by theon
17 Apr 2021, 20:43
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

boiler boiler, Are there any characters appearing in my search that I would like to ignore, Has as ? follow the print https://i.imgur.com/SNAOQVp.png full code: #Include <classMemory> #SingleInstance,Force #NoEnv #WinActivateForce ; need to test it SetTitleMatchMode, RegEx #Warn All, Off ; #Warn ea...
by theon
17 Apr 2021, 08:31
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

Re: help variable Topic is solved

You don't use " or % around variables in expressions except in certain cases like where you used % with A_Index : if ((ReadEOClient%A_Index% = name1) OR (ReadEOClient%A_Index% = name2) OR (ReadEOClient%A_Index% = name3) OR (ReadEOClient%A_Index% = name4) ) Also, if those are supposed to be the vari...
by theon
16 Apr 2021, 20:46
Forum: Ask for Help (v1)
Topic: help variable Topic is solved
Replies: 51
Views: 2183

help variable Topic is solved

when I write the name in the gui it doesn't work, it only works if I write directly in the code = x Full code: #Include <classMemory> #SingleInstance,Force #NoEnv #WinActivateForce ; need to test it #include gdip.ahk SetTitleMatchMode, RegEx #Warn All, Off ; #Warn eables warnings to assist with det...
by theon
07 Mar 2021, 06:57
Forum: Gaming Help (v1)
Topic: result of address <classMemory>RHCP Topic is solved
Replies: 43
Views: 2689

Re: result of address <classMemory>RHCP Topic is solved

@RHCP
Yes when he dies or disappears from the screen he gets 65535, it worked perfectly, one more doubt if I want an action by explo if the rat has life 30 he executes an action because he is in an index loop like I do?

Go to advanced search