Search:

Page 1 of 12 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    7
    Views
    918

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

    Static model functions

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

    Example code:


    onSpawnedPlayer()
    {
  3. Replies
    26
    Views
    7,064

    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...
  4. Replies
    2
    Views
    807

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

    by Mitch
    Replies
    14
    Views
    2,641

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

    by Mitch
    Replies
    14
    Views
    2,641

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

    by Mitch
    Replies
    14
    Views
    2,641

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

    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.
    ...
  9. Replies
    8
    Views
    6,637

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

    by Mitch
    Replies
    4
    Views
    1,638

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

    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...
  12. 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...
  13. Replies
    1
    Views
    6,280

    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....
  14. Replies
    7
    Views
    12,922

    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:...
  15. Replies
    6
    Views
    5,707

    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.
  16. Replies
    9
    Views
    5,839

    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...
  17. 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...
  18. Replies
    61
    Views
    39,417

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

    Try this:

    mp_icehen_night.iwd\maps\mp\mp_icehen_night.gsc


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

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


    1388
  21. Thread: console print

    by Mitch
    Replies
    13
    Views
    5,303

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

    by Mitch
    Replies
    13
    Views
    5,303

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

    A other libcod function:


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

    tellMessage(message)
    {
  23. Thread: Maps request

    by Mitch
    Replies
    4
    Views
    2,884

    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
    ...
  24. Replies
    4
    Views
    2,444

    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...
  25. Replies
    13
    Views
    6,017

    Your SQL query is wrong. You need a 'INSERT'...

    Your SQL query is wrong. You need a 'INSERT' query.

    See the site below for the SQL basics:
    https://www.w3schools.com/sql/sql_insert.asp

    Full MySQL documentation:...
Results 1 to 25 of 296
Page 1 of 12 1 2 3 4