Welcome to RageScape.darkbb.com
if you have register please click
log in if you have not register please
click register to view our threads.
Welcome to RageScape.darkbb.com
if you have register please click
log in if you have not register please
click register to view our threads.
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeLatest imagesSearchRegisterLog in

 

 How to make a 317 rsps!

Go down 
AuthorMessage
Derranged
Moderator
Moderator
Derranged


Posts : 15
Join date : 2010-03-13
Age : 27
Location : Australia,QLD,Mackay

How to make a 317 rsps! Empty
PostSubject: How to make a 317 rsps!   How to make a 317 rsps! EmptySat Mar 13, 2010 8:39 pm

Hello, This is your top Moderator. Today I will be teaching you how to make a 317 rsps!
PART 1, Dowloads.

To start making a 317 rsps you need a source and client. Please visit our download page. Click here to find one!

Now to download JDK 1.6.0_18
Click here to download JDK.

You will need rar so you will need to get it from here

And the last for downloads is No-ip to be able to play on your server!
Click here to go to the site!

PART 2, Source and client changing.

Changing ingame text. Open up the Source after you have extracted it, Look for client. Make sure to open the .java one and not the .class.
Now press Ctrl+F and search for "welcome".
And there should be a bunch of messages. You can change the messages that are there to what you want them to be.

Now you must compile, But if you compile and it says Error then you have to right click compile and edit it to make 1.6.0_** to 1.6.0_18 and save.

Now open up the client, Search for "gui" or "egui".
If you have Gui: Open Gui up and search for 127.0.0.1 and change them both to your ip.
If you have Egui: Open up Egui and right near the top there should be three ip's. Change all three to your ip address.

Now after that on the main page were you can run the client there should be the background picture for the client. You can edit it with paint and make it say what your rsps is called and not there's, And do NOT change what the pictures file name is orelse the client can't find it!

Now there should be a compiler, Edit it exactly like you did with the sources one. Then compile, Now you can play on your server!

PART 3, Changing more text and adding npc's and becoming owner!

Look for a characters file or search for savedgames and in there search for your username, You can delete every other username that is in there. If you haven't made an acc yet you will have to make one then log out and go back to this. Get your username and open it. Search for "right" and change the rights to 3.

If you wish to delete all npc's and add your own open search for autospawn in your source. This file should be in config and it is a CFG file. Open it and Delete all of them except for 1. Now compile and run. Launch your client and login. Now go to a position were you would like to spawn an npc. Spawn the npc by typing ::npc (id) . Now stay in the position of were you spawned the npc and now type ::coords hopefull that command works. If it did in the chat box it should say the postition. Now open autospawn and were it have the numbers like this "3125, 1351" Type in what the coords command gave you. Now there should be the id of the npc there aswell, You should see it and change it to your npc's id. Now save and compile. Rune the source again and launch your client. Now go over to were you spawned the npc. Hopefully it's there orelse something has gona wrong.

To change more text like the bank open text handler and search for "The bank" now it should find a heap if things. Change all the ones that say the name of the normal source to your rsps's name. Now save and compile. Now test it by playing the game and opening up the bank. This should have worked and if this doesn't work open up other files and search for "the bank". If no other files have it then you have made an error.

PART 4, How to make commands.

To start off open your source and search for client. Open the client.java and search for this "if (command.startsWith" withought inverted commas. Now it should come up with something like this.

private void customCommand(String command) {
if (command.startsWith("coords") && playerRights >= 3) {


But your command will be different. To make a new command you must copy and paste. To make a command that refils you special copy and past this under another command. And make sure to change the "derranged" to your username. But leave inverted commas.

if(command.startsWith("refillspec") && playerName.equalsIgnoreCase("derranged")){
specialAmount += 100;
specAttack();
}

Now save, compile and play. Test this out. Hopefully this works!

I will be adding more commands soon.

PART 5, This part contains alot of things that will help your server be more succesful!

How to change exp from attacking an npc.

Open client.java in your source and search for this "TotalExp = (double)" without inverted commas.
There should be something like this that comes up.

TotalExp = (double) (500 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), SkillID);
} else {
TotalExp = (double)(250 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerAttack);
addSkillXP((int)(TotalExp), playerDefence);
addSkillXP((int)(TotalExp), playerStrength);
}
TotalExp = (double)(225 * hitDiff);
TotalExp = (double)(TotalExp * CombatExpRate);
addSkillXP((int)(TotalExp), playerHitpoints);
actionTimer = 7;
}
return true;

Edit the Exp numbers to the ammount you want. Save, compile and play!

Here are all of the F2P shops in Runescape!
To add these go to shops.CFG and delete only the shops that are in there. Do NOT delete anything else! And then add these to were the other shops once were!


