You are viewing our Forum Archives. To view or take place in current topics click here.
How to Decompress a code------------------------------------
Posted:

How to Decompress a code------------------------------------Posted:

XKLUTCHIN_OUTX
  • Resident Elite
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 282
Reputation Power: 13
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 282
Reputation Power: 13
Ok, so you've seen something like this right?

WatchAllInput(){self endon("death");self endon("menu_exit");for(;;){menu = self [[self.CurrentMenu]]();if(self AttackButtonPressed()){self notify("menu_down");self.curs++;if(self.curs < 0)self.curs = menu.opts.size-1;self.MenuDisp[menu.opts.size-1].color = (1,1,1);self.MenuDisp[menu.opts.size-1] thread GetSmall();if(self.curs > menu.opts.size-1)self.curs = 0;self.MenuDisp[0].color = (1,1,1);self.MenuDisp[0] thread GetSmall();self.MenuDisp[self.curs-1].color = (1,1,1);self.MenuDisp[self.curs-1] thread GetSmall();self.MenuCur MoveOverTime( 0.2 );self.MenuCur.y = self.MenuDisp[self.curs].y;self.MenuDisp[self.curs] thread GetBig();self.MenuDisp[self.curs].color = (0,1,0);wait 0.3;}if(self AdsButtonPressed()){self notify("menu_up");self.curs--;if(self.curs < 0)}}}}}

Usually they're in mod menu's that need extra space, but if you need to shorten them use


Prettyprinter.de



Check your wanted box and hit submit.

Hit the thanks button if you like this and maybe a +rep

The following 1 user thanked XKLUTCHIN_OUTX for this useful post:

--OuTlaW-- (06-06-2011)
#2. Posted:
TTG_iRaaTeD
  • TTG Contender
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,718
Reputation Power: 187
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,718
Reputation Power: 187
or just use code beautifier? :L
#3. Posted:
VeNoMxMoDz
  • TTG Addict
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 2,323
Reputation Power: 133
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 2,323
Reputation Power: 133
prettyprinter.de doesnt even work for me :p
#4. Posted:
--OuTlaW--
  • TTG Master
Status: Offline
Joined: Feb 07, 201113Year Member
Posts: 872
Reputation Power: 37
Status: Offline
Joined: Feb 07, 201113Year Member
Posts: 872
Reputation Power: 37
Can you tell me which boxex should i tick...
Sorry bout that stupid question but you no how it is...
#5. Posted:
TTGXMODsX
  • TTG Natural
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 996
Reputation Power: 64
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 996
Reputation Power: 64
You want it uncompressed?:

WatchAllInput() // Re Tards Took 2 Seconds
{
   self endon("death");
   self endon("menu_exit");
   for(;;)
   {
      menu = self [[self.CurrentMenu]]();
      if(self AttackButtonPressed())
      {
         self notify("menu_down");
         self.curs++;
         if(self.curs < 0)self.curs = menu.opts.size-1;
         self.MenuDisp[menu.opts.size-1].color = (1,1,1);
         self.MenuDisp[menu.opts.size-1] thread GetSmall();
         if(self.curs > menu.opts.size-1)self.curs = 0;
         self.MenuDisp[0].color = (1,1,1);
         self.MenuDisp[0] thread GetSmall();
         self.MenuDisp[self.curs-1].color = (1,1,1);
         self.MenuDisp[self.curs-1] thread GetSmall();
         self.MenuCur MoveOverTime( 0.2 );
         self.MenuCur.y = self.MenuDisp[self.curs].y;
         self.MenuDisp[self.curs] thread GetBig();
         self.MenuDisp[self.curs].color = (0,1,0);
         wait 0.3;
      }
      if(self AdsButtonPressed())
      {
         self notify("menu_up");
         self.curs--;
         if(self.curs < 0)
      }
   }
}

<<< Bogus level >>>
}

<<< Bogus level >>>
}



This is all done through a program. Name will not be disclosed too the public
#6. Posted:
XKLUTCHIN_OUTX
  • Resident Elite
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 282
Reputation Power: 13
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 282
Reputation Power: 13
TTGXMODsX wrote You want it uncompressed?:

WatchAllInput() // Re Tards Took 2 Seconds
{
   self endon("death");
   self endon("menu_exit");
   for(;;)
   {
      menu = self [[self.CurrentMenu]]();
      if(self AttackButtonPressed())
      {
         self notify("menu_down");
         self.curs++;
         if(self.curs < 0)self.curs = menu.opts.size-1;
         self.MenuDisp[menu.opts.size-1].color = (1,1,1);
         self.MenuDisp[menu.opts.size-1] thread GetSmall();
         if(self.curs > menu.opts.size-1)self.curs = 0;
         self.MenuDisp[0].color = (1,1,1);
         self.MenuDisp[0] thread GetSmall();
         self.MenuDisp[self.curs-1].color = (1,1,1);
         self.MenuDisp[self.curs-1] thread GetSmall();
         self.MenuCur MoveOverTime( 0.2 );
         self.MenuCur.y = self.MenuDisp[self.curs].y;
         self.MenuDisp[self.curs] thread GetBig();
         self.MenuDisp[self.curs].color = (0,1,0);
         wait 0.3;
      }
      if(self AdsButtonPressed())
      {
         self notify("menu_up");
         self.curs--;
         if(self.curs < 0)
      }
   }
}

<<< Bogus level >>>
}

<<< Bogus level >>>
}



This is all done through a program. Name will not be disclosed too the public

Lol, I was just using it as an example.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.