Sign in to follow this  
Followers 0
percentd

Unlocking windows

4 posts in this topic

Background:

Say I have this server which runs a game, but automatically locks itself up after 5 minutes ( for security reasons ). I have finished writing a script that allows for auto restart with some custom settings like restart interval, etc. However, I'm facing a problem as I cannot reaccess the server once it is locked. The game will not work with controletc commands as it is a minecraft server ( screw java = ), hence my script depends on send() and mouseclick(), which will not work when the server is locked.

My problem:

Is there a way to automatically unlock windows? Even if it involves a 3rd party program, I really dont mind.

Or is there a work around? I've thought of a solution that is, shutting down windows when the script needs to be restarted, and using sysinternal from microsoft to log back in, but I dont really think that would work out that well. Besides, I'm not sure how to shutdown windows from the script ( maybe shell.run some external shutdown program ).

Thanks for reading and I really hope to receive some advice. =)

Share this post


Link to post
Share on other sites



Hello percentd,

Welcome to the AutoIt Forums!

Unfortunately, I cannot help you. Please read the 'Forum Rules' before posting. Especially Part #1 where discussion of game automation is forbidden.

Sorry... and hope to see you again later under a more legitimate reason :)

Realm


My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.  

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Its not cheating! Its just a script which restarts the minecraft server after some time due to excessive memory leaks! Don't be mistaken... =

Edit:---

I know its still against the rules well, but I'd really like some help for unlocking windows in general. It dosent have to be used with games, right?

Edited by percentd

Share this post


Link to post
Share on other sites

percentd,

 

I know its still against the rules

So why even ask? :huh:

Please read the Forum rules (there is also a link at bottom right of each page) before you post again. Thread locked. :naughty:

M23


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
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0