Jump to content

making a login page like rs's?


RSBDavid

Recommended Posts

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.

siggyanimatoin5dtbp3.gif

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

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

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 x11
    Berserker Ring x9
    Warrior Ring x8
    Seercull
    Dragon Med
    Dragon Boots x4 - all less then 30 kc
    Godsword Shard (bandos)
    Granite Maul x 3

Solo only - doesn't include barrows[/hide][hide=Stats]

joe_da_studd.png[/hide]

Link to comment
Share on other sites

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.

siggyanimatoin5dtbp3.gif

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

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 x11
    Berserker Ring x9
    Warrior Ring x8
    Seercull
    Dragon Med
    Dragon Boots x4 - all less then 30 kc
    Godsword Shard (bandos)
    Granite Maul x 3

Solo only - doesn't include barrows[/hide][hide=Stats]

joe_da_studd.png[/hide]

Link to comment
Share on other sites

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

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

wii_wheaton.png

[software Engineer] -

[Ability Bar Suggestion] - [Gaming Enthusiast]

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.