No need, the script would be server-side only.
No need, the script would be server-side only.
Would say you should script this, preferably through the map gsc
fs_game it is. This means LEAVE MAIN THE FUCK ALONE. (this goes for any modder ever thinking of touching main. Dont. You'll be arrested)
Just run it through sandboxie? No clue exactly how, but it should mostly sandbox anything it does.
https://web.archive.org/web/20220105160706/https://wiki.zeroy.com//index.php/Call_of_Duty_2:_d3dbsp
https://archive.is/KAZtQ
Works fine for me on a fresh Debian 11 amd64 install, substituting the libmysqlclient-dev:i386 with libmariadb-dev-compat:i386.
Literally all commands until cod2 server got started:
sudo...
Are you using proper MANYMAPS?
How many IWD files are in your fs_game + main folder?
Mostly the server needs to have enough available cpu resources. GHz has not been a good measurement for performance for a while - what exact cpu is your host using, and how many clients are on the...
The multicore patch is just to make it so cod2 doenst suck when a system has multiple cores. The game engine itself cannot run on multiple cores.
You could code your server in such a way that for...
Nowadays lots of ISPs use CGNAT to save some ipv4 addresses. If you're behind CGNAT there's nothing you can do.
https://i.redd.it/7khgt29lp1121.jpg
Do you have the ports forwarded in your router?
Are you behind CGNAT?
How do you expect to connect to your server without knowing the ip address?
Edit: clean up your main, this will give you...
Missing the + before exec, otherwise yes.
@michelboonstra see your pm inbox.
You're going to need a bit of code inside the spawnplayer() too, to reset the killstreak counter upon respawn. (thats the lazy way, the better way would be to put it in playerkilled, spawnspectator...
self.previousPosition = self.origin;
self.campTik = 0;
while (1)
{
if (isAlive(self) && (!isDefined(self.flagAttached) || !self.flagAttached) && self.pers["team"] == "allies"...
Should be args, not arg.
shoudl be getentitynumber()
Note the () behind it.
This forum tends to perform poorly when asked for full scripts for free.
However, if you try yourself we're pretty good at helping when you hit roadblocks.
As a sidenote: this script would be...
Small update: If you get the "PuTTy key format too new" error trying to log in with winscp, you have to save your key in the older key file format in puttygen.
Before saving your private key, go...
Dont forget to clean up the list upon sniper joining spec and/or on sniper joining other team/autobalance.
See here: https://killtube.org/showthread.php?4465-cod2-Running-your-own-libcod-server-using-WSL2-on-windows
Public network connectivity.
Option 1: Just forward the ports from your host to your vm using https://gist.github.com/xmeng1/aae4b223e9ccc089911ee764928f5486
Option 2: Bridge mode.
Open...
I was able to access the files and edit them with the results affecting the vm. Also, creating a new folder worked.
Hello,
This is a tutorial on how to run a libcod-enabled cod2 server on WSL2, on top of windows 10. This is a very quick and dirty tutorial.
This tutorial assumes you have a working wsl2...