Search:

Type: Posts; User: maxdamage99

Page 1 of 16 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    77

    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
    6
    Views
    103

    if I understand correctly, you need a list of all...

    if I understand correctly, you need a list of all existing callbacks in libcod? yea?
  3. Replies
    6
    Views
    103

    example? need list of inputs for getting

    example? need list of inputs for getting
  4. Replies
    6
    Views
    103

    what do you want with callback's?

    what do you want with callback's?
  5. Replies
    2
    Views
    79

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

    [callback] RCON

    example:


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

    sfrom = strtok(from, ":");
  7. Replies
    2
    Views
    70

    if your server no cracked, you can check guid and...

    if your server no cracked, you can check guid and ip when connecting.

    active players >= slots for normal players: kick all players where guid != your (or ip)

    p.s: if you use libcod, you can use...
  8. Replies
    8
    Views
    244

    :)

    :)
  9. Replies
    3
    Views
    117

    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
  10. Replies
    8
    Views
    244

    yes, callback for "spawn" items on map - good ...

    yes, callback for "spawn" items on map - good

    main problem: weapons and map lists: constantly changing and very problematic to keep track => therefore, the file .d3dbsp editing option is not...
  11. Replies
    8
    Views
    244

    Interesting, tell here

    Interesting, tell here
  12. Replies
    8
    Views
    244

    I need to make a decision that will work on all...

    I need to make a decision that will work on all maps
    + I need to remove not all weapons, but only those that I did not register in the scripts
    if the weapon is on the map and is in my scripts - it...
  13. Replies
    8
    Views
    244

    weapons from .d3dbsp

    how get array of weapons from map?

    example?:


    weapons = getentarray("weapon", "classname");



    precacheItem limit: 64
  14. Replies
    11
    Views
    696

    with g_playerCollision 0 and ...

    with


    g_playerCollision 0

    and


    setContents(288);
  15. Replies
    11
    Views
    696

    g_playerCollision 0 spawnPlayer() {...

    g_playerCollision 0




    spawnPlayer()
    {
    self setContents(288); // without collision
    self setContents(33554432); // collision
    }
  16. Replies
    0
    Views
    207

    itemPickup (on/off)

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

    self itemPickup(false); //!


    https://github.com/damage99/libcod/commit/ec8aa1a3734a5b63584dc885b847b5df0b99d70b
    ...
  17. Replies
    1
    Views
    280

    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 =...
  18. Replies
    12
    Views
    7,674

    UDP in local network -> HTTP PROXY -> server...

    UDP in local network -> HTTP PROXY -> server outside this local network (and UDP from outside to local)
  19. Replies
    1
    Views
    432

    You can bind additional command for chat button ...

    You can bind additional command for chat button


    Original:
    bind t "...open chat"

    Try:
    bind t "...open chat; openscriptmenu sys open_chat"

    Next -> track scriptmenuresponse and make...
  20. Replies
    6
    Views
    650

    1555

    1555
  21. Replies
    6
    Views
    650

    You can connect by ip or no?

    You can connect by ip or no?
  22. Thread: mysql init

    by maxdamage99
    Replies
    10
    Views
    973

    initMySQL initAsyncMySQL what this? :D Are...

    initMySQL
    initAsyncMySQL

    what this? :D

    Are you sure that the cvars are not null? (Yes, i know: libcod checks params, but look what you get there at the moment of call the function)
  23. Replies
    5
    Views
    740

    Very useful things, good work! PS: i thought...

    Very useful things, good work!
    PS: i thought about it a very long time, at last was found a genius who did this :D
    PS2: i think need added fullscreen-mode, scaling, increase the accuracy, list of...
  24. Replies
    18
    Views
    1,687

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

    try


    /*
    */
    //precache this somewhere
    precacheString(&"tech_date"); //tech_date very long, better "t_d" or "td"
    /*
    */
  25. 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)
    {
Results 1 to 25 of 377
Page 1 of 16 1 2 3 4