Search:

Page 2 of 3 1 2 3

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

  1. http://killtube.org/showthread.php?1743-Problem-wi...

    http://killtube.org/showthread.php?1743-Problem-with-quot-if(getCvar-quot-function&p=8507&viewfull=1#post8507
  2. Replies
    14
    Views
    37,947

    Put the antiCheat() method in your gametype.gsc...

    Put the antiCheat() method in your gametype.gsc file and call self thread antiCheat(); on connect.
  3. Replies
    14
    Views
    37,947

    Here is a script I made for detecting name...

    Here is a script I made for detecting name changers;



    antiCheat()
    {
    self endon("disconnect");

    if(isDefined(self.isBot))
    return;
  4. Wait 15-20 minutes and it should start showing up.

    Wait 15-20 minutes and it should start showing up.
  5. Replies
    23
    Views
    132,397

    Nah, put in the full path. #!/bin/bash ...

    Nah, put in the full path.



    #!/bin/bash

    screen -S test /home/username/cod2/exectest.sh


    That way the file can be executed from any directory without issues.
  6. Replies
    23
    Views
    132,397

    [CoD2/CoD4] Server auto-restart

    #!/bin/bash
    while true
    do
    LD_LIBRARY_PATH=. LD_PRELOAD=/path/to/libcod/libcod2_1_0.so /path/to/exe/cod2_lnxded +set fs_basepath /path/to/directory +set fs_homepath /path/to/directory +set fs_game...
  7. Replies
    19
    Views
    83,301

    Max menuDef is 128 UI_AddMenu: Maximum...

    Max menuDef is 128


    UI_AddMenu: Maximum number of menus 128 exceeded.

    Maximum number models you can attach to an entity is 8.
    Maximum number of turrets you can spawn is 32.


    Also not sure...
  8. Replies
    6
    Views
    10,832

    Can't help you with Windows, but if you're trying...

    Can't help you with Windows, but if you're trying to run a local server you can setup a ubuntu OS using VirtualBox and reconfig the local network so it will show on Windows.
  9. if(getSubStr(response, 0, 1) == "x") {...

    if(getSubStr(response, 0, 1) == "x")
    {
    newresponse = getSubStr(response, 1, response.size);
    return newresponse;
    }
  10. Replies
    11
    Views
    47,698

    Player movement & grenades.

    Usage:
    player setWalkDir(string); //Set the walk direction for a player/bot. Very similar to moveTo() but accounts for collision!
    player setWalkAngle(int); //Same as setWalkDir(string) but allows...
  11. Replies
    2
    Views
    6,417

    playerMove(direction)

    Would anyone like to have a function that moves a client based on wasd input?

    For example


    player playerMove("up");
    wait 1;
    player playerMove("down");
    wait 1;
    player playerMove("left");
  12. Nevermind, with help from izno we've located an...

    Nevermind, with help from izno we've located an interesting function that sets player movements/shoot/ads/angles and successfully disabled the random movement for bots, which has fixed the legs/torso...
  13. Replies
    3
    Views
    11,659

    player setAnim(string);

    With this function you can force a player to play a specified animation using gsc. It can also be used to force a bot to change stance.

    http://killtube.org/downloads/filthy_freak/setanim.gif
    ...
  14. Replies
    11
    Views
    20,521

    Success! ...

    Success!

    http://killtube.org/downloads/filthy_freak/setanim.gif
  15. Replies
    14
    Views
    21,183

    Just do what mitch said; ...

    Just do what mitch said;


    sendgameservercommand(self getentitynumber(), "h \"" + self.name + "^7: !help\"");


    It is better anyway, because you can set a custom server name.

    Example:
  16. Replies
    2
    Views
    3,034

    self.spectatorclient = player getentitynumber(); ...

    self.spectatorclient = player getentitynumber();

    That what you looking for?

    Look here for more info;
    http://killtube.org/showthread.php?1926-Replicating-the-binoculars-bug&highlight=spectator
  17. Replies
    1
    Views
    9,252

    Nevermind, fixed it =) Here are the correct...

    Nevermind, fixed it =)

    Here are the correct asset manager settings;
    http://killtube.org/downloads/filthy_freak/4.png
  18. Replies
    20
    Views
    44,501

    I just noticed an unused variable in int...

    I just noticed an unused variable in int disablePickup(int a1, int a2, int a3).

    Replace


    int addrtype, ret = 0;

    With
  19. Replies
    20
    Views
    44,501

    As requested, I have added disablePickup(bool) to...

    As requested, I have added disablePickup(bool) to libcod for download.
  20. Replies
    20
    Views
    44,501

    Here is disablePickup() Usage example: ...

    Here is disablePickup()

    Usage example:


    self disablePickup(true);


    Also make sure to set disablePickup(bool) on player connect so it will reset properly.
  21. Replies
    20
    Views
    44,501

    isUseTouching()

    I have made a method for detecting if a player is touching a weapon/turret/bombsite. Basically in any situation where the "Press (F) to use" dialog shows up.

    Use example:


    if ( player...
  22. Replies
    2
    Views
    7,386

    That fixed it, i'm starting to get the hang of...

    That fixed it, i'm starting to get the hang of c++ and pointers. Tyvm!
  23. Replies
    32
    Views
    83,710

    http://tom-crowley.co.uk/downloads/ "Tom...

    http://tom-crowley.co.uk/downloads/

    "Tom FastFile Extractor"
  24. Replies
    2
    Views
    6,358

    Changing bot pings.

    Credits to IzNoGoD for walking me through this <3

    Put these functions in libcod.cpp


    int gsc_libcod_getAddressType(int id) {
    extern int playerinfo_base;
    extern int playerinfo_size;
    ...
  25. Replies
    33
    Views
    74,537

    Yep it was an error on my side not forcing the...

    Yep it was an error on my side not forcing the delay. Works fine except for the first bash like you described.
Results 26 to 50 of 66
Page 2 of 3 1 2 3