May 30 2020 09:07:40
· Home
· Articles
· Downloads
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Users Online
· Guests Online: 8

· Members Online: 0

· Total Members: 1,057
· Newest Member: Soul of Minh
Teamspeak 3
Last Seen Users
· JerK01:14:03
· sonic09:54:50
· WEZ13:41:54
· Hoods17:33:28
· Intruder19:42:14
· apfelbaum21:20:29
· evgen22:22:33
· Melber 1 day
· Homi 2 days
· The ACE 3 days
· Confused Master 4 days
· Gruber 4 days
· Peter Shannon 4 days
· VictorMyson 5 days
· ceghe 1 week

View Thread: Vietcong Dedicated Server System Startup Launcher
Vietcong.Info » Vietcong General Discussion » Vietcong Tech Talk
Who is here? 1 Guest
Current Rating: (Total: 1 rating)  
 Print Thread
Vietcong Dedicated Server System Startup Launcher
I wrote this little program in c # because:
1-I was tired of starting the server on mini pc via remote desktop
2-more time at home because I work there because of the covid
3-the will to study a bit of c #

When windows starts, it will start the dedicated server and click on the "Start" button automatically.

Some instructions follow.

1) At first run it presents the path of the file itself.
2)You must click on the SELECT VIETCONG DEDICATED SERVER EXECUTABLE button and select the vcded.exe file.
There is no control over the file name and path, so in theory it could launch any other executable.
3)You then need to click on the ADD TO WINDOWS STARTUP button. This will create a quick start line to the registry, with a start argument, so the program understands that it was started from windows and not manually.

The REMOVE FROM WINDOWS STARTUP button will become selectable. The two buttons are mutually clickable.
If the registry entry has been entered and the executable is moved or renamed, or
1) install the key
2) I uninstall Vietcong and this program and I forget about it for 20 years
3) reinstall it
The entry will be found again by the program

In case this exe is moved or renamed it will advised , and you will need to remove and re-add to the registry.
I was unable to handle the START button directly with the windows API, so I calculated the position of the window and in percentage the position of the button, simulating a mouse click.

I have tested it successfully with Vietcong Starter and following resolutions:

Write me for problems or suggestions
I hope it can help someone in my same situation! Smile
SodoMyzer attached the following file: [974.47 kB, 13 Downloads]
Edited by SodoMyzer on 13-05-2020 00:35
  x 1
We have solved this for a long time, the servers will start automatically even after a crash.
Edited by Homi on 15-05-2020 03:43
SignatureAlpha-Team Czech Teamrespawn

Owner Servers:
ALPHA-TEAM.CZ #2 Private
Pterodon's Stream Public
[AG] Halong Only
[AG] Osgiliath Only -NoNade-

Hosted Servers:
Elit'acky Server. [CZ-SK]
! Vietcong - Funserver #WEZ {CD4c} -No Nade-
30MiNuTeS SeRvEr

TeamSpeak Servers:
  x 1
I have not found any solution or perhaps I have not tried well?
However meanwile i did some practice with c # and the program works for me.
I have only one home server and perhaps for some normal user who uses a minipc like me, it can be convenient, and I'm happy to share it if it can be used by others.
If your solution is already shared, could you link the discussion to me or write me the name of the program?
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Vietcong 2 Multiplayer Records General Discussion 3 19-09-2019 22:50
Vietcong Messenger Allgemeines Diskussionsforum 5 30-08-2019 22:30 General Discussion 4 28-08-2019 22:20
Cesky *CZ* Language in Vietcong integrate Allgemeines Diskussionsforum 2 27-07-2019 13:42
VC Server List HOSTS file Mod General Discussion 3 26-07-2019 23:31


Forgotten your password?
Request a new one here.
Render time: 0.09 seconds - 52 Queries 2,888,104 unique visits