Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  tinyMMO  (Read 3505 times)
0 Members and 1 Guest are viewing this topic.
Offline sanojo

Junior Member


Projects: 1


I love YaBB 1G - SP1!


« Posted 2010-01-11 15:52:17 »

This is my entry for TIGSource Assemblee. 

It is a browser MMORPG with a javascript client and java server.  Why javascript?  I wanted to see if it was possible.  A java client would have given me much better results but using javascript and ajax actually turned out okay.




Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #1 - Posted 2010-01-11 16:30:59 »

Cute Smiley Lag was horrible (typing something it took about 20 sec until I saw it myself), same goes for attacking, I had no idea if I was actually attacking or not. People were teleporting around and when entering the first cave to the east the game reloaded and I was again on the same map (until one time when all I got was a gray screen and I couldn't do anything).

My error console is filled with about a hundred: arPlayers[strPlayerName] is undefined

Latency said about 1-2 seconds but it seemed like a lot more.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline sanojo

Junior Member


Projects: 1


I love YaBB 1G - SP1!


« Reply #2 - Posted 2010-01-11 16:46:17 »

That's weird.  Can you tell me your OS/browser?


I can't fix it until after the judging, though.  The competition time is up.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11


Game Engineer


« Reply #3 - Posted 2010-01-11 19:09:44 »

It's pretty cool, but I agree that it's a bit laggy (I had about 800-2000 ping) and it seemed kind of buggy as a wizard (refused to shoot spells a lot of the time for whatever reason, even though I appeared to have mana and a target).

See my work:
OTC Software
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #4 - Posted 2010-01-11 19:39:09 »

same here, was running really slowly for me, thought it might be javascript then noticed the 2000+ ping.

Vista + Chrome
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #5 - Posted 2010-01-12 12:39:56 »

That's weird.  Can you tell me your OS/browser?

XP SP2 and Firefox 3.5.7

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline zammbi

JGO Coder


Medals: 4



« Reply #6 - Posted 2010-01-12 13:35:01 »

Worked ok but entered some case and it crashed.
Quote
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /GameMap.jsp at line 46

43:             var bChatMode;
44:             var strChatMessage = "";
45:             var currentTarget;
46:             var strMapLayer0 = "<%=zone.getMapLayer0()%>";
47:             var strMapImpassible = "<%=zone.getMapImpassible()%>";
48:             var strMapObjects = "<%=zone.getMapObjects()%>";
49:             var strZone = "<%=zone.name%>";


Stacktrace:
   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause

java.lang.NullPointerException
   org.apache.jsp.GameMap_jsp._jspService(GameMap_jsp.java:96)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Current project - Rename and Sort
Offline Xyle
« Reply #7 - Posted 2010-01-14 02:52:27 »

That is way cool!
Even though it does get a bit laggy, its a very nice start. That is definitely something worlth building on!

Good job!

Life is just a game, learn to play!
------------------------------------------
╬-YellzBellz Games!-╬ Cheesy
Offline sanojo

Junior Member


Projects: 1


I love YaBB 1G - SP1!


« Reply #8 - Posted 2010-01-14 16:57:16 »

Thanks!

I wrote this game as an experiment in using Javascript for graphics and networking.  Its gotten a lot of positive feedback except for the horrible lag.  I was originally intending to put in tons more content with my NPC scripting engine but I ran out of time before the competition ended.

I am thinking of porting it to the Google App Engine.  I can only imagine the server performance would be much better and the hosting is free.  My current host (MochaHost) is constantly experiencing slow response times, which is death to a game that relies on HTTP as a networking protocol.

Has anyone had positive or negative experiences with Google App Engine?  I know I would have to rewrite part of the server since they don't support threading or file writes but its not very complicated so it wouldn't take much.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11


Game Engineer


« Reply #9 - Posted 2010-01-15 00:51:50 »

Thanks!

I wrote this game as an experiment in using Javascript for graphics and networking.  Its gotten a lot of positive feedback except for the horrible lag.  I was originally intending to put in tons more content with my NPC scripting engine but I ran out of time before the competition ended.

I am thinking of porting it to the Google App Engine.  I can only imagine the server performance would be much better and the hosting is free.  My current host (MochaHost) is constantly experiencing slow response times, which is death to a game that relies on HTTP as a networking protocol.

Has anyone had positive or negative experiences with Google App Engine?  I know I would have to rewrite part of the server since they don't support threading or file writes but its not very complicated so it wouldn't take much.

As I recall Sticken Wars used HTTP on Google App Engine, didn't it? Or maybe I'm wrong.

See my work:
OTC Software
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 742
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #10 - Posted 2010-01-15 10:56:43 »

As I recall Sticken Wars used HTTP on Google App Engine, didn't it? Or maybe I'm wrong.

Indeed, but the multiplayer games going out of sync pretty much ruined it Undecided

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

Junior Member


Projects: 1


I love YaBB 1G - SP1!


« Reply #11 - Posted 2010-01-15 21:32:58 »

I moved it to Google Apps.  So far it seems to be much more responsive.

http://tinymmo.appspot.com/login.jsp
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #12 - Posted 2010-01-16 14:46:33 »

umm, well, I could walk around.

couldnt kill anything Tongue.

in the inn there was like 2000 latency, but way less outside....


pretty cool though, amazing what you can do with simple javascript
Pages: [1]
  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.

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

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

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

Riven (12 views)
2014-07-23 20:56:16

ctomni231 (43 views)
2014-07-18 06:55:21

Zero Volt (38 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (34 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
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

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!