March 28 2024 12:06:19
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 4

· Members Online: 0

· Total Members: 1,127
· Newest Member: Highl@nder
Teamspeak 3
Last Seen Users
· Intruder11:18:06
· Highl@nder16:03:21
· Silent Bob20:31:19
· desintegrator 1 day
· Jerry 2 days
· gus 2 days
· forrest747 3 days
· WEZ 3 days
· Sully 4 days
· doomed 1 week
· Terminator 1 week
· The ACE 1 week
· GONZO 2 weeks
· VictorMyson 3 weeks
· Don Turtuma 4 weeks

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
SodoMyzer
Hi.
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:
-1920x1080
-1360x768
-1024x768

Write me for problems or suggestions
I hope it can help someone in my same situation! Smile
SodoMyzer attached the following file:
vietcongds_sysstartuplauncher_1_0_0_0.zip [974.47 kB, 446 Downloads]
Edited by SodoMyzer on 13-05-2020 00:35
  x 1
 
Homi
We have solved this for a long time, the servers will start automatically even after a crash.
i.ibb.co/Y8YvgQH/autorun-vcserver.jpg
Edited by Homi on 03-07-2020 22:18
SignatureAlpha-Team Czech Teamrespawn
www.alpha-team.cz
Vietcong1.cz
www.vietcong1.cz
KozoRoh Servers
www.vietcong-kozo...


Owner Servers:
ALPHA-TEAM.CZ #1
ALPHA-TEAM.CZ #2 Private
KozoRoh.tk {CD4c} -No Nade-
www.vietcong-kozo...
KozoRoh.tk {Midi}
-!*VIETNAM WAR ZONE*!- #1
-!*VIETNAM WAR ZONE*!- #2
Pterodon's Stream Public
[stats]Halong Only
[stats]Osgiliath Only
Vietcong1.cz #1
Vietcong1.cz #2
Vietcong1.cz #3

Hosted Servers:
Elit'acky Server. [CZ-SK]
crockersserver.we...
=GONZO= WARSERVER
vietconglab.wordp...
! Vietcong - Funserver #WEZ
30MiNuTeS SeRvEr
30min.vietcong1.cz
>> PLATOON COOP SERVER <<
Partisans
MELBER Dev SERVER

TeamSpeak Servers:
ts3.alpha-team.cz
  x 1
 
https://www.alpha-team.cz/
SodoMyzer
How?
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?
Thanks
 
martyr
Hey SodoMyzer,

I'm not sure if Homi wrote back to you privately and I'm not sure what he is showing you, but I can give you another option. However, this option only works if you want to autorun a single server. If you want to autorun more than one server, this will not work...

Create a .ded file
First, open vc.ded normally and create a maplist and set up your server settings.
Then on the first tab click 'Save'. This will save a .ded file in your \vietcong\dedicated\ folder.

Move the .ded file
Move the .ded file into your root \vietcong\ folder.

Associate the .ded file type
Right click on your .ded file and choose 'Open with...'
Select the vcded.exe program to open this file type, then tick the option "Always use the selected program to open this file type".

Add a shortcut to your start up folder
Finally, make a shortcut to the .ded file and place the shortcut in your startup folder.
Now, when the pc boots, it will launch the ded which will launch your dedicated server, settings and map list.
Signature________________________________________________________________________

"From every kill grow, from every death learn"
  x 1  x 1
 
http://www.clanofminh.vcclan.net/minh/
tintin
Hey is this game still going on? Maybe ill have to try and find my old cheats
 
SodoMyzer
SodoMyzer wrote:
How?
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?
Thanks

Thank you, excuse me if i reply only now, but i didn't logged here from many months.
I'll try your solution , i'm reconfiguring my mini pc and to few days i'll launch again this server Smile


tintin wrote:
Hey is this game still going on? Maybe ill have to try and find my old cheats


I don't know if you can beat the new anticheat Very Angry
Edited by SodoMyzer on 27-08-2021 22:25
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Help me start a server Vietcong Tech Talk 2 07-03-2024 00:20
Jarek Kolář: Vietcong Interview General Discussion 1 28-02-2024 00:10
New documentary: Making of Vietcong General Discussion 1 17-02-2024 05:58
Getting back into Vietcong Vietcong Tech Talk 11 10-01-2024 20:18
Verkaufe Vietcong 1 Allgemeines Diskussionsforum 1 14-11-2023 16:58
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.26 seconds - 62 Queries 4,880,851 unique visits