Results 1 to 8 of 8
  1. #1
    xurple's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    120
    Reputation
    10
    Thanks
    5

    [SOLVED] Bottom "INFOBAR" text overlapping when player connects.

    For example, I had this.

    Rules()
    {
    while( 1 )
    {
    iPrintLn("zzz");
    iPrintLn("xxx");
    iPrintLn("uuu");
    wait 59;
    }
    }
    And I add..

    self thread Rules(); in -> onPlayerSpawned();

    Now the problem is, whenever another player connects, the thing starts again and again, so, instead of repeating it self after a minute, it does it TWICE.

    I have tested it with:
    level thread Rules();

    and also tried adding in onJoinedTeam();

    Anyone have a fix?

    Thanks.
    Last edited by Insane; 09-24-2010 at 07:22 AM.

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,330
    My Mood
    Breezy
    Make sure to add self endon("disconnect") and ("death") so it looks like this:
    Code:
    Rules()
    {
        self endon("disconnect"); //Ends when user quits the server
        self endon("death"); //Ends when player dies since this gets run again when you spawn again
        while( 1 )
        {
            iPrintLn("zzz");
            iPrintLn("xxx");
            iPrintLn("uuu");
            wait 59;
        }
    }
    Put
    self thread Rules();
    under onPlayerSpawned!
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. The Following User Says Thank You to master131 For This Useful Post:

    xurple (09-24-2010)

  4. #3
    xurple's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    120
    Reputation
    10
    Thanks
    5
    Mods, do not close this, testing this.
    So, master131, this is my playerspawned

    OnPlayerSpawned()
    {
    self endon("disconnect");
    level thread Rules();

    for(;
    {
    self waittill("spawned_player");

    }
    }


    wrong?

  5. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,330
    My Mood
    Breezy
    no, self thread NOT level thread.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  6. The Following User Says Thank You to master131 For This Useful Post:

    xurple (09-24-2010)

  7. #5
    xurple's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    120
    Reputation
    10
    Thanks
    5
    yep, just change that and it works?

    edit added thanks
    Last edited by xurple; 09-24-2010 at 07:19 AM.

  8. #6
    zxz0O0's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    209
    Reputation
    10
    Thanks
    136
    My Mood
    Aggressive
    onPlayerSpawned you add
    Code:
    self thread Rules();
    and in the rules thread change
    Code:
    iPrintLn
    to
    Code:
    self iPrintLn

  9. The Following User Says Thank You to zxz0O0 For This Useful Post:

    xurple (09-24-2010)

  10. #7
    xurple's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    120
    Reputation
    10
    Thanks
    5
    thanks for that too

  11. #8
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    /Marked as Solved
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

Similar Threads

  1. [Solved] why do i have this error when try to login?
    By altrastreem in forum CrossFire Help
    Replies: 16
    Last Post: 03-08-2011, 04:18 PM
  2. [Solved]Saving info to a text file?
    By HACKINGPIE in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 8
    Last Post: 02-13-2011, 10:38 PM
  3. [SOLVED]A.V.A wont show up when I press "game start"
    By inc3ndium in forum Alliance of Valiant Arms (AVA) Help
    Replies: 19
    Last Post: 11-23-2010, 12:47 AM
  4. [SOLVED]Only a question abt text mods
    By starlee999 in forum Call of Duty Modern Warfare 2 Help
    Replies: 11
    Last Post: 07-20-2010, 09:36 AM
  5. When I Connect I Get An Error
    By ktalin91 in forum WarRock Korea Hacks
    Replies: 3
    Last Post: 05-31-2007, 09:11 PM