[Macro]OverNight mode v2.3

03/30/2008 13:07 InvincibleNoOB#1
[Only registered and activated users can see links. Click Here To Register...]

Info:
Hello everyone...i have decided to bring my old script back to life,due to some people requesting it...
This script will allow u to choose what you want your computer to do after SRO gets DC,there are 3 choices:Shutdown,Stand By and Sound...
I think i don't need to explain what each of these options mean,it is pretty self explanatory...

For now it works only in 1024*768

How to use:
1. Download Autoit--->>>[Only registered and activated users can see links. Click Here To Register...]
2. Install AutoIt and create a new notepad file in your desktop and open it
4. Copy/paste the source code below in the new notepad file
5. After pasting save the notepad file in .au3 format
6. Run the .au3 file,Choose an option and then run SRO

Notes:
- U can run this before SRO or while ingame already just make sure your client is not /mini
- Does not support multiclient yet
- 1024*768
- Removed Source code because i can't stand those leechers who don't respect anyone a bit

OverNight Mode 2.2 code(Decompiled by ~inVincibLe)
Code:
#AutoIt3Wrapper_Icon = C:/Documents And Settings/Owner/Desktop/OvernightMode/Silkroad.ico
#Include <GUIConstants.au3>
GUICreate("OverNight Mode v2.2", 390, 225)
GUISetFont(11)
GUICtrlCreateLabel("Welcome to OverNight Mode", 104, 10)
GUICtrlCreateLabel("Made by Dark 0x33.org", 121, 27)
GUICtrlCreateLabel("[Decompiled by inVincibLe @elitepvpers.com]", 46, 42)
GUISetFont(10)
GUICtrlCreateLabel("What do you want your computer to do when dc is detected?", 20, 70)
GUISetFont(8.5)
GUICtrlCreateGroup("Resolution", 208, 97, 135, 89)
 = GUICtrlCreateRadio("1024 x 768", 221, 120, 120, 20)
GUICtrlSetState(, )
 = GUICtrlCreateRadio("1280 x 1024 <new>", 221, 150, 120, 20)
 = GUICtrlCreateButton("Stand By", 25, 100, 120)
 = GUICtrlCreateButton("Shut Down", 25, 130, 120)
 = GUICtrlCreateButton("Sound", 25, 160, 120)
GUISetState(@SW_SHOW)
While 1
	 = GUIGetMsg()
	Select
		Case  =  And  And BitAND(GUICtrlRead(), ) = 
			GUISetState(@SW_HIDE)
			While 1
				Sleep(250)
				If PixelGetColor(361, 315) = 13027014 Then
					Sleep(1000)
					Beep(3300, 10000)
				ElseIf Not WinExists("SRO_Client") Then
					Sleep(4000)
					Beep(3300, 1200)
				EndIf
			WEnd
		Case  =  And  And BitAND(GUICtrlRead(), ) = 
			GUISetState(@SW_HIDE)
			While 1
				Sleep(250)
				If PixelGetColor(489, 443) = 13027014 Then
					Sleep(1000)
					Beep(3300, 10000)
				ElseIf Not WinExists("SRO_Client") Then
					Sleep(4000)
					Beep(3300, 1200)
				EndIf
			WEnd
		Case  =  And  And BitAND(GUICtrlRead(), ) = 
			GUISetState(@SW_HIDE)
			While 1
				Sleep(250)
				If PixelGetColor(361, 315) = 13027014 Then
					Sleep(10000)
					Shutdown(1)
				ElseIf Not WinExists("SRO_Client") Then
					Sleep(10000)
					Shutdown(1)
				EndIf
			WEnd
		Case  =  And  And BitAND(GUICtrlRead(), ) = 
			GUISetState(@SW_HIDE)
			While 1
				Sleep(250)
				If PixelGetColor(489, 443) = 13027014 Then
					Sleep(10000)
					Shutdown(1)
				ElseIf Not WinExists("SRO_Client") Then
					Sleep(10000)
					Shutdown(1)
				EndIf
			WEnd
		Case  =  And  And BitAND(GUICtrlRead(), ) = 
			GUISetState(@SW_HIDE)
			While 1
				Sleep(250)
				If PixelGetColor(361, 315) = 13027014 Then
					Sleep(10000)
					Shutdown(6)
				ElseIf Not WinExists("SRO_Client") Then
					Sleep(10000)
					Shutdown(6)
				EndIf
			WEnd
		Case  =  And  And BitAND(GUICtrlRead(), ) = 
			GUISetState(@SW_HIDE)
			While 1
				Sleep(250)
				If PixelGetColor(489, 443) = 13027014 Then
					Sleep(10000)
					Shutdown(6)
				ElseIf Not WinExists("SRO_Client") Then
					Sleep(10000)
					Shutdown(6)
				EndIf
			WEnd
		Case  = 
			ExitLoop
	EndSelect
