Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  "Knighthood", A WIP MMORPG  (Read 6356 times)
0 Members and 1 Guest are viewing this topic.
Offline isteinvids

Junior Member


Medals: 1



« Posted 2013-04-08 12:33:54 »

(Updated 05/July/2013)
This is a game I've been working on lately, with LWJGL, Slick2d, and TWL. (No longer using TWL)

You only have to download the launcher, the launcher then will download all game files you should need.

Feel free to register on website and play c:

Controls: 'WASD' to move, 'F2' to screenshot, 'space' to interact with surroundings, 'enter' to chat, 'E' to open inventory, and 'escape' to open settings menu.

Game's website is http://knighthood.chunkyhosting.com

http://knighthood.chunkyhosting.com/jars/Knighthood.jar -- Launcher JAR (Auto-updates to latest version)
http://knighthood.chunkyhosting.com/jars/Knighthood.exe -- launcher EXE (Auto-updates to latest version)

PS: It should work well on Windows, Linux, and Mac


^ Game with fancy graphics on


^ Fast graphics


^ Launcher (PS - ChunkyHosting are the wonderful people who are hosting the website and server)
Offline tyeeeee1
« Reply #1 - Posted 2013-04-08 18:35:34 »

I'm not sure why but the first and last images in your post look as if you took a picture of your computer monitor with a camera. Other than that it looks decent. A suggestion I have would be to make the launcher look a lot better as it looks rather dull and plain.

Edit: The pictures of the main menu look good though.
Offline isteinvids

Junior Member


Medals: 1



« Reply #2 - Posted 2013-04-08 19:59:35 »

I'm not sure why but the first and last images in your post look as if you took a picture of your computer monitor with a camera. Other than that it looks decent. A suggestion I have would be to make the launcher look a lot better as it looks rather dull and plain.

That would be because of the lighting blueish tint, and yeah, I'm not good at making things look good.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Zhon

Junior Member


Medals: 4



« Reply #3 - Posted 2013-04-08 23:07:29 »

Are you going to aquire your own assets?
Because I see minecraft and terraria there, and those trees looks familiar.
Stiil looks interesting anyway
Offline isteinvids

Junior Member


Medals: 1



« Reply #4 - Posted 2013-04-08 23:15:24 »

Are you going to aquire your own assets?
Because I see minecraft and terraria there, and those trees looks familiar.
Stiil looks interesting anyway

Well, I'm really not good at making assets, so I'd be really happy if someone made those for me c:

Btw, I didn't use any Minecraft textures in there xD
Offline Zhon

Junior Member


Medals: 4



« Reply #5 - Posted 2013-04-09 03:54:15 »

Are you going to aquire your own assets?
Because I see minecraft and terraria there, and those trees looks familiar.
Stiil looks interesting anyway

Well, I'm really not good at making assets, so I'd be really happy if someone made those for me c:

Btw, I didn't use any Minecraft textures in there xD

Ah I thought those hearts were from Minecraft  persecutioncomplex
My mistake
Offline sproingie

JGO Kernel


Medals: 202



« Reply #6 - Posted 2013-04-09 04:36:21 »

Dude, Minecraft didn't exactly invent hearts as a health bar.  Ever heard of Zelda?
Offline Agro
« Reply #7 - Posted 2013-04-09 04:48:17 »

Wow! I like the title screen a lot Cheesy

Gonna add things like skills and quests etc?

Offline isteinvids

Junior Member


Medals: 1



« Reply #8 - Posted 2013-04-09 11:23:38 »

Wow! I like the title screen a lot Cheesy

Gonna add things like skills and quests etc?

I will soon, but I cannot think of any quests.
I'm bad at originality, tbh.
Offline Otreum

Junior Member


Medals: 6



« Reply #9 - Posted 2013-04-09 11:54:36 »

Dude, Minecraft didn't exactly invent hearts as a health bar.  Ever heard of Zelda?


This did give me a good chuckle Cheesy

I could only see Terraria there with the character.

I think things look good regardless. It's certainly more than I can do right now Tongue

@isteinvids

You should try your hand at some game art, you may be surprised. We always doubt ourself until we do the thing we have doubt about, then we surprise ourselves, or we improve.
Keep practising what you don't know, you will become self efficient and not have to rely on anybody else to do your art assets for you then, besides, it's actually really fun to do your own game art once you get the hang of things Cheesy

