Jump to content

Search the Community

Showing results for tags 'users'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 22 results

  1. Hey, Well I have been working on this a couple of days now (though I could have got it completed in under a day, just y'know work, work more work @ real life...) I was going to work on making it full on SQL, but had decided to make it only store certain information with on the database, for if I did decide to store all on the database, it could cause strain on the database itself handling the requests. So we still use the character.TXT files for majority of the stuff. Any case, here is the results. 1. First off be sure you have the [URL="http://up.ht/1mmfHA9"]mysql JAR file[/URL], it is needed (stating the obvious), and an actual MySQL database server. 2. Be sure to include mysql.jar both in compiler and server runner BAT files (I won't go into detail about this, if you know what your doing then you should already understand. I won't do all the leg work ;) ) 3. Find [B]PlayerSave.java[/B] and remove it from the directory (We won't be needing it). 4. Download [URL="http://up.ht/1mmkrWs"]PlayerLoaderSQL.java[/URL], save file under server/util/sql (Create new folders if needed) 5. Next we need to remove the old variables for the old PlayerSave.java which is located within these files; Server.java Client.java PlayerHandler.java PlayerSaving.java RS2LoginProtocolDecoder.java ShutDownHook.java 6. Find on each of the files listed above [code] import server.model.players.PlayerSave; [/code] And replace with [code] import server.util.sql.PlayerLoaderSQL; [/code] 7. Find on all except RS2LoginProtocolDecoder.java: [code] PlayerSave.saveGame(c);[/code] And replace with [code] PlayerLoaderSQL.save_Player(c);[/code] 8. Now open RS2LoginProtocolDecoder.java Find: [code] load = PlayerSave.loadGame(cl, cl.playerName, cl.playerPass);[/code] And replace with [code] PlayerLoaderSQL.getConnection(); load = PlayerLoaderSQL.load_Player(cl, name, pass); PlayerLoaderSQL.destroyConnection(); [/code] 9. Download [URL="http://up.ht/1p4fNYJ"]this SQL file[/URL] and execute it on the database you have chosen. 10. Compile & Run 11. Login server offline notify (Optional) Underneath [B]PlayerLoaderSQL.load_Player(cl,name,pass)[/B] you will find something similar to this (or should find); [code] if (returnCode == 2) { switch (load) { case 3: returnCode = 3; cl.saveFile = false; break; default: for (int i = 0; i < cl.playerEquipment.length; i++) { if(cl.playerEquipment[i] == 0) { cl.playerEquipment[i] = -1; cl.playerEquipmentN[i] = 0; } } if (!PlayerHandler.newPlayerClient(cl)) { returnCode = 7; cl.saveFile = false; } else cl.saveFile = true; break; } } [/code] Underneath [B]case 3: [/B]add [code] case 8: returnCode = 8; cl.saveFile = false; break; [/code] This should return an error stating the login server is offline. [B]What's the benefit towards this?[/B] It will stop those who decide to spam log in on your server (at least to my knowledge correct me if I am wrong besides from sql injection), it will give you and your users more freedom on your website should they choose to register or not and being able to do more than with what most basic donation features are (donate, contact admin to receive donation in-game etc). [B]What's the down side towards this?[/B] Should your SQL database go down for what ever reason, no one won't be able to login, though there is a simple patch to this which I won't go into. Also, if your database isn't that secure enough (IE weak password to database) then you could be suseptible to those that could easily manipulate the database. [B]Required files in total;[/B] [URL="http://up.ht/1p4fNYJ"]SQL File [/URL][URL="http://up.ht/1mmkrWs"]PlayerLoaderSQL.java [/URL][URL="http://up.ht/1mmfHA9"]mysql JAR file[/URL][URL="http://up.ht/1p4fNYJ"] [/URL] Let me know if I missed anything :L half asleep been up for nearly 24 hours :x P.S. Hope I posted in the right area :L
  2. Hey Rune-Locus, Hope you're all having a great day. Thanks for taking the time out to check my post. Quick intro: Currently I'm employed as a system administrator/developer within the Unix world. My preferences in terms of languages are php, C# (.NET really), perl, bash and more recently, Java. I've been a freelance developer in my own time for quite a while -- with projects involving development work on San Andreas Multiplayer game-modes scripted in PAWN (C-like language), to building desktop applications written solely in C#. More recently however my interests have swung in the way of software development within the gaming arena; specifically for an RSPS. Now that I've covered my introduction and general interests, what I'm posting for is to try and recruit a few people who are knowledgable of the game's content and what features are sought after in modern servers. I'm more than happy to develop both the web and game platforms, however don't exactly know what direction is best to head in. My intentions are to use a distribution more modern than the 317 one; I'm not a fan of having the screen in a little square - 1920x1080 all the way! And standard legacy combat is also going to be part of the underlying foundation. Other than that, everything else is pretty customisable. I've already got a name for the server, a VPS running Ubuntu, have deployed and installed the forum system, and have set up MySQL (which is used as a platform for the forum database). All that needs to be done web-wise is the categorisation, staff hierarchy system, and the custom theme; all of which ultimately cannot really be done until we've decided the direction for the server (version and type; PK, skilling etc), as it'll have a fairly large influence on all three. So, I hope from the above you've gotten an idea of the type of help I need and the knowledge expected of the people I'm looking to recruit. If interested, please post below with an e-mail address I can contact you on and I'll discuss the above with you privately. You must be at least 16 years old and have the knowledge required. No rewards are promised, but dedication and loyalty do vouch well when I begin seeking staff members. Thanks for taking the time to read through my post, Morpheus
  3. NOTE: I'm Verisimilitude from r-s. I honestly need help with this. I followed a bunch of tuts and videos for the past 7 hours as of now and no luck. Been having them do this for too long, and it's painful seeing them have to use up some of their time because I couldn't find myself a useful tut that has my desire needs. [COLOR="#FFFFFF"]-[/COLOR] I deleted all the [COLOR="#FFFFFF"].java[/COLOR] & [COLOR="#FFFFFF"].bat[/COLOR] [COLOR="#FFFFFF"]-[/COLOR] Made sure my signlink is finding the cache in the located folder. [COLOR="#FFFFFF"]-[/COLOR] Created the Webclient from [COLOR="#FFFFFF"]JarMaker[/COLOR] [COLOR="#FFFFFF"]-[/COLOR] Signed the Webclient [COLOR="#FFFFFF"]-[/COLOR] I open the Webclient and works perfectly with the no-ip [COLOR="#FFFFFF"]-[/COLOR] I put the Webclient to the [COLOR="#FFFFFF"]Dropbox[/COLOR] for my cousins and brother to test out if it'll work for them. [COLOR="#FFFFFF"]-[/COLOR] They open it [COLOR="#FFFFFF"]-[/COLOR] If I don't sign the Webclient it just says [COLOR="#FFFFFF"]Unable to load/download "server" cache[/COLOR] [COLOR="#FFFFFF"]-[/COLOR] But if I jar sign the Webclient, it then says [COLOR="#FFFFFF"]connecting to file server[/COLOR] 3 seconds later... [COLOR="#FFFFFF"]Unable to load/download "server" cache[/COLOR] Is there something i'm suppose to do with the cache within the Client folder becoming a Webclient? Or it's simply I'm missing something? For some tuts, when I sign it I get this picture under me. Otherwise others is just the certificate.txt/certificate.exe [IMG]http://imagizer.imageshack.us/v2/xq90/841/wfrr.png[/IMG] [IMG]http://imagizer.imageshack.us/v2/xq90/842/k1vp.png[/IMG] [IMG]http://imagizer.imageshack.us/v2/xq90/819/fhjw.png[/IMG] [IMG]http://imagizer.imageshack.us/v2/xq90/853/vucg.png[/IMG]
  4. Dr Fawad

    [Mac Users]

    If anybody can help me. I have a Mac please add me on skype: tetreeoflfie21. I just need basic RsPs help & help with eclipse.
  5. Does anyone know if there is a snippet for this? I appreciate it very much!
  6. I'm not sure if this is suppose to be like it is or not but I doubt it. [URL=http://s776.photobucket.com/user/tom14431996/media/pic1_zps7afd1f2e.png.html][IMG]http://i776.photobucket.com/albums/yy41/tom14431996/pic1_zps7afd1f2e.png[/IMG][/URL] [URL=http://s776.photobucket.com/user/tom14431996/media/pic2_zps1a60d92c.png.html][IMG]http://i776.photobucket.com/albums/yy41/tom14431996/pic2_zps1a60d92c.png[/IMG][/URL] Basically when a user is banned there username in the users online is white so you can't see it unless you highlight over it, I would suggest maybe changing it to the normal colour but with the line though it.
  7. Instead of "in the past hour" why not change it to "in the past 5-15 minutes" for more accurate readings.
  8. Hello, I'm using a base that used .dat files for both users and various resources. It's reading those using a stream in the code, but I'd like to read these files myself, and they don't seem to be plaintext, since wordpad/notepad just spews garbage characters. What are these made in?
  9. Hello, I'm using 2006remade atm, and when I try to log in, it just always says wrong password. While a non-existing user should create a new account normally? I was able to log into the starterpack, and I just used the same method here, but it's not working. Any ideas?
  10. I used to use vpsland back in the day and it was great. I bought a vps on the 24th, it is still not setup. It says 24-48 hours and its been way over that. I asked about it on the 26th, they said it would be processed that day. It wasnt. I asked again around 3am on the 28th and they said it would be processed on that day and again it still wasnt. Between the vps not being setup and live chat ALWAYS offline i was wandering if anyone still uses this or if something happened? Cause at this point its looking like a scam or something?
  11. I made the ::item (id) command only for me the owner and my co-owner Damien. I want to add my web dev and my head mod onto the ::item command so they can use it. I tried testing it with my mod by adding his name onto the command, (Darkagez), it compiled fine but it didn't do anything. Did i type it wrong, or do i need to edit another file? Command is below... [CODE]} if (cmd[0].equalsIgnoreCase("item")) { if (player.getUsername().equalsIgnoreCase("nick") || player.getUsername().equalsIgnoreCase("damien") || player.getUsername().equalsIgnoreCase("darkagez")) { if (cmd.length < 2) { player.getPackets().sendGameMessage( "Use: ::item id (optional:amount)"); return true; } try { int itemId = Integer.valueOf(cmd[1]); ItemDefinitions defs = ItemDefinitions .getItemDefinitions(itemId); if (defs.isLended()) return false; String name = defs == null ? "" : defs.getName() .toLowerCase(); player.getInventory().addItem(itemId, cmd.length >= 3 ? Integer.valueOf(cmd[2]) : 1); } catch (NumberFormatException e) { player.getPackets().sendGameMessage( "Use: ::item id (optional:amount)"); } } return true; }[/CODE]
  12. I don't care who was online in that past 12 hours, I want to see who is online now!
  13. How do i go about enabling users to login with their own passwords. As it is i only have my account but i can login without a pass. Thanks
  14. Ishana

    Runelocus users

    I found this on Facebook [IMG]http://i.imgur.com/Erpye.jpg[/IMG]
  15. THIS is a very basic error... when i send my friend my client he cant open it because its wanting to make him open it with his JDK.. I've never ran into this issue before basically when he gets the client I .rar he can right click edit and it will say: [code]@echo off @title Lizard Kingdom "C:\Program Files\Java\jdk1.6.0_30\bin\java.exe" -Dfile.encoding=Cp1252 -classpath bin;lib/libs.jar;lib/graphics.jar; Loader pause[/code] when it should look like: [code]@echo off title Lizard Kingdom echo Running... java Loader pause[/code] maybe i didn't compress it right? i just did: add to "blahblah.rar" thanks
  16. This is a simple batch file that will start MySQL then your Server. First you have to instal MySQL as a service. This differs per what Apache distribute you are running. Here is the Batch, I recommend converting it to a batch and giving it admin access on run. [CODE]@echo off :start echo Enter Password: set /p pass= if '%pass%'=='Pie' goto good echo Wrong Password Try Again! pause goto start :good color 81 title BloddyRunes cls for /F "tokens=3 delims=: " %%H in ('sc query MySQL ^| findstr " STATE"') do ( if /I "%%H" NEQ "RUNNING" ( echo MYSQL is not Running! echo Attempting to start MYSQL. net start MySQL ) ) cls cd C:\Program Files\Java\jdk1.6.0_13\bin\BloddyRunes_Server java -Xmx500m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server exit[/CODE] You should be able to figure it out by reading thru the code. This just makes life a little easier by not having to run MySQL first, also it will be useful if you are the type of person to always forget to run MySQL before running your server.
  17. For all those who have an I-Phone or an Android you can get a free 5$ Via paypal by join an app called "clover". All you have to do is search the app store for 'Clover Pay'. Complete the Instructions it tells you to do when you open the app. Once you do that, scan this picture when it asks for a invite [URL=http://imageshack.us/photo/my-images/651/img03031.png/][IMG]http://img651.imageshack.us/img651/1356/img03031.png[/IMG][/URL] After that you and me will get 5$ ! :D If You want me to Email you the Invite just leave your Email address.
  18. Edit: if your good at PHP and you know what your Doing Please scroll down all the way for Proxy Protection ive returned after being dormant. but i decided to start up again. Recently i hanged out with StackOverFlow and the community helped me put this togeather, so i decided to share on here. Requirements: MySQL PHP Enabled on your Webserver write permissions Navicat Lite / Navicat for MySQL First lets go ahead and set up a MySQL server. You can Download it here: [url]http://www.mysql.com/downloads/mirror.php?id=405078#mirrors[/url] when your done isntalling go to the configuration wizard that will pop up. When you see these Allow Remote Connections, be sure to check it. when you create your password be sure to remember it. After configuration go ahead and install Navicat Once again i will Provide a link. [url]http://www.navicat.com/en/download/download.html[/url] After installing go ahead and open it and Press on the "Connection Button" For Connection name you can go ahead and Name it Anything you want. For me i just put Webserver for host name leave it at Localhost. (this is telling the computer to Read localhost as the Local Machine.)<- For those that dont know what that is Leave username at Root. and put your password in. then hit Ok/save now on the treeview on the side. double click on "Webserver" or what ever you named it. this will enable your Connection. go ahead and right click the "Webserver" again and select New Database. For now just name it "ipblock" then Double click on it. After that right click on IPblock and press Console go ahead and paste this code: [CODE]CREATE TABLE ip_table ( ip VARCHAR(15) NOT NULL, access_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP );[/CODE] This is telling Mysql to create a table under that database to store the Ip addresses, - Now were Done with Mysql. But KEEP NAVICAT UP PHP: now if you did Mysql Proper this should be the easy part for you. just a simple replace. [CODE]<?php $conn = mysql_connect("localhost", "root", "PASSWORD"); if (!$conn) { } else { mysql_select_db("ipblock"); } mysql_query("DELETE FROM ip_table WHERE access_date < DATE_SUB(CURDATE(), INTERVAL 168 HOUR)"); $ip = $_SERVER['REMOTE_ADDR']; $result = mysql_query("SELECT ip FROM ip_table WHERE ip = '$ip'"); if(mysql_num_rows($result) >= 1){ die("you are Already Banned."); } else { $result = mysql_query("INSERT INTO ip_table (ip, access_date) VALUES ('$ip', NOW())"); echo "You Just got Banned."; } ?>[/CODE] You can Replace the just banned and you are already banned messages. just dont delete the " 's i kinda made it Premade and simple there. if you named the database something elts then just replace "ipblock" and be sure to replace "PASSWORD" with your password. Navicat was needed if you needed to change your database name. you can close it Change 168 between interval and hour to how many hours you want them blocked.(its already set to 1 week) go ahead and save it as something like Banner.php then upload it to your webserver! Some great uses: after vote4cash block them for a week so they cant abuse it. after they purchase something from a online store block them to make the game unfair. thanks for Reading! - Proxy: ive decided to put a small script for people that know what they are doing. [url]http://adf.ly/111259/proxydetectors[/url] < - i use Adf.ly to support Myself. ive included 1-5.php files that detect separate ports. Just Edit 5.php and replace"DESTINATION" with the place you want to go. like to the Vote4Cash. then after they vote and receive the cash. Send them to Ban.php that Was Talked about in the Tutorial Above. Thanks.
  19. I see alot of forums have this. It's just pretty much that the admins require noobs to view a thread before browsing forum. My suggestion: make users view the rules page before continuing browsing the forum. Reason: I see many noobs violating rules. Maybe if we force them to read rules they can know its against rules? DL Link: [URL="http://www.vbulletin.org/forum/showthread.php?t=151737"]http://www.vbulletin.org/forum/showthread.php?t=151737 D[/URL]iscuss :)
  20. I think that users should be able to delete their own threads and posts so they don't have to bother staff about it. Also, because sometimes I post something thinking that i'd be the first one to post it, then when i post it the thread updates itself and I find out that someone already posted it which makes it pretty much useless to post is again. Sorry if this was suggested before, I searched it and found nothing, soo.
  21. As you know, a usual Delta source would have an extremely long process in it's client class. I recently downloaded a PI source to skim over and test some things that I was selling on it, and I noticed.. PI servers that are feature-rich (usually the 602-look alike sources) have unnecessary things in the void process (client class). I see things like an overload timer, the quest tab information, showing interfaces while in a specific area, and other things too. These can easily be called somewhere else, other than every 500-600ms.. It's just something I noticed and really peeved me about.. People always complain about delta sources having a long process, maybe PI and Delta aren't so different after all. (with the exception of both of the sources being winterlove based)
×