»»The Ultimate AdminGlow! *Newb Friendly & Includes Pictures!*««
»»!Zee Ultimate AdminGlow!««
If you read this please give feedback and comments... Thanks.
RESULTS:
Front View
[Only registered and activated users can see links. Click Here To Register...]
Top View Walking
[Only registered and activated users can see links. Click Here To Register...]
Front View After shot
[Only registered and activated users can see links. Click Here To Register...]
Top View
[Only registered and activated users can see links. Click Here To Register...]
Front View Walking Towards
[Only registered and activated users can see links. Click Here To Register...]
Front View Turned Off
[Only registered and activated users can see links. Click Here To Register...]
Introduction:
Hey, I wasn't thinking about releasing this since it then it wouldn't be "special" :p anymore, but I thought that you should get a taste of it... :), I have made a simple command that'll make a huge impact on admins.... I think you love it and they'll too. I not sure if something like this has been posted... But so far I haven't seen one so I'm going to post this...
Purpose:
To add a ::adminglow command to you server...
Credits:
All to me, V 3 N Ø M™
Difficulty:
-10/10 (If you couldn't add it, then... I don't know what to say...)
Assumed Knowledge:- Copy and Pasting
- Common Sense
- Basic Java Knowledge
- Patience
- Reading Skills
Class Modified:
Client.java
Notes:
Make sure to read the bolded parts! It's the key words and it'll help!
Warning: This may lag your server because of all the gfx that it uses...
Procedures:
Step 1:
Open you
Client.java...
Step 2:
Search for:
Code:
public class client extends Player implements Runnable {
And
add this
under it:
Code:
public boolean aGlow = false;
Step 3:
Search for this: (Or, just find where you usually add all
your commands)
Code:
command.replaceAll("no-ip", "imgay");
command.replaceAll("servegame", "imgay");
command.trim();
And
under the:
Add this:
Code:
if (command.equalsIgnoreCase("adminglow") && playerRights >= 2)//created by V 3 N 0 M
{
startAnimation(1499);
stillgfxz2(451, absY, absX, 1, 0);
stillgfxz2(451, absY, absX-1, 1, 0);
stillgfxz2(451, absY-1, absX, 1, 0);
stillgfxz2(451, absY+1, absX, 1, 0);
stillgfxz2(451, absY, absX+1, 1, 0);
stillgfx(437, absY, absX);
stillgfx(293, absY, absX);
stillgfx(379, absY, absX);
sendMessage("Everything starts to burn around you!!");
aGlow = true;
}
else if (command.equalsIgnoreCase("aglowoff") && playerRights >= 2){
sendMessage("All the fire and destruction goes away...");
aGlow = false;
}
Step 4:
Now
search for this:
Code:
public boolean process() {
Under that
add:
Code:
if(aGlow == true) {//By V 3 N 0 M
{
stillgfx(76, absY, absX-1);
stillgfx(76, absY, absX+1);
stillgfx(76, absY-1, absX);
stillgfx(76, absY+1, absX);
stillgfx(246, absY, absX);
stillgfx(327, absY, absX);
stillgfxz2(310, absY, absX+1, 3, 2);
stillgfxz2(310, absY, absX-1, 3, 2);
stillgfxz2(310, absY+1, absX, 3, 2);
stillgfxz2(310, absY-1, absX, 3, 2);
stillgfx(197, absY, absX+1);
stillgfx(197, absY+1, absX);
stillgfx(197, absY-1, absX);
stillgfx(197, absY, absX-1);
stillgfx(78, absY, absX+2);
stillgfx(78, absY+2, absX);
stillgfx(78, absY-2, absX);
stillgfx(78, absY, absX-2);
stillgfx(78, absY+1, absX+1);
stillgfx(78, absY-1, absX-1);
stillgfx(78, absY-1, absX+1);
stillgfx(78, absY+1, absX-1);
updateRequired = true;
appearanceUpdateRequired = true;
}
}
Step 5:
Save,
Compile and
Run your server! Well Done!
PLEASE POST FEEDBACK, QUESTIONS, AND ERRORS! THANKS!!
Thanks,~ V 3 N Ø M™ ~