Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (428)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
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  
  My first multiplayer internet fighting game(GTGE) applet and jar  (Read 14843 times)
0 Members and 1 Guest are viewing this topic.
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #60 - Posted 2009-07-23 21:38:41 »

I cant wait until we can try this out. Does it still sue the same fighting style. Or is it a  completely different game fromt he beggining.
Offline markmistry

Junior Member





« Reply #61 - Posted 2009-07-23 23:06:55 »

the fighting style has slightly changed but it doesnt work quite the way i want it to i cant figure out how other fighting games work i think i might have to add a few timers to stop you from pressing a million keys a second and the character responding as fast it dont look quite right but hey it sort of works..lol
i have uploaded my latest version for you all to have a look..its not fully finished i have yet to do the collections or integrate the attack and defence from the moves into the characters oh and the health doesnt do anything yet but i intend to decrease the health of your fighter after each mission or victim attack  lol@victim  Grin thats right suckers i am gonna own you all.. seriously though you can only attack a victim if they are offline
as i havent integrated it yet so that the updating of cash is in sync.

i like the fact that you money goes up even when you dont play it as this is gonna help bigtime..well enough rabbiting  check it out if you want
both the applet version and the jnlp version work great and i have managed to get the jar file size down to 569kb

the game creates a folder called resources in your user.home directory and in there it puts all the graphics you require.it only does this as it needs to once the graphics are downloaded from my server it wont get them again so the game will run faster each time.
let me know if you have any issues or problems and i will try to help as much as i can.

and your lucky theres any graphics at all i was gonna just make it text  Grin

http://www.kickassevolution.com/bm3source/webstart/kae.jnlp     obvious what this is<<<<
http://www.kickassevolution.com/bm3source/webstart              <<< this is applet

it should work on linux and pc but sorry no mac yet
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #62 - Posted 2009-07-24 10:51:26 »

uhh. I cant load your website. It says it cant connect :/.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline markmistry

Junior Member





« Reply #63 - Posted 2009-07-24 18:51:54 »

sorry server was turned off its on again now i was trying to fix h2h2 so it works
Offline markmistry

Junior Member





« Reply #64 - Posted 2009-07-28 05:11:45 »

Ok its back up and running again going to need some feedback if thats ok with anyone that reads it i got questions...

First off the jnlp webstart version after clearing your java cache of any of my stuff when you first click on the little picture on the site or from the link in previous posts how long does it take to download and play the first screen(not the gtge splash the login create account screen) ?

how long does it take to get to the next screen once you have clicked on the login/create account buttons ?? by the way dont get it wrong or you have to restart..lol i will fix this soon.

this is my main concern once you get to the screen where you type in something it should be quicker and future plays will be even quicker i create a folder in(system.home) called resources this is where the graphics for the game will be stored.to ensure you get the most up to date versions you can always delete the folder before you next login.

after you have selected a server(theres only one for now) is moving from screen to screen quick enough as i download graphics on the fly as they are needed, only does this once. same when your selecting missions or learning the moves choosing a character or the collections.

i know the timers are out by 1 second couldnt be bothered to correct it.

the same questions apply to the applet although i found the applet works faster.

i know the actual fighting graphics are pants and are not aligned properly and theres variables printed on the screen in various places.
i would like to know mostly about the speed it downloads at and if anyone else gets a white screen. or crashes.
i may not be online when you manage to logon which you will all have to create new accounts as my server died a while back and i lost all my data off the database,but feel free to pick me as a victim to test out the cash side of it log off log back on and it should remember where you last left off and update your cash,by the way you dont have to do anything at all to earn cash in the game you get bonuses every 15mins plus income from any buildings you have.you need stamina to fight victims and you need energy plus the move for the missions.when you fight the missions you risk loosing what you intend to gain  Grin telling me how crap it is is not required only if it works reasonably fast and if you encounter any major problems..cheers see you around im off to sleep.
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #65 - Posted 2009-07-28 10:52:37 »

I didnt time anthing, but that is a really awesome game Smiley.

was kinda fun beating on your AI. dang only ~20 seconds every time.... may want to make that harder....

EDIT: you need ot have the cost of stuff theere. Cause I keep getting "not enough cash" but for some stuff it doesnt say the cost.

and how do you get to do a mission. do ou have to 100% master a move? cause that is a bit too much.

EDIT2: nvm, I got missions working. they are kinda easy though.
Offline markmistry

Junior Member





« Reply #66 - Posted 2009-07-28 19:58:12 »

hey thanks for testing it but it still has a long way to go it all has to be leveled up cash amounts strength and speed of ai,
i am just trying to get the mechanics working i know its a little easy i kept being beaten. i was thinking of adding strength for the moves mastery, start of with a weak punch attack strength of 1 and when you have mastered it make your punch strength 5 not to mention bonus cash and collections thrown in at random for you to collect for doing the missions all the missions are currently set to 1% for each completion im going to change it so you master them quicker to start with gradually getting less.
most importantly did it crash what version did you play ? was it quick enough to download the graphics data?
I will be tinkering with it laters so it may not load at all next time you log on but your cash bonuses will be there next time you log on.
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #67 - Posted 2009-07-28 23:27:00 »

well. It seemed like a smooth game. Althouhg In the profile page, I never did find out how much that stuff cost.

it seemed very polished... until I got into a fight that is Wink. That is the only place that I find unproffesional.

EDIT:
I finnaly figured out the profile page thing.
Offline Cero
« Reply #68 - Posted 2009-07-29 14:09:00 »

