You could cache the stripped player name with this callback and on connect:
CodeCallback_UserInfoChanged(clientNum)
{
oldname = self.name;
name = self get_userinfo("name");
self...
You could cache the stripped player name with this callback and on connect:
CodeCallback_UserInfoChanged(clientNum)
{
oldname = self.name;
name = self get_userinfo("name");
self...
There is a patched version of 1.3 that solves the black screen issue: https://cdn.discordapp.com/attachments/825622671172829184/877008965496623164/Call.of.Duty.2.Custom.Patch-LuKeStorm.rar
I haven't...
openfile is a stock function that only reads in the scriptdata directory.
You should look into the fopen, fread and fclose functions.
The documentation is missing these functions.
...
1) Basically every hardware RAID card comes with another kind of interface?
I guess, yes. It is same as BIOS/UEFI motherboard setups.
I think the steps are the same.
...
I would recommend using a hardware RAID controller for duplicating your OS with RAID 1.
With a hardware controller you have these benefits:
- OS doesn't know about the underlying disks including...
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...
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...
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.
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");
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....
So far I haven't seen any issues.
I use certbot and cron for automatically updating my certificate.
Something like described here:...
You can use it now via the cvar 'g_playerCollision' located in https://github.com/voron00/libcod/blob/master/libcod.cpp.
I found this in my backups. I don't have the required server cfg for this version.
You need at least this:
set g_gametype stop
I did found a cfg for a older version. I'm not sure if this one...
The cracked binary disables the master server.
The no delay binary changes the minimum required master server offline time before you can connect to a original server (from ~30 minutes to 5...