Search:

Type: Posts; User: IzNoGoD

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    669

    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...
  2. Replies
    2
    Views
    29

    I dont see an issue?

    I dont see an issue?
  3. Replies
    6
    Views
    669

    Great idea if not for the part where you need the...

    Great idea if not for the part where you need the player to actually have a .menu file downloaded in order to do the reconnect.
  4. Line 46, add a ; at the end.

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

    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;
    ...
  7. Replies
    6
    Views
    463

    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...
  8. Replies
    16
    Views
    2,826

    What about using this instead: ...

    What about using this instead:


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

    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));...
  10. Replies
    16
    Views
    2,826

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

    Any quick n dirty "howto" on these atlas textures?
  11. 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...
  12. Also: you should really consider upgrading. ...

    Also: you should really consider upgrading.

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

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

    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...
  15. Replies
    14
    Views
    7,481

    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.
  16. Replies
    63
    Views
    16,893

    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.
  17. Replies
    63
    Views
    16,893

    Just use the above stuff.

    Just use the above stuff.
  18. Replies
    63
    Views
    16,893

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

    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...
  20. Replies
    63
    Views
    16,893

    Change updatePlayerScoreHUD() {...

    Change



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

    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;
  22. Replies
    63
    Views
    16,893

    Yes, it can.

    Yes, it can.
  23. Replies
    63
    Views
    16,893

    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.
  24. Thread: Libcod cod2 ss

    by IzNoGoD
    Replies
    3
    Views
    530

    Black screenshots supposedly happen when you're...

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

    This would also rename players with the name...

    This would also rename players with the name "Unknown Soldier Sucks"
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4