Jump to content

Search the Community

Showing results for tags 'creation'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Found 16 results

  1. The title is a bit misleading or not in depth I guess, but I have to create a method that works like this.. String runescape = "runescape"; runescape.deleteAll("scape"); System.out.println(runescape); and it would be rune so far I have this [CODE] public class deleteall { public static String original = "original"; public static void deleteAll(String remove) { remove = original.replaceAll(remove, ""); } } [/CODE] this is probably very obvious, but I'm sick, at school and I had a test today.. I can't think straight @ all.
  2. [HR][/HR] [CENTER][IMG]http://i39.tinypic.com/2rw8d35.png[/IMG][/CENTER] [HR][/HR] [CENTER]This tutorial will explain to you in detail on how to make [i]your very own[/i] RuneScape Private Server. One thing you need to know, that this is not a quick process, and by following this guide it can take you anywhere between 30 minutes to one hour to get your server up and running and all that good stuff. [B]Note:[/B] I am using a basic 317 server file to explain how to edit, mainly for the fact that not everyone can jump right into understand 508+ revisions. I would also like to note that I explain how to portforward using Linksys, so if you would like to find out how to portforward using your specific router look for the [I]Parting Words, Further Help & Tips[/I] section of this tutorial.[/CENTER] [HR][/HR] [CENTER][FONT=Book Antiqua][SIZE=5]Table of Contents[/SIZE][/FONT] [SIZE=3][B]Step One:[/B] Updating/Getting Java & JDK[/SIZE] [SIZE=3][B]Step Two:[/B] Portfowarding & Porting 43594[/SIZE] [SIZE=3][B]Step Three:[/B] Setting up Environmental Variables[/SIZE] [SIZE=3][B]Step Four:[/B] Setting up a No-Ip Account[/SIZE] [SIZE=3][B]Step Five:[/B] Finding a Source & Client to use[/SIZE] [SIZE=3][B]Step Six:[/B] Your First Edit![/SIZE] [SIZE=3][B]Step Seven:[/B] Putting your server on the Status Page[/SIZE] [SIZE=3][B]End Tutorial:[/B] Different Revisions ([I]474, 508, 525+[/I])[/SIZE] [SIZE=3][B]End Tutorial:[/B] Parting Words, Further Help & Tips[/SIZE] [/CENTER] [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4]Step One: [/SIZE][SIZE=4][B]Updating/Getting Java & JDK[/B][/SIZE][/FONT][/LEFT] [HR][/HR] To start we are either going to update your Java & See if you have the latest version of JDK or get you these two. You may ask why you need this to run a rsps, and the answer is simple: [I]They are coded in Java[/I]. What does JDK stand for? [I]Java Development[/I] Kit. If that doesn't explain anything to you, then I don't know what will. But lets get started with the tutorial, shall we? [B]Step 1:[/B] The first thing you need to do is find out what version of Java you are currently running to see if you are up to date, and the architecture of your computer (If your running 32 bit, or 64 bit), so the first thing you need to do is visit this URL [URL="http://java.com/en/download/testjava.jsp"]here[/URL]. It will let your current Java run the test, and it will show you what you currently have. [U]Please note[/U]: I need to know if your running 32 bit or 64 bit, so keep that in mind. Below is a picture of the end result of the test: [img]http://i44.tinypic.com/1igbd0.jpg[/img] What is wrong with this picture? Well, to begin you can see I have Java SE 6 Update 29, which you can see by looking left of the [COLOR="#FF0000"][B]red bar[/B][/COLOR]. The most current Java I can download right now is 6 update 30, so you always want to make sure that your ahead on that and check every one to two months for a new update. Now, secondly, you can see my computer is running x86 or 32 bit architecture which you can tell by looking left of the [COLOR="#008000"][B]green bar[/B][/COLOR]. [B]Step 2:[/B] So now what do we do? Well first we are going to update your Java by visiting [URL="http://www.java.com/en/download/chrome.jsp?locale=en"]this link[/URL]. It should just be a web page with a button that says, "Agree and Start Free Download." Click that, and it will start downloading the installer. [img]http://i43.tinypic.com/25sspwy.png[/img] [B]Step 3:[/B] So now that you have your Java updated, we are going to download the latest Java Development Kit, or JDK. If you already have this downloaded, you may skip this part of the tutorial and move on to Step Two. If you are not sure if you have JDK or not, stick around and keep reading. Moving on. If you remember, I had you find out if your computer is running 32 bit, or 64 bit, so this is where that comes into play. You are going to click this link [URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html"]here[/URL], and go to the JDK Download page. You should see something similar to the picture below. [img]http://i42.tinypic.com/10i5heo.png[/img] [B]Step 4:[/B] Click what is circled within the black box. After you have done that, you must accept the user agreement. [img]http://i44.tinypic.com/2629sf6.png[/img] [B]Step 4:[/B] Now that you accepted the server agreement, you will now select your download. [I]In the picture below[/I], I have provided dots to show you which one you should click if your running 32 bit or 64 bit. If you are running 32 bit, please click the link by the [COLOR="#FF0000"][B]red dot[/B][/COLOR]. If you are running 64 bit, please click the link by the [COLOR="#008000"][B]green dot[/B][/COLOR]. If you do not click the one that is running your architecture, the installer will fail. [B]Note:[/B] x86 is 32 bit, x64 is 64 bit. [img]http://i44.tinypic.com/2qvqeza.png[/img] That concludes the first part to this six part tutorial. If you have had an error, or you have a question about this step or any other step in this tutorial you may PM Ruppich via the forums by visiting this link [URL="http://www.runelocus.com/forums/private.php?do=newpm&u=818"]here[/URL]. [B]Latest Java:[/B] [B][URL="http://www.java.com/en/download/chrome.jsp?locale=en"]here[/URL][/B]. [B]Latest JDK:[/B] [B][URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html"]here[/URL][/B]. [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4]Step Two: [/SIZE][SIZE=4][B]Portfowarding[/B][/SIZE][/FONT][/LEFT] [HR][/HR] We are now onto step two: Portfowarding. This is a crucial step in getting your server up and running and ready to go on the server status list. Some of you may ask why it is important to port foward? Well, here is a quote from one of the administrators on Runelocus. [quote name='Toonshorty']"[I]Your PC has hundreds and thousands of virtual ports, think of them as tunnels between your PC and the internet. If these ports were open then anyone could just wonder in to your computer via those ports if they knew the location of them (your IP address). By default all the ports are closed for security reasons so port forwarding for an RSPS opens tunnel number 43594 so to speak. Once this tunnel is open people just need to know your IP; or if you're using a No-IP DNS then they'll need to know that in order to locate the tunnel[/I]."[/QUOTE] Before I start giving you the steps to this tutorial, I would first like to say I thank Toonshorty for letting me use his images for the porting 43594 part of this step. Our tutorial may look alike in some aspects, but that's because they cover essentially the same thing. I would also like you to note that I am using Windows Vista, so to all of your users out there that are running Windows XP, [I]do not worry.[/I] These steps are really similar, so you should have no trouble differentiating the small differences. [B]Step 1:[/B] The first step in porting forward is opening up the dialogues needed. The first screen we need opened is your Network and Sharing Center menus, which you can find by either click [B]Start[/B] > [B]Control Panel[/B] > [B]Network and Internet[/B] > [B]Network and Sharing Center[/B], or you can open up any folder that has a address bar [I]and paste in[/I] [B]Control Panel\Network and Internet\Network and Sharing Center[/B] and then press enter as illustrated in the picture below. [IMG]http://i40.tinypic.com/1tpoap.png[/IMG] [B]Step 2:[/B] So now that you have followed the step above and found the Network and Sharing Center folder, you will see on the left sidebar [I]Manage Network Connections[/I], you need to click that. The picture below illustrated where it is located. [IMG]http://i41.tinypic.com/2yywdpv.png[/IMG] [B]Step 3:[/B] Now that you have your Manage Network Connections window open, you will see Local Internet Connection or Wireless Internet Connection. [U]If you are using wireless[/U], then right click that and click properties. [U]If you are using a wired local internet connection[/U], then right click that and click properties. You can see in the picture below me doing just that: [Img]http://i42.tinypic.com/id6ofl.png[/img] [B]Step 4:[/B] So now that you have done that you will see a window like one in the picture below. You need to [B]select[/B] the checkmarked [I]Internet Protocol Version 4 (TCP/IPv4)[/I] and then [I]click the Properties button.[/I] [IMG]http://i41.tinypic.com/o9o56p.png[/IMG] [B]Step 5:[/B] Leave this window open. We need to find the information to fill into the blank that are in the window that popped up after you clicked the properties button in the picture above. First, what we are going to do is [I]press Start[/I], and then [I]type CMD into the search bar[/I]. Once [I]command prompt opens up, type in IPCONFIG and then press enter[/I]. Copy down the IPv4 Address, Subnet Mask, and the Default Gateway numbers, you will need these. [IMG]http://i40.tinypic.com/23jo3ew.png[/IMG] [B]Step 6:[/B] With the information that you picked up in the last step, use this to fill in the information in the dialogue window that popped up in step 4. The picture below illustrates how I did it correctly, so you can compare the two and see how I did it. [IMG]http://i43.tinypic.com/5lz11k.png[/IMG] [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=5][B]Porting 43594[/B][/SIZE][/FONT][/LEFT] [HR][/HR] This part of the tutorial is going to show you how to open up port 43594, the port that most private servers use unless they are hamachi based. I do want to reiterate that I used images from portforward.com because I do not own a Linksys router, but I can explain it just the same. [IMG]http://i40.tinypic.com/r8y2yc.png[/IMG] [b]Step 1:[/B] The first thing you need to do is type in the Default Gateway address that you found in your command prompt as shown by the pictures in the first part of port fowarding into your web browser. [I]Please note[/I] you may be asked to put in a username and password, so there are two possibilities I will provide you with below. [B]Username:[/B] Admin [B]Password:[/B] Admin [B]Username:[/B] Admin [B]Password:[/B] Password ([I]read from left to right[/I]) [IMG]http://portforward.com/english/routers/port_forwarding/Linksys/AG241/AG2411.jpg[/IMG] [B]Step 2:[/B] If you entered the information in correctly you should be greeted with something similar in the image below. Click the [b]Applications & Gaming[/B] tab on the bar above. [img]http://portforward.com/english/routers/port_forwarding/Linksys/AG241/AG2412.jpg[/img] [B]Step 3:[/B] You will now see a new menu. You will see there are several links on this window, please click [B]Single Port Forwarding[/B] or the [B]Port Range Forwarding[/B] tab. [img]http://portforward.com/english/routers/port_forwarding/Linksys/AG241/AG2413.jpg[/img] [B]Step 4:[/B] Enter in the information accordingly. The IP Address is defaulted at [I][/I]. If that doesn't work, find your ip address by visiting ipchicken.com and try using that instead of the default. [img]http://i44.tinypic.com/25irq5d.png[/img] [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4]Step Three: [/SIZE][SIZE=4][B]Setting up Environmental Variables[/B][/SIZE][/FONT][/LEFT] [HR][/HR] Now that we have ported forward, we are ready to setup our environmental variables that will make sure your compiler and runserver runs smoothly. If you do not have your classpaths for your environmental variables set up correctly you will either get a "[I]The system could not find the path specified[/I]" or "[I]java isn't recognized as a internal or external command[/I]" errors. So, If you get these errors towards the end of the tutorial, please come back and look through this part more thoroughly. [B]Step 1:[/B] You need to open up your System menu. I am using Windows Vista, so I will show you how to do this using Windows Vista. If you are a Windows XP User, please note that this is very similar so there should be no problem for you to differentiate the differences and put them together. You can either find your System menu by doing [B]Start [/B]> [B]Computer[/B] > [B]System Properties[/B], or [I]you could paste[/I] [B]Control Panel\System and Maintenance\System[/B] into the address bar of a folder and it could open up that way. [IMG]http://i39.tinypic.com/bhhlxe.png[/IMG] [B]Step 2:[/B] Now that you have the System menu opened up, you must find the link that says [I]Advanced Settings[/I]. It is located on the left sidebar of this menu in Vista, as shown in the picture below. [IMG]http://i42.tinypic.com/4illvl.jpg[/IMG] [B]Step 3[/B]So now that you have opened the System Properties dialogue, you must click the [I]Environmental Variables[/I] button before proceeding to the next step. [IMG]http://i42.tinypic.com/jjpo3r.png[/IMG] [B]Step 4:[/B] Now that you are in the Environmental Variables dialogue, Click the [I]New[/I] button as shown below. [IMG]http://i43.tinypic.com/jsen8h.png[/IMG] [B] Step 5:[/B] You will now have something pop up that is similiar to the one shown in the picture below. This is how you should fill in the spaces. [B]Variable Name:[/B] CLASSPATH [B]Variable Value:[/B] CLASSPATH=C:\Program Files\Java\jdk1.6.0_25\bin;%CLASSPATH%; [IMG]http://i41.tinypic.com/6yl7b8.png[/IMG] [B]Step 6:[/B] [I]Repeat Step 4[/I], and put in the following information: [B]Variable Name:[/B] PATH [B]Variable Value:[/B] C:\Program Files\Java\jdk1.6.0_25\bin [IMG]http://i41.tinypic.com/jqpdhe.png[/IMG] [B]Step 7:[/B] Now that you have all that finished, Click ok and your computer should now recognize Java. You are now done with setting up your environmental variables! [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4]Step Four: [/SIZE][SIZE=4][B]Setting Up a No-Ip Account[/B][/SIZE][/FONT][/LEFT] Now that you have setup your environmental variables, ported forward, and updated everything, you are ready to setup your own no-ip account. The IP that you create here will be the IP that others will use to connect to your server. [B]Step 1:[/B] You need to setup a free VPS with No-Ip, and you can do so by visiting this link [URL="http://www.no-ip.com/select-account-type.php?utm_source=login_box&utm_medium=create_account_link&utm_campaign=funnel1"]here[/URL]. You should see the image below on the page I linked you to. Click the [I]Signup[/I] button, and proceed to the next step. [img]http://i43.tinypic.com/142fuch.png[/IMG] [B]Step 2:[/B] After you have clicked the button, you will be presented with the page that is shown in the picture below. Fill out the information truthfully, because you will want to remember this. [img]http://i44.tinypic.com/2iqn406.png[/img] [B]Step 3:[/B] So now that you have filled in your information, signed up, confirmed the email address, selected your operating system, and logged in you are now ready to setup your first no-ip. After you have logged in, you should see a screen like the one in the image below. Click the [I]Manage Hosts[/I] button. [img]http://i43.tinypic.com/288b0q8.png[/img] [B]Step 4:[/B] After you have clicked the Managed Hosts button, you will be presented with a page that has a menu like the one show below. Click the [I]Add Hosts[/I] button and proceed to the next step. [img]http://i40.tinypic.com/f72q9.png[/img] [B]Step 5:[/B] After you have clicked the Add Hosts button, you are ready to create your no-ip. Just fill in the information accordingly as shown in the picture below. Your IP Address is already put in for you, so you don't have to find that. [IMG]http://i42.tinypic.com/scq3pj.png[/IMG] [B]Step 6:[/B] You can't use a host name that is already taken, as shown in the picture below. After you have found a name suitable for your server, click the [I]Create Host[/I] button and you are finished. [IMG]http://i43.tinypic.com/35ldhes.png[/IMG] [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4]Step Five: [/SIZE][SIZE=4][B]Finding a Source & Client to use[/B][/SIZE][/FONT][/LEFT] [HR][/HR] Now we are ready to find a source and client for you to use. You can only do this after you have followed the previous steps in this tutorial, so If you haven't done so, please go back and read everything you skipped. For this step you need a Runelocus account, because on registered members can view links. You will also need to download the correct Winrar that fits the architecture of your computer [URL="http://www.rarlabs.com/download.htm"]here[/URL]. [B]Step 1:[/B] Assuming that you are registered on Runelocus, visit the forum index [URL="www.runelocus.com/forums"]here[/URL]. Now scroll down until you find a category that is called [I]RuneScape Private Servers[/I]. You will find boards with different revisions (i.e. 317-474, 508-525), but I will be using a 317, so in the 317-474 board click the childboard named [I]Downloads[/I]. [img]http://i40.tinypic.com/1jt0tg.png[/img] [B]Step 2:[/B] [I]Browse.[/I] You know what you want, and each server that is in this section has different characteristics about them they may suit you better. For this tutorial though, I chose to download [317] Source and Client for Beginners [317] by Romanage Dan. You don't have to use this source, you can use any source that is packed with its own client. [IMG]http://i40.tinypic.com/ejhg9e.png[/IMG] [B]Step 3:[/B] Now download and extract the source to your desktop. After you have it downloaded it will show up in its Winrar folder. You have to extract this to your desktop by dragging it to an open space as illustrated in the picture below. [IMG]http://i40.tinypic.com/22m6o7.png[/IMG] [B]Step 4:[/B] Compile the Server & Client. You want to make sure your source/client has no flaws in it so you can begin editing. If they have flaws in it, they will show up as errors in your compiler and will prevent you from making changes to the source. Here is a picture of a compiler that compiled correctly. [IMG]http://i43.tinypic.com/2vj2809.png[/IMG] Here is a picture of a compiler that found errors in the source. [IMG]http://i40.tinypic.com/c2ccg.png[/IMG] Here is a picture of a compiler that doesn't work because you didn't set your environmental variables correctly. [IMG]http://i43.tinypic.com/s4sysx.png[/IMG] So if you have a bad compiler with an error you can't figure out, [I]please visit the forums and post a help topic[/I] about it in the appropriate section. If you have a compiler with the [I]'java' is not recognized[/I] error, please go back and review the portfowarding portion of this tutorial. This concludes this section of the tutorial. [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4]Step Six: [/SIZE][SIZE=4][B]Your First Edit![/B][/SIZE][/FONT][/LEFT] [HR][/HR] You are doing well if you have made it this far. I will be showing you a basic edit, and that is adding the master command to your server. There is assumed knowledge in this step of the tutorial, so you must know how to make yourself a administrator in your source. I would also like to say I hope you don't skip this step, because it really is essential for having a good server and it gives you a better understanding on how to do basic stuff. [B]Note:[/B] You will need to change your character rights for this edit, please visit [URL="http://www.runelocus.com/forums/showthread.php?1197-317-Giving-Players-Special-Rights-317&highlight=Character+Rights+tutorial"]this tutorial[/URL] to learn how to do that if you don't know how to already. [B]Step 1:[/B] You now need to find your Client.java file, which shouldn't be that hard. After you find it, open it up with a text editing program such as notepad. [IMG]http://i42.tinypic.com/14aaf7m.png[/IMG] [B]Step 2:[/B] After you have opened up your Client file, I want you to CTRL+F the following: [B]if (command.startsWith[/B]. This will find a command that you can add the master command under. [IMG]http://i43.tinypic.com/4tvz1d.jpg[/IMG] [B]Step 3:[/B] In the picture above, you will see a red dot. That is where we are going to paste our code snippet for the master command. You always want to add a command right after a bracket of another command if possible, just to keep everything tidy. The code is provided below. [spoiler=The Code][CODE]if (command.equalsIgnoreCase("master") && playerRights >= 3) { addSkillXP(14910000, 0); addSkillXP(14910000, 1); addSkillXP(14910000, 2); addSkillXP(14910000, 3); addSkillXP(14910000, 4); addSkillXP(14910000, 5); addSkillXP(14910000, 6); addSkillXP(14910000, 7); addSkillXP(14910000, 8); addSkillXP(14910000, 9); addSkillXP(14910000, 10); addSkillXP(14910000, 11); addSkillXP(14910000, 12); addSkillXP(14910000, 13); addSkillXP(14910000, 14); addSkillXP(14910000, 15); addSkillXP(14910000, 16); addSkillXP(14910000, 17); addSkillXP(14910000, 18); addSkillXP(14910000, 19); addSkillXP(14910000, 20); addSkillXP(14910000, 21); addSkillXP(14910000, 22); addSkillXP(14910000, 23); sendMessage(""+ playerName +" .. you are now maxed out!"); }[/CODE][/spoiler] [IMG]http://i39.tinypic.com/10ym8le.png[/IMG] [B]Step 4:[/B] So now that you have put your command in, save it and then compile it. Now [B]please[/B] remember, [I]everytime you make a change to the server/client files[/I] you must compile so the changes are saved and will show. [IMG]http://i43.tinypic.com/2vj2809.png[/IMG] [B]Step 5:[/B] Runserver and then run your client, and login with your account and type in your new command to see if it works! (::master) [IMG]http://i39.tinypic.com/bf2fbm.png[/IMG] [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4]Step Seven: [B]Putting your server on the Status Page[/B][/SIZE][/FONT][/LEFT] [HR][/HR] This step should only be done after you completed all the edits and changes that you think are necessary for the first introduction of your server to other players. [B]Step 1:[/B] You need to fill in the forms to put your server on the Runelocus server status page. You can do so by visiting this link [URL="http://runelocus.com/status/index.php?action=add"]here[/URL]. Below is a picture of how to fill out the form to be ready to be submitted. [IMG]http://i44.tinypic.com/11tadlz.png[/IMG] [B]Step 2:[/B] That is pretty much it! After you have submitted with the correct information, you should get a confirmation message like the one shown in the picture below. [IMG]http://i39.tinypic.com/2zxv7up.png[/IMG] [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4][B]Different Revisions[/B][/SIZE][/FONT][/LEFT] [HR][/HR] [I]What is a revision?[/I] Sometimes people will ask you, "Are you developing a 317, or a 508?", or something like that. What they mean is [I]what client cache version (revision) is your server using?[/I] Typically, each revision has different characteristics than the previous, mostly major things. Also, a thing to remember is that alot of revisions have information stored in different folders than another revision does, so that is a challenge for alot of people. B elow is [B]Revision 317:[/B] Runescape Cache from mid 2006. This revision has everything (or close enough to it), that RS had at up to this time point. [B]Revision 508:[/B] RuneScape Cache from mid 2008. The new banking system runescape adopted is in this revision, also HD is in this version aswell. [I]How many different revisions are there?[/I] [B]17+[/B]. How do I know this? I looked around RuneLocus a bit, and found this information. Below in the spoiler is a list of programmable version, I'm not going to tell you the distinct differences, but you can assume 317 is the oldest, and 620 is the newest. [SPOILER=Revisions]317, 377, 474, 459, 503, 508, 510, 525, 546, 562, 569, 578, 582, 602, 612, 614, 620[/SPOILER] [I]Is it hard to program other revisions than 317?[/I] Not really. The only thing that some people find hard is switching from programming 317 revisions so long, that finding information you need to find in a 508 could be a struggle. As it is, different revisions have information stored differently. So lets say you are trying to find the [I]Characters[/I] folder to change your rights in a 508, because you figure it will be in the same folder as a 317. [B]Right/Wrong.[/B] You have to navigate through a few folders in a 508 before you find that folder, so you can see how people get confused when using different revisions having this in mind. Below is the a picture of the differences of server folders between 508 & 317. You will see the differences plainly. [IMG]http://i44.tinypic.com/315cwer.png[/IMG] But I do want to say, if you want to start developing other revisions, please get a decent hold on how 317s work so you will get the basic gist of everything else. [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=4][B]Parting Words, Further Help & Tips, + Portforwarding Guides[/B][/SIZE][/FONT][/LEFT] [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=3][I]Parting Words[/I][/SIZE][/FONT][/LEFT] [HR][/HR] So, you have just read this tutorial and figured out how to set up your first server! I would like to congratulate you for following along with this tutorial, and putting forth the effort to make your own server. Now the question is, how does it become successful? Well, what all server successful server owners have in common are their java programming abilities. I highly suggest you start learning how to program Java, it will give you a better understanding on what you are doing when you are following along with other tutorials to help your server, and maybe one day you can make your own code to implement into your server. [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=3][I]Further Help & Tips[/I][/SIZE][/FONT][/LEFT] [HR][/HR] I also have some parting tips. Practice, practice, practice. Everyone is always saying how practice makes perfect, and you know what? It's true! If you practice hard enough, you too can become a great server programmer, you just have to put your mind to it. Try reading a few tutorials around Runelocus to get you started, It couldn't hurt! That is how I started on Runelocus 4 years ago, and I can tell you from experience that it has helped me immensely. I would like to provide you with some links that I think would be helpful for the private server beginner, so please refer to the list below if you are interested in that sort of things. [B]Ultimate 317 Beginners Server Pack by James of Runelocus:[/B] [URL="http://www.runelocus.com/forums/showthread.php?6412-Ultimate-317-Beginner-Server-Pack!"]Topic Link[/URL]. [B]317 Webclient Maker by TutMonkey of Runelocus[/b]: [URL="http://www.runelocus.com/forums/showthread.php?6135-Free-Webclient-Maker!"]Topic Link[/URL]. [B]Javac++ Ultimate Java Compiling Utility[/B]: [URL="http://www.runelocus.com/forums/showthread.php?5680-javac-The-ultimate-Java-compiling-utility"]Topic Link[/URL]. [HR][/HR] [LEFT][FONT=Book Antiqua][SIZE=3][I]Portforwarding Guides[/I][/SIZE][/FONT][/LEFT] [HR][/HR] Since I realize not everybody uses Linksys routers, I will provide you with a list of widely used routers and their portforwarding tutorials that you can find on portforward.com. [B]Netgear[/B]: [URL="http://portforward.com/english/routers/port_forwarding/Netgear/CBVG834G-EN/Runescape_Private_Server.htm"]Tutorial Link[/URL]. [B]DLink[/B]: [URL="http://portforward.com/english/routers/port_forwarding/Dlink/DGL-4500/Runescape_Private_Server.htm"]Tutorial Link[/URL] Those are the only two I can think of at the moment that are popular, the rest I see on the page I've never heard of before. If you are using a different router type, please visit Portforward.com by visiting this link [URL="http://portforward.com/"]here[/URL]. [B]Verizon Router Users:[/B] Thanks to [IMG]http://www.runelocus.com/images/coins.png[/IMG][COLOR="#FFD700"]Haloofpower`[/COLOR] we now have this guide! [SIZE=5][URL="http://www.runelocus.com/forums/showthread.php?65938-Portforwarding-on-a-Verizon-Router"]HERE[/URL][/SIZE] [B][URL="http://portforward.com/"]Portforward.com[/URL] [/B]> [B]Scroll down & Select Router Model[/B] > [B]Skip Advertisement[/B] > [I]Find the game you want to learn how to portforward for, in this case[/I] [B]RuneScape Private Server.[/B] [HR][/HR] [B][FONT=Arial Black][SIZE=5][COLOR="#FF0000"]DISCLAIMER[/COLOR][/SIZE][/FONT][/B]: [SIZE=5][FONT=Arial Black]THIS TUTORIAL WAS MADE FOR RUNELOCUS.COM, AND IS THE SOLE PROPERTY OF RUNELOCUS.COM. YOU MAY NOT USE THIS TUTORIAL ON ANY OTHER WEBSITE.[/FONT][/SIZE] [HR][/HR] [CENTER][SIZE=3]That is all for this tutorial! Happy Developing![/SIZE] [SIZE=3][I]-Runelocus[/I][/SIZE][/CENTER] [HR][/HR]
  3. [CENTER][B][SIZE=6]Forum Design & Creation Service[/SIZE][/B] Welcome to my Forum Design & Creation Service thread. I'm here to offer my services of designing and creating forums. I have been working on forums (coding, creating, owning, designing, etc.) for about 3 years now. I would like to start off with, I [COLOR="#FF0000"]DO NOT[/COLOR] have experience in graphics design so please refrain from asking me to make custom logos, etc. I will create your forums and design them for you, and all you have to do is tell me what forum software you want to use and tell me exactly how you want them and I will do my best to create the forums you want. Forum Software I am familiar with: Forumotion Smfforfree Zetaboards vBulletin (Not much but i'm a quick learner) I also do some CSS Stylesheet scripting and some basic coding. Like I said previously, you tell me what you want and i'll do everything I can to get you the perfect forums that you desire. I do not charge money, all I ask is a moderator position on the server. If you would like to get a little more information and chat a bit you can PM me or message me on Skype: Hellapagoina. [/CENTER]
  4. Hi, I was just wondering, i want to enable character creation once you make your first character. but on the rune-evo source. with matrix client. i cant figure out. i can only go to thessalia and change clothes there. on a 317 it was easy just adding a enable character creation code, but in 718, i cant find how to do it. Any else knows how to enable it?
  5. Hi guys, I realize that so many people have asked this question but I have been sitting here trying so hard to find a guide or website or even a post that can help me out. Before you say "use the search button", I have. I have tried Google, multiple rsps-server sites, searching, going through posts, I even asked the nerds on my skype friends' list :(.. everything that I am capable of doing.. and I am not having any luck. I'm not asking you to spoonfeed me anything, I'm just looking for a tip or tutorial or ANYTHING that can help me with this issue. My server right now has everything down from being able to access the character creation command to being able to pick anything that's in there. However, when you choose something and click accept, it'll save and everything. Well, since I'm really a co-owner, I asked the owner himself to tell me if he see's any changes whatsoever, and having my luck, the answer is no. The other issue is that after changing, you can equip anything and it reverts back to default. Do any of you have any idea as to why nobody else can see the changes being made/why it won't "technically" save? If any of you have any answers, just please post.
  6. [SIZE=5]May not be a huge show-off to some of you guys but I don't see many others with this. It is just a little cool add to the server that gives players a sense of their own perosnality :) Also, please no flaming.[/SIZE] [center][url=http://www.youtube.com/watch?v=Q6i-uErIIA0]Citellum RSPS | Character Creation - YouTube[/url][/center] [SIZE=5]Didn't notice that I forgot to add the female option so here is female.[/SIZE] [center][IMG]http://i47.tinypic.com/2wciq6e.png[/IMG][/center]
  7. First you need the "JavaMail" API jar. [url=http://www.oracle.com/technetwork/java/javamail/index-138643.html]JavaMail API[/url] Download that and put mail.jar in your jar folder. Okie, here's the mailer and creator. [CODE]/** * Creates a new account for a player using 4 parameters. These will result * in the account details. After the creation process has been executed in * the code, an email will be sent to ensure the account was succefuly * created, and a boolean is set implying that the player has not activated * the account for forum use yet, if you do not have a website, then edit * the code. * * @param username * - Username of the new player * @param Password * - password of the new player * @param Email * - email adress for the message to be sent to * @param Age * - age of the new player */ public static void createAccount(final String username, String password, final String email, final int age) { if (!email.contains("@")) return; if (Utils.containsInvalidCharacter(username)) return; if (username.length() > 12) return; if (password.length() < 8) return; final Player player; try { Cache.init(); } catch (IOException e) { e.printStackTrace(); } player = new Player(password); player.setPlayerIsAwaitingActivation(true, new Runnable() { public void run() { String from = "[email protected]"; String host = ""; Properties properties = System.getProperties(); properties.setProperty("mail.smtp.host", host); Session session = Session .getDefaultInstance(properties); try { // the message setup MimeMessage message = new MimeMessage(session); message.setFrom(new InternetAddress(from)); message.addRecipient(Message.RecipientType.TO, new InternetAddress(email)); message.setSubject("Account created for " + username + "!"); message.setText("Thank you for creating your account at Elixrr! " + "You're gaming experience starts now, blah blah"); Transport.send(message); // close da bitch SerializableFilesManager.savePlayer(player); } catch (MessagingException i) { i.printStackTrace(); } } }); }[/CODE] [CODE]private boolean isAwaitingActivation;[/CODE] [CODE]public void setPlayerIsAwaitingActivation(boolean bool, Runnable event) { isAwaitingActivation = bool; event.run(); }[/CODE]
  8. Please support me and my friend's new youtube channel, aimed at making dual commentaries, and sometimes solo commentaries as well, we will be doing various things in runescape like mini games and such, well I hope you enjoy the video. :) (Also, any feedback would be appreciated to help make us better commentators) [video=youtube;F27s7Gduj1Y]http://www.youtube.com/watch?v=F27s7Gduj1Y&feature=g-upl[/video]
  9. CBF to do this on RS2HD, and 718s don't work as the client crashes when opening the Account Creation page (Well, mine does) Classes Modified: ClientPacketsDecoder, LoginPacketsDecoder Client class Modified: Class137 What you'll be making: [url]http://prntscr.com/fmm61[/url] I'll be explaining all of this as we go. First, let's get the client editing out of the way, as this will most likely be the hardest part for everyone. K, so head into Class137, and search for [CODE]writeByte(22);[/CODE] You'll find this: [CODE] Class93.aClass131_Sub15_Sub2_1226.writeByte(22); Class93.aClass131_Sub15_Sub2_1226.writeShort(stream.offset + (2 - -stream_6_.offset)); Class93.aClass131_Sub15_Sub2_1226.writeShort(562);[/CODE] Now, just below 'writeShort(562);', add this: [CODE]Class93.aClass131_Sub15_Sub2_1226.writeByte(email == null ? 0 : 1); if(email != null) Class93.aClass131_Sub15_Sub2_1226.writeString(email, (byte) -124); Class93.aClass131_Sub15_Sub2_1226.writeString(pass, (byte) -99);[/CODE] Now, go up to the constructor, you'll see this: [CODE]public static void method2117 (String arg0, int arg1, String arg2, long arg3, int arg4, int arg5, boolean arg6, int arg7, int arg8, boolean arg9, boolean arg10) {[/CODE] Change it to: [CODE]public static void method2117 (String email, int arg1, String pass, long arg3, int arg4, int arg5, boolean arg6, int arg7, int arg8, boolean arg9, boolean arg10) {[/CODE] EDIT: You'll also have to change it in the runtime exception below the method, simply change arg0 to email, and arg2 to password Done. Now, ClientPacketsDecoder: Under [CODE]public final void decode(InputStream stream) {[/CODE] You'll see: [CODE]case 15: decodeGrab(stream); break;[/CODE] Under break, add: [CODE]case 21: case 20: case 22: session.setDecoder(2); ((LoginPacketsDecoder) session.getDecoder()).decodeAccountCreation(stream, packetId == 21 ? 1 : packetId == 20 ? 2 : 3);[/CODE] Explanation: 20, 21, and 22 are the protocol ids for the account creation, a way to tell the difference between packets. Think of them like opcodes. The client will send a byte (the protocol id) before it sends the information, so that you can differ between a login for instance, and the account creation. session.setDecoder(2); This is setting the getDecoder() to LoginPacketsDecoder so that we don't get any ClassCastExceptions later. Finally, decodeAccountCreation is in the LoginPacketsDecoder class (Just where I put it, seeing as it's sorta like that), so we have to send our information there, and the stage in which the account creation is. Protocol 21 is first, then 20, then 22. Now, LoginPacketsDecoder: Add in this method: [CODE]@SuppressWarnings("unused") public void decodeAccountCreation(InputStream stream, int stage) { OutputStream out = new OutputStream(); switch(stage) { case 1: String username = Utils.longToString(stream.readLong()); if(SerializableFilesManager.containsPlayer(username)) { out.writeByte(22); break; } out.writeByte(2); break; case 2: int birthday = stream.readByte(); int birthmonth = stream.readByte(); int birthyear = stream.readShort(); int countryId = stream.readShort(); out.writeByte(2); break; case 3: stream.readShort(); stream.readShort(); boolean noemail = stream.readUnsignedByte() == 0; String email = null; if(!noemail) email = stream.readString(); String password = stream.readString(); out.writeByte(2); break; } session.write(out); }[/CODE] Explanation: OutputStream is the stream we will be using to send our replies to the client. Like I was saying before, we sent the stage in which the account creation is in. So first, is stage 1: This is used when you put the username into the account creation page. It will send us the username in the form of a long (Which we'll convert to a string using a handy method in Utils) After checking things server sided (I only checked if the player exists, you'll have to check if the username is valid or not) We'll send a reply to the client, with our answer if the username is okay via a byte. At the moment, I have only found 3 bytes. 2 - Username is okay (Not taken, valid, etc) 20 - Username is already taken 22 - Username is not valid (things like 'Mod' in it or something) Next, stage two. This is when the player has finished the first page of the account creation (Birthday details, and country) Here, the client will send us all their birthday details, and the country in which they're from (I don't have a list of what countries go to what byte, but I might find them later for you. Just like before, we're going to reply with a byte of 2, to tell the client that once again, the information is okay. Next stage 3. This is once the player has 100% finished the account creation. Normally, the client would have only sent us 2 useless shorts, but because of the edit we made earlier, we are now getting sent the email and password of the player who created the account. So we can now create the account using the desired username and password (I did not include this step/method, you can make it yourself) Now, because entering a email is optional on 562s, I have made a check for if the email is null or not, which is why we read a byte first. And finally, we once again send a 2, to verify that the login was okay. From here, it will display this message: [IMG]http://img208.imageshack.us/img208/1629/5646041dd3e947ef9dbc39e.png[/IMG] When the player clicks 'Play (SERVER NAME)', it will direct them to the login screen :D There you go guys, didn't take long to make, only took a bit of looking around in the client for the bytes that are sent. After that, it was pretty easy. Credits to Maxi for the protocol
  10. ring men

    character creation

    Every time you log out then in you go to the character creation page and get the starter pack again but you remain in the coords you logged off in. what's the problem?
  11. Trying to copy the planes of a region fairly big does this.. [url=http://postimage.org/image/3vez01bsx/][img]http://s16.postimage.org/3vez01bsx/Untitled.jpg[/img][/url] anyone have any knowledge on why it's not copying right?
  12. [url]http://www.youtube.com/watch?feature=player_profilepage&v=3GTaTiTmsZw[/url] I know it isn't the best but its good enough so people can understand the mini-game. I made this guide because when i was playing stealing creation, some people told me, "How do i play this" and i said look up a tutorial. So i went on youtube and searched up some guides for stealing creation but most'em are outdated and kinda sucked so i decided to make a guide. Here's the link-> [url]http://www.youtube.com/watch?feature=player_profilepage&v=3GTaTiTmsZw[/url] So if you like it, please click the thumbs up. I also have quests guides. Thanks, tom.. ~aka morphine ltd.
  13. Decided to do a tutorial on this since, I rewrote the ForumIntegration to work correctly and, I don't use it anymore. Lets get started. [URL="http://hera-rsps.com/account/"]Live Demo[/URL] Requirements: A brain.. Webhost [spoiler=Website Stuff] First you'll need these files: [URL="http://hera-rsps.com/AccountCreation.rar"]AcountCreation.rar[/URL] Once you download those files go to config.php and edit the user/pass and the database. Once you've done that go into your webhost and create a database name it anything you want Then go to your phpmyadmin and Go to the database you just created and run these SQL queries [code]CREATE TABLE `temp_members_db` ( `id` int(4) NOT NULL auto_increment, `confirm_code` varchar(65) NOT NULL default '', `username` varchar(65) NOT NULL default '', `email` varchar(65) NOT NULL default '', `password` varchar(65) NOT NULL default '', `ip` char(65) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/code] [code]CREATE TABLE `users` ( `id` int(4) NOT NULL auto_increment, `username` varchar(65) NOT NULL default '', `password` varchar(65) NOT NULL default '', `ip` char(65) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/code] Once you've done all that just change the names and the logo. Oh and change the email that's sent to the player. [/spoiler] [spoiler=Server Stuff] Go to org > dementhium > mysql and make a new class named "AccountLoader.java" Ofcourse you'll have to change the host/db etc. Add this into it: [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.dementhium.mysql; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; /** * * @author James <[email protected]> * Created on Nov 6, 2011 */ public class AccountLoader { public static Connection con = null; private static String host = ""; private static String database = ""; private static String user = ""; private static String password = ""; public static void createConnection() { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://" + host + "/" + database, user, password); } catch (Exception e) { e.printStackTrace(); } } public static boolean checkAccount(String playerName, String password) { try { Statement statement = con.createStatement(); String query = "SELECT * FROM users WHERE username = '" + playerName + "'"; ResultSet results = statement.executeQuery(query); while (results.next()) { String pass = results.getString("password"); if (password.equalsIgnoreCase(pass)) { return true; } } } catch (SQLException e) { e.printStackTrace(); } return false; } /* * I didn't test this, you can try it if you want. */ public static void changeAccountPass(String userName, String newPass) { try { Statement statement = con.createStatement(); String query = "UPDATE users SET password = '" + newPass + "' WHERE username = '" + userName + "'"; ResultSet results = statement.executeQuery(query); } catch (SQLException e) { e.printStackTrace(); } } } [/code] Once you add that go into RS2ServerBootstrap.java and find this [code] ForumIntegration.init(); [/code] Change it to [code] AccountLoader.createConnection(); [/code] Then add this import [code] import org.dementhium.mysql.AccountLoader; [/code] Now go to dementhium > io > PlayerLoader.java Find something like [code] boolean first = ForumIntegration.verify(def.getName(), def.getPassword()); boolean second = ForumIntegration.verify(def.getName(), def.getPassword()); [/code] Just change it to [code] boolean first = AccountLoader.checkAccount(def.getName(), def.getPassword()); boolean second = AccountLoader.checkAccount(def.getName(), def.getPassword()); [/code] Then add this import [code]import org.dementhium.mysql.AccountLoader;[/code] [/spoiler] That should be everything, just post if I missed anything. Credits: The dementhium team Emperial, For the original website stuff Me
  14. [CENTER]Hello Everyone, I'm Hype and I'd like to offer you my Webclient Creation Services. I am willing to make a webclient for any 317-474-508 Runescape revision for a low price. I will not go first. 2$ or 1.5M GP - [COLOR="#8B4513"]Bronze Package[/COLOR][/CENTER] [CODE]For Webclient creation set to your preferences.[/CODE] [CENTER]4$ or 3M GP - [COLOR="#00FFFF"]Rune Package[/COLOR][/CENTER] [CODE]For Webclient creation set to your preferences, hosted offshore on my host for life.[/CODE] [CENTER]6$ or 4.5M - [COLOR="#FF0000"]Dragon Package[/COLOR][/CENTER] [CODE]For Webclient creation set to your preferences, hosted offshore on my host for life and unlimited updates for webclient.[/CODE] [CENTER][COLOR="#0000FF"]10$/8M - Guardian Package - 2$/1.5M Every month after.[/COLOR][/CENTER] [CODE]For Webclient creation set to your preferences, hosted offshore on my host for life with a forum setup, and unlimited updates for webclient.[/CODE] [CENTER] Add me if your interested on MSN at "[email protected]" Average time for each services: 10-30 Minutes after payment. My work: [URL="www.questionablebeliefs.com/webclient/Webclient.html"]Here[/URL][/CENTER]
  15. Now has email verification! Previously released by me on rune-server decided to release here [URL="http://rsps.jbotforum.org/management/"]Demo[/URL] [CODE] [B]Update List[/B] Version 1.1 - Added Email Verification Version 1.0 - Original Release[/CODE] Here's my second release of my account creation page.. this release includes email verification We'll need a new "temp members table" so go ahead and run this query in phpmyadmin [CODE]CREATE TABLE `temp_members_db` ( `id` int(4) NOT NULL auto_increment, `confirm_code` varchar(65) NOT NULL default '', `username` varchar(65) NOT NULL default '', `email` varchar(65) NOT NULL default '', `password` varchar(65) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/CODE] config.php [CODE]<?php $host="localhost"; $user=""; // Username $pass=""; // Password $db_name=""; //Db Name mysql_connect("$host", "$user", "$pass")or die("Cannot connect to server"); mysql_select_db("$db_name")or die("Error"); ?>[/CODE] index.php [CODE]<head> <center><img src="http://rsps.jbotforum.org/N_files/logo0000.png" alt="Logo" /></center> <body bgcolor='black' text='yellow'> <title>NeuroX Account Creation</title> <form name="form1" method="post" action="email.php"> <fieldset class="menu main"> <center> <h3>NeuroX Account Creation</h3> <p><em>Enter your wanted username & password</em></p> <table width="350" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><form name="form1" method="post" action="email.php"> <table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td colspan="3"><strong>Sign Up</strong></td> </tr> <tr> <td width="76">Username</td> <td width="3">:</td> <td width="305"><input name="username" type="text" id="name" size="30"></td> </tr> <tr> <td>Email</td> <td>:</td> <td><input name="email" type="text" id="email" size="30"></td> </tr> <tr> <td>Password</td> <td>:</td> <td><input name="password" type="password" id="password" size="30"></td> </tr> <tr> <td> </td> <td> </td> <td><input type="submit" name="Submit" value="Submit">   <input type="reset" name="Reset" value="Reset"></td> </tr> </table> </form></td> </tr> </table>[/CODE] email.php [CODE]<html lang="en"> <head> <center><img src="http://rsps.jbotforum.org/N_files/logo0000.png" alt="Logo" /></center> <body bgcolor='black' text='yellow'> <title>NeuroX Account Creation</title> <form name="form1" method="post" action="email.php"> <fieldset class="menu main"> <center> <h3>NeuroX Account Creation</h3> <p><em>Enter your wanted username & password</em></p> <?php require_once('config.php'); if(!$_GET['act']){ $tbl_name=temp_members_db; $confirm_code=md5(uniqid(rand())); $username=$_POST['username']; $password=$_POST['password']; $email=$_POST['email']; $sql="INSERT INTO $tbl_name(confirm_code, username, email, password)VALUES('$confirm_code', '$username', '$email', '$password')"; $result=mysql_query($sql); if($result){ $to=$email; $subject="NeuroX Account"; $header="from: NeuroX Account Creation"; $message="Here's your account confirmation link! \r\n"; $message.="http://RSPS.JbotForum.org/management/confirm.php?passkey=$confirm_code"; $sentmail = mail($to,$subject,$message,$header); } if($sentmail){ $check = mysql_query("SELECT * FROM `users` WHERE `username` = '{$_POST['username']}'"); if(mysql_num_rows($check) > 0){echo("NeuroX username aleady in use");} else { echo("Your confirmation email was sent"); } } } ?>[/CODE] confirm.php [CODE]<head> <center><img src="http://rsps.jbotforum.org/N_files/logo0000.png" alt="Logo" /></center> <body bgcolor='black' text='yellow'> <title>NeuroX Account Creation</title> <form name="form1" method="post" action="email.php"> <fieldset class="menu main"> <center> <h3>NeuroX Account Creation</h3> <?php require('config.php'); $passkey=$_GET['passkey']; $tbl_name1="temp_members_db"; // Temp Users Table $sql1="SELECT * FROM $tbl_name1 WHERE confirm_code ='$passkey'"; $result1=mysql_query($sql1); if($result1){ $count=mysql_num_rows($result1); if($count==1){ $rows=mysql_fetch_array($result1); $username=$rows['username']; $password=$rows['password']; $email=$rows['email']; $tbl_name2="users"; //Currently a useless funtion will be used in next version $sql2="INSERT INTO `users` (`id` ,`username` ,`password`) VALUES (NULL , '$username', MD5( '$password' ))"; $result2=mysql_query($sql2); } else { echo "Invalid Confirmation code"; } if($result2){ echo "Your account has been activated"; $sql3="DELETE FROM $tbl_name1 WHERE confirm_code = '$passkey'"; $result3=mysql_query($sql3); } } ?>[/CODE] [B][SIZE="5"]Below is Version 1.0[/SIZE][/B] config.php [CODE]<?php $host = "localhost"; $user = ""; //username $pass = ""; //password $data = ""; //database name mysql_connect("$host", "$user", "$pass"); mysql_select_db("$data"); SESSION_START(); ?>[/CODE] index.php [CODE]<?php require_once("config.php"); ?> <html lang="en"> <head> <center><img src="LINK TO LOGO OR IMAGE HERE" alt="Logo" /></center> <body bgcolor='black' text='yellow'> <title>____ Account Creation</title> <fieldset class="menu main"> <center> <h3>_____ Account Creation</h3> <p><em>Enter your wanted username & password</em></p> <p><em>Use a lowercase username</em></p> <?php if(!$_GET['act']){ echo("<form method='POST' action='$PHP_SELF?act=register'> Username: <input type='text' name='username' /><br /> Password: <input type='password' name='password' /><br /> <input type='submit' value='Register' /> </form"); } else if($_GET['act'] == "register") { $check = mysql_query("SELECT * FROM `users` WHERE `username` = '{$_POST['username']}'"); if(mysql_num_rows($check) > 0){ echo("Username already taken"); } else { mysql_query("INSERT INTO `users` (`id` ,`username` ,`password`) VALUES (NULL , '{$_POST['username']}', MD5( '{$_POST['password']}' ))"); echo("Your acccount was registered"); } } ?>[/CODE] Anything you want me to add? Pm me or contact me on msn "[email protected]"
  16. Full Metalst


    V1 - [IMG]http://i55.tinypic.com/2l88akw.jpg[/IMG] V2 - [IMG]http://i55.tinypic.com/2wftpxi.png[/IMG] deviantart wasn't working so i used tinypic instead