• Log in or sign up for an account here: https://www.sythe.org/login

[guide] coding a server mystical wonda's way [guide]

  • Thread starter Thread starter Mystical Wonda
  • Start date Start date
Status
Not open for further replies.
M

Mystical Wonda

Guest
Purpose: To code your Server.

Difficulty: 1/10

Assumed Knowledge: C&P, search

Server Base: allstarscape

Classes Modified: Client.java, Npc.handler

ok when you get your source open client.java

serch with Ctrl+H for notepad users and press F5 or F8 for textpad users

search
Code:
Allstar-Scape
and you should see something like this,
Code:
  // Playercount at top of screen
    public void writePlayers() {
        int players = PlayerHandler.getPlayerCount();

        sendFrame126("@gra@Players - " + players, 6570);
        sendFrame126("Allstar-Scape", 6572);
        sendFrame126("", 6664);
        setInterfaceWalkable(6673); // 6673}}}
        // setInterfaceWalkable(14600);//201

or

Code:
 public void newWelc() {
        String owner = "Mod Allstar";
        String LU = "Elemental Armor";
        String Rep = "" + reputation;

        sendQuest("@bla@~~~ Allstar-Scape ~~~", 15950);
        sendQuest("", 15960);
        sendQuest("", 15961);
        sendQuest("Server created by Allstarscape", 15959);
        sendQuest("", 15951);
        sendQuest("Reputation: @whi@" + Rep, 15952);
        sendQuest("", 15953);
        sendQuest("", 15954);
        sendQuest("", 15955);
        sendQuest("", 15956);
        sendQuest("", 15957);
        sendQuest("", 15958);

these are for the first to in allstarscape!!
replace all the allstar-scapes in the whole client.java with your server name

save and compile......

then open NpcHandler.java

search allstar-scapes or allstarscapes, and do the same thing!
I DIDNT HAVE MUCH TIME TO DO THIS SO ITS SHORT AND SWEET PLZ DONT FLAME ME ITS MY FIRT TUTORIAL!
 
Status
Not open for further replies.
Back
Top