Jump to content

Join our Slack

Talk to other users and have a great time
Slack Server

Welcome to our Community

Click here to get your Exiled Bot license
Donation Store
Sign in to follow this  
kk25747

Poe autoscript v1.2.2 quickfix

Recommended Posts

it close as soon as it open, any idea how to fix that?

nvm i needed to run it as administrator.. i dont know why :P

Edited by maths

Share this post


Link to post
Share on other sites

Thanks for script but it looks like it creates an issue when putting map from inventory to map device in lab. It maintains CRTL key and avoid bot to pick up the map in the inventory.

It was happened before but this time it is almost each run or each 2 runs. If someone as an idea to fix this issue with the CRTL key ?

Edited by fantominus

Share this post


Link to post
Share on other sites

Thanks for script but it looks like it creates an issue when putting map from inventory to map device in lab. It maintains CRTL key and avoid bot to pick up the map in the inventory.

It was happened before but this time it is almost each run or each 2 runs. If someone as an idea to fix this issue with the CRTL key ?

 

i don't run maps so I am not sure about ctrl issue,

but reading from other posts, it seems like bot is having bug with ctrl in maps and it is not script issue.

I am running library and never had ctrl issue with script

 

 

also here's the newest version of script released by original author Gurud

http://www.firedrive.com/file/2257EF6520C77D5D

Edited by kk25747

Share this post


Link to post
Share on other sites

i don't run maps so I am not sure about ctrl issue,

but reading from other posts, it seems like bot is having bug with ctrl in maps and it is not script issue.

I am running library and never had ctrl issue with script

 

 

also here's the newest version of script released by original author Gurud

http://www.firedrive.com/file/2257EF6520C77D5D

 

I am running the library and i have poblems with the CTRL key, with the last autoscript

Share this post


Link to post
Share on other sites

I am running the library and i have poblems with the CTRL key, with the last autoscript

 

you can look at the source code for gurud's script,

and it does not mention ctrl key anywhere.

 

I am using 0.21h on american/european server and I am running library 22runs/hr without any d/c or bot getting stuck

Share this post


Link to post
Share on other sites

I am also of the opinion that the "CTRL-Bug" is related to the latest version of Guru's Multiscript but had not yet time to take a closer look into this.

and it does not mention ctrl key anywhere.

You should take a closer look at the latest source of Guru's multiscript, it contains 18 entries for "CTRL"!  :shock: Additionally with v1.2.2 Guru introduced the new Dynamic Hotkeys Feature which, at the first sight, looks like a good spot to start for that issue...

 

;-------HOTKEYS-----------------HOTKEYS-----------------HOTKEYS-----------------HOTKEYS--------------


showgui2:
   Gui, 2:Show,,Dynamic Hotkeys
Return

GuiLabel:
 If %A_GuiControl% in +,^,!,+^,+!,^!,+^!    ;If the hotkey contains only modifiers, return to wait for a key.
  return
 If InStr(%A_GuiControl%,"vk07")            ;vk07 = MenuMaskKey (see below)
  GuiControl,,%A_GuiControl%, % lastHK      ;Reshow the hotkey, because MenuMaskKey clears it.
 Else
  validateHK(A_GuiControl)
return

validateHK(GuiControl) {
 global lastHK
 Gui, 2:Submit, NoHide
 lastHK := %GuiControl%                     ;Backup the hotkey, in case it needs to be reshown.
 num := SubStr(GuiControl,3)                ;Get the index number of the hotkey control.
 If (HK%num% != "") {                       ;If the hotkey is not blank...
  StringReplace, HK%num%, HK%num%, SC15D, AppsKey      ;Use friendlier names,
  StringReplace, HK%num%, HK%num%, SC154, PrintScreen  ;  instead of these scan codes.
  If CB%num%                                ;  If the 'Win' box is checked, then add its modifier (#).
   HK%num% := "#" HK%num%
  If !RegExMatch(HK%num%,"[#!\^\+]")        ;  If the new hotkey has no modifiers, add the (~) modifier.
   HK%num% := "~" HK%num%                   ;    This prevents any key from being blocked.
  checkDuplicateHK(num)
 }
 If (savedHK%num% || HK%num%)               ;Unless both are empty,
  setHK(num, savedHK%num%, HK%num%)         ;  update INI/GUI
}

checkDuplicateHK(num) {
 global #ctrls
 Loop,% #ctrls
  If (HK%num% = savedHK%A_Index%) {
   dup := A_Index
   Loop,6 {
    GuiControl,% "Disable" b:=!b, HK%dup%   ;Flash the original hotkey to alert the user.
    Sleep,200
   }
   GuiControl,,HK%num%,% HK%num% :=""       ;Delete the hotkey and clear the control.
   break
  }
}

setHK(num,INI,GUI) {
 If INI                           ;If previous hotkey exists,
  Hotkey, %INI%, Label%num%, Off  ;  disable it.
 If GUI                           ;If new hotkey exists,
  Hotkey, %GUI%, Label%num%, On   ;  enable it.
 IniWrite,% GUI ? GUI:null, Config.ini, Hotkeys, %num%
 savedHK%num%  := HK%num%
 if (trayNotifications)
 TrayTip, Label%num%,% !INI ? GUI " ON":!GUI ? INI " OFF":GUI " ON`n" INI " OFF"
}

#MenuMaskKey vk07                 ;Requires AHK_L 38+
#If ctrl := HotkeyCtrlHasFocus()
 *AppsKey::                       ;Add support for these special keys,
 *BackSpace::                     ;  which the hotkey control does not normally allow.
 *Delete::
 *Enter::
 *Escape::
 *Pause::
 *PrintScreen::
 *Space::
 *Tab::
 *XButton1::
 *XButton2::
  modifier := ""
  If GetKeyState("Shift","P")
   modifier .= "+"
  If GetKeyState("Ctrl","P")
   modifier .= "^"
  If GetKeyState("Alt","P")
   modifier .= "!"
  Gui, Submit, NoHide             ;If BackSpace is the first key press, Gui has never been submitted.
  If (A_ThisHotkey == "*BackSpace" && %ctrl% && !modifier)   ;If the control has text but no modifiers held,
   GuiControl,,%ctrl%                                       ;  allow BackSpace to clear that text.
  Else                                                     ;Otherwise,
   GuiControl,,%ctrl%, % modifier SubStr(A_ThisHotkey,2)  ;  show the hotkey.
  validateHK(ctrl)
 return
#If

HotkeyCtrlHasFocus() {
 GuiControlGet, ctrl, Focus       ;ClassNN
 If InStr(ctrl,"hotkey") {
  GuiControlGet, ctrl, FocusV     ;Associated variable
  Return, ctrl
 }
}

;These labels may contain any commands for their respective hotkeys to perform.
Label1:
	desync:=1
return

Label2:
	remaining:=1
return

Label3:
	DPSCalc()
return

Label4:
	Webgrab()
return

Label5:
	QuitToLoginScreen(WinActive("A"))
return

Label6:
	UsePortal()
return

Label7:
	tradechat:=1
return

Label8:
	WinGet, window, ID, A   ; Use the ID of the active window.
	Toggle_Window(window)
return

;-------HOTKEYS-----------------HOTKEYS-----------------HOTKEYS-----------------HOTKEYS--------------

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...