Create a shortcut to cod2mp.exe and change the shortcut target to:
"path_to_your_cod2_and_mp_exe" +set dedicated 2 +set fs_game yourmodsfolderhere exec server.cfg +map_rotate
fs_game is one of...
Type: Posts; User: Mitch
Create a shortcut to cod2mp.exe and change the shortcut target to:
"path_to_your_cod2_and_mp_exe" +set dedicated 2 +set fs_game yourmodsfolderhere exec server.cfg +map_rotate
fs_game is one of...
- Are those all avaible build-in functions, natives, server variables? - https://znation.nl/cod2script/
The cod2 + libcod documentation only contains functions and player/entity methods.
All cod2...
You can do this via GSC scripts:
With libcod:
https://killtube.org/showthread.php?3153-callback-RCON
Without libcod:
level endon("intermission");
setCvar("customcommand1", ""); // can be...
The cs 1.6 status or info messages look like spoofed messages to the cs server and amplified back to your server.
https://www.gametracker.com/server_info/93.191.11.214:27026/...
The function 'setPlayerModels()' precaches and sets which model are used for which team (global initialization).
The function 'model()' is run on the player and determines which model is used.
So...
A basic filter to select the one of closest models from the list.
Yes, I work sometimes on the docs when I got the time for it.
Currently there are quite a few libcod functions missing, but first I want to check and remove stock functions from CoD4 and add the...
Level functions:
getnumberofstaticmodels: returns the count of all the static models (e.g. classname "misc_model")
getstaticmodelname
getstaticmodelorigin
Example code:
onSpawnedPlayer()
{
You can read the clientcommand callback documentation here: https://killtube.org/showthread.php?1201-Extension-Player-Command-Control-(includes-CHAT-Control-for-Builtin-B3!)
Note: fixChatArgs is...
What about these files?
https://killtube.org/showthread.php?3093-hide-and-seek-mod&p=17478&viewfull=1#post17478
A 64-bit compiler doesn't work, because CoD and the mysql dll are both 32-bit.
Therefore the weird errors.
I guess a trigger limit (all variants). After this limit you get undefined behaviour like in your video.
At how many triggers does this behaviour start?
When you check the open .map source with a text editor and search for all lines starting with: "classname" "trigger_
Are the triggers that don't work/inactive the last ones in the file?
Edit: Are...
Maybe you can combine multiple triggers (with the same functionality) as one entity.
E.g. you have 3 minefields.
Remove all triggers, select all of them and create one trigger.
Which functions, addresses and offsets are you currently still looking for?
Edit: maybe comparing CoD1 with UO is easier.
https://github.com/riicchhaarrd/CoDExtended
Edit 2:
In CoD2, I look for a text close to a function that uses the player client address and then find the same text in other versions.
This might work depending on much difference between 2 and UO.
...
The segfault message points to this function:
BOOL __cdecl BG_IsWeaponValid(int a1, int a2)
{
bool v2; // bl
bool v3; // cl
int v4; // eax
BOOL result; // eax
In your first example out_printf is missing a parameter.
out_printf(address, message);
out_printf("1.2.3.4:55555", "test");
The function does not originally exist in COD2:
From MW2:
getSpawnpointArray( classname )
{
spawnPoints = getEntArray( classname, "classname" );
if ( !isdefined( level.extraspawnpoints...
You say you are using voron libcod and cod2_lnxded_1_3_patch_va_loc, but the logfile says you are running a Windows server.
Voron's libcod is Linux only.
As IzNoGod said, your rcon password might...
Hi,
iw_07.iwd and iw_15.iwd (patch 1.2/1.3) contain all the stock script files
maps/mp/: map script files
maps/mp/gametypes: gametype script files
What you are looking for are located in...
You can use any Linux/libcod host with all game panels when you replace the game binary with a bash script.
Example: this script executes cod2 with all parameters you pass to original binary name....
Do you mean the infection game mode?
https://www.gamefront.com/games/call-of-duty-2/file/zombies-gametype-for-cod2
So far I haven't seen any issues.
I use certbot and cron for automatically updating my certificate.
Something like described here:...
Here you call the function 'randombox' on the list and pass the weapon (with the same index as the box) via the first parameter:
for(i=0;i<randomboxes.size;i++) randomboxes[i] thread...