I look forward to seeing your progress, keep it up ^_^
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Zhon

Junior Member


Medals: 4



« Reply #10 - Posted 2013-04-09 17:17:52 »

Dude, Minecraft didn't exactly invent hearts as a health bar.  Ever heard of Zelda?


Im obviously talking about the sprite.
Offline isteinvids

Junior Member


Medals: 1



« Reply #11 - Posted 2013-04-09 20:17:24 »

@Otreum

thanx

Dude, Minecraft didn't exactly invent hearts as a health bar.  Ever heard of Zelda?


Im obviously talking about the sprite.

Totally forgot about the hearts, yes, those are from Minecraft.
Offline isteinvids

Junior Member


Medals: 1



« Reply #12 - Posted 2013-04-10 01:05:41 »

I've made the launcher to a JNLP, to make updates less visible Cheesy

Updated link: https://dl.dropbox.com/u/52647185/Knighthood.jnlp
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #13 - Posted 2013-04-10 01:21:25 »

I've made the launcher to a JNLP, to make updates less visible Cheesy

Updated link: https://dl.dropbox.com/u/52647185/Knighthood.jnlp
Oh man, goussej is gonna love you.
Anyways, downloaded & ran it, web start works fine. I would recommend making the registration app using javascript, because the applet pop-up is kind of annoying (at the very least name it "registration" not "reg").
EDIT: said it had to update to 0.6, and closed itself. I'll try again later.
Offline Agro
« Reply #14 - Posted 2013-04-10 01:23:22 »

Yeah, don't do it with applets, that's really bad and vulnerable. I'm attempting to play tho!

Offline isteinvids

Junior Member


Medals: 1



« Reply #15 - Posted 2013-04-10 01:24:29 »

I've made the launcher to a JNLP, to make updates less visible Cheesy

Updated link: https://dl.dropbox.com/u/52647185/Knighthood.jnlp
Oh man, goussej is gonna love you.
Anyways, downloaded & ran it, web start works fine. I would recommend making the registration app using javascript, because the applet pop-up is kind of annoying (at the very least name it "registration" not "reg").
EDIT: said it had to update to 0.6, and closed itself. I'll try again later.
Why is goussej going to love me? xD

And yeah, I'm fixing it. Cause launcher gets update app link from an html file on my Dropbox, and Dropbox are moving the files from dl.dropbox.com to dl.dropboxusercontent.com, so it's a bit broken right now, until I fix the links in the Java apps.

EDIT: lol everything should be functioning again in an hour (or less)
Offline isteinvids

Junior Member


Medals: 1



« Reply #16 - Posted 2013-04-10 01:26:08 »

Yeah, don't do it with applets, that's really bad and vulnerable. I'm attempting to play tho!

But I can't connect to external MySQL database from my website host, and since Java applet runs from your pc, it works Sad

And I'm really not experienced in Javascript.

EDIT: Wait, is Javascript client-side? (I barely know anything about Javascript tbh)
Offline Agro
« Reply #17 - Posted 2013-04-10 01:55:36 »

You can use Client Side Javascript or Server Side Javascript. You can't run SSJS or PHP on your host?

Offline isteinvids

Junior Member


Medals: 1



« Reply #18 - Posted 2013-04-10 01:57:13 »

You can use Client Side Javascript or Server Side Javascript. You can't run SSJS or PHP on your host?

Host can run PHP, but can't send the register info to my login server, because host doesn't allow remote MySQL/server connection.
Offline Agro
« Reply #19 - Posted 2013-04-10 02:04:18 »

That blows. I'm sure there are MySQL hosts that allow you to have external connections. Do you pay or for free?

Offline isteinvids

Junior Member


Medals: 1



« Reply #20 - Posted 2013-04-10 02:05:58 »

That blows. I'm sure there are MySQL hosts that allow you to have external connections. Do you pay or for free?

My website host is for free.

I do know a good MySQL host that allow external connection, the problem is that my website host cannot connect to external MySQLs.

If I use client-side Javascript, can MySQL login stuff be seen from view source?
Offline Agro
« Reply #21 - Posted 2013-04-10 02:19:52 »

