paymon
November 14th, 2010, 11:43
Well personally I think that the time for 317 delta is coming to an end, many people are moving to Project Insanity based sources, But let me help you do something better, Lets start coding 508s!
I believe that 508 are very good, in he right hands they can be turned into heaven. For you that are bored but don't want to leave your webclients behind then look no further. With 508 you can make
a webclient and fullscreen. The splendid graphics are also a benefit. Some people say that they have many bugs, but in the right hands they can debug these servers. The main difference between 317 and 508
is that in a 317 most of the information is stored in a 1 folder, for example in PI client.java but in a 508 all the information is in different folders, so not everything is in one folder. I find this much more
easier and more tidy.
I will teach you how to do the following things:
How to make yourself owner and change your account:
This is easy!
Open your source -> class/bin -> data -> characters -> mainsave = now just change your account informations = )
How to add npc's and make them talk....
Open your source -> class/bin -> data -> npcs -> npcspawn = now just add your npcs like this:
NPC ID X coords Y coords height ----------FORGET THESE------- Add any name here
spawn = 522 3087 3503 0 3084 3505 3090 3500 Shopkeeper
To make them talk, its easy:
Open your source -> src -> palidino76 -> rs2 -> player -> dialogue = now just add something like this:
case 1696://change 1696 to the case make sure it aint taken before
if (p.skillLvl[5] < 43 && p.skillLvl[18] < 35 && p.skillLvl[17] < 50) {//use this if you want only certian skills can talk to them
p.frames.showChatboxInterface(p, 241);
p.frames.animateInterfaceId(p, 9847, 241, 2);
p.frames.setNPCId(p, 1696, 241, 2);//change 1696 to the npc id
p.frames.setString(p, "Grumpy Old-Man", 241, 3);// add the name u want
p.frames.setString(p, "Leave me alone I'm busy. Come back another time.", 241, 4);// add the the thing u want it to talk here
p.NpcDialogue = 0;
p.NpcDialogueSend = true;
n.requestFaceCoords(p.absX, p.absY);
Want something more simple?
case 1: /* Man */
p.frames.showChatboxInterface(p, 241);
p.frames.animateInterfaceId(p, 9847, 241, 2);
p.frames.setNPCId(p, 1, 241, 2);//Here the npc id is '1'
p.frames.setString(p, "Man", 241, 3);
p.frames.setString(p, "Hello "+p.username+".", 241, 4);
p.NpcDialogue = 0;
p.NpcDialogueSend = true;
break;
How to change log in messages?
On 508 server this is super easy, most things to do with logging in is in side the login.java file, you can find this by:
Open your source -> src -> palidino76 -> rs2 -> io -> login
Now all you do is search for the log in message for example, if when u log into your server it says "welcome to runescape"
You search "welcome to runescape", easy pesy!
Also, to change homes just find something like this in login.java
if (p.teleportToX == -1 && p.teleportToY == -1) {
p.setCoords(3087, 3489, 0);
Just change the coords '3087' with your x coords, and also the '3489' with your y coords. Also just change the '0' with the height you want.
Ok for the people that are looking to do something bigger pm me and ill tell you more about it.
I believe that 508 are very good, in he right hands they can be turned into heaven. For you that are bored but don't want to leave your webclients behind then look no further. With 508 you can make
a webclient and fullscreen. The splendid graphics are also a benefit. Some people say that they have many bugs, but in the right hands they can debug these servers. The main difference between 317 and 508
is that in a 317 most of the information is stored in a 1 folder, for example in PI client.java but in a 508 all the information is in different folders, so not everything is in one folder. I find this much more
easier and more tidy.
I will teach you how to do the following things:
How to make yourself owner and change your account:
This is easy!
Open your source -> class/bin -> data -> characters -> mainsave = now just change your account informations = )
How to add npc's and make them talk....
Open your source -> class/bin -> data -> npcs -> npcspawn = now just add your npcs like this:
NPC ID X coords Y coords height ----------FORGET THESE------- Add any name here
spawn = 522 3087 3503 0 3084 3505 3090 3500 Shopkeeper
To make them talk, its easy:
Open your source -> src -> palidino76 -> rs2 -> player -> dialogue = now just add something like this:
case 1696://change 1696 to the case make sure it aint taken before
if (p.skillLvl[5] < 43 && p.skillLvl[18] < 35 && p.skillLvl[17] < 50) {//use this if you want only certian skills can talk to them
p.frames.showChatboxInterface(p, 241);
p.frames.animateInterfaceId(p, 9847, 241, 2);
p.frames.setNPCId(p, 1696, 241, 2);//change 1696 to the npc id
p.frames.setString(p, "Grumpy Old-Man", 241, 3);// add the name u want
p.frames.setString(p, "Leave me alone I'm busy. Come back another time.", 241, 4);// add the the thing u want it to talk here
p.NpcDialogue = 0;
p.NpcDialogueSend = true;
n.requestFaceCoords(p.absX, p.absY);
Want something more simple?
case 1: /* Man */
p.frames.showChatboxInterface(p, 241);
p.frames.animateInterfaceId(p, 9847, 241, 2);
p.frames.setNPCId(p, 1, 241, 2);//Here the npc id is '1'
p.frames.setString(p, "Man", 241, 3);
p.frames.setString(p, "Hello "+p.username+".", 241, 4);
p.NpcDialogue = 0;
p.NpcDialogueSend = true;
break;
How to change log in messages?
On 508 server this is super easy, most things to do with logging in is in side the login.java file, you can find this by:
Open your source -> src -> palidino76 -> rs2 -> io -> login
Now all you do is search for the log in message for example, if when u log into your server it says "welcome to runescape"
You search "welcome to runescape", easy pesy!
Also, to change homes just find something like this in login.java
if (p.teleportToX == -1 && p.teleportToY == -1) {
p.setCoords(3087, 3489, 0);
Just change the coords '3087' with your x coords, and also the '3489' with your y coords. Also just change the '0' with the height you want.
Ok for the people that are looking to do something bigger pm me and ill tell you more about it.