Again the question remains why the hell didn't you or frugoo use a switch statement ???
|
|
This is Frugoo's Black partyhat for non-renamed clients =]
All creds for the ORIGINAL Code go to Frugooscape, all I did was change it to work with non renamed clients =]
Ok ALL of this tut is in Class8.java
Ok find
And make itCode:anIntArray195 = new int[anInt203];
ok next findCode:anIntArray195 = new int[anInt203+frugooItems];
And under that addCode:class8.method203(true, aClass30_Sub2_Sub2_183);
And in class8 declare thisCode:if(i == 7621){ class8.aStringArray189 = new String[5]; class8.aStringArray189[1] = "Wear"; class8.anIntArray156 = new int[1]; class8.anIntArray160 = new int [1]; //Purple: 926-127 class8.anIntArray156[0] = 926; class8.anIntArray160[0] = 128; class8.anInt174 = 2635;//Item Look class8.anInt181 = 440; class8.anInt190 = 76; class8.anInt198 = 1850; class8.anInt204 = 0; class8.anInt169 = 1; class8.anInt194 = 1; class8.anInt165 = 187; class8.anInt200 = 363; class8.anInt175 = 29; class8.anInt197 = 87; class8.aString170 = "Black Party Hat"; class8.aByteArray178 = "A Black Party Hat Say Thanks to frugoo <3.".getBytes(); }
ALL CREDITS FOR THE ORIGINAL CODE GOES TO FRUGOO!!!! ALL I DID WAS MAKE IT COMPATABLE FOR NON-RENAMED CLIENTS.Code:public static int frugooItems = 5;
Again the question remains why the hell didn't you or frugoo use a switch statement ???
Code:switch(i) { case 7621: class8.aStringArray189 = new String[5]; class8.aStringArray189[1] = "Wear"; class8.anIntArray156 = new int[1]; class8.anIntArray160 = new int [1]; //Purple: 926-127 class8.anIntArray156[0] = 926; class8.anIntArray160[0] = 128; class8.anInt174 = 2635;//Item Look class8.anInt181 = 440; class8.anInt190 = 76; class8.anInt198 = 1850; class8.anInt204 = 0; class8.anInt169 = 1; class8.anInt194 = 1; class8.anInt165 = 187; class8.anInt200 = 363; class8.anInt175 = 29; class8.anInt197 = 87; class8.aString170 = "Black Party Hat"; class8.aByteArray178 = "A Black Party Hat Say Thanks to frugoo <3.".getBytes(); break; }
hardcoding is not the way to go. i *****ed at frugoo for this when he first posted it. use a caching system like i do, its not that hard.
Xerozcheez how much woudl u sell for? is it hard to use?
What teh item look thingf ro a dragon chain?
| « my FINAL item release | White D'hide Chaps! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |