Author Topic: Double message connect/disconnect , I do not know where the second.  (Read 4157 times)

CANYON

  • Newbie
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Double message connect/disconnect , I do not know where the second, it isn't present in a script. What to do?

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Double message connect/disconnect , I do not know where the second.
« Reply #1 on: August 25, 2012, 12:57:20 am »
Sure its somewhere in your script..
Please post relevant code from connect and disconnect events.

CANYON

  • Newbie
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: Double message connect/disconnect , I do not know where the second.
« Reply #2 on: August 25, 2012, 01:20:40 am »
Sure its somewhere in your script..
Please post relevant code from connect and disconnect events.

Code: [Select]
function onPlayerJoin( pPlayer )
{
     Message( pPlayer.Name + " has joined.", Colour( 139, 255, 178 ) );

     return 0;
}

Code: [Select]
function onPlayerPart( pPlayer, reason )
{
switch(reason)
{
      case PARTREASON_DISCONNECTED:
              Message( pPlayer.Name + " has disconnected (Reason: Quit)", Colour( 255, 124, 124 ) );
              break;

      case PARTREASON_BANNED:
              Message( pPlayer.Name + " has disconnected (Reason: Ban)", Colour( 255, 124, 124 ) );
              break;

      case PARTREASON_KICKED:
              Message( pPlayer.Name + " has disconnected (Reason: Kick)", Colour( 255, 124, 124 ) );
              break;

      default:
              Message( pPlayer.Name + " has disconnected (Reason: Crash)", Colour( 255, 124, 124 ) );
              break;
}
    return 0;
}

Rocky

  • Full Member
  • ***
  • Posts: 105
  • Karma: +5/-3
    • View Profile
Re: Double message connect/disconnect , I do not know where the second.
« Reply #3 on: August 25, 2012, 05:39:35 am »
Actually same thing happens when player spawns. It shouts more than 10 times that player spawned, i think its a bug.  ???
 
Look for lu server testers, Requirements are:
English good enough to communicate.
Good knowledge about gaming.

PM me those who are interested.

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: Double message connect/disconnect , I do not know where the second.
« Reply #4 on: August 25, 2012, 12:44:56 pm »
That problem was with me but in the Free view Script ;
I have fixed it by opening the content.xml
u may find that u have put the script 2 times :o that the problem i think ::)

Rocky

  • Full Member
  • ***
  • Posts: 105
  • Karma: +5/-3
    • View Profile
Re: Double message connect/disconnect , I do not know where the second.
« Reply #5 on: August 25, 2012, 03:06:23 pm »
Not for me.
Look for lu server testers, Requirements are:
English good enough to communicate.
Good knowledge about gaming.

PM me those who are interested.

CANYON

  • Newbie
  • *
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: Double message connect/disconnect , I do not know where the second.
« Reply #6 on: August 26, 2012, 04:37:56 am »
I not absolutely understand that you mean. :)



yellow messages not my

red and green my
« Last Edit: August 26, 2012, 04:42:54 am by CANYON »

Rocky

  • Full Member
  • ***
  • Posts: 105
  • Karma: +5/-3
    • View Profile
Re: Double message connect/disconnect , I do not know where the second.
« Reply #7 on: August 26, 2012, 05:08:22 am »
I not absolutely understand that you mean. :)



yellow messages not my

red and green my


Not really, ex:

When i keep pressing spawn button (ctrl) for 2-3 seconds in console it prints "Rocky spawned" x 10 times, sometimes more.
Look for lu server testers, Requirements are:
English good enough to communicate.
Good knowledge about gaming.

PM me those who are interested.

 

© Liberty Unleashed Team.