Hey guys,since i want my .exe client auto restart,so i make a service for it.But when i start it,it will shows up in the task manager,but i cant find the windows of it.Am i doing something wrong?
New
Current Project:
SimpleExaltHack
Outdated stuff I made in the past:
Famebot
Clientless tradebot
RotMG ping checker
Zautonexus crack
If you are talking about a Windows Service, which i think you are, that isnt going to auto-restart the client for you. Services are usually things that run in the background/are always running. They arent used for opening a game anytime it closes.
I would google something like "restart exe when it closes". I did that and the second result for me was a list of 8 different programs you can download that will do exactly what you are looking for:
1. Control Running Programs (CRP)
2. Application Monitor
3. Restart On Crash
4. Restarter
5. Keep Running
6. ProcessAlive
7. ReStartMe
8. ServiceEx
I would look into one of those and see if it can do what you are wanting. They all seem to do exactly what you are asking from what i can tell.
I made a crash detector in batch, released on rotmg pserver tutorials, you can just take that, and replace the pserver words with the client.
I'd reccomend making an auto hot key script that checks for window every x seconds and runs new instance if window doesn't exist. That way u can customize it, and perform additional tasks like clicking play and stuff like that.