Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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 2647 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 Mickelukas

JGO Ninja


Medals: 39
Projects: 2


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

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!
Play the free demo of Revenge of the Titans!
Offline Eli Delventhal
« League of Dukes »

JGO Kernel


Medals: 39
Projects: 12


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: 50
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 Mickelukas

JGO Ninja


Medals: 39
Projects: 2


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

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

Senior Member


Projects: 2



« 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
« League of Dukes »

JGO Kernel


Medals: 39
Projects: 12


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!
Try the Free Demo of Droid Assault
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


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
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
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
« 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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (89 views)
2013-05-16 21:24:48

gouessej (119 views)
2013-05-16 00:53:38

gouessej (113 views)
2013-05-16 00:17:58

theagentd (125 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (178 views)
2013-05-12 15:36:09

UnluckyDevil (186 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.138 seconds with 20 queries.