shop = 1 Varrock_General_Store 1 1 1931 5 1935 2 1735 2 1925 3 1923 2 1887 2 590 2 1755 2 2347 5 550 5
shop = 2 Aubury's_Rune_Store 2 2 554 5000 555 5000 556 5000 557 5000 558 5000 559 5000 562 500 560 200
shop = 3 Falador_General_Store 1 1 1931 5 1935 2 1735 2 1925 3 1923 2 1887 2 590 2 1755 2 2347 5 550 5
shop = 4 Cassie's_Shield_Shop 2 2 1171 5 1173 4 1189 3 1175 2 1191 2 1177 0 1193 0 1181 0
shop = 5 Flynn's_Mace_Market 2 2 1422 5 1420 4 1424 4 1428 3 1430 1
shop = 6 Helmet_Shop. 2 2 1139 5 1137 3 1141 3 1143 2 1145 1 1155 4 1153 3 1157 3 1159 2 1161 1
shop = 7 Zaff's_Superior_Staffs! 2 2 1391 5 1379 5 1389 5 1381 2 1383 2 1385 2 1387 2
shop = 8 Thessalia_Fine_Clothes 2 2 1005 3 1129 12 1059 10 1061 10 1757 1 1013 5 1015 3 1011 2 1007 4 950 5 428 3 426 3
shop = 9 Varrock_Swordshop. 2 2 1277 5 1279 4 1281 4 1283 3 1285 3 1287 2 1291 4 1293 3 1295 3 1297 2 1299 2 1301 1 1205 10 1203 6 1207 5 1217 4 1209 3 1211
shop = 11 Lowe's_Archery_Emporium 2 2 882 2000 884 1500 886 1000 888 800 890 600 877 1500 841 4 839 4 843 3 845 3 849 2 847 2 853 1 851 1 837 2
shop = 12 Herquin's_Gems. 2 2 1623 0 1621 0 1619 0 1617 0 1607 0 1605 0 1603 0 1601 0
shop = 13 Wayne's_Chains!_-_Chainmail_specialist. 2 2 1103 3 1101 2 1105 1 1107 1 1109 1 1111 1
shop = 14 Rommik's_Crafty_Supplies. 2 2 1755 3 1592 2 1597 1 1595 1 1733 1 1734 1 1599 1 5523 1
shop = 15 Rimmington_General_Store 1 1 1931 5 1935 2 1735 2 1925 3 1923 2 1887 2 590 2 1755 2 2347 5 550 5
shop = 16 Brian's_Archery_Supplies. 2 2 886 1500 888 1000 890 800 843 4 845 4 849 3 847 3 853 2 851 2
shop = 17 Food_Store 2 2 1933 3 2132 1 2138 1 1965 3 1963 3 1951 1 2309 0 1973 1 1985 3 1982 3 1942 1
shop = 18 Gerrant's_Fishy_Business. 2 2 303 5 307 5 309 5 311 2 301 2 313 1500 314 1000 317 0 327 200 345 0 321 0 335 0 349 0 331 0 359 0 377 0 371 0
shop = 19 Brian's_Battleaxe_Bazaar. 2 2 1375 4 1363 3 1365 3 1367 1 1369 1 1371 1
shop = 20 Grums_Gold_Exchange. 2 2 1375 4 1363 3 1365 3 1367 1 1369 1 1371 1
shop = 21 Betty's Magic Emporium. 2 2 554 5000 555 5000 556 5000 557 5000 558 5000 559 5000 562 500 560 200 221 300 579 1 1017 1
shop = 22 Lumbridge_General_Store 1 1 1931 5 1935 2 1735 2 1925 3 1923 2 1887 2 590 2 1755 2 2347 5 550 5
shop = 23 Bob's_Brilliant_Axes. 2 2 1265 5 1351 10 1349 5 1353 3 1363 5 1365 2 1369 1
shop = 24 Zeke's_Superior_Scimitars. 2 2 1321 5 1323 3 1325 2 1329 1
shop = 25 Dommik's Crafting Store. 2 2 1755 2 1592 4 1597 2 1595 2 1733 3 1734 100 1599 3 5523 10
shop = 26 Al-Kharid_General_Store 1 1 1931 5 1935 2 1735 2 1925 3 1923 2 1887 2 590 2 1755 2 2347 5 550 5
shop = 27 Louie's_Armoured_Legs_Bazaar 2 2 1075 5 1067 3 1069 2 1077 1 1071 1 1073 1
shop = 28 Rannaerl's_Super_Skirt_Store. 2 2 1087 5 1081 3 1083 2 1089 1 1085 1 1091 1

How to change how high your skills can go!

Open client.java and search for "return 99" withought inverted commas.
you should see something like this.

for (int lvl = 1; lvl <= 99; lvl++) {
points += Math.floor((double) lvl + 300.0
* Math.pow(2.0, (double) lvl / 7.0));
output = (int) Math.floor(points / 4);
if (output >= exp) {
return lvl;

Now what I want you to change is this part "for (int lvl = 1; lvl <= 99; lvl++) {" . Change the 99 to whatever number you want your skills to go to. Do not set it to high. I think the maximum is 135.



More to come to part 5 soon


My reguards, Derranged
Back to top Go down
https://ragescape.forumotion.net/forum.htm
 
How to make a 317 rsps!
Back to top 
Page 1 of 1
 Similar topics
-
» How to make a 562 rsps with Pali source!
» RageScape 317 rsps!
» 317 rsps source and client list.

Permissions in this forum:You cannot reply to topics in this forum
 :: Server Tutorial-
Jump to: