Search:

Search: Search took 1.00 seconds.

  1. Replies
    68
    Views
    21,456

    That should work most of the time. Keep in...

    That should work most of the time.

    Keep in mind that if you're using a login system, do not let the player spawn until the bar() function has completed with success. If no success, re-try the...
  2. Replies
    68
    Views
    21,456

    Async requires in-depth knowledge of how your mod...

    Async requires in-depth knowledge of how your mod works. Basically, you want to block all future calls before the results are returned, but you do want a time-out in case the mysql server has gone...
  3. Replies
    6
    Views
    269

    Not like this, self [[level.spectator]](); is all...

    Not like this, self [[level.spectator]](); is all you need to move player to spec.


    moveplayer()
    {
    self [[level.spectator]]();
    }
  4. Replies
    6
    Views
    269

    self [[level.spectator]]();

    self [[level.spectator]]();
  5. Replies
    7
    Views
    321

    I use something like this for my download url: ...

    I use something like this for my download url:



    <?php
    if(substr($_GET["file"], 0, strlen('/JumpersHeaven')) === '/JumpersHeaven')
    {
    if(substr($_GET["file"], 0,...
  6. Replies
    7
    Views
    321

    tl;dr: ...

    tl;dr:

    https://github.com/voron00/libcod/blob/master/libcod.cpp#L1230

    Voron's libcod deletes anything that's inside your library folder. So, dont put your mod in your library folder (nor your...
  7. Replies
    7
    Views
    321

    Please always say which version you are using,...

    Please always say which version you are using, since manymaps differs:

    https://github.com/kungfooman/libcod/blob/master/libcod.cpp#L2082...
  8. Replies
    3
    Views
    297

    Try config.hpp setting COMPILE_BOTS to 0 and...

    Try config.hpp setting COMPILE_BOTS to 0 and recompiling libcod.

    There's a hook for bot movement that gets compiled in by default, it might be messing with meatbot stuffs.
  9. Replies
    26
    Views
    6,552

    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...
  10. Replies
    26
    Views
    6,552

    look if the follownext/followprev stuff shows up...

    look if the follownext/followprev stuff shows up in the clientcommand callback, if so, hijack it properly.
  11. Replies
    26
    Views
    6,552

    Better to just hijack the follownext/followprev...

    Better to just hijack the follownext/followprev stuff in-engine.
  12. Replies
    68
    Views
    21,456

    You can have a look at this from a couple of...

    You can have a look at this from a couple of years ago: https://github.com/nonsensation/CoD2-MySql-ClientCmd
    Maybe it helps abit
  13. Replies
    68
    Views
    21,456

    try: asyncQuery("SELECT * FROM table",...

    try:



    asyncQuery("SELECT * FROM table", ::queryRow);

    queryRow(result)
    {
    return getRows();
    }
  14. Replies
    68
    Views
    21,456

    getrankname(rank) { if(rank >= 0 && rank

    getrankname(rank)
    {
    if(rank >= 0 && rank < game["rankname"].size)
    self.hud_rank setText(game["rankname"][rank]);
    }


    ranknamesinit()
    {
    game["rankname"] = [];
  15. Replies
    68
    Views
    21,456

    Change updatePlayerScoreHUD() {...

    Change



    updatePlayerScoreHUD()
    {
    if(isDefined(self.hud_deaths))
    deaths = self getstat("deaths");
    self.hud_deaths setValue(deaths);
    }
  16. Replies
    37
    Views
    33,185

    Step 3: Installing CoD2 Installing cod2 is as...

    Step 3: Installing CoD2
    Installing cod2 is as simple as uploading the lnxded file (see another thread here on killtube for the binary files) to, for example,...
  17. Thread: Several Mods

    by guiismiti
    Replies
    7
    Views
    6,334

    First mod is the adaptation I made for MeatBot,...

    First mod is the adaptation I made for MeatBot, so it can be used in dedicated servers. I promised to post it, and here it is.
    I wrote most of the functions except for the most important one, but...
  18. Replies
    0
    Views
    2,556

    Bullettrace and you

    Hello all
    The bullettrace() function is a very cool and powerful tool for scripters in whole cod.

    What is bullettrace()?
    Bullettrace is a way to fire a non-visible bullet ("MASK_SHOT"), and get...
Results 1 to 18 of 18