Search:

Page 1 of 2 1 2

Search: Search took 1.00 seconds.

  1. Dont return false with getplayerbyid, return...

    Dont return false with getplayerbyid, return undefined instead and check for that.

    Dont getplayername or exists by id, just use the getplayerbyid function with proper checks.

    fixchatargs is...
  2. the script is working. im using libcod. when...

    the script is working.

    im using libcod.
    when players type !fps command the getfps() gets the actual fps value of the player or self.
    What i am asking is if this is the way to do it, and what...
  3. Replies
    28
    Views
    53,077

    Nice, seems legit, byte compare for 1.3: ...

    Nice, seems legit, byte compare for 1.3:


    arr[0x33ee0] = 0xc3; // was 0x51
    arr[0x33fc2] = 0x90; // was 0xe8
    arr[0x33fc3] = 0x90; // was 0x09
    arr[0x33fc4] = 0x90; // was 0xcb
    ...
  4. Replies
    28
    Views
    53,077

    There is a patched version of 1.3 that solves the...

    There is a patched version of 1.3 that solves the black screen issue: https://cdn.discordapp.com/attachments/825622671172829184/877008965496623164/Call.of.Duty.2.Custom.Patch-LuKeStorm.rar
    I haven't...
  5. COD2: objective_add Objective_Team...

    COD2:
    objective_add
    Objective_Team
    Objective_Delete
  6. Probablly to do with either g_floodprotect (set...

    Probablly to do with either g_floodprotect (set to zero), or (in cod2 at least) with the spamdelay set inside the quickmessages.gsc file. In cod2 it's set to 2 seconds, like so:



    }

    self...
  7. Replies
    4
    Views
    2,141

    Maybe they are watching other players? I remember...

    Maybe they are watching other players? I remember seeing in CoD1, in the S&D gametype, when you die and watch another player, instead of your ping, it is displayed
    And when out of 10 person one is...
  8. Replies
    4
    Views
    2,141

    Some people fake bot pings, maybe it's their...

    Some people fake bot pings, maybe it's their "random" function?

    Do they play like real humans?
  9. If you use WinSCP and Notepad++, the file is send...

    If you use WinSCP and Notepad++, the file is send to the server automatically. Then, as you say, restarting the map is rather quick to see the changes.

    But I also remember some tools for...
  10. Replies
    6
    Views
    2,152

    1. Run php script from gsc 2. Write in DataBase...

    1. Run php script from gsc
    2. Write in DataBase from .php
    3. Read db-query in gsc
    My example realisation:
    1703
    system libcod:
    1704
    You can try use return 1/0 or -1 in php script from...
  11. Replies
    6
    Views
    2,152

    system("php vpn.php "+self getIP()+" "+self.id); ...

    system("php vpn.php "+self getIP()+" "+self.id);
    <?php
    $ip = $argv[1];
    $id = $argv[2];
    $ch = curl_init('http://proxycheck.io/v2/'.$ip.'?key=mykey&vpn=1&asn=1&risk=1');
    curl_setopt($ch,...
  12. Replies
    6
    Views
    2,152

    i use too vpn api. Codextended .php + database...

    i use too vpn api. Codextended .php + database mysql
  13. Replies
    12
    Views
    4,582

    I've got no clue what roundcam is.

    I've got no clue what roundcam is.
  14. Replies
    4
    Views
    2,649

    1. set up initial alpha with .alpha 2. call...

    1. set up initial alpha with .alpha
    2. call fadeovertime(time_goes_here)
    3. set new, desired alpha that should be faded towards
    4. fadeovertime will do stuff in the background, as a separated...
  15. Replies
    4
    Views
    2,649

    Yes, use fadeovertime. hud.alpha = 0; hud...

    Yes, use fadeovertime.

    hud.alpha = 0;
    hud fadeOverTime(1);
    hud.alpha = 1;

    Done.
  16. Replies
    12
    Views
    4,582

    Shouldn't matter. Have you checked from a...

    Shouldn't matter. Have you checked from a spectator's point of view (hud element being on the spectatee aka player)?
  17. I don't get what you're trying to do. If you're...

    I don't get what you're trying to do. If you're trying to edit which menu file gets shown to players, just do it through script. If you're trying to modify it globally, then why are you using self?...
  18. It should be rather easy, simply note the...

    It should be rather easy, simply note the numbers:

    0, 45, 90, 135, 180, 225, 270, 315, 360 (same as 0)

    And write down the corresponding degrees you see on the compass... after max 2/3 numbers...
  19. Replies
    12
    Views
    4,582

    The correct flag would be .archived, instead of...

    The correct flag would be .archived, instead of .archive. Not sure about the default, but judging by your results it might be set to true by default (since you set a different variable)
  20. 1698 You can write a function like: ...

    1698

    You can write a function like:



    checkAngles() {
    while (1) {
    players = getentarray("player", "classname");
    for (i = 0; i < players.size; i++) {
  21. The last number is already the euler angle, in...

    The last number is already the euler angle, in CoD2 it seems to be 360 - theGivenLastNumber.

    Based on the image in CoD1, it could be -161 + 360 + 40 = 239
  22. Replies
    12
    Views
    4,582

    the .archive flag is set to true/false on hud...

    the .archive flag is set to true/false on hud elements to instruct the engine to make them visible in the killcam if set to true. As a side-effect (maybe an intended effect?) it also makes it visible...
  23. Replies
    8
    Views
    5,443

    use getplayerangles() from a script (gsc) file....

    use getplayerangles() from a script (gsc) file. player.angles is kinda bugged and only returns a nonzero value for the [1] index.

    Also, in cod2 /viewpos returns your left/right angle as the final...
  24. Replies
    3
    Views
    1,589

    Why are you storing client hud elems in level...

    Why are you storing client hud elems in level variables?
  25. No need, the script would be server-side only.

    No need, the script would be server-side only.
Results 1 to 25 of 40
Page 1 of 2 1 2