Author Topic: [NOT SPAMMING] Check this out. Weird.  (Read 4637 times)

0 Members and 1 Guest are viewing this topic.

Offline iDamn

  • SA-MP Server Admin
  • *
  • *
  • Posts: 1068
  • I'll be damned!
    • Find me on Steam!
    • Awards
  • SA-MP: iDamn
[NOT SPAMMING] Check this out. Weird.
« on: July 09, 2012, 09:45:51 AM »
Hello again. I was playing with nabster when suddenly i realised something weird happened to mainchat! The sentences shown in the picture below aren't typed by me and LeonardoDacviicii. It's happened in a blink of eyes.




 :o  :o
« Last Edit: July 09, 2012, 09:47:56 AM by [B]iDaMn »

Offline EnzoMortelli

Re: [NOT SPAMMING] Check this out. Weird.
« Reply #1 on: July 09, 2012, 10:43:26 AM »
lol pwnt.
that's weird indeed.

ankit

  • Guest
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #2 on: July 09, 2012, 11:18:32 AM »
Well i have seen that 4-5 times already. And it happened to me too.

Offline iDamn

  • SA-MP Server Admin
  • *
  • *
  • Posts: 1068
  • I'll be damned!
    • Find me on Steam!
    • Awards
  • SA-MP: iDamn
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #3 on: July 09, 2012, 12:27:07 PM »
But how do this things occurred? Some bugs on the script or.. ? Undefined problem?

Well i have seen that 4-5 times already. And it happened to me too.

rly 0? Hmh. Well, is that weird for you? :P

Offline Simon

  • SA-MP Retirees
  • *
  • *
  • *
  • Posts: 1236
  • Retired
    • Awards
  • SA-MP: [CP]Simon
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #4 on: July 09, 2012, 02:21:00 PM »
It's an easter egg. It's actually quite old. Very funny that it's still activated given the chances of it actually occurring :)

Offline Matz

  • Big Fish
  • ****
  • Posts: 302
    • Awards
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #5 on: July 09, 2012, 02:36:45 PM »
I never seen it before lol nice.

Offline PawnFox

  • SA-MP
  • SA-MP Retirees
  • *
  • Posts: 1997
  • 187 Co.
    • Awards
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #6 on: July 09, 2012, 05:06:07 PM »
Is not weird, its a part of the script.

I founded the code on a old version of LW's, posted by Simon at official sa-mp forum

Code: [Select]
new
iTalkCnt,
iConversationID = INVALID_PLAYER_ID;

loopPlayers( i )
{
if ( i != playerid )
{
iConversationID = i;
iTalkCnt        = 1;

break;
}
}

if ( iTalkCnt )
{
SendPlayerMessageToAll( playerid, "You punk-ass bitch, punk-ass busta fool!" );
SendPlayerMessageToAll( iConversationID, "I dunno what you just said, but I bought you some malt liqour to calm you down." );
SendPlayerMessageToAll( playerid, "You a busta fool. Luckily, your not dead 'coz I'm also a pimp! Including you, I'll pimp anything! You hear me playa?" );
SendPlayerMessageToAll( iConversationID, "Yes, I hear you, you'll pimp anything. But you know, it's kinda like my dream to sleep with housewives." );
SendPlayerMessageToAll( playerid, "ARE YOU - DISSIN' - MY HOS, BITCH?" );
SendPlayerMessageToAll( iConversationID, "Uh, no, no. Your hos are bitches, your hos are bitches. Look please, don't shoot me, homie." );
}
}

return 1;
}

 ;D

Blame forum for bad indentation.

Offline enO_suhpyrG[R]

  • Tiny Fish
  • *
  • Posts: 23
  • Slice Master of Property
    • Awards
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #7 on: July 09, 2012, 09:28:36 PM »
By the way, is "loopPlayers" a native Samp function, or is it a custom one? is it the same as using this?

Code: [Select]
for(new i = 0; i <= MAX_PLAYERS; i++)
{
    // Your code here.
}
« Last Edit: July 09, 2012, 09:30:42 PM by enO_suhpyrG[R] »

Offline blewert

  • The big cheese
  • Management
  • *
  • Posts: 828
    • Awards
  • SA-MP: trewelb
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #8 on: July 09, 2012, 09:44:25 PM »
By the way, is "loopPlayers" a native Samp function, or is it a custom one? is it the same as using this?

Code: [Select]
for(new i = 0; i <= MAX_PLAYERS; i++)
{
    // Your code here.
}
non-native. Custom to LW's.

It is virtually the same as that, however I think it's a macro as it includes the creation of the variable within it's definition - unless i is created beforehand? Something like:

Code: [Select]
#define loopPlayers(%0) for(new %0; %0 <= MAX_PLAYERS; %0++)

Try out on PPG:

Code: [Select]
#include <a_samp>
#define loopPlayers(%0) for(new %0; %0 <= MAX_PLAYERS; %0++)

main () {

loopPlayers(i)
{
printf("%d", i);
}

// Use this or the server will run for 2 seconds and get killed
quit();
}




Anyways,

This was awesome with 150+ players, people would just randomly be like "uhh I didn't say that" haha. I remember myself being confused the first time this happened, t'was epic.
 




Offline [eVo]PvtBenny

  • SA-MP Donator
  • *
  • Posts: 690
    • Awards
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #9 on: July 09, 2012, 11:45:23 PM »
This stuff is really old. I think it even dates back from before my time here. Ive spotted this back in 2006 when i first started playing on LW. I only found out that it was Simon who wrote it into the script like 2 years later during a conversation with him on IRC when i spotted the same text again only to see it using my name instead and at first i thought the other guys name was a hacker doing that chat thing. I have no idea how it works or how to activate it i only know it happens every so often.

Offline Quickplay

  • SA-MP Retirees
  • *
  • *
  • Posts: 2210
  • Crazy Mind
    • Awards
  • SA-MP: Quickplay
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #10 on: July 09, 2012, 11:55:09 PM »
i've never seen this happening in many years on LW xD weird

Offline iDamn

  • SA-MP Server Admin
  • *
  • *
  • Posts: 1068
  • I'll be damned!
    • Find me on Steam!
    • Awards
  • SA-MP: iDamn
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #11 on: July 10, 2012, 08:22:42 AM »
Oke. Now I'm getting weirder bcoz of the script stuff. i couldn't understand anything. but i know wat simon and pwntfux said. :P
and yeah. thx. Don't use bad word. :P OG-Loc ftw? Nah..

Offline EnzoMortelli

Re: [NOT SPAMMING] Check this out. Weird.
« Reply #12 on: July 10, 2012, 10:31:58 AM »
HAHAHA that's so epic.
LW's script is so chaotic and mutated that ancient script parts reactivate themselves without notice.
Nah joking. Whoever brought this back, nice :D never saw this before 0.0

Offline iDamn

  • SA-MP Server Admin
  • *
  • *
  • Posts: 1068
  • I'll be damned!
    • Find me on Steam!
    • Awards
  • SA-MP: iDamn
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #13 on: July 10, 2012, 10:55:57 AM »
So, we aren't removing this thing? This is a bad language for kids. Urm, like me? :P

Offline [JOKER]Miczi

  • SA-MP Retirees
  • *
  • Posts: 1365
  • Proud LW player since SA-MP 0,1b
    • Awards
Re: [NOT SPAMMING] Check this out. Weird.
« Reply #14 on: July 10, 2012, 11:15:48 AM »
HAHAHA that's so epic.
LW's script is so chaotic and mutated that ancient script parts reactivate themselves without notice.
Nah joking. Whoever brought this back, nice :D never saw this before 0.0

Lol, exactly ;p
I haven's seen it neither. Or maybe I did, but not with my name, so I didn't even notice ;p