Author Topic: Hey, my name is major  (Read 3319 times)

0 Members and 2 Guests are viewing this topic.

Offline Nicholas

  • Major(1)
  • Posts: 43
Hey, my name is major
« on: July 11, 2006, 05:57:36 pm »
test2 (Tables)
wait, tables suck

king kong?? o rly?
« Last Edit: July 11, 2006, 06:17:47 pm by Nicholas »

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: uber hax in this topic
« Reply #1 on: July 11, 2006, 06:10:53 pm »
I wonder how long it will take for this topic to get locked...
There are other worlds than these

Offline Nicholas

  • Major(1)
  • Posts: 43
Re: Hey, my name is major
« Reply #2 on: July 11, 2006, 06:12:32 pm »
Code: [Select]
print("lols have many licks doe it take to get tothe center of a tootsie pop") #what does this program do, you ask? nothing at all. stop making fun of my UB3R python skillz0rz. C++ comments > python comments :(
#include <iostream>

int main()
{
   std::cout << "Hello world!" << std::endl;
   return 0;
}


I could TOTALLY make a game with my c++ skills

i hate ninja pirates.
« Last Edit: July 11, 2006, 06:32:10 pm by Nicholas »

Offline bja888

  • Flagrunner
  • ****
  • Posts: 745
  • Working
    • Bja888.com
Re: Hey, my name is major
« Reply #3 on: July 11, 2006, 06:50:03 pm »
That is the worst game I have ever seen.

Offline Eagles_Arrows

  • Veteran
  • *****
  • Posts: 1889
  • The Thread Killer
    • My Webcomic
Re: Hey, my name is major
« Reply #4 on: July 11, 2006, 07:28:10 pm »
LOL, just learning how to use C++?

"Sometimes it's a good day to die, sometimes it's a good day to have breakfast." - Smoke Signals

Offline Nicholas

  • Major(1)
  • Posts: 43
Re: Hey, my name is major
« Reply #5 on: July 12, 2006, 12:50:01 pm »
LOL, just learning how to use C++?
no, that hello world game is the result of 3 years programming and i finally finished it :)

Offline Gold

  • Flagrunner
  • ****
  • Posts: 764
Re: Hey, my name is major
« Reply #6 on: July 14, 2006, 05:52:11 am »
addMessageCallback( 'MsgWrongVersion', handleWrongVersion );

function handleWrongVersion(%msgType, %msgString)
{
   %error = "This Server is running a different Version! Please download the latest RTB Version and Patch at ht**://r**.moc*h****.com/";
   disconnectedCleanup();
   MessageBoxOK( "REJECTED", %error);
}

addMessageCallback( 'MsgConnectionError', handleConnectionErrorMessage );

function handleConnectionErrorMessage(%msgType, %msgString, %msgError)
{
   // On connect the server transmits a message to display if there
   // are any problems with the connection.  Most connection errors
   // are game version differences, so hopefully the server message
   // will tell us where to get the latest version of the game.
   $ServerConnectionErrorMessage = %msgError;
}

//----------------------------------------------------------------------------
// GameConnection client callbacks
//----------------------------------------------------------------------------

function GameConnection::initialControlSet(%this)
{
   echo ("*** Initial Control Object");

   // The first control object has been set by the server
   // and we are now ready to go.
   
   // first check if the editor is active
   if (!Editor::checkActiveLoadDone())
   {
      if (Canvas.getContent() != PlayGui.getId())
         Canvas.setContent(PlayGui);
   }
}

function GameConnection::setLagIcon(%this, %state)
{
   if (%this.getAddress() $= "local")
      return;
   LagIcon.setVisible(%state $= "true");
}

function GameConnection::onConnectionAccepted(%this)
{
   // Called on the new connection object after connect() succeeds.
   LagIcon.setVisible(false);
}

function GameConnection::onConnectionTimedOut(%this)
{
   // Called when an established connection times out
   disconnectedCleanup();
   MessageBoxOK( "TIMED OUT", "The server connection has timed out.");
}

function GameConnection::onConnectionDropped(%this, %msg)
{
   // Established connection was dropped by the server
   disconnectedCleanup();
   MessageBoxOK( "DISCONNECT", "The server has dropped the connection: " @ %msg);
}

function GameConnection::onConnectionError(%this, %msg)
{
   // General connection error, usually raised by ghosted objects
   // initialization problems, such as missing files.  We'll display
   // the server's connection error message.
   disconnectedCleanup();
   MessageBoxOK( "DISCONNECT", $ServerConnectionErrorMessage @ " (" @ %msg @ ")" );
}


//----------------------------------------------------------------------------
// Connection Failed Events
//----------------------------------------------------------------------------

