twamp22 Posted October 7, 2012 Share Posted October 7, 2012 (edited) Hello Autoitscript.com community, I am writing a GUI based script that can help me admin my Killing Floor server. There is no remote console/admin tool(besides ingame) that i have been able to find, so i decided to make my own. This script uses <IE.au3> to target certain elements of the webadmin page for the server. Everything was moving along fine, hit a few hurdles and navigated past them. Until now.... Here is my current code: <snip> What this script does is: Show a combo box of all of the maps the server has installed, and allows to switch maps.(WORKING) Allows the admin to send messages into the game.(WORKING**) Allows the admin to send console messages to the server.(WORKING**) What i will add to this script: Ability to show current running map.(SOME OF THIS IS WRITEN AND COMMENTED OUT) ** These functions work once, then upon the second attempt it crashes the script. ERROR = C:\Program Files (x86)\AutoIt3\Include\IE.au3 (1299) : ==> The requested action with this object has failed.: If String($o_object.type) = "file" Then If String($o_object.type^ ERRORNormally i would be able to trouble shoot this a bit more then i am currently able to, but since the error is in the included IE.au3, im not really sure what the issue might be. If i had to take a guess i would guess that the issue is due to where/when the console related stuff is written into the code. I have never used IE.au3 prior to this, so i am a bit new to this. Also would like to add that yes, this code is a bit rough since im not really sure when/where to put most of the elements of the code. Thanks in advance to anyone willing to lend a helping hand! Hope to hear from you all soon. Edited October 7, 2012 by Melba23 Code removed at OP's request Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 7, 2012 Moderators Share Posted October 7, 2012 twamp22,Please read the Forum Rules - particularly the bit about not discussing "Automating games or game servers" - before you post again. Thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts