Zero Mercy
June 24th, 2010, 07:31
Information: Very simple guide showing players how to open a log-in message interface.
Difficulty: 0
Classes Modified: Client.java
Use: Opens an interface with your log-in messages when your players log-in.
Open your client.java and find this:
public void initialize()
You should have got something like this:
public void initialize() {
// first packet sent
If your log-in stuff ( custom stuff, not configuration ) is at the start of your initialize(), I suggest you
move it to around here:
if(inPcGame()){
toX = 2657;
toY = 2639;
}
getTotalLevel();
specAttack();
WriteEnergy();
l33thax(12323);
l33thax(7574);
l33thax(7599);
l33thax(7549);
l33thax(8493);
l33thax(7499);
This will let the game load before loading your stuff. Add it after the last 'l33thax'.
If you have it at the start, it will make you lag at startup, or atleast mine did.
Now under these 'l33thax' add this:
sendQuest("@gre@YOURSERVERNAMEHERE", 8144); //Title
sendQuest("Welcome!", 8145);
clearQuestInterface();
sendQuest("@red@~Staff", 8147);
sendQuest("Owner:", 8148);
sendQuest("Admins:", 8149);
sendQuest("Mods:", 8150);
sendQuest("@red@~Updates", 8151);
sendQuest("This log-in message", 8152);
sendQuest("@red@~News", 8153);
sendQuest("I made this new log-in message!", 8154);
sendQuest("", 8155);
sendQuest("@red@SCROLL DOWN!", 8156);
sendQuest("@red@~Donating", 8157);
sendQuest("Ever thought about donating?", 8158);
sendQuest("For only #$ you can get Donator Status,", 8159);
sendQuest("Donator Zone, Donator Shop, and Donator Items", 8160);
sendQuest("Also, without donations we can't afford to keep", 8161);
sendQuest("the server up. We have to pay for the", 8162);
sendQuest("domain, web hosting, dedicated server, and more.", 8163);
sendQuest("", 8164);
sendQuest("@gre@Thanks for playing YOURSERVERNAMEHERE", 8165);
for(int = 8166; i <= 8197; i++) {
sendQuest("", i);
}
showInterface(8134);
flushOutStream();
Now for the editing
In both of the 'YOURSERVERNAMEHERE' put your server name.
In the 'OWNER: ADMIN: MOD:' put your staff.
In the line under '~Updates' put any recent updates.
In the line under '~News' put any huge news.
In the # in 'For only #$' put your donation price.
Or, if you want to customize it yourself, just delete all the text and add your own information in between all the ' "" '.
Pictures:
First part
Only the registered members can see the link.
Rest of it...
Only the registered members can see the link.
Credits:
Me - 100%
NOTE: I don't care if this guide gets leeched to other sites. Let it help other people too. I just ask one
thing: Please give me credits.
Difficulty: 0
Classes Modified: Client.java
Use: Opens an interface with your log-in messages when your players log-in.
Open your client.java and find this:
public void initialize()
You should have got something like this:
public void initialize() {
// first packet sent
If your log-in stuff ( custom stuff, not configuration ) is at the start of your initialize(), I suggest you
move it to around here:
if(inPcGame()){
toX = 2657;
toY = 2639;
}
getTotalLevel();
specAttack();
WriteEnergy();
l33thax(12323);
l33thax(7574);
l33thax(7599);
l33thax(7549);
l33thax(8493);
l33thax(7499);
This will let the game load before loading your stuff. Add it after the last 'l33thax'.
If you have it at the start, it will make you lag at startup, or atleast mine did.
Now under these 'l33thax' add this:
sendQuest("@gre@YOURSERVERNAMEHERE", 8144); //Title
sendQuest("Welcome!", 8145);
clearQuestInterface();
sendQuest("@red@~Staff", 8147);
sendQuest("Owner:", 8148);
sendQuest("Admins:", 8149);
sendQuest("Mods:", 8150);
sendQuest("@red@~Updates", 8151);
sendQuest("This log-in message", 8152);
sendQuest("@red@~News", 8153);
sendQuest("I made this new log-in message!", 8154);
sendQuest("", 8155);
sendQuest("@red@SCROLL DOWN!", 8156);
sendQuest("@red@~Donating", 8157);
sendQuest("Ever thought about donating?", 8158);
sendQuest("For only #$ you can get Donator Status,", 8159);
sendQuest("Donator Zone, Donator Shop, and Donator Items", 8160);
sendQuest("Also, without donations we can't afford to keep", 8161);
sendQuest("the server up. We have to pay for the", 8162);
sendQuest("domain, web hosting, dedicated server, and more.", 8163);
sendQuest("", 8164);
sendQuest("@gre@Thanks for playing YOURSERVERNAMEHERE", 8165);
for(int = 8166; i <= 8197; i++) {
sendQuest("", i);
}
showInterface(8134);
flushOutStream();
Now for the editing
In both of the 'YOURSERVERNAMEHERE' put your server name.
In the 'OWNER: ADMIN: MOD:' put your staff.
In the line under '~Updates' put any recent updates.
In the line under '~News' put any huge news.
In the # in 'For only #$' put your donation price.
Or, if you want to customize it yourself, just delete all the text and add your own information in between all the ' "" '.
Pictures:
First part
Only the registered members can see the link.
Rest of it...
Only the registered members can see the link.
Credits:
Me - 100%
NOTE: I don't care if this guide gets leeched to other sites. Let it help other people too. I just ask one
thing: Please give me credits.