server is currently unavailable =(

Offline markmistry

Junior Member





« Reply #69 - Posted 2009-07-30 10:10:51 »

Sorry folks server keep going off as i keep changing things,the latest versions online now sorry forgot to fix the layout of the h2h data but it does report who won and lost correctly just the data display is the wrong way round.
ive added more variables to the screens and i have added the extra characters so theres only 3 to choose from at the moment and when a character is downloaded you fight with that character but also your oponent is the same character i cant do anything about that for now as i need more characters to add as default characters.
eventually when you fight against someone else you will fight the character they have chosen the file sizes are not that big, ill have to make a kind of holding screen before the fight starts while it downloads the extra character data before it throws you into the fight screen.
i still havent changed the hit points so the fights are over quicker.
i still need to check for old files and update with new ones but not started that yet. so i recomend clearing your java cache temp files and delete the resource folder just incase you have old files.
oh and now it dont cost any money for missions and you wont loose any should you loose (thats doubtful) but you still need energy.
feeling quite tired so i may not work on it for a bit and have a crack at making some more characters,when ive added more characters then i will have a go at making more changes to the actual program and finally sorting out the attack defence and collections stuff.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cero
« Reply #70 - Posted 2009-07-30 16:21:26 »

server is consistently unavailable for me =o

Offline markmistry

Junior Member





« Reply #71 - Posted 2009-07-30 22:00:47 »

webserver or gameserver? my servers been on for ages so it should be working fine it maybe because your using an old client??
I lost all the database stuff a few months back so if your trying to login with an old username it wont work sorry,youll have to create a new name.

UPDATE...i had lost my connection to the internet probably why it was playing up.
i have made it now so it checks if you have old graphics and soundfx and updates them automatically instead of keep deleting the resource folder.
Offline Cero
« Reply #72 - Posted 2009-07-31 11:01:32 »

gameserver obviously

I try to login and it says "server currently unavailable, please try again later. thankyou"
doesn't matter if I use applet or jnlp

Offline markmistry

Junior Member





« Reply #73 - Posted 2009-07-31 19:00:10 »

sorry cero internet connection was playing up they are probably upgrading me to 10 meg. the server will be on all weekend as i will be making more changes sat and sun.
Offline markmistry

Junior Member





« Reply #74 - Posted 2009-08-01 09:50:49 »

Hey i have found out what the problem is and its BAD .  Grin lmao.
ok its not that funny really when you build yourself a program that performs a denial of service attack on your self, so much for trying to be clever looks like i will have to go back to doing things the old way with sockets rather than http connections, i suppose its ok if your not trying to do as many as i was a second.
fear not i now have a better understanding than when i first designed my network so hopefully i will get it fixed and it will be better than before.
i am going to remove some old methods and replace them with better designed ones. Looks like i will need to stock up on coffee see you when its finished.
im going to have to remove the page so you wont play it. sorry cant have my network down while im testing it.
Offline markmistry

Junior Member





« Reply #75 - Posted 2009-08-01 15:44:16 »

Ok i think i have kind of fixed it .dont know yet time, will tell the latest version is uploaded with all the fixes.
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #76 - Posted 2009-08-03 16:33:24 »

I got this exception while during login

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
Game Exception on bloodmoneyGameEngine
--------------------------------------
java.lang.ThreadDeath
   at java.lang.Thread.stop(Unknown Source)
   at java.lang.ThreadGroup.stopOrSuspend(Unknown Source)
   at java.lang.ThreadGroup.stop(Unknown Source)
   at sun.awt.AppContext.dispose(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppContextDisposer.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Game Environment
----------------
Date/Time         : Mon, 03 Aug 2009 at 16:28
Java Version      : 14.0-b16 Sun Microsystems Inc.
GTGE Version      : 0.2.3
java.lang.StackOverflowError
Offline markmistry

Junior Member





« Reply #77 - Posted 2009-08-03 16:38:15 »

sorry think that was me disconnecting the server  persecutioncomplex
Offline Cero
« Reply #78 - Posted 2009-08-05 11:35:03 »

tried clicking the login button and it froze

you really need a mouse over effect and a mouse down effect, or atleast a mouse down effect

or else you can never tell if you clicked or the program froze before or what

a button should give a response

Offline markmistry

Junior Member





« Reply #79 - Posted 2009-08-05 15:09:53 »

ok i will work on that today was thinking of that my self i will see what i can come up with.
The games changed loads since you last created an account so youll have to create a new one as i have changed some of the data structures to add more features sorry.
I am going to wipe your details from the server or you wont be able to login or create an account till the old files are gone.
This goes to anyone who created an account.

Ok i print a message to the screen when you press left mouse button but problem is when you press the mouse button it normally changes screen to the next screen indicating that you pressed it.so you dont get to see it,but its there anyway just incase.

The only reason it should freeze is if the server is turned off, Its been off and on hundreds of times the last few days as i created a denial of service attack by accident, this could be why it froze on you. I have put a mouse over affect in simple white line rectangle around the button.
Any messages from the server will be printed on the screen.
Normally timed out will show up after 30 seconds after you have clicked the button.
 To be honest there are no buttons i just use mouse co-ordinates
Offline markmistry

Junior Member





« Reply #80 - Posted 2009-08-07 15:48:15 »

Ok ready to try..hopefully ive fixed most of the problems.
I have added an auto disconnect feature that closes program and logs you off after 20 mins of inactivity.
The graphics downloader for the characters has now got a progress bar.
It should be playable at least now but its still not finished.
if anyone would like to try it out ,let me know what you think of it so far, and if you have any problems  Smiley
Offline Cero
« Reply #81 - Posted 2009-08-08 02:39:11 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
Game Exception on bloodmoneyGameEngine
--------------------------------------
java.lang.RuntimeException: Resource not found: C:\Documents and Settings\Okita\C:\Documents and Settings\Okita/resources/mark0.png
   at com.golden.gamedev.engine.BaseIO.getURL(Unknown Source)
   at com.golden.gamedev.engine.BaseLoader.getImages(Unknown Source)
   at com.golden.gamedev.engine.BaseLoader.getImages(Unknown Source)
   at com.golden.gamedev.GameObject.getImages(Unknown Source)
   at missionfight.initResources(missionfight.java:156)
   at com.golden.gamedev.GameObject.start(Unknown Source)
   at com.golden.gamedev.GameEngine.startGameLoop(Unknown Source)
   at com.golden.gamedev.Game.start(Unknown Source)
   at com.golden.gamedev.GameLoader.start(Unknown Source)
   at bloodmoneyGameEngine.main(bloodmoneyGameEngine.java:124)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.sun.javaws.Launcher.executeApplication(Unknown Source)
   at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
   at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Game Environment
----------------
Date/Time         : Sa, 08 Aug 2009 at 02:37
Java Version      : 11.3-b02 Sun Microsystems Inc.
GTGE Version      : 0.2.3
Environment       : Windowed Mode [800x600] with BufferStrategy
Operating System  : Windows XP 5.1 Service Pack 2
User Name         : Okita
Working Directory : C:\Documents and Settings\Okita


I tried to download "Mark", I pressed the button but never knew if it worked.
Then tried to start the mission and obviously it wasn't downloaded

EDIT: or the path is wrong ... "C:\Documents and Settings\Okita\C:\Documents and Settings\Okita/resources/mark0.png"

Offline markmistry

Junior Member





« Reply #82 - Posted 2009-08-08 04:41:42 »

Hi cero did you see the progress bar indicating a download and text saying  "downloading please wait..!." when you selected the character?
when you got to the first screen when you first started the game did you see the main picture if you did the path is correct(user.home).
after you have downloaded the character you need to select "use this character "go to moves to learn the move that relates to the mission
then do a mission...but saying all that i dont know why you would have got a resource not found error?Huh

the version when the very first screen comes on should say 1.0.2.6

strange i could have sworn you cant fight unless you learn the move fiirst but saying that you may have selected another move i will have a look would be better if you could retrace your steps :O). thankyou for checking it out anyway :O) really appreciate it..was wondering about your loading time was it ok?
Offline markmistry

