Jump to content
Pyro GoD

In-Game Vote4Cash Button!! [PI]

Recommended Posts

Hey guys, I recently made this just out of curiosity... to see if it worked.. In the end it did and seems pretty cool/useful replacement of a useless thing :D

What this does: Replaces Mini-Map button with a Vote4Cash button.
Difficulty: 1/10

*THIS IS ALL CLIENT SIDED*

Open up client.java, and find something similar to this.

[CODE] if(l == 1005) {
launchURL("WM.bat");
pushMessage("Loading worldmap.", 0, ""); [/CODE]

Replace it with this:

[CODE] if(l == 1005) {
launchURL("www.FORUMS.com/vote.php");
pushMessage("Thanks for Voting!", 0, ""); [/CODE]

Now look for

[CODE] if(is508 == true || is525 == true || is562 == true) {
if(super.mouseX >= 527 && super.mouseX <= 560 && super.mouseY >= 126 && super.mouseY <= 159) {
menuActionName[1] = "World Map";
menuActionID[1] = 1005;
menuActionRow = 2;
} [/CODE]

and replace it with

[CODE] if(is508 == true || is525 == true || is562 == true) {
if(super.mouseX >= 527 && super.mouseX <= 560 && super.mouseY >= 126 && super.mouseY <= 159) {
menuActionName[1] = "Vote4Cash";
menuActionID[1] = 1005;
menuActionRow = 2;
} [/CODE]

Next, you will need to replace the mini-map icon. You can either make your own, or use mine. *Note* It is pretty hard to make one that fits decently inside the circle properly so I suggest using mine.

[url]http://www.mediafire.com/?sywd222ae1du1we[/url]

Take these and put them in C:\Your Cache\Sprites\Gameframe *Note* Make sure to change them to the same name as your globe sprites. There should be two, one for standby and one for hover.

Hope you guys liked the tut :) Yes it is simple.. I know :) But useful and unique :D
I do NOT give permission to post this ANYWHERE else. You may request me to post it somewhere, but I will not allow it to be posted.
You must give all credits to me, as this has NEVER been done be for and I am the original creator. Thanks :)

Finished product below :)

[IMG]http://i41.tinypic.com/6qk8bs.png[/IMG] Edited by Pyro GoD

Share this post


Link to post
Share on other sites
this is sick. i will use this, and give credits.

Share this post


Link to post
Share on other sites
Looks nice. I'd work on making the button sprite look nicer though. ;P

Share this post


Link to post
Share on other sites
I just made new sprite buttons like 3 seconds ago, gonna upload them, they dont have the gay black circle :P

Share this post


Link to post
Share on other sites
63 Views, 2 comments? Psh. I'd like some feedback guys, and a thanks if you used it :D

Share this post


Link to post
Share on other sites
Really simple. However it is a great alternative for the world map that some (most) people don't use.

Share this post


Link to post
Share on other sites
I know its simple, but is is very useful :) thanks!

Share this post


Link to post
Share on other sites
I may use your idea and make it open an interface and have server information interface that has multiple links on it.

Share this post


Link to post
Share on other sites

×