gamble2 Posted November 15, 2009 Report Posted November 15, 2009 HI IS ANYONE ANY GOOD WITH JAVA? Quote
gamble2 Posted November 15, 2009 Author Report Posted November 15, 2009 i have all the files to an old java based game, the folder is full of .class files, some html files and some text documents. When the game was up and running 5-6 years ago it had a log in feature, points system etc (similar to ss). Some time ago a friend of mine got the files to load as they used to (when the game was alive) but you couldn't log in because we didnt have the database for it. Is it at all possible to re-create a database from scratch that can be loaded to run with and in co operation with the files? Or would you need the original? Quote
Samapico Posted November 16, 2009 Report Posted November 16, 2009 I'd guess you need to scroll through the source and find what kind of stuff is needed in the database, and make one. Either that, or you simply need to have it point to a fresh database it can actually access... Depends on what is in there I guess Quote
»Maverick Posted November 17, 2009 Report Posted November 17, 2009 If you only have .class files and no source files with the extension .java (or maybe those text files), then you won't be able to create a new database from scratch (although maybe if you reverse engineer the .class files but it wouldn't be quite readable). If you have the source files, you would be able to create a new database by checking the queries that are done in the source code. This would still be a cumbersome process and prone to errors as you're missing alot of information. The best and most efficient way is to get the original database :-) If you don't mind handing out a copy of the game, you should attach the game here so one of the java developers or me can take a look for you. Quote
Drake7707 Posted November 17, 2009 Report Posted November 17, 2009 reverse engineering java class files is doable and readable, given they haven't been obfuscated. I've used DJ Java Decompiler in the past and that worked well ^^ Quote
Gamble Posted November 29, 2009 Report Posted November 29, 2009 Hi is anyone good with java? I need some help. I have the source code to an old java based game i used to play but no database. Does anyone have aenough know how to compile a new db and get it to run with the source code? Quote
Gamble Posted November 29, 2009 Report Posted November 29, 2009 (edited) I posted this a little while back and forgot lol... here is the source code; http://games.centerscore.com/games/wh/ Edited November 29, 2009 by Gamble Quote
»Ceiu Posted November 30, 2009 Report Posted November 30, 2009 That is not the source code; it's the compiled binaries. You'll need to use a decompiler and hope for the best (most Java decompilers don't handle 1.5+ features very well). Quote
»Maverick Posted November 30, 2009 Report Posted November 30, 2009 (edited) If I remember and have time this evening, I can take a look. PS. Anyone mind merging this topic with the other same topic? Edited November 30, 2009 by Maverick Quote
»Maverick Posted November 30, 2009 Report Posted November 30, 2009 I've looked into the decompiled .class files and couldn't find a single SQL query in it. What I found out is that it used to connect to a server for login procedures and most likely for the entire game (as it was something like a MMOG from what I can google). You need to have the wormhole server running for the game to function. It seems it used to be here: http://games.centerscore.com/games/x/whserver/ Without the server there is no chance for you to revive the game. Quote
»Xog Posted November 30, 2009 Report Posted November 30, 2009 (edited) Here you go guys, I know I made someone happy today. It's not the actual game but it's very similar, and someone had mentioned wormhole a few posts down and said a few things about it. Believe it or not, I actually found the .class files for wormhole. So I decompiled them and I now have wormhole's source code. Obviously, I cannot play the game because there is currently no server online, which is why I get the "Cannot connect to the server" message. I sent an email out to Centerscore (centerfleet) about possibly obtaining the server application. I doubt they will reply, so right now I reviewing the source code so I can possibly create a test server for myself. If all things turn out well, I will be creating a forum soon, I also need to buy a site in which I can host this game on. http://gmc.yoyogames.com/index.php?showtopic=398845 http://img36.imageshack.us/img36/6333/wnpic2.png - http://img36.imageshack.us/img36/2856/wnpic3.png - I don't know if this well help with the whole server application finding situation, but: # Centerscore, Inc. 2001 (c) Do not use without permission. # props file for gui skeleton NumClasses=42 releaseHost=72.3.247.41 hostname=72.3.247.41 #releaseHost=209.61.191.101 #hostname=192.168.1.101 loginserviceport=6041 loginserviceport2=7041 # #images # NumImgs=15 IN0=img_waterblocks IP0=images/blocks-su.gif IX0=18 IN1=img_puds IP1=images/puds.gif IX1=162 IN2=img_puds_flying IP2=images/pudsFlying.gif IX2=12 IN3=img_puds_moving IP3=images/pudsMoving.gif IX3=36 IN4=img_puds_surfing IP4=images/pudsSurfing.gif IX4=9 IN5=img_pow IP5=images/pow.gif IX5=4 IN6=img_login_bg IP6=images/login-backing.gif IN7=img_login_pud IP7=images/login-pud.gif IN8=img_login_big_icetris2 IP8=images/login-big-SurfsUp.gif IN9=img_login_big_avalanche IP9=images/login-bigAvalanche.gif IN10=img_login_small_avalanche IP10=images/login-smallAvalanche.gif IN11=img_login_small_icetris2 IP11=images/login-small-SurfsUp.gif IN12=img_login_big_avalancheDark IP12=images/login-bigAvalancheDark.gif #TEAM IN13=img_team_puds IP13=images/pudTeams.gif IX13=2 #chars IN14=img_characters IP14=images/characters.gif IX14=3 # #sounds # NumSnds=10 SN0=snd_silence SP0=sounds/silence.au SN1=snd_clear_row SP1=sounds/clearrow.au SN2=snd_smash SP2=sounds/smash.au SN3=snd_wipeout SP3=sounds/wipeout.au SN4=snd_trap SP4=sounds/trap.au SN5=snd_drill SP5=sounds/drill.au SN6=snd_eat SP6=sounds/eat.au SN7=snd_trickle SP7=sounds/trickle.au SN8=snd_drop SP8=sounds/drop.au SN9=snd_rotate SP9=sounds/rotate.au #SN10=snd_avalanche #SP10=sounds/avalanche.au #SN11=snd_avalanche2 #SP11=sounds/avalanche2.au #branding brand=Center Fleet # CUSTOM SKIN VARS # placements # login loginpanel_tf_username=502,305,100,20 loginpanel_tf_password=502,332,100,20 loginpanel_btn_login=616,330,60,24 # lobby lobbypanel_playerpanel=5,100,220,375 lobbypanel_tablepanel=233,29,550,272 lobbypanel_chatpanel=233,319,550,156 lobbypanel_btn_logout=5,56,220,20 lobbypanel_btn_createtable=288,5,100,20 lobbypanel_btn_createtableoptions=400,5,130,20 # lobby URL buttons lobbypanel_btn0=5,31,220,20 lobbypanel_btnurl0=http://www.centerfleet.com/wormholeNewGround/info/index.html lobbypanel_btnname0=Wormhole: New Ground! # playing playingpanel_chatpanel=5,156,205,319 #playingpanel_chatpanel=0,0,0,0 playingpanel_btn_startgame=5,56,200,20 #playingpanel_btn_soundtoggle=5,81,200,20 playingpanel_btn_soundtoggle=0,0,0,0 #playingpanel_btn_leavetable=5,131,200,20 playingpanel_btn_leavetable=0,0,0,0 playingpanel_gameboard=220,3,561,474 playingpanel_credits=0,0,0,0 #credits-124,10,84,125 # lobby URL buttons #playingpanel_btn0=5,106,200,20 playingpanel_btn0=0,0,0,0 playingpanel_btnurl0=http://www.centerfleet.com/index.html playingpanel_btnname0=Center Fleet # dialogs # create table dialog table_dialog=280,160,300,155 table_dialog_tf_password=7,65,255,20 table_dialog_btn_ok=6,90,100,20 table_dialog_btn_cancel=125,90,100,20 table_dialog_cb_ranking=12,28,100,15 table_dialog_cb_auto_only=120,28,80,15 table_dialog_cb_teams=210,28,100,15 # join table dialog jointable_dialog=280,130,155,144 jointable_dialog_tf_password=8,41,135,20 jointable_dialog_btn_ok=8,70,65,20 jointable_dialog_btn_cancel=80,70,65,20 # player info dialog player_dialog=350,150,270,170 player_dialog_btn_view=0,0,0,0 player_dialog_tf_whisper=70,59,172,20 player_dialog_btn_send=0,0,0,0 player_dialog_btn_close=30,102,190,20 player_dialog_cb_ignore=9,82,300,19 player_dialog_icon_URL= player_dialog_clan_URL= # colors color_bg=0,152,249 color_fg=255,255,255 color_who_me=170,0,0 color_who_other=0,0,255 # instructions welcome0=Instructions: welcome1=Click on a table to jump into a game. welcome2=Green tables are collecting players. welcome3=Yellow tables are about to start. welcome4=Red tables are playing. welcome5=Type '/help' to list chat commands. welcome6=---------------------------------------------------------------- welcome7=Center Fleet is happy to release a special preview of Avalanche: Surf's Up! This special welcome8=preview will be available only for a few days. At that time, the new features including the welcome9=the highly requested "Auto Only" tables and Team tables will be released as part of a new welcome10=Center Fleet membership plan. For $5 a month all Advanced Plan members will be able to welcome11=play in these special Avalanche: Surf's Up! tables and use all the Advanced Plan features welcome12=of Wormhole: New Ground. We will be continually rolling in new features for the Advanced welcome13=Plan features of Avalanche: Surf's Up! welcome14=--------------------------------------------------------------- instr0=Help: this message instr1=Whisper: /whisper [username] instr2=Reply: /reply [message] instr3=Ignore: /ignore [username] instr4=UnIgnore: /unignore [username] table_instr0=Key Commands: table_instr1=Left and Right Arrow - guide falling blocks table_instr2=Up Arrow - rotate block table_instr3=Down Arrow - drop block one square table_instr4=Space Bar - drop block table_instr5='a' - auto use powerup table_instr6='s' - use powerup on 's' player table_instr7='d' - use powerup on 'd' player table_instr8='f' - use powerup on 'f' player table_instr9=Tip: Trapping different colored puds and clearing those rows have different effects. #gutters for cf components cfchatpanel_gutter=8,8,8,8 cftablepanel_gutter=8,8,8,8 cfplayerpanel_gutter=10,10,25,50 #assorted guest_string=guest- Wormhole Group: http://www.facebook.com/group.php?gid=6545940845 Edited November 30, 2009 by Xog Quote
L.C. Posted November 30, 2009 Report Posted November 30, 2009 Game looks kind of familiar, although there were a bunch of space shooter games back in the 1990s. There is one game in particular that I am thinking about, but I do not know its name... Quote
»Xog Posted November 30, 2009 Report Posted November 30, 2009 update: http://www.centerscore.com/information/contactus.html Due to the volumes of inquiries we receive, Centerscore only lists our email addresses for contact. However, we do check these emails and respond to nearly all inquiries. For those interested in investing in Centerscore, we currently are a private company and do not trade publicly. Our popular Center Fleet internet games are no longer available on the web and are not for sale. However, we hope to develop some of these games, including Wormhole, for the cell phone. Quote
L.C. Posted November 30, 2009 Report Posted November 30, 2009 Man, that's awesome. If only it were for SubSpace/Continuum... Quote
kawaiimomo Posted October 28, 2011 Report Posted October 28, 2011 I know it has been ages since last post but I want to bring back to life Avalanche (icetris 2). I cannot access centerscore.com, could anyone send me or upload the classes please?? Quote
kawaiimomo Posted July 6, 2013 Report Posted July 6, 2013 2 years after, still ages from last activity, I managed to get the Avalanche client files back (obfuscated .class files) and the images, but could not recover the server files.I plan to reverse engineering or remake it from scratch if I see there's enough interest in it. I created a Facebook group to gather the fans, please join http://facebook.com/groups/480086535398867 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.