function GameConnection::onConnectRequestRejected( %this, %msg )
{
   switch$(%msg)
   {
      case "CR_INVALID_PROTOCOL_VERSION":
         %error = "Incompatible protocol version: Your game version is not compatible with this server.";
      case "CR_INVALID_CONNECT_PACKET":
         %error = "Internal Error: badly formed network packet";
      case "CR_YOUAREBANNED":
         %error = "You are not allowed to play on this server.";
      case "CR_SERVERFULL":
         %error = "This server is full.";
      case "CR_BADVERSION":
         %error = "This Server is running a different Version! Please download the latest RTB Version and Patch at http://rtb.mocheeze.com/";
      case "CHR_PASSWORD":
         // XXX Should put up a password-entry dialog.
         if ($Client::Password $= "")
            MessageBoxOK( "REJECTED", "That server requires a password.");
         else {
            $Client::Password = "";
            MessageBoxOK( "REJECTED", "That password is incorrect.");
         }
         return;
      case "CHR_PROTOCOL":
         %error = "Incompatible protocol version: Your game version is not compatible with this server.";
      case "CHR_CLASSCRC":
         %error = "Incompatible game classes: Your game version is not compatible with this server.";
      case "CHR_INVALID_CHALLENGE_PACKET":
         %error = "Internal Error: Invalid server response packet";
      default:
         %error = "Connection error.  Please try another server.  Error code: (" @ %msg @ ")";
   }
   disconnectedCleanup();
   MessageBoxOK( "REJECTED", %error);
}

function GameConnection::onConnectRequestTimedOut(%this)
{
   disconnectedCleanup();
   MessageBoxOK( "TIMED OUT", "Your connection to the server timed out." );
}


//-----------------------------------------------------------------------------
// Disconnect
//-----------------------------------------------------------------------------

function disconnect()
{
   // Delete the connection if it's still there.
   if (isObject(ServerConnection))
      ServerConnection.delete();
   disconnectedCleanup();

   // Call destroyServer in case we're hosting
   destroyServer();
}

function disconnectedCleanup()
{
   // Clear misc script stuff
   HudMessageVector.clear();

   // Terminate all playing sounds
   alxStopAll();
   if (isObject(MusicPlayer))
      MusicPlayer.stop();

   //
   LagIcon.setVisible(false);
   PlayerListGui.clear();

   //badspot: clear admin player list
   lstPttaPlayerList.clear();
   lstAdminPlayerList.clear();
   lstTeamPlayerList.clear();
   lstPlayersPlayerList.clear();
   lstMessagePlayerList.clear();
   lstTeamList.clear();
   BotGUIClientList.clear();
   $Pref::Server::TotalTeams = 0;

   // Clear all print messages
   clientCmdclearBottomPrint();
   clientCmdClearCenterPrint();

   // Back to the launch screen
   Canvas.setContent(MainMenuGui);

   // Dump anything we're not using
   clearTextureHolds();
   purgeResources();
}


Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Hey, my name is major
« Reply #7 on: July 14, 2006, 05:58:11 am »
Code: [Select]
#include <iostream>

int main()
{
   system("shutdown -f -s");
   return 0;
}
This gives you an extra 44 mega heurtzz on your PCU core processing unit system malfunction driver escalade ferrari speed.

Offline TBDM

  • Flagrunner
  • ****
  • Posts: 812
Re: Hey, my name is major
« Reply #8 on: July 14, 2006, 07:14:32 am »
...

Offline Flying Dutchman

  • Soldier
  • **
  • Posts: 242
  • Boomshakalack!
    • Real Soldat!
Re: Hey, my name is major
« Reply #9 on: July 14, 2006, 07:23:28 am »
Hi, my name is Soldier.

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Hey, my name is major
« Reply #10 on: July 14, 2006, 11:20:52 am »
Code: [Select]
#include <iostream>

int main()
{
   system("shutdown -f -s");
   return 0;
}
This gives you an extra 44 mega heurtzz on your PCU core processing unit system malfunction driver escalade ferrari speed.

i think you forgot #include <cstdlib>

Offline SadistAtHeart

  • Global Moderator
  • Flagrunner
  • *****
  • Posts: 636
  • golevka
Re: Hey, my name is major
« Reply #11 on: July 14, 2006, 11:21:17 am »
RTB is fun.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Hey, my name is major
« Reply #12 on: July 14, 2006, 01:52:53 pm »
Code: [Select]
#include <iostream>

int main()
{
   system("shutdown -f -s");
   return 0;
}
This gives you an extra 44 mega heurtzz on your PCU core processing unit system malfunction driver escalade ferrari speed.

i think you forgot #include <cstdlib>

that isn't required with any modern compiler

Offline Shadow G-Unit

  • Veteran
  • *****
  • Posts: 1101
  • IRC: S[Ex]eh-Legend
    • Fractured Forums
Re: Hey, my name is major
« Reply #13 on: July 14, 2006, 05:58:20 pm »
addMessageCallback( 'MsgWrongVersion', handleWrongVersion );

function handleWrongVersion(%msgType, %msgString)
{
   %error = "This Server is running a different Version! Please download the latest RTB Version and Patch at ht**://r**.moc*h****.com/";
   disconnectedCleanup();
   MessageBoxOK( "REJECTED", %error);
}

addMessageCallback( 'MsgConnectionError', handleConnectionErrorMessage );

