Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 [3]
  ignore  |  Print  
  Stickmen Wars  (Read 30225 times)
0 Members and 1 Guest are viewing this topic.
Offline SimonH
« Reply #60 - Posted 2009-08-26 02:02:41 »

Sorry I wasn't here - way too much in the bigger frame ATM!
I think the no-comms problem is googleapps engine - it seems to spread itself around a bit & I've made the mistake of believing that few calls==same servlet instance. Wrong.
I'm gonna have to use their crummy DB api. Arse.
It is a good game when it works though, honest! While I attempt to get it going properly, try playing with a friend that's close by geographically (so you get the same servlet instance) it is a laugh!

Sorry folks! Normal service will be resumed as soon as possible...

People make games and games make people
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #61 - Posted 2009-08-26 10:59:52 »

Never make any assumptions Smiley

It should be fun to finally play against some intelligent opponent.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline SimonH
« Reply #62 - Posted 2009-08-26 19:31:21 »

Never make any assumptions Smiley
I love 'em!  Grin

Third time lucky? It wasn't as hard as I thought to implement DB support (but I have blunted my hatchet doing in it!). Fingers crossed!
I'll be on for the next hour if anyone fancies helping me test it!


People make games and games make people
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #63 - Posted 2009-08-26 19:47:31 »

Sorry, still doesn't work.

I can see Kapta, he can see me, we can both invite eachother, but never play.

Also chat doesn't work. We're both typing, and we both can't see what the other is typing.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline SimonH
« Reply #64 - Posted 2009-08-26 19:58:23 »

Damn! So close! Me and Kappa managed a couple of games, but my hack for storing messages was a hack too far I guess!
Thanks for your time guys!  It's frustrating to get sooo near it working!

People make games and games make people
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 77
Projects: 15


★★★★★


« Reply #65 - Posted 2009-08-26 20:04:40 »

From what I've played so far, online play is really fun, it involves a nice bit of strategy too.
Hopefully you'll be able to squish the bugs soon.
Offline SimonH
« Reply #66 - Posted 2009-08-26 20:14:07 »

From what I've played so far, online play is really fun, it involves a nice bit of strategy too.
Hopefully you'll be able to squish the bugs soon.
Thanks! Me too!

Think I might have nailed it;
1  
java.lang.IllegalArgumentException: dataToSend: String properties must be 500 characters or less.  Instead, use com.google.appengine.api.datastore.Text, which can store strings of any length.

Not that it should be sending anything that long anyway...

People make games and games make people
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #67 - Posted 2009-08-26 23:12:59 »

Well, I officially beat Arniebot on every map. His main issue is that he doesn't adapt at all - once he got me to about 10% but I still built an engineer and he didn't. And that meat machine is pretty awesome against his strategy if you deploy it under the cover of some footmen.

Dumbot won't reply to invitations...

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

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #68 - Posted 2009-08-26 23:26:57 »

Maybe important when you're debugging: I can't even play the bots, they never accept my invitation.

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

Senior Newbie





« Reply #69 - Posted 2009-08-27 12:11:32 »

Woha dumbot accepted my invitation but I was told

"The game will start in 5764580 seconds"

isnt that just a bit long?

I also think its discriminatory that the username needs at least 4 characters.  Tongue

cheers,

Mac
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Mike

JGO Wizard


Medals: 76
Projects: 1
Exp: 6 years


Java guru wanabee


« Reply #70 - Posted 2009-08-27 12:18:41 »

When loading the game I get the following error:
error ioe2: Server returned HTTP response code: 500 for URL: http://kfapp2.appspot.com/kfapp2

And not even the bots accept my invitation (and I guess you couldn't see mine either Riven)

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline SimonH
« Reply #71 - Posted 2009-08-27 18:26:46 »

Um, dare I say it? fourth time lucky?
Lots of fixes;
Bots should now be a bit keener to play!
Strange -ve message length problem sorted - think this might have been the main problem!
Message passing improved.
User names can now be 3 characters (just for you _Mac_!).

I also tidied the load screen a bit.
You now start with 30 credit - not sure if this is a good change or not...

EDIT: Hold on - it's crashed again...  Sad
Humph! Error;
1  
com.google.appengine.api.datastore.DatastoreTimeoutException: Unknown 

leads me to;
1  
2  
3  
4  
5  
6  
7  
8  
9  
GAE's session handling is backed by both the datastore and memcache. App
Engine'
s datastore is built on Big Table, which is a very large, distributed
DBMS. Because of its distributed nature, you will likely see a small amount
(generally 0.1 to 0.2 percent) of datastore operations fail over time. We
are constantly making improvements to App Engine's back-end to drive this
percentage even lower, but if you depend on sessions to manage your
application'
s state, you should definitely be aware that there is the
potential for failure and appropriately handle any exceptions that get
thrown in the event of a datastore issue.

In other words, I can never be sure if a message has been stored or not!
Pass me that crowbar - I'll see if I can get a rollback system in there...

People make games and games make people
Offline Apo
« Reply #72 - Posted 2009-08-27 19:29:05 »

...
User names can now be 3 characters (just for you _Mac_!).
...

And for me =)
I know it's hard to balance but I would prefer more units =)
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #73 - Posted 2009-08-27 22:45:49 »

Wouldn't let me play either bot, and said my ping was 999.  :-(

See my work:
OTC Software
Offline SimonH
« Reply #74 - Posted 2009-08-28 00:49:31 »

So sorry folks! This is so near working!
Kevglass has pointed me in the right direction (if I can do it) so please be patient - this WILL work! *maybe*
It really needs a spectator mode though (not possible as is) - I tink I gotta get smart...

People make games and games make people
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #75 - Posted 2009-08-28 17:01:53 »

So sorry folks! This is so near working!
Kevglass has pointed me in the right direction (if I can do it) so please be patient - this WILL work! *maybe*
It really needs a spectator mode though (not possible as is) - I tink I gotta get smart...
Sheesh, you'd better hurry.
Tongue

See my work:
OTC Software
Offline SimonH
« Reply #76 - Posted 2009-08-29 17:26:10 »

Sheesh, you'd better hurry.
Grin

Maybe, just maybe...this one will not be as SNAFU as the others!
It uses JCache now which *seems* to work (fingers crossed!)
I fixed a fundamental logic error which meant that both players could win (that was most entertaining!).

EDIT: Still SNAFU - *thinks* why did I ever start this?

People make games and games make people
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #77 - Posted 2009-08-29 17:40:21 »

I actually got play arnie bot, I lost Sad
Offline SimonH
« Reply #78 - Posted 2009-09-02 19:19:12 »

Stickman Saga - episode VI
I put in a partial gamestate exchange mechanism so it should be more in sync than before, it is still possible for both sides to win, but they'd almost certainly have to collaborate to make it happen...
The price tag for this is slight jitter on enemy units (especially the flail).
I had to reduce the credit increment per airdrop or it would have been possible to flood the map with ever increasing numbers of units. I've also upped all the unit speeds to make the game pacier (and faster to test  Roll Eyes).
I'm very tempted to stick an expensive rocket launcher in the last free slot, just for those 'Quick! Blow them all up!' moments...

People make games and games make people
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #79 - Posted 2009-09-02 22:39:00 »

Riven and I just played and we had some very bad sync issues. Sad

His guys kept not arriving, our life totals in our places were slightly off, and more. I think you should give up on this approach and just do a proper client/server relationship, no?

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

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #80 - Posted 2009-09-02 22:41:04 »

What Demonpants said.

Adding to that: it's a heck of a lot better than the previous version! Go girl!

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline SimonH
« Reply #81 - Posted 2009-09-03 00:37:35 »

Riven and I just played and we had some very bad sync issues. Sad

His guys kept not arriving, our life totals in our places were slightly off, and more. I think you should give up on this approach and just do a proper client/server relationship, no?
Well, good sync is never going to be an option with this... Units not arriving is really baaaad - I mega-goofed somewhere... but where? Man, I tied players as close as they could possibly get. Damn, damn, damn!
Re proper server: Could do, but surely this current approch is possible? And free...  and unsigned... I'd need port 80 on a dedicated server...
Ugh! I think I just put my foot in a can of worms!

People make games and games make people
Offline Apv301

Innocent Bystander




JaGex and Mojang, can life get any better?


« Reply #82 - Posted 2010-05-04 14:40:27 »

Omg this is epic win!   Grin
Pages: 1 2 [3]
  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.

BurntPizza (25 views)
2014-09-19 03:14:18

Dwinin (39 views)
2014-09-12 09:08:26

Norakomi (68 views)
2014-09-10 13:57:51

TehJavaDev (93 views)
2014-09-10 06:39:09

Tekkerue (47 views)
2014-09-09 02:24:56

mitcheeb (68 views)
2014-09-08 06:06:29

BurntPizza (51 views)
2014-09-07 01:13:42

Longarmx (38 views)
2014-09-07 01:12:14

Longarmx (44 views)
2014-09-07 01:11:22

Longarmx (40 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

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

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

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!