Search:

Type: Posts; User: IzNoGoD

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Line 46, add a ; at the end.

    Line 46, add a ; at the end.
  2. 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;
    }
  3. Replies
    6
    Views
    412

    Save something to player.pers[array]. That does...

    Save something to player.pers[array]. That does not get reset on round restart.



    onplayerconnect()
    {
    if(!isDefined(self.pers["connected"]))
    {
    self.pers["connected"] = true;
    ...
  4. Replies
    6
    Views
    412

    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...
  5. Replies
    16
    Views
    2,531

    What about using this instead: ...

    What about using this instead:


    playLoopedFx(level._effect["dog"], delay, origin1.origin, dist, anglesToForward(origin1.angles), (0, 0, 1));
  6. Replies
    16
    Views
    2,531

    add a anglestoup(origin1.angles) at the end of...

    add a anglestoup(origin1.angles) at the end of your playloopedfx:



    playLoopedFx(level._effect["dog"], delay, origin1.origin, dist, anglesToForward(origin1.angles), anglesToUp(origin1.angles));...
  7. Replies
    16
    Views
    2,531

    Any quick n dirty "howto" on these atlas textures?

    Any quick n dirty "howto" on these atlas textures?
  8. The mirror you're using for your libmysqlclient...

    The mirror you're using for your libmysqlclient is updated. It does only have buster and stretch distro packages listed now.

    Also, you were using a jessie package from there, while jessie is not...
  9. Also: you should really consider upgrading. ...

    Also: you should really consider upgrading.

    https://www.debian.org/News/2016/20160212
  10. dpkg --add-architecture i386 apt-get update...

    dpkg --add-architecture i386
    apt-get update
    apt-get install libmysqlclient-dev:i386
  11. Replies
    14
    Views
    7,421

    Bad idea. The level var is also cleaned (except...

    Bad idea. The level var is also cleaned (except for level.game array) on round restart. Furthermore, since players go through the "playerconnecting" callback when the round restarts, their money gets...
  12. Replies
    14
    Views
    7,421

    Store it in player.pers["something"] variable,...

    Store it in player.pers["something"] variable, load it back on playerconnect if it's defined. player.pers array gets stored over multiple rounds.
  13. Replies
    63
    Views
    16,648

    You're not properly retrieving the stuff from the...

    You're not properly retrieving the stuff from the database. You're storing the "result" pointer (!) in the self.stats array, which is a seemingly random number. Instead use the result to fetch_row.
  14. Replies
    63
    Views
    16,648

    Just use the above stuff.

    Just use the above stuff.
  15. Replies
    63
    Views
    16,648

    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"] = [];
  16. Replies
    3
    Views
    3,250

    You need to precache them in...

    You need to precache them in maps/mp/gametypes/_quickmessages.gsc

    Then you need to handle the input from them at the bottom of maps/mp/gametypes/_menus.gsc and send that along to the...
  17. Replies
    63
    Views
    16,648

    Change updatePlayerScoreHUD() {...

    Change



    updatePlayerScoreHUD()
    {
    if(isDefined(self.hud_deaths))
    deaths = self getstat("deaths");
    self.hud_deaths setValue(deaths);
    }
  18. Replies
    4
    Views
    693

    Is this thing threaded? Why do you need the...

    Is this thing threaded?

    Why do you need the wait in a pre-game thing? Just resettimeout;
  19. Replies
    63
    Views
    16,648

    Yes, it can.

    Yes, it can.
  20. Replies
    63
    Views
    16,648

    Forcing the download cvar on your client. You...

    Forcing the download cvar on your client. You need a bit of knowledge and libcod for this.
  21. Thread: Libcod cod2 ss

    by IzNoGoD
    Replies
    3
    Views
    511

    Black screenshots supposedly happen when you're...

    Black screenshots supposedly happen when you're using anti-aliasing on the client. Try turning that off.
  22. Replies
    2
    Views
    5,835

    This would also rename players with the name...

    This would also rename players with the name "Unknown Soldier Sucks"
  23. Replies
    3
    Views
    468

    Is your log file being parsed correctly? Logsync...

    Is your log file being parsed correctly? Logsync should be 2 iirc.

    Furthermore, if all you want is !nextmap and !time, it's almost trivial to code something up to work inside cod2, especially with...
  24. Replies
    6
    Views
    4,445

    Same quality as scaleway/online.net. Three good...

    Same quality as scaleway/online.net. Three good options in EU are hetzner, ovh (or one of their subbrands) and a third brand I cannot remember right now, but which was way more expensive than the...
  25. Replies
    6
    Views
    4,445

    Scaleway has barely got any anti-ddos, definitely...

    Scaleway has barely got any anti-ddos, definitely not the choice if your first question is "does it have anti-ddos". It might not go fully down when ddossed, but it most likely will be very visible...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4