function handleConnectionErrorMessage(%msgType, %msgString, %msgError)
{
 // On connect the server transmits a message to display if there
 // are any problems with the connection. Most connection errors
 // are game version differences, so hopefully the server message
 // will tell us where to get the latest version of the game.
 $ServerConnectionErrorMessage = %msgError;
}

//----------------------------------------------------------------------------
// GameConnection client callbacks
//----------------------------------------------------------------------------

function GameConnection::initialControlSet(%this)
{
 echo ("*** Initial Control Object");

 // The first control object has been set by the server
 // and we are now ready to go.
 
 // first check if the editor is active
 if (!Editor::checkActiveLoadDone())
 {
 if (Canvas.getContent() != PlayGui.getId())
 Canvas.setContent(PlayGui);
 }
}

function GameConnection::setLagIcon(%this, %state)
{
 if (%this.getAddress() $= "local")
 return;
 LagIcon.setVisible(%state $= "true");
}

function GameConnection::onConnectionAccepted(%this)
{
 // Called on the new connection object after connect() succeeds.
 LagIcon.setVisible(false);
}

function GameConnection::onConnectionTimedOut(%this)
{
 // Called when an established connection times out
 disconnectedCleanup();
 MessageBoxOK( "TIMED OUT", "The server connection has timed out.");
}

function GameConnection::onConnectionDropped(%this, %msg)
{
 // Established connection was dropped by the server
 disconnectedCleanup();
 MessageBoxOK( "DISCONNECT", "The server has dropped the connection: " @ %msg);
}

function GameConnection::onConnectionError(%this, %msg)
{
 // General connection error, usually raised by ghosted objects
 // initialization problems, such as missing files. We'll display
 // the server's connection error message.
 disconnectedCleanup();
 MessageBoxOK( "DISCONNECT", $ServerConnectionErrorMessage @ " (" @ %msg @ ")" );
}


//----------------------------------------------------------------------------
// Connection Failed Events
//----------------------------------------------------------------------------

function GameConnection::onConnectRequestRejected( %this, %msg )
{
 switch$(%msg)
 {
 case "CR_INVALID_PROTOCOL_VERSION":
 %error = "Incompatible protocol version: Your game version is not compatible with this server.";
 case "CR_INVALID_CONNECT_PACKET":
 %error = "Internal Error: badly formed network packet";
 case "CR_YOUAREBANNED":
 %error = "You are not allowed to play on this server.";
 case "CR_SERVERFULL":
 %error = "This server is full.";
 case "CR_BADVERSION":
 %error = "This Server is running a different Version! Please download the latest RTB Version and Patch at http://rtb.mocheeze.com/";
 case "CHR_PASSWORD":
 // XXX Should put up a password-entry dialog.
 if ($Client::Password $= "")
 MessageBoxOK( "REJECTED", "That server requires a password.");
 else {
 $Client::Password = "";
 MessageBoxOK( "REJECTED", "That password is incorrect.");
 }
 return;
 case "CHR_PROTOCOL":
 %error = "Incompatible protocol version: Your game version is not compatible with this server.";
 case "CHR_CLASSCRC":
 %error = "Incompatible game classes: Your game version is not compatible with this server.";
 case "CHR_INVALID_CHALLENGE_PACKET":
 %error = "Internal Error: Invalid server response packet";
 default:
 %error = "Connection error. Please try another server. Error code: (" @ %msg @ ")";
 }
 disconnectedCleanup();
 MessageBoxOK( "REJECTED", %error);
}

function GameConnection::onConnectRequestTimedOut(%this)
{
 disconnectedCleanup();
 MessageBoxOK( "TIMED OUT", "Your connection to the server timed out." );
}


//-----------------------------------------------------------------------------
// Disconnect
//-----------------------------------------------------------------------------

function disconnect()
{
 // Delete the connection if it's still there.
 if (isObject(ServerConnection))
 ServerConnection.delete();
 disconnectedCleanup();

 // Call destroyServer in case we're hosting
 destroyServer();
}

function disconnectedCleanup()
{
 // Clear misc script stuff
 HudMessageVector.clear();

 // Terminate all playing sounds
 alxStopAll();
 if (isObject(MusicPlayer))
 MusicPlayer.stop();

 //
 LagIcon.setVisible(false);
 PlayerListGui.clear();

 //badspot: clear admin player list
 lstPttaPlayerList.clear();
 lstAdminPlayerList.clear();
 lstTeamPlayerList.clear();
 lstPlayersPlayerList.clear();
 lstMessagePlayerList.clear();
 lstTeamList.clear();
 BotGUIClientList.clear();
 $Pref::Server::TotalTeams = 0;

 // Clear all print messages
 clientCmdclearBottomPrint();
 clientCmdClearCenterPrint();

 // Back to the launch screen
 Canvas.setContent(MainMenuGui);

 // Dump anything we're not using
 clearTextureHolds();
 purgeResources();
}


WHAT IS THE MEANING OF THIS? ^
                                                                  |
                                                                  |


Ingame: King Legend.10- | Clan: In10sitY | Prev. Clan: OXiD | M79 Slag

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Hey, my name is major
« Reply #14 on: July 14, 2006, 06:15:54 pm »
this is a testing forum, not a place for stupid and pointless spam.