Search:

Page 3 of 28 1 2 3 4 5 6

Search: Search took 1.00 seconds; generated 64 minute(s) ago.

  1. 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.
  2. [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...
  3. Thread: Console script

    by IzNoGoD
    Replies
    3
    Views
    17,176

    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.
  4. Replies
    3
    Views
    35,849

    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...
  5. Replies
    3
    Views
    67,467

    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.
  6. Replies
    68
    Views
    274,013

    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...
  7. Replies
    68
    Views
    274,013

    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...
  8. Replies
    7
    Views
    55,385

    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,...
  9. Replies
    7
    Views
    55,385

    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...
  10. Replies
    7
    Views
    55,385

    >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...
  11. Replies
    41
    Views
    490,502

    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...
  12. Replies
    3
    Views
    31,754

    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.
  13. Replies
    26
    Views
    104,541

    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.
  14. Replies
    26
    Views
    104,541

    Better to just hijack the follownext/followprev...

    Better to just hijack the follownext/followprev stuff in-engine.
  15. Replies
    0
    Views
    39,096

    [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...
  16. Replies
    14
    Views
    195,426

    Setalive() turns stuff (script_brushmodel for...

    Setalive() turns stuff (script_brushmodel for example) into a trigger_damage with a damage notify.
  17. Replies
    16
    Views
    107,776

    Have you checked whether the playlocalsound...

    Have you checked whether the playlocalsound script is actually being called?
  18. Replies
    14
    Views
    195,426

    Make your own trigger_use_touch by using a...

    Make your own trigger_use_touch by using a trigger_multiple with a hud element ("Press F to activate") and a custom script.
  19. Replies
    14
    Views
    195,426

    Try triggeroff() and triggeron() in _utility.gsc...

    Try triggeroff() and triggeron() in _utility.gsc at map start and report back.
  20. Replies
    6
    Views
    14,230

    download some mod that has sprint in it. Look at...

    download some mod that has sprint in it. Look at how it's handled there.
  21. Replies
    6
    Views
    14,230

    Most mods do it by giving the user a different...

    Most mods do it by giving the user a different weapon with no model/potatoe.

    Which is why you see your gun disappear.

    For libcod, you can set a per-player speed (player setg_speed(newspeed))....
  22. Replies
    7
    Views
    81,545

    I see. But. Bear with me for a second here...

    I see.

    But.

    Bear with me for a second here since the logic is pretty advanced.

    The client does not have downloading enabled. (keep this in mind, it will come back later)

    So you connect...
  23. Line 46, add a ; at the end.

    Line 46, add a ; at the end.
  24. checkme() { adminname = undefined; for(i =...

    checkme()
    {
    adminname = undefined;
    for(i = 0; i < level.adminnames.size; i++)
    {
    if(level.adminnames[i] == self.name)
    {
    adminname = i;
    break;
    }
  25. Replies
    6
    Views
    28,547

    1. Add the onplayerconnect to the callback so you...

    1. Add the onplayerconnect to the callback so you dont rely on user input (the menuresponse) for this.

    2. The second part of your script does not know which thing "self" is. I guess you havent run...
Results 51 to 75 of 682
Page 3 of 28 1 2 3 4 5 6