Search:

Page 1 of 26 1 2 3 4

Search: Search took 1.00 seconds.

  1. Replies
    21
    Views
    390

    You're going to need a bit of code inside the...

    You're going to need a bit of code inside the spawnplayer() too, to reset the killstreak counter upon respawn. (thats the lazy way, the better way would be to put it in playerkilled, spawnspectator...
  2. Replies
    19
    Views
    1,046

    self.previousPosition = self.origin; ...

    self.previousPosition = self.origin;
    self.campTik = 0;
    while (1)
    {
    if (isAlive(self) && (!isDefined(self.flagAttached) || !self.flagAttached) && self.pers["team"] == "allies"...
  3. Thread: COD2 Teleport

    by IzNoGoD
    Replies
    7
    Views
    394

    Should be args, not arg.

    Should be args, not arg.
  4. Thread: COD2 Teleport

    by IzNoGoD
    Replies
    7
    Views
    394

    shoudl be getentitynumber() Note the () behind...

    shoudl be getentitynumber()
    Note the () behind it.
  5. Replies
    19
    Views
    1,046

    This forum tends to perform poorly when asked for...

    This forum tends to perform poorly when asked for full scripts for free.

    However, if you try yourself we're pretty good at helping when you hit roadblocks.

    As a sidenote: this script would be...
  6. Small update: If you get the "PuTTy key format...

    Small update: If you get the "PuTTy key format too new" error trying to log in with winscp, you have to save your key in the older key file format in puttygen.

    Before saving your private key, go...
  7. Thread: 1 sniper

    by IzNoGoD
    Replies
    2
    Views
    353

    Dont forget to clean up the list upon sniper...

    Dont forget to clean up the list upon sniper joining spec and/or on sniper joining other team/autobalance.
  8. Replies
    0
    Views
    338

    Cross-post: Setting up cod2 on WSL

    See here: https://killtube.org/showthread.php?4465-cod2-Running-your-own-libcod-server-using-WSL2-on-windows
  9. Public network connectivity. Option 1: Just...

    Public network connectivity.

    Option 1: Just forward the ports from your host to your vm using https://gist.github.com/xmeng1/aae4b223e9ccc089911ee764928f5486

    Option 2: Bridge mode.



    Open...
  10. I was able to access the files and edit them with...

    I was able to access the files and edit them with the results affecting the vm. Also, creating a new folder worked.
  11. [cod2] Running your own libcod server using WSL2 on windows

    Hello,

    This is a tutorial on how to run a libcod-enabled cod2 server on WSL2, on top of windows 10. This is a very quick and dirty tutorial.

    This tutorial assumes you have a working wsl2...
  12. Thread: Console script

    by IzNoGoD
    Replies
    3
    Views
    580

    I think he's asking to add like /rcon yourmom to...

    I think he's asking to add like /rcon yourmom to do a thing.
  13. Replies
    3
    Views
    859

    You dont get an entity using spawnstruct. Gotto...

    You dont get an entity using spawnstruct. Gotto spawn(), but you cant spawn something with a custom classname.

    As such, maybe try moving your existing spawnpoints? Also, you could just hijack the...
  14. Replies
    3
    Views
    1,061

    1. Monitor if the player switches weapons 2....

    1. Monitor if the player switches weapons
    2. Replace unused slot with the "third weapon", saving the old info as the new "third weapon".
    3. Done.
  15. Replies
    68
    Views
    25,494

    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...
  16. Replies
    68
    Views
    25,494

    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...
  17. Replies
    7
    Views
    1,312

    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,...
  18. Replies
    7
    Views
    1,312

    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...
  19. Replies
    7
    Views
    1,312

    >If i put 000empty.iwd and zzzmod.iwd in the maps...

    >If i put 000empty.iwd and zzzmod.iwd in the maps folder then the physical copies in the server fs_game folder get deleted when i start the cod2 servers

    Please specify this a bit. Are you putting...
  20. Replies
    37
    Views
    39,558

    Thread editted to reflect that this method works...

    Thread editted to reflect that this method works on basically any ubuntu version
    - 12.04 untested
    - 14.04 thoroughly tested (10+ servers running for multiple years)
    - 16.04 tested
    - 18.04...
  21. Replies
    3
    Views
    797

    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.
  22. Replies
    26
    Views
    8,185

    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.
  23. Replies
    26
    Views
    8,185

    Better to just hijack the follownext/followprev...

    Better to just hijack the follownext/followprev stuff in-engine.
  24. Replies
    0
    Views
    1,023

    [CoD4] Create .ff using a stand-alone tool

    This tutorial is a quick and dirty write-up of how to set up a .ff creating thingy for your cod4 mod.

    1. Make a new directory
    2. Download cod4 mod tools...
  25. Replies
    14
    Views
    5,081

    Setalive() turns stuff (script_brushmodel for...

    Setalive() turns stuff (script_brushmodel for example) into a trigger_damage with a damage notify.
Results 1 to 25 of 636
Page 1 of 26 1 2 3 4