Yeah, JS always shows up in source(only client side) unlike PHP, which is like both. I'm also pretty sure there are hosts that DO allow you to connect to external hosts as ell.

Offline isteinvids

Junior Member


Medals: 1



« Reply #22 - Posted 2013-04-10 02:22:07 »

Yeah, JS always shows up in source(only client side) unlike PHP, which is like both. I'm also pretty sure there are hosts that DO allow you to connect to external hosts as ell.

I've looked this morning, and all hosts that do allow you to connect to external hosts are paid for.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 755
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #23 - Posted 2013-04-10 05:40:43 »

Never ever have clients connect to your database. Never. It's a huge security risk and if the client knows about serverside implementation (tables, column names) you lower the bar even further to either get hacked, or having people figure out cunning ways to take advantage of some design flaw.

Let clients connect to your server (presumably a PHP file) and let the server make the queries. Abstraction layers are a must for server/client communication.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline isteinvids

Junior Member


Medals: 1



« Reply #24 - Posted 2013-04-10 09:45:23 »

Never ever have clients connect to your database. Never. It's a huge security risk and if the client knows about serverside implementation (tables, column names) you lower the bar even further to either get hacked, or having people figure out cunning ways to take advantage of some design flaw.

Let clients connect to your server (presumably a PHP file) and let the server make the queries. Abstraction layers are a must for server/client communication.

I know, I'm doing a PHP file that returns if username and password are legit or not. Cause clients can be decompiled very easily, I did that mistake when I was starting in Java xD
Offline Agro
« Reply #25 - Posted 2013-04-10 10:15:40 »

This is how it should work:

For example a user logging in:

- Client sends server username and password(encrypted?)
- Server makes a request to a PHP script that takes in a username and password and authenticates it
- PHP script returns either authenticated or not authenticated to server
- Server responds to client

You should get a host that has BOTH MySQL storage AND HTTP hosting. That way you can access the PHP scripts externally and MySQL Databases internally.

Try Zymic. They will let you do that. http://zymic.com/


Offline isteinvids

Junior Member


Medals: 1



« Reply #26 - Posted 2013-04-10 10:38:19 »

This is how it should work:

For example a user logging in:

- Client sends server username and password(encrypted?)
- Server makes a request to a PHP script that takes in a username and password and authenticates it
- PHP script returns either authenticated or not authenticated to server
- Server responds to client

You should get a host that has BOTH MySQL storage AND HTTP hosting. That way you can access the PHP scripts externally and MySQL Databases internally.

Try Zymic. They will let you do that. http://zymic.com/



That's pretty much what I'm doing. My current host can do that though, and PHP file is ready. It returns true if user and pass are correct.

knighthood.me.pn/serverlogin.php?user=USERHERE&pass=PASSHERE

I only need to make the changes in the login server now  Grin
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 755
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #27 - Posted 2013-04-10 11:12:23 »

Sending passwords in plain text is insecure. You might argue that intercepting a password for a game is no big deal, but given how often people reuse passwords, it's really bad to expose passwords like that.

Hashing the password only adds a small amount of security. The way to go is with a simplistic version of the hash-handshake:



Registration:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
         CLIENT                                   SERVER

1. request account
                 --------->
                                  2. create account & salt for account
                                  3. send account_id and account_salt back
                 <---------
4. hash(password, account_salt), send it
                 --------->
                                  5. store passhash in account



Login:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
         CLIENT                                   SERVER

1. request login challenge
                 --------->
                                  2. create random data, attach it to account, send it back
                 <---------
3. hash(hash(password, account_salt), random_data), send it
                  --------->
                                  4. verify hash(passhash, random_data) == received value from
user
                                  5. delete random_data, regardless of success of login attempt
                 <---------
6. user is notified login was accepted or rejected

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Agro
« Reply #28 - Posted 2013-04-10 11:15:02 »

Yeah, that's how Minecraft does/did it right? I remember playing around with the protocols.

Offline isteinvids

Junior Member


Medals: 1



« Reply #29 - Posted 2013-04-10 11:22:28 »

Yeah, that's how Minecraft does/did it right? I remember playing around with the protocols.

Minecraft sends user and pass to https://login.minecraft.com with no encryption though.
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (25 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (43 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!