Jump to content
Sign in to follow this  
AfterBurn

GUICtrlSetLimit Baffled

Recommended Posts

AfterBurn

I have made a gui

$ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
$HPmax = InputBox(" SLOTS Q,W,E,R", "", "", "")
$CHImax = InputBox(" SLOTS 7,8,9,0", "", "", "")
$Form = GUICreate("AfterBurns ", 130, 240, 330, 207, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS), $WS_EX_TOOLWINDOW + $WS_EX_TOPMOST)
$Slider1 = GUICtrlCreateSlider(8, 144, 113, 25, BitOR($TBS_TOOLTIPS, $TBS_AUTOTICKS))
GUICtrlSetLimit($Slider1, $HPmax, 0)
$Slider2 = GUICtrlCreateSlider(8, 192, 113, 25, BitOR($TBS_TOOLTIPS, $TBS_AUTOTICKS))
GUICtrlSetLimit($Slider2, $CHImax, 0)
$Label1 = GUICtrlCreateLabel("", 48, 120, 35, 17)
$Label2 = GUICtrlCreateLabel("", 48, 176, 35, 17)
$Checkbox2 = GUICtrlCreateCheckbox(" ", 16, 56, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox(" ", 16, 88, 97, 17)
$Label3 = GUICtrlCreateLabel(" AfterBurns  ", 16, 8, 100, 17)
$Label4 = GUICtrlCreateLabel("", 32, 32, 58, 17)
$Label5 = GUICtrlCreateLabel(" ", 8, 224, 117, 17)
GUISetState(@SW_SHOW, $Form)

There is more to this code this is just the GUI section

Now I use GUICtrlSetLimit($Slider1, $HPmax, 0) where $HPmax is max used from the $HPmax = Inputboxnumber and 0 is min number but I can not set this above 32767 ? Why is this. When I try to set it to anything above 32767 when the GUI pops up the slider bar is stuck on 0 anything below 32767 and I can slide it from 0 to 32767. Help please

Share this post


Link to post
Share on other sites
Melba23

AfterBurn

From your script:

_MemoryOpen(ProcessExists("TwelveSky2.exe"))

From the TwelveSky site:

TwelveSky 2 is an adrenaline-pumping MMO Role Play Game

"you have been suspected of botting" - "be reminded that you are not allowed to use any illegal 3rd party programs for you account"

I take it you have read this?

We do not knowingly support illegal game bots here. :blink:

M23

Edit: Good evening Admiral! ;)

Edited by Melba23

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
AdmiralAlkex

Edit: Good evening Admiral! :P

And a good evening to you too! ;)

@No one particular

[rant]

This guy has 6 threads, all about this damn bot. Quite ridiculous that he still is a member here. But I guess that's what happens when you only have 2 mods (!!) and both of them are around 30-40 years old with "real" lives outside the computer. If I had moderating powers he would have been banned to hell a long time ago.

[/rant]

:blink:

Share this post


Link to post
Share on other sites
Jos

And a good evening to you too! ;)

@No one particular

[rant]

This guy has 6 threads, all about this damn bot. Quite ridiculous that he still is a member here. But I guess that's what happens when you only have 2 mods (!!) and both of them are around 30-40 years old with "real" lives outside the computer. If I had moderating powers he would have been banned to hell a long time ago.

[/rant]

:blink:

Did anybody hit the report button yet?

Any ways, relax and just hit that Report button. Some Mod/Dev/Admin will stop by whenever available a deal with it.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jos

I have made a gui

. Help please

I hope you understand that your current questions are not welcome.

Let me know when its not and I gladly help you understand.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×