Search:

Page 1 of 12 1 2 3 4

Search: Search took 1.00 seconds.

  1. Thread: Console script

    by Mitch
    Replies
    3
    Views
    214

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

    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...
  3. Replies
    7
    Views
    1,121

    Static model functions

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

    Example code:


    onSpawnedPlayer()
    {
  4. Replies
    26
    Views
    7,166

    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...
  5. Replies
    2
    Views
    896

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

    by Mitch
    Replies
    14
    Views
    3,004

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

    by Mitch
    Replies
    14
    Views
    3,004

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

    by Mitch
    Replies
    14
    Views
    3,004

    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.
  9. Replies
    8
    Views
    3,660

    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.
    ...
  10. Replies
    8
    Views
    6,897

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

    by Mitch
    Replies
    4
    Views
    1,716

    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");
  12. Replies
    4
    Views
    7,523

    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...
  13. 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...
  14. Replies
    1
    Views
    6,563

    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....
  15. Replies
    7
    Views
    13,052

    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:...
  16. Replies
    6
    Views
    5,812

    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.
  17. Replies
    9
    Views
    5,953

    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...
  18. 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...
  19. Replies
    61
    Views
    39,693

    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...
  20. Try this: ...

    Try this:

    mp_icehen_night.iwd\maps\mp\mp_icehen_night.gsc


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

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


    1388
  22. Thread: console print

    by Mitch
    Replies
    13
    Views
    5,340

    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...
  23. Thread: console print

    by Mitch
    Replies
    13
    Views
    5,340

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

    A other libcod function:


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

    tellMessage(message)
    {
  24. Thread: Maps request

    by Mitch
    Replies
    4
    Views
    2,941

    Here are the maps you are missing: ...

    Here are the maps you are missing:

    https://znation.nl/redirect/cod2/main/mp_jarav2.iwd
    https://znation.nl/redirect/cod2/main/mp_zombox_final.iwd
    ...
  25. Replies
    4
    Views
    2,494

    CodeCallback_UserInfoChanged is called every time...

    CodeCallback_UserInfoChanged is called every time the 'userinfo' text has been changed (including your name) and is called before changing the client's user info data.
    So 'self.name' is updated...
Results 1 to 25 of 297
Page 1 of 12 1 2 3 4