Post: World At War Style Name Changer
10-29-2015, 03:52 AM #1
iMoD1998
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Hello guys a small release as i bricked my PS3 :madsal: anyway i got bored and made some WAW styled names like RAIN, CYCL etc.
The code could be cleaned up but o well hope to see some cool name changes even adapt it to your own liking.

Firstly The variables somewhere outside the loop
    
string Gamertag = "iMoD1998";
bool Rainbow = false, Cycle = false, KDR = false, Reverse = false;
int Colour = 0, Shifted = 0, CycleColour = 1, CycleColourPrevious = 0, CycleShifted = 0, KDRPostion = 0;
int[] Colours = new int[] { 1, 2, 3, 4, 5 };//Have no idea why i did this


RAIN

    
if (Rainbow)
{
string Buffer = "";
Shifted = Shifted >= Colours.Length ? 0 : Shifted;
Colour = Shifted;
for (int i = 0; i < Gamertag.Length; ++i)
{
Colour = Colour >= Colours.Length ? 0 : Colour;
Buffer += "^" + Colours[Colour] + Gamertag[i];
Colour++;
}
SetName(Buffer);
Shifted++;
}



CYCL

    
if(Cycle)
{
string Buffer = "";
CycleColour = CycleShifted == Gamertag.Length ? CycleColour + 1 : CycleColour;
CycleShifted = CycleShifted >= Gamertag.Length ? 0 : CycleShifted;
for (int i = 0; i < Gamertag.Length; ++i)
{
if (i <= CycleShifted)
{
CycleColour = CycleColour >= Colours.Length ? 0 : CycleColour;
Buffer += "^" + Colours[CycleColour] + Gamertag[i];
}
else
{
CycleColourPrevious = CycleColour == 0 ? 4 : CycleColour - 1;
Buffer += "^" + Colours[CycleColourPrevious] + Gamertag[i];
}
}
SetName(Buffer);
CycleShifted++;
}



KDR

    
if(KDR)
{
string Buffer = "";
for (int i = 0; i < Gamertag.Length; ++i)
{
Buffer += "^" + (i == KDRPostion ? 1 : 7) + Gamertag[i];
}
KDRPostion = Reverse ? KDRPostion - 1 : KDRPostion + 1;
Reverse = Reverse && KDRPostion > 0 ? true : KDRPostion == Gamertag.Length - 1;
SetName(Buffer);
}



Preview


Last edited by iMoD1998 ; 11-01-2015 at 01:39 AM. Reason: Fixed KDR

The following 4 users say thank you to iMoD1998 for this useful post:

Boliberrys, Sabotage, God, MOD-RuLeZ
10-29-2015, 03:57 AM #2
Nice release! Happy

The following user thanked Bachwheelinq for this useful post:

iMoD1998
10-29-2015, 09:03 PM #3
SC58
Former Staff
why don't you do move, the max name size is 32 so just move the name bytes to end and back to start and u can simply do it :p

The following user thanked SC58 for this useful post:

iMoD1998
10-30-2015, 10:17 AM #4
iMoD1998
Pokemon Trainer
TBH bro i was up untill 11 in the day when i was doing this so i was high basically like why tf did i do that int array lmao xD
10-30-2015, 10:32 AM #5
Sabotage
Gaming Squad
how 2 brick an xbox 2?

NiCe HaX!!!

The following user thanked Sabotage for this useful post:

iMoD1998
10-31-2015, 08:26 PM #6
Boliberrys
^^ Sexy ^^
Originally posted by iMoD1998 View Post
Hello guys a small release as i bricked my PS3 :madsal: anyway i got bored and made some WAW styled names like RAIN, CYCL etc.
The code could be cleaned up but o well hope to see some cool name changes even adapt it to your own liking.

Firstly The variables somewhere outside the loop
    
string Gamertag = "iMoD1998";
bool Rainbow = false, Cycle = false, KDR = false;
int Colour = 0, Shifted = 0, CycleColour = 1, CycleColourPrevious = 0, CycleShifted = 0, KDRPostion = 0;
int[] Colours = new int[] { 1, 2, 3, 4, 5 };//Have no idea why i did this


RAIN

    
if (Rainbow)
{
string Buffer = "";
Shifted = Shifted >= Colours.Length ? 0 : Shifted;
Colour = Shifted;
for (int i = 0; i < Gamertag.Length; ++i)
{
Colour = Colour >= Colours.Length ? 0 : Colour;
Buffer += "^" + Colours[Colour] + Gamertag[i];
Colour++;
}
SetName(Buffer);
Shifted++;
}



CYCL

    
if(Cycle)
{
string Buffer = "";
CycleColour = CycleShifted == Gamertag.Length ? CycleColour + 1 : CycleColour;
CycleShifted = CycleShifted >= Gamertag.Length ? 0 : CycleShifted;
for (int i = 0; i < Gamertag.Length; ++i)
{
if (i <= CycleShifted)
{
CycleColour = CycleColour >= Colours.Length ? 0 : CycleColour;
Buffer += "^" + Colours[CycleColour] + Gamertag[i];
}
else
{
CycleColourPrevious = CycleColour == 0 ? 4 : CycleColour - 1;
Buffer += "^" + Colours[CycleColourPrevious] + Gamertag[i];
}
}
SetName(Buffer);
CycleShifted++;
}



KDR

    
if(KDR)
{
string Buffer = "";
for (int i = 0; i < Gamertag.Length; ++i)
{
Buffer += "^" + (i == KDRPostion ? 1 : 7) + Gamertag[i];
}
KDRPostion = Reverse ? KDRPostion - 1 : KDRPostion + 1;
Reverse = Reverse && KDRPostion > 0 ? true : KDRPostion == Gamertag.Length - 1;
SetName(Buffer);
}



Preview




iMod, i dont understand this part:

KDRPostion = Reverse ? KDRPostion - 1 : KDRPostion + 1;

Cause you never declared Reverse.

Please explain :3
11-01-2015, 01:37 AM #7
iMoD1998
Pokemon Trainer
Originally posted by Boliberrys View Post
iMod, i dont understand this part:

KDRPostion = Reverse ? KDRPostion - 1 : KDRPostion + 1;

Cause you never declared Reverse.

Please explain :3


O sorry bro thats a bool to check if it should go back to the start
11-01-2015, 02:26 AM #8
Boliberrys
^^ Sexy ^^
Originally posted by iMoD1998 View Post
O sorry bro thats a bool to check if it should go back to the start


Ohhh now makes sense.

Thanks alot for this thread bro Happy

The following user thanked Boliberrys for this useful post:

iMoD1998
11-01-2015, 03:12 AM #9
iMoD1998
Pokemon Trainer
Originally posted by Boliberrys View Post
Ohhh now makes sense.

Thanks alot for this thread bro Happy


Np problem bro have fun Smile

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo