[SGS] Hack example

Until SGS/Darkstar gets its own forum, just going to use this one.

Got SunGameServer preview release 1 this weekend and i’ve gotten all the examples to run so far, except “Hack”.

I am able to start up the client, but after i create a character (name/class/stats) it takes me to what seems to be a gamebrowser but no games show up. How do i create a game? Has anyone gotten Hack to work yet?

AH, the content.

There is a set of files that define that, my guess is we forgot to put that into the release.

I’ll look at it monday!

thanks

JK

Hi Jeff, thanks for the response. I do see a release/server/apps/hack/data dir with what looks like data files for the dungeons etc. And when i start up SGS it does look like hte HackBoot does load up these dungeons. I’ll keep poking around until i hear someone else has it working or if you guys notice anything that needs to be fixed.

Okay,

Hack is Seth Proctor’s baby (oen of our team members0 So I’ll poitn hi mat this.

Its also possible that seth hardwired the data dir into the hack code. Rather late in my development of the stack I added the ability to find
your install directory from an app so its possible he didnt get around to integrating that…

Hey there. Sorry I’m slow to respond…I just learned about this forum last night :slight_smile:

It turns out that the games are there, but there’s some re-draw bug that I introduced at the last minute. I will try to figure that out and get in fixed in the next push. Basically, if you click in the list, and then hit up or down on the keyboard a dungeon will be selected, and the Join button will become active. I’m as puzzled as anyone about what’s going on.

Now, note that when you actually join a Dungeon, it won’t so much be “fun”. The levels that are in there right now were the ones we used to do a lot of last-minute testing, and I never had time to go back and write real content. Again, that’s the plan for the next release. If anyone wants to have fun writing levels or new sprite maps, let me know! The real purpose of the Hack game is to provide a pretty rich example of both client and server-side code. I hope it’s useful…

Also, there are two Dungeon maps here. One is repeated 12 times (again, for stress-testing purposes), and the other is based on a game from another web site some folks may recognize. You need to pick the right kind of character to play the latter level, or the sprites won’t match up. I’ll leave it as an exercise to the reader to figure out this mapping :slight_smile:

seth