Search:

Page 1 of 12 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    3
    Views
    2,163

    Create a shortcut to cod2mp.exe and change the...

    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...
  2. Replies
    1
    Views
    1,863

    - Are those all avaible build-in functions,...

    - 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...
  3. Thread: Console script

    by Mitch
    Replies
    3
    Views
    2,642

    You can do this via GSC scripts: With libcod:...

    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...
  4. Replies
    7
    Views
    22,514

    Yes, I work sometimes on the docs when I got the...

    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...
  5. Replies
    7
    Views
    22,514

    Static model functions

    Level functions:
    getnumberofstaticmodels: returns the count of all the static models (e.g. classname "misc_model")
    getstaticmodelname
    getstaticmodelorigin

    Example code:


    onSpawnedPlayer()
    {
  6. Replies
    26
    Views
    21,374

    You can read the clientcommand callback...

    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...
  7. Replies
    2
    Views
    26,058

    A 64-bit compiler doesn't work, because CoD and...

    A 64-bit compiler doesn't work, because CoD and the mysql dll are both 32-bit.
    Therefore the weird errors.
  8. Thread: Trigger load bug

    by Mitch
    Replies
    14
    Views
    54,812

    I guess a trigger limit (all variants). After...

    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?
  9. Thread: Trigger load bug

    by Mitch
    Replies
    14
    Views
    54,812

    When you check the open .map source with a text...

    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...
  10. Thread: Trigger load bug

    by Mitch
    Replies
    14
    Views
    54,812

    Maybe you can combine multiple triggers (with the...

    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.
  11. Replies
    8
    Views
    40,364

    In CoD2, I look for a text close to a function...

    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.
    ...
  12. Replies
    8
    Views
    61,570

    The segfault message points to this function: ...

    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
  13. Thread: rcon extension

    by Mitch
    Replies
    4
    Views
    4,997

    In your first example out_printf is missing a...

    In your first example out_printf is missing a parameter.



    out_printf(address, message);
    out_printf("1.2.3.4:55555", "test");
  14. Replies
    4
    Views
    19,674

    You say you are using voron libcod and...

    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...
  15. Hi, iw_07.iwd and iw_15.iwd (patch 1.2/1.3)...

    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...
  16. Replies
    1
    Views
    72,727

    You can use any Linux/libcod host with all game...

    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....
  17. Replies
    7
    Views
    36,983

    So far I haven't seen any issues. I use...

    So far I haven't seen any issues.


    I use certbot and cron for automatically updating my certificate.

    Something like described here:...
  18. Replies
    6
    Views
    46,114

    You can use it now via the cvar...

    You can use it now via the cvar 'g_playerCollision' located in https://github.com/voron00/libcod/blob/master/libcod.cpp.
  19. Replies
    9
    Views
    29,786

    I found this in my backups. I don't have the...

    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...
  20. The cracked binary disables the master server....

    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...
  21. Replies
    64
    Views
    88,619

    See kicking bots thread with libcod:...

    See kicking bots thread with libcod: https://killtube.org/showthread.php?1940-Kicking-bots&highlight=libcod+bots

    voron's libcod has a custom function for detecting bots:


    self isBot()
    Since...
  22. Try this: ...

    Try this:

    mp_icehen_night.iwd\maps\mp\mp_icehen_night.gsc


    main()
    {
    setCullFog(0, 6000, .32, .33, .40, 0);
    AmbientStop();
  23. Please post the entire script runtime error from...

    Please post the entire script runtime error from the console.
    Which mod are you using?


    1388
  24. Thread: console print

    by Mitch
    Replies
    13
    Views
    20,801

    I use this for showing rcon status without...

    I use this for showing rcon status without leaking the rcon password:


    self connectionlessPacket("rcon " + getcvar("rcon_password") + " status");
    Note: apparently disabled and marked for rewrite...
  25. Thread: console print

    by Mitch
    Replies
    13
    Views
    20,801

    A other libcod function: consoleSay(message)...

    A other libcod function:


    consoleSay(message)
    {
    sendgameservercommand(-1, "h \"console: " + message + "\"");
    }

    tellMessage(message)
    {
Results 1 to 25 of 299
Page 1 of 12 1 2 3 4