RSBDavid Posted September 11, 2007 Share Posted September 11, 2007 i want to be able to make a login page for my game ive been working on and i was wondering how i wold make a picture login scriptlet thing [software Engineer] - [Ability Bar Suggestion] - [Gaming Enthusiast] Link to comment Share on other sites More sharing options...
hellacious_z Posted September 11, 2007 Share Posted September 11, 2007 I've been able to make something.. somewhat like the rs login page on visual basic using animations and having some moving parts, and then text boxes and such for the logins. But I have a quick question.. What language are you using? Link to comment Share on other sites More sharing options...
RSBDavid Posted September 11, 2007 Author Share Posted September 11, 2007 java maybe.. whatever works for it so i can only allow certain people to access my game . [software Engineer] - [Ability Bar Suggestion] - [Gaming Enthusiast] Link to comment Share on other sites More sharing options...
hellacious_z Posted September 11, 2007 Share Posted September 11, 2007 Hmm, I'm not sure about Java.. Gotta start learning that now, ah. but.. as soon as I start to learn the code, I might be able to help you out? hah Link to comment Share on other sites More sharing options...
r2d2 Posted September 12, 2007 Share Posted September 12, 2007 you can block access to the specific page with a little javascript, but it seems you may be in way over your head. RS took dozens of people years to make and perfect. There are 10 types of people: Those who understand binary, and those who don't.Appreciate Bacteria! It's the only form of culture some people have.The brain's right side controls the body's left, so only lefties are in their right mind.School! Link to comment Share on other sites More sharing options...
Cruiser Posted September 12, 2007 Share Posted September 12, 2007 you can block access to the specific page with a little javascript Which is then made worthless by simply turning off javascript. :P , but it seems you may be in way over your head. Quite true. If you have no clue how to even start creating said login system, there is no way you are going to know how to expand, maintain and fix it if and when something goes wrong. You need to learn how to do this yourself so you aren't relying on a bunch of random people to keep your project secure. RS took dozens of people years to make and perfect. The game did. The login page, not quite. The crap java login they use now is nothing more than a shiny implementation of the standard POST login system most sites already do with basic html and server side checking (verify user/pass in database, redirects and so on). Jagex just added shiny crap to it for the stupid people that need help knowing what site they're typing their information into. Link to comment Share on other sites More sharing options...
JoeDaStudd Posted September 12, 2007 Share Posted September 12, 2007 A login page can be done in many programming languages. I personally would do something with php and MySQL (my `hobby` language). [hide=how I would go about doing it]Who I would go about it would be having a login pages which looks at a database and checks the user name and password (99.99% of login pages/programs will do this) past by POST and maybe using AJAX to give a speedy verification. If the login is successful a session variable with the user name is created and the page redirects to the game page. I would have the a fail-safe on the game page which redirects back to the login or main page if someone tries typing in the address to the game directly (basically if there's no session variable redirect a page of your choice).[/hide] Of course due to the number of languages you could uses there are hundreds if not thousands of ways to do a login page/screen. PS. I've never done anything at all in Java so I can't help you there. [hide=Drops]Dragon Axe x11Berserker Ring x9Warrior Ring x8SeercullDragon MedDragon Boots x4 - all less then 30 kcGodsword Shard (bandos)Granite Maul x 3Solo only - doesn't include barrows[/hide][hide=Stats][/hide] Link to comment Share on other sites More sharing options...
r2d2 Posted September 12, 2007 Share Posted September 12, 2007 you can block access to the specific page with a little javascript Which is then made worthless by simply turning off javascript. :P If I were using javascript I would use but normally I use PHP. Some hosting companies don't allow ssl's, so I said javascript because it is more compatible, and the script is somewhat simpler. There are 10 types of people: Those who understand binary, and those who don't.Appreciate Bacteria! It's the only form of culture some people have.The brain's right side controls the body's left, so only lefties are in their right mind.School! Link to comment Share on other sites More sharing options...
RSBDavid Posted September 13, 2007 Author Share Posted September 13, 2007 i got the main script.. how would i add a background like of a car or so [software Engineer] - [Ability Bar Suggestion] - [Gaming Enthusiast] Link to comment Share on other sites More sharing options...
JoeDaStudd Posted September 13, 2007 Share Posted September 13, 2007 For a plain image add this to the page header. (HERE) Note example.gif is the image you want in the background. It should put the image repeated all over the page. For a single copy of the image change the above to this; Really it depends on what you want it to look like and where. PS. there are a few other ways of adding a image, but the above is the closest to what I think you want. [hide=Drops]Dragon Axe x11Berserker Ring x9Warrior Ring x8SeercullDragon MedDragon Boots x4 - all less then 30 kcGodsword Shard (bandos)Granite Maul x 3Solo only - doesn't include barrows[/hide][hide=Stats][/hide] Link to comment Share on other sites More sharing options...
happybappy Posted September 13, 2007 Share Posted September 13, 2007 Use php, client side solutions can be easily overcome with a telnet client. Use an html form to submit login information which is then checked by the php code (you can store user login information in a file or a mysql database, make sure to use one-way encryption!). Then store there username in a session variable. Have each page check if the session variable exists and if it doesn't send them back to the login page. Link to comment Share on other sites More sharing options...
ClareJonsson Posted September 13, 2007 Share Posted September 13, 2007 OK this question has been asked before, take a peek at This Thread. [Assist-X] Link to comment Share on other sites More sharing options...
RSBDavid Posted September 13, 2007 Author Share Posted September 13, 2007 thx.. i decided the ttle for my game is " emopolis(city of emo's) " your an emo in the ghetto dealing with others' harsh comments and make fun of you.. you get a knifes and "shank" people once your anger reaches a certain lvl. im still working on development of animation and graphics,.. i have most of it done.. almost 20000 lines of coding(19456 to be exact [as of now]) mods can close [software Engineer] - [Ability Bar Suggestion] - [Gaming Enthusiast] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now