Corneroids Wiki

The following script is designed for AutoHotKey. While you will still need to take up a player slot for the host it makes a passible dedicated server with automatic restarts to save progress (in case of a crash). The countdown is also a little buggy (it sometimes doesn't hit enter twice and so it ends up switching inventory slots instead of counting down) but it doesn't actually affect the restart. Hopefully this will give folks a place to start if they need to customize it.

Designed for:

  •   Windows 7
  •   1600x900 windowed mode
  •   Loads first world in the list
  •   Restart every 30 minutes
  •   15 second warning + 5 second countdown


​#c::
SetKeyDelay,100,10
SetMouseDelay,100
IfWinExist Corneroids
	WinActivate
else
	Run C:\Users\Shaman\Desktop\Corneroids\Corneroids.exe
Loop {
	sleep 2000
	Loop 1 {
		Click 800, 445
		Sleep 500
	}
	Loop 1 {
		Click 800, 445
		Sleep 500
	}
	Loop 1 {
		Click 800, 530
		Sleep 500
	}
	Loop 1 {
		Click 800, 225
		Sleep 500
	}
	Loop 1 {
		Click 800, 680
		Sleep 500
	}
	Loop 1 {
		Click 745, 595
		Sleep 500
	}
	Sleep 1785000
	Send {Enter}Restarting in 15 seconds{Enter}
	Sleep 10000
	Send {Enter}5{Enter}
	Sleep 1000
	Send {Enter}4{Enter}
	Sleep 1000
	Send {Enter}3{Enter}
	Sleep 1000
	Send {Enter}2{Enter}
	Sleep 1000
	Send {Enter}1{Enter}
	Sleep 1000
	Send {Esc}
	Loop 1 {
		Sleep 500
		Click 800, 490
	}
	Loop 1 {
		Sleep 500
		Click 750, 500
	}
}