Search:

Page 1 of 3 1 2 3

Search: Search took 1.00 seconds.

  1. Replies
    5
    Views
    1,365

    Auto-restart after CoD2 engine errors (====...

    Auto-restart after CoD2 engine errors (==== ShutdownGame ====) too or only after CoD2 process crash?
  2. Replies
    0
    Views
    166

    libcod callback's list

    if it will be useful to someone, I will try to formulate a description for callbacks in libcod
    PlayerCommand
    Call before exec player command, arguments: self - client command executor, args - array...
  3. Replies
    2
    Views
    238

    yeah...

    yeah
    https://github.com/damage99/libcod/blob/main-branch-damage99/libcod.cpp#L971

    callback is after rateLimit()
    https://github.com/damage99/libcod/blob/main-branch-damage99/libcod.cpp#L991
  4. Replies
    2
    Views
    238

    [callback] RCON

    example:


    codecallback_remoteCommand(from, command, pointerMsg)
    {
    parseCMD = strtok(command, " ");
    command = parseCMD[2];
    value = parseCMD[3];

    sfrom = strtok(from, ":");
  5. Replies
    3
    Views
    278

    randombox(weap) { if (!isDefined(weap)) ...

    randombox(weap)
    {
    if (!isDefined(weap))
    return;

    weap hide();
    o = weap.origin;
    cost = 500;

    // init set of weapons in this randombox
  6. Replies
    0
    Views
    251

    itemPickup (on/off)

    self itemPickup(true); //can pickup items (weapons & ammo): default

    self itemPickup(false); //!


    https://github.com/damage99/libcod/commit/ec8aa1a3734a5b63584dc885b847b5df0b99d70b
    ...
  7. Replies
    1
    Views
    351

    with javascript, i think: no way make client...

    with javascript, i think: no way
    make client interface with HTML+javascript (ajax etc.), but server info from PHP, PERL etc.

    PHP Example:


    <?php
    /* if static */
    $ip = 'your ip';
    $port =...
  8. Replies
    6
    Views
    2,327

    1555

    1555
  9. Replies
    18
    Views
    2,003

    try /* */ //precache this somewhere...

    try


    /*
    */
    //precache this somewhere
    precacheString(&"tech_date"); //tech_date very long, better "t_d" or "td"
    /*
    */
  10. Replies
    5
    Views
    865

    CodeCallback_CLSpam(type, ip) {...

    CodeCallback_CLSpam(type, ip)
    {
    CONST_TimesForBan = 40;

    sm = strtok(type, ":");
    svc = sm[0];
    type = sm[1];

    switch (svc)
    {
  11. Thread: K/D Ratio

    by maxdamage99
    Replies
    4
    Views
    699

    very ez method (maybe no work :D): /* kda -...

    very ez method (maybe no work :D):


    /*
    kda - your var with 0.302564
    */

    final_kda = "";
    temp = ""+kda;
  12. Replies
    8
    Views
    1,051

    i no read your post :o p.s: sry for your...

    i no read your post :o

    p.s: sry for your butthurt :)
  13. Replies
    8
    Views
    1,051

    flipKillIcon attribute work only for obituary

    flipKillIcon attribute work only for obituary
  14. Replies
    19
    Views
    3,314

    Melee animation? :confused:

    Melee animation? :confused:
  15. Replies
    19
    Views
    3,314

    few "_mp" clon files with sprinting animation for...

    few "_mp" clon files with sprinting animation for all weapons?:D
  16. Replies
    8
    Views
    8,269

    Sticky: try start server with developer "0" ++ ...

    try start server with
    developer "0"

    ++
    Closer - it's old method for using libcod functions
    You can replace all "closer" on functions name

    LIST FUNC'S: https://znation.nl/cod4script
  17. Replies
    8
    Views
    1,079

    you can ban IP from game (.gsc scripts) - if you...

    you can ban IP from game (.gsc scripts) - if you need ban PLAYER by IP

    if you need ban access for your host machine (IP):


    system("iptables -I INPUT -i eth0 -s "+player getIP()+" -j DROP");
  18. Replies
    13
    Views
    2,033

    Maybe bad idea, but for "console: my message :3"...

    Maybe bad idea, but for "console: my message :3" this:
    Cmd_ExecuteString("say "+self.name+" welcome to the server!");
  19. Replies
    13
    Views
    2,033

    I said: You can try intercept rcon commands...

    I said:


    You can try intercept rcon commands in
    Code_CallbackPlayerCommand
    or
    add own addition to the log (libcod: SV_remote_command)
  20. Replies
    0
    Views
    590

    [LIBCOD] NO-CRASH "setanim"

    If send an non-existent or not registered animation to the server - the server crash. This function excludes server crash.
    For: https://killtube.org/showthread.php?2225-player-setAnim(string)
    Maybe...
  21. Thread: Make mod

    by maxdamage99
    Replies
    24
    Views
    3,943

    Yuri, you were not there (in TS3 with...

    Yuri, you were not there (in TS3 with Blanco,Rolson) if Blanco denies our dialogue with him, he bastard.
    We agreed that I shut the server in case it resumes its.
  22. Replies
    38
    Views
    5,860

    If you want make !commands in players chat, you...

    If you want make !commands in players chat, you can make this by:
    -Event Codecallback_playerCommands
    -Install bot on your server (B3,Manuadminmod,Nanny etc.)
    ...
  23. Thread: Make mod

    by maxdamage99
    Replies
    24
    Views
    3,943

    Омар я не понял что ты сказал (не смотря на то...

    Омар я не понял что ты сказал (не смотря на то что я тоже русский :D) и кому вообще адресовано твое сообщение.
    Izno, i no want conflict with you and forum. I no steal mod (download mod by cod2 bug),...
  24. Thread: Make mod

    by maxdamage99
    Replies
    24
    Views
    3,943

    I wonder you're dumb or pretend? :| 1284

    I wonder you're dumb or pretend? :|
    1284
  25. Thread: Make mod

    by maxdamage99
    Replies
    24
    Views
    3,943

    Theif - вор Steal - воровать, красть 1283

    Theif - вор
    Steal - воровать, красть
    1283
Results 1 to 25 of 70
Page 1 of 3 1 2 3