• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

PS3 C# Bo2 1.19 Loop Directions

Elite_Modz

Active Poster
Retired Staff
Active Member
Console ID Poster
Start:
Code:
timer14.Start();

Stop:
Code:
timer14.Stop();

Add this under "public static PS3API PS3 = new PS3API();":
Code:
private static int Countername1;

Add this under "InitializeComponent();":
Code:
Countername1 = 0;

Loop Code(Put this in a timer):
Code:
try
  {
  Countername1++;
  switch (Countername1)
  {
  case 1:
  {
  byte[] bytes = Encoding.ASCII.GetBytes("[{+forward}]");
  Array.Resize<byte>(ref bytes, bytes.Length + 1);
  PS3.SetMemory(0x26c0658, bytes);
  PS3.SetMemory(0x26C067F, bytes);
  break;
  }
  case 2:
  {
  byte[] array = Encoding.ASCII.GetBytes("[{+back}]");
  Array.Resize<byte>(ref array, array.Length + 1);
  PS3.SetMemory(0x26c0658, array);
  PS3.SetMemory(0x26C067F, array);
  break;
  }
  case 3:
  {
  byte[] buffer3 = Encoding.ASCII.GetBytes("[{+moveright}]");
  Array.Resize<byte>(ref buffer3, buffer3.Length + 1);
  PS3.SetMemory(0x26c0658, buffer3);
  PS3.SetMemory(0x26C067F, buffer3);
  break;
  }
  case 4:
  {
  byte[] buffer4 = Encoding.ASCII.GetBytes("[{+moveleft}]");
  Array.Resize<byte>(ref buffer4, buffer4.Length + 1);
  PS3.SetMemory(0x26c0658, buffer4);
  PS3.SetMemory(0x26C067F, buffer4);
  break;
  }
  }
  if (Countername1 == 4)
  {
  Countername1 = 0;
  }
  }
  catch
  {

  }

Credits: Mx1357
 
This is really messy?
What is all this?
Depends what you consider messy?

Its a bo2 name changer by using a timer it will loop the d-pad directions.
The Counternames are so it can repeat (the cases go back to 1; a loop).
The timers are needed if you were to have a start/stop button.
 
General chit-chat
Help Users
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    excalibur122222 is our newest member. Welcome!
  • Chat Bot:
    mohaz is our newest member. Welcome!
  • Chat Bot:
    mohaz has posted a new reply in the thread "Console ID #8670".
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    BLUS31156 is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Douglas Oliveira has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    vbreno12 is our newest member. Welcome!
  • Chat Bot:
    vbreno12 has posted a new reply in the thread "Console ID #8670".
  • Chat Bot:
    Eemayzin is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    Omar-_- is our newest member. Welcome!
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
      Chat Bot: QM|T_JinX has joined the room.
      Back
      Top