Search:

Page 1 of 3 1 2 3

Search: Search took 1.00 seconds.

  1. Replies
    0
    Views
    86

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

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

    [callback] RCON

    example:


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

    sfrom = strtok(from, ":");
  4. Replies
    3
    Views
    132

    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
  5. Replies
    0
    Views
    208

    itemPickup (on/off)

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

    self itemPickup(false); //!


    https://github.com/damage99/libcod/commit/ec8aa1a3734a5b63584dc885b847b5df0b99d70b
    ...
  6. Replies
    1
    Views
    282

    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 =...
  7. Replies
    6
    Views
    655

    1555

    1555
  8. Replies
    18
    Views
    1,692

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

    try


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

    CodeCallback_CLSpam(type, ip) {...

    CodeCallback_CLSpam(type, ip)
    {
    CONST_TimesForBan = 40;

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

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

    by maxdamage99
    Replies
    4
    Views
    580

    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;
  11. Replies
    8
    Views
    930

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

    i no read your post :o

    p.s: sry for your butthurt :)
  12. Replies
    8
    Views
    930

    flipKillIcon attribute work only for obituary

    flipKillIcon attribute work only for obituary
  13. Replies
    19
    Views
    2,908

    Melee animation? :confused:

    Melee animation? :confused:
  14. Replies
    19
    Views
    2,908

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

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

    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
  16. Replies
    8
    Views
    979

    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");
  17. Replies
    13
    Views
    1,814

    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!");
  18. Replies
    13
    Views
    1,814

    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)
  19. Replies
    0
    Views
    542

    [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...
  20. Thread: Make mod

    by maxdamage99
    Replies
    24
    Views
    3,612

    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.
  21. Replies
    38
    Views
    5,361

    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.)
    ...
  22. Thread: Make mod

    by maxdamage99
    Replies
    24
    Views
    3,612

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

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

    by maxdamage99
    Replies
    24
    Views
    3,612

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

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

    by maxdamage99
    Replies
    24
    Views
    3,612

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

    Theif - вор
    Steal - воровать, красть
    1283
  25. Thread: Make mod

    by maxdamage99
    Replies
    24
    Views
    3,612

    Average players: 5, nice! I ignored you, all...

    Average players: 5, nice!
    I ignored you, all your "damage thief", "he's a thief," but I'm already sick of it, you really do not know anything - where and how mod upload on the internet (and how i...
Results 1 to 25 of 69
Page 1 of 3 1 2 3