Jump to content

Danielxx

Contributor
  • Content count

    1,226
  • Joined

  • Last visited

Everything posted by Danielxx

  1. Hello everyone, this is a basic tutorial for new coders learning how to get started when coding 718 Server. This is simply a Tutorial on how to get yourself going when Coding your own 718. I will Make sections in this tutorial you can jump to instead of reading threw all of it. I will be covering the Following Areas -Downloading Jdk and jre7 -Finding a Source to begin with -Making yourself Admin/Owner -Setting up a new Home/Xp Rates/Name and so on -Changing locations of Npc's/Adding items to Shops/Editing prices. -Making Custom Titles -Creating New Ranks - How To Add Bonus XP To Donator Ranks Downloading Jdk and Jre7: if (username.equalsIgnoreCase[/CODE] and change the name to yours once again. Secondly- You wil want to go to Commands.java once you are there scroll down threw the commands you will see some commands as this - if (cmd[0].equalsIgnoreCase("killall") && player.getUsername().equalsIgnoreCase("daniel")) {[/CODE] and some like this - [CODE]if (cmd[0].equalsIgnoreCase("donorshop")) {[/CODE] now basically what these mean is that because the 1st code has a name attached to the command only that person can perform that command which is very handy for ;;god and such. the 2nd command i have shown has no name attached so any admin can perform that command. go threw each command and change "Daniel" to your name or if you want all admins to use it just remove the : [CODE] && player.getUsername().equalsIgnoreCase("daniel"[/CODE] Allways hit save and compile. then run and you wil have admin rights in game. i no for a few such as " Lost Realm and a few others" you wil need to type ;;admin. and wil set you admin in game. [/Spoiler] Setting up a new Home/Xp Rates/Name and so on [B]Changing Server name & Home-[/B] This is pretty simple basic stuff, Firstly go to [B]Settings.java[/B] and you will see this [CODE]public static final String SERVER_NAME = "TEXT";[/CODE] after that change "TEXT" to the name you have selected for your rsps. simple and done. Scroll down to - [CODE]public static final WorldTile START_PLAYER_LOCATION = new WorldTile[/CODE] when you see that you wil see coords for the current home simply change the coords to which location you want to be home, to do so find the location you want and type ;;coords or ;;mypos ingame then press ` and it wil open the Developers Console and wil tell you, your current coords. then simply change the rest of the locations to the new one you have chosen. You wil also see Skilling xp rate, that is the xp rate your players wil recieve, you can lower or raise it to your liking. if you are making a Eco based Server i do Recommend the Skilling xp to be rather low. [/Spoiler] Changing locations of Npc's/Adding items to Shops/Editing prices. [B]Changing Npc's Location-[/B] now this can be a Drag Different for each server.. for most it wil be [B]npcspawning.java[/B] same as changing home you will want to find the coords for the new locations you want your npc's to be at, once you got coords id suggest writing them down so when you go to change there all there ready to change. simply just change the location to the coords as such - [CODE]World.spawnNPC(494, new WorldTile(2724, 3486, 0), -1, true, true);[/CODE] For me its completely different i go to [B]unpackedspawnlist.txt[/B] scroll down should find something like this - [CODE]//home shops[/CODE] under that will be Npc's Id's and coords simply edit the coords to the ones you written down so that npc wil be moved to the location you choose. once done hit save, ( Now always remeber once you pack npc's you need to search for "PackedSpawns" folder delete the folder, hit compile save your work and run, now you have moved home and your npc's. [B]Editing items within shops-[/B] This is allways a fun one to do, basically you are editing what items you want in a shop, go to [B]unpackedshops.txt[/B] you will see several rows containing - [CODE]1 995 true - Herb Store - 199 50000 201 500000 203 500000 [/CODE] pretty basic stuff 995 = You can only buy with gp. Herb Store = Store name 199-50000 = the id of the item and how many and just Repeat. [B]Editing Shop Prices[/B] - Allways a hassle to do.. but needs to be covered, Shops.java is were all of the Prices will be for your items in any shop, Basically you need to open up [B]Shop.java[/B] once you are there, you will need to scroll down or search the following photo : [IMG=http://i.imgur.com/J3GxOCQ.png] So basically "GetbuyPrice" anything under that is the Buy price. so if you added the following Code : [CODE]case 1739://cowhide item.getDefinitions().setValue(10000); break;[/CODE] Case 1739 = the item id and //Cowhide is obviously the name of the item. Now as for .setValue(10000); the 10000 is how much you want that item to buy for, and as always break; to end it. As for Selling prices Same deal except you are going to want to add it all under [IMG=http://i.imgur.com/Yw5ZMmd.png] Pretty simple but can be confusing to some people. Making Custom Titles I have allready Explained in Detail on how to Make Custom titles, please follow the link Provided for more information. [URL="http://www.runelocus.com/forums/showthread.php?91729-Custom-Titles-amp-Colours"]http://www.runelocus.com/forums/showthread.php?91729-Custom-Titles-amp-Colours[/URL] Creating new Ranks I have allready made a Detail Tutorial on how to create a new Rank please use the Following link for more Information [URL="http://www.runelocus.com/forums/showthread.php?94171-New-Ranks-In-Depth"]http://www.runelocus.com/forums/showthread.php?94171-New-Ranks-In-Depth[/URL] How To Add Bonus XP To Donator Ranks Hello, This is a quick tutorial on how to add bonus XP to Different donator ranks, such as ( Donators, Extreme Donators, and Vip Donators. It's fairly simple process, I will explain how to do it, and what it all means. Firstly Go to Skills.java, you can find this by going to, src-com-rs-game-player then scroll down to the bottom and it will be there. Now search for this line of code [IMG=http://i.imgur.com/QcmoS0O.png] once you are there you should see something like this: [IMG=http://i.imgur.com/RlDtDpJ.png] If you don't have this, then your donators wont receive bonus XP , so add this piece of code in underneath [CODE]if (skill != ATTACK && skill != DEFENCE && skill != STRENGTH && skill != MAGIC && skill != RANGE && skill != HITPOINTS) exp *= [B][COLOR="#000000"]player.isDonator[/COLOR][/B]() ? Settings.SKILLING_XP_RATE + 1 : Settings.SKILLING_XP_RATE; else exp *= player.isDonator() ? Settings.COMBAT_XP_RATE + 3 : Settings.COMBAT_XP_RATE;[/CODE] Basically, it will operate from your skilling XP rate in settings.java, then for donators you add your Bonus XP such as the ( +1 ) and it's the same for combat XP rate, this will only work for [B][COLOR="#000000"]Donators[/COLOR][/B] since we have made it as [B][COLOR="#000000"]player.isDonator[/COLOR][/B]. If you want to add more XP or lower XP for different ranks such as Extreme donators for example you would add the same line of code such as : [CODE]if (skill != ATTACK && skill != DEFENCE && skill != STRENGTH && skill != MAGIC && skill != RANGE && skill != HITPOINTS) exp *= player.isDonator() ? Settings.SKILLING_XP_RATE + 5 : Settings.SKILLING_XP_RATE; else exp *= player.is[B][COLOR="#000000"]ExtremeDonato[/COLOR][/B]r() ? Settings.COMBAT_XP_RATE + 3 : Settings.COMBAT_XP_RATE;[/CODE] Be sure to make it as Extreme Donators and not Donators, you can do this for every rank you desire, you can increase XP and Combat XP, or Decrease XP and higher Combat XP, there are a few Different ways of doing this, this is one of the most efficient ways to do this. If you have any questions feel free to let us know in the comments below! If you have any questions or any issues feel free to Contact me, or Make a help thread, Hopefully this updated Tutorial will help more people out when starting a 718 Server. If you would like another Tutorial on how to do something feel free to contact me and ill make a detail guide on it. Cheers
  2. This is mainly why i quit the Rsps scene, so many backstabbing people out and about isn't funny. sorry to hear this happened to you, hopefully others owners learn from this.
  3. Very nice job guys looks really good, well done
  4. Advertisement looks neat, good luck with this
  5. Looks like a nice server, Best of luck mate
  6. Hello Runelocus Community. I'd imagine alot of you are confused about this threads title so allow me to explain, Yes i will be giving out Free Rsps Services for 718 only. I've noticed alot of new Members get confused, lost and annoyed when developing a new Rsps for the first time.. and that's understandable 718 is alot harder then a 317/lower revision. I did create a Tutorial specificly for this problem, but there is only so much you can learn by reading of a screen. So this is what im offering/ doing for the community. I will help 1-3 Runelocus members a week ( Depending how much spare time i have ) for approx 1 hour each. i will Explain how to create a new Rsps, i will help you get your Rsps up and running smoothly, i will explain any questions you have for me and i'll show you anything you want to no. I am happy to have a skype conversation while doing this or simply just skype messages. So by doing this, New members will be able to fully understand how to make a Rsps, and any questions they have will be answered. I will Cover literally everything to do with RSPS, Such as (port forwarding, a good Vps provider to pick from, Client coding, Server Coding, adding new Content, Highscores, who to ask for other information such as Gfx work, and much more). If you are Interested in participating in this Service, please feel free to pm me or comment, a suitable time for yourself and your Skype, i will add you and we will work out a good time for both of us to go threw it all. Thank you Danielxx
  7. Danielxx

    718/742

    just use a lower revision cache..
  8. [quote name='Cart']Progress report: - Userbar expansions is completed. [LIST] [*]Pernix: 4,000 post count req [*] [*]Virtus: 5,000 post count req [*] [*]Torva: 6,000 post count req [*] [/LIST] [IMG]http://i.imgur.com/yAwH9Yz.png[/IMG] [IMG]http://i.imgur.com/JV2EhBH.png[/IMG] [IMG]http://i.imgur.com/NyQguUr.png[/IMG] Credits: [MENTION=62059]Julesmk[/MENTION][/QUOTE] Why make them 4000+ Posts? hardly any people on the forum have more then 1k posts.
  9. it's most likely buttonhandler just search "Staff"
  10. Danielxx

    Compiling errors

    Daedalus just told you what your problem is and how to fix it... please RE READ WHAT HE SAID ............... it's right there.
  11. This is honestly... The best release i have ever seen in RSPS history. Sorry to hear about your ex developer screwing you over, karma will bite him on the ass one day, Very nice work on this mate.
  12. [quote name='falconpunch']With that reply I don't think you understand his issue. It's not looking for the path, it's because the client is optimized for 64 bit computers. ;P no hate just letting you know <3 OT: you should just be able to change it like Fuzen said.[/QUOTE] Right Right my apologies didnt read the issue properly. thankyou :)
  13. Lost underworld aye, was my old server name how ironic, from images + text provided looks like a every day 718. best of luck
  14. no lmfao, just remove (x86) from run/compiler.
  15. Added on skype, il run you threw the basics to get you going.
  16. Idk why you would leak someone else's work, that's just completely rude...
  17. Looks really good man, keep up the good work
  18. you didnt need to make another compiler all you had to do was delete packed spawns file and re run, it will automatically pack when you re run.
  19. Im not 100% abou 8.20 majority people cant get it to work, download if you havent allready jdk 7.67 and enter this in ur compiler and run bat [CODE]"C:\Program Files\Java\jdk1.7.0_67/bin/javac"[/CODE] should work fine after that Be sure to do the same for your client, it must all be the same
  20. src-data is were u place the cache file
×