Junior Member





« Reply #83 - Posted 2009-08-08 05:25:53 »

ahh you forgot to download the character png files the "use this character" should not show up unless you have downloaded the pngs, going to fix it now
Offline markmistry

Junior Member





« Reply #84 - Posted 2009-08-09 16:54:23 »

I have now added music to the lobby and sound fx for the button clicks and when you receive new messages on the chat ,new user log on and logoff.
If you do try it could you please tell me if you crash as i have no way of knowing otherwise,thanks
Offline Cero
« Reply #85 - Posted 2009-08-14 12:40:12 »

tried to access the page just now, but the page itself seems down

Offline h3ckboy

JGO Coder


Medals: 5



« Reply #86 - Posted 2009-08-14 16:18:35 »

tried to access the page just now, but the page itself seems down
yeah, it has been off a lot.

I think it has to do with some stuff he is working on.
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #87 - Posted 2009-08-20 22:29:30 »

haha, I have caught you double dealing http://www.goldenstudios.or.id/forum/showthread.php?tid=2419.

lol
Offline markmistry

Junior Member





« Reply #88 - Posted 2010-02-20 00:07:47 »

well its been more than 3 months and i have decided to pick up where i left off..
I have scrapped the single player mode the ai was too difficult . i am looking for performance testers now as my connection should now be 10meg...
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #89 - Posted 2010-02-20 12:57:51 »

well its been more than 3 months and i have decided to pick up where i left off..
I have scrapped the single player mode the ai was too difficult . i am looking for performance testers now as my connection should now be 10meg...
this mean the site is back up??

Ill test for you Wink lol
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.

xsi3rr4x (79 views)
2014-04-15 18:08:23

BurntPizza (71 views)
2014-04-15 03:46:01

UprightPath (82 views)
2014-04-14 17:39:50

UprightPath (66 views)
2014-04-14 17:35:47

Porlus (82 views)
2014-04-14 15:48:38

tom_mai78101 (106 views)
2014-04-10 04:04:31

BurntPizza (166 views)
2014-04-08 23:06:04

tom_mai78101 (262 views)
2014-04-05 13:34:39

trollwarrior1 (212 views)
2014-04-04 12:06:45

CJLetsGame (221 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!