• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Start aplications using C# problem

darksoke

OnTop500
ok guys this keep freeking me out :| whenever i want to run worldserver/authserver/mysql with c# all give me errors :|

worldserver and authserver ->cannot find config file :| but if i put my program inside my core folder it work :| so idk what's the problem , when i try to run MYSQL it say the process is already runing but when i check task manager there's no mysqld process runing so wth ?
 

darksoke

OnTop500
nvm it was something for my project for server tools but instead of using Process.Start("path to worldserver.exe"); i'm using a cmd run command :) and it work extremly well :)
 

Tommy

Founder
To be honest, it's best just to use a bat file if you're making a restarter. I mean, you can make a restarter in C#, but a .bat is so much quicker.
 

darksoke

OnTop500
To be honest, it's best just to use a bat file if you're making a restarter. I mean, you can make a restarter in C#, but a .bat is so much quicker.

well actually that's how i did :) made my program run a bat command wich open the worldserver and it work better that using System.Diagnostics.Process :) , i wanted it because i'm working aon a trinity manager wich have items maker , server monitor and other things like that :)
 

Tommy

Founder
well actually that's how i did :) made my program run a bat command wich open the worldserver and it work better that using System.Diagnostics.Process :) , i wanted it because i'm working aon a trinity manager wich have items maker , server monitor and other things like that :)

I figured that's what you were making. :p
 
Top