WEnd
Download:(incase you don't have au3 compiler)
v 2,2 - [Only registered and activated users can see links. Click Here To Register...]
v 2.2 mirror - [Only registered and activated users can see links. Click Here To Register...]
MD5: a6085a065218ad9fea2f3dc9e5c901b8

Changelog:
v1.0 -Oldest version,contained only pc shutdown
v1.1 -Added 2 more options to the first version
v2.0 -Completely redone the whole script from scratch
v2.1 -Added client dissapear detection
v2.2 -Added new resolution 1280*1024
v2.3 -Added 2 Clients for Sound,Some minor script changes

Working On:
-2+ Clients
-Multiclient for all options
-Multi,choose if u want action when all sro clients close or one of them
04/02/2008 12:47 InvincibleNoOB#2
Updated to 2.1,I decompiled it since the author removed the source,but still you should respect this os!
All posts have been merged
#Title changed - OverNight mod v2.1
04/02/2008 14:56 DarkCronicLe#3
I think the back slsahes ( \ ) are missing in this code...

edit: and the RS link dont works.
04/02/2008 15:34 InvincibleNoOB#4
Quote:
Originally Posted by DarkCronicLe View Post
I think the back slsahes ( ) are missing in this code...

edit: and the RS link dont works.
Fixed.
04/03/2008 10:21 affgane123#5
the prog is nice but can you add a button that only close the client after dc ?
04/03/2008 11:40 10kpl0x#6
Why use this when there is a better dc detector (Devils DC Detector)?
04/03/2008 20:40 Paddy10#7
Quote:
Originally Posted by 10kpl0x View Post
Why use this when there is a better dc detector (Devils DC Detector)?
its up to everyone which one you want use!
if it would working with 1280x1024 i would use it :S
04/03/2008 21:36 DarkCronicLe#8
This auto-it code don't works for me.

I didn't download the compiled exe yet.
04/04/2008 06:15 ssbbsasuke#9
how do i use it i have it installed and everything?
04/04/2008 21:09 blubd#10
SCAN PLS
04/05/2008 11:45 xxfukerxx#11
isnt this the same like devils no dc?
04/06/2008 15:00 InvincibleNoOB#12
Version 2.2 is out now supporting 1280 x 1024,just for you Paddy10 :)
blubd and DarkCronicle,stop being lazy and scan it on your own,because i don't expect someone else to scan a source code.
-Source code updated.
Enjoy :)
04/06/2008 15:31 affgane123#13
Quote:
Originally Posted by 10kpl0x View Post
Why use this when there is a better dc detector (Devils DC Detector)?
because devislDCDetector is stupid .. he close the the client when i have a lag
and its very buggy
04/06/2008 18:05 kramnommir#14
<scan result - deleted>
all i know is that sohanad is kinda a harmful virus...
i trust the mod who post this.. im using it now...trying if it works.. and will somthing happen to my char...

so its up to you guys...

im still trying to google the effect of the higlighted viruses i found in the exe file.
04/13/2008 04:20 InvincibleNoOB#15
ver 2.3 is out,now working with multi client.
#Download link updated
#Source will be updated later.

kramnommir,all you know is nothing,it's Open source.