Page 2 of 4

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Fri Mar 02, 2012 2:05 am
by Bit
Bit knows why!
The last requests I made always started avalanches of chaos and really treated her hard.
Well, this lil function now surely should leave her relaxed, she deserves it!

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Mar 04, 2012 7:52 pm
by the master
Think I am stuck right at the very end. Have battled through and killed everything in the dungeon. Now stuck on a small level where I need a gold key to get through an ornate gate and can see another one beyond that for which I have the key. Looked everywhere for this gold key. Any ideas.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Mar 04, 2012 8:07 pm
by Gambit37
I don't think anyone can help, @the master, it's a random dungeon....

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Mar 04, 2012 10:09 pm
by the master
Oh yeh, forgot about that.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Mon Mar 05, 2012 9:08 am
by zoom
I thought it was possible to share the generated dungeon with others. You just have to:
Joramun wrote: TRICKS:

- Open in ESB and save elsewhere to have a constant dungeon.
??

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Mon Mar 05, 2012 11:16 am
by Jan
Yeah, but as fas as I understand it you have to do it before you start playing? In other words, The Master is doomed. :?

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Mon Mar 05, 2012 11:20 am
by zoom
so then everyone should - just in case - save the dungeon beforehand

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Tue Mar 06, 2012 10:13 pm
by Joramun
zoom wrote:I thought it was possible to share the generated dungeon with others. You just have to:
Joramun wrote: TRICKS:

- Open in ESB and save elsewhere to have a constant dungeon.
??

You can also share the dungeon.dsb file :
The dungeon is only generated once, at compilation, not every time you start the dungeon.
Setting COMPILE=0 in the dsb.ini file should also keep the dungeon to always be the first generated dungeon.
(however, it will be different for every person)

On the other hand, ESB will always recompile a new dungeon.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Thu Mar 08, 2012 8:21 pm
by the master
Went back and eventually found the gold key which opened an ornate gate. Inside this was another gate which I unlocked. Thought this might be the end but.......no fluxcage. Killed everything now, used all the keys. So where is the end of this game?????????

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Mar 11, 2012 1:28 pm
by Joramun
Hmmm. You might have missed a fake wall.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Tue Apr 24, 2012 1:12 am
by the master
Your joking of course, there are hundreds of walls. Are you suggesting I try them all. Is the fake wall near to the ornate gate. Is it at least on that level somewhere?

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Tue Apr 24, 2012 1:40 am
by Gambit37
Um, I hate to say this again, but this is a *random* dungeon. No-one can help you, because they won't have the same game as you...

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Tue Apr 24, 2012 2:39 am
by lord soth 75
This seems cool.

Im gonna download DSB,and give this a try.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Tue Apr 24, 2012 8:23 pm
by Joramun
the master wrote:Your joking of course, there are hundreds of walls. Are you suggesting I try them all. Is the fake wall near to the ornate gate. Is it at least on that level somewhere?
:twisted: No :twisted:

Who doesn't bump in every wall in DM ?

*bumps head*

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Wed Apr 25, 2012 12:11 am
by lord soth 75
I'v been playing around with this tonight. Its good fun.
One of the dungeons it generated pitted me against 4 mummies as soon as the dungeon door opened :o
I didn't last very long as i unarmed.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sat Apr 28, 2012 11:58 pm
by lord soth 75
Got a real good Random dungeon on the go at the moment.

Im 3 or 4 levels down.Armed with an axe,and fully clothed.
Smashing my way through mummies and screamers......and now, iv just ran into a massive lair full of Purple Worms and Rock piles. :D

How many levels are there to each random dungeon?

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 1:03 am
by the master
Just keep going lord soth you should reach the bottom by the new millennium :D

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 1:57 am
by lord soth 75
the master wrote:Just keep going lord soth you should reach the bottom by the new millennium :D
:lol: :lol:

Iv just found my first magic box. :)
Im tooled up with an Axe,a Sword,and a Sabre.
6 treasure chests full of food (Just in case)
Able to cast 3rd level Fireballs and poison cloud's.

Battling through an onslaught of Purple Worms,Armoured Worms,Rock Piles,and now....Skeletons (Which have about 9 million hit points each!!)
Its like a 3d version of the old Atari arcade game 'Gauntlet' :D

Loving this.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 9:16 am
by ian_scho
Its like a 3d version of the old Atari arcade game 'Gauntlet'
Blimey, Gauntlet. That brings back memories.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 9:38 am
by Jan
lord soth 75 wrote:How many levels are there to each random dungeon?
I think Joramun mentioned earlier that it was
Spoiler
16
? But I might be wrong. Anyway, go on! I do like your "Rambo-like-blood-n-guts" descriptions! :D

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 10:09 am
by Joramun
Jan wrote:I think Joramun mentioned earlier that it was
Spoiler
16
?
Right, it's
Spoiler
16
. You can also modify that (and the width of the levels, which is the same) in the dungeon.lua file. 128 levels takes about 40 seconds to generate on my computer.

NB:
- the difficulty is scaled across the whole depth, so a 128 level dungeon won't be much more difficult than a 32-level one. Maybe less if you're patient, seing the massive amount of XP to be gained.
- the minimum dungeon level width is 4, below 3 will cause crashes and infinite search loops (trying to fit stuff that just doesn't).
- i thought i had solved the mummy-at-entrance problem, but it seems I didn't... In next version I'll try to completely remove that 'bug'.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 11:04 am
by Gambit37
ian_scho wrote:Blimey, Gauntlet. That brings back memories.
Wow. Don't get me started. I used to play the arcade version after school A LOT. A simple, yet great game. I always chose the Elf for his speed, but I wasn't very good at the game. That voice will haunt me to my grave:

"Elf... shot the food!"

The narrator made that game something special. "I've never seen such bravery!" when you were mashing up a mega-horde, or "Let's see you get out of here!". Fun times :-)

I wonder if a Gauntlet inspired custom dungeon (with narrator) would be worth making? I mean after all, to be true to the game, you just need thousands of mobs, some doors and keys, an exit and no real puzzles. Probably quite boring actually...

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 1:11 pm
by ian_scho
You can't beat having a complete stranger wanting to strangle you over a lost 10 pence in the arcade machine!

Back on topic one of the ideas I had was to do a Chaos Hack style game (or Dwarf Fortress, actually) but to create 'templates' that on each level would insert a pre-generated area (temple or cravass, etc). That way it could be random... With a plot.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 2:16 pm
by raixel
God, yeah, that'd be grat. Especially since the DM chars have colors associated with their position. I can juts see it now. "BLUE WIZARD IS ABOUT TO DIE!"

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 2:50 pm
by Jan
I'm currently enjoying Chaos Hack and when bashing a door on some mummies' heads I got "1 LUA ERROR" but I can go on without problems. The log.txt says:

Code: Select all

INIT: Parsing configuration file
INIT: Using gamedir C:\DM\DSB\chaos_hack (base:0)
INIT: Starting windowed mode
INIT: Using color depth of 32
INIT: Starting FMOD
INIT: Triple buffering unavailable or disabled.
LUA: Lua initialized
Parsing base/global.lua
Parsing base/graphics.lua
Parsing base/inventory_info.lua
Parsing base/util.lua
Parsing base/triggers.lua
Parsing base/conditions.lua
Parsing base/monster.lua
Parsing base/monster_ai.lua
Parsing base/methods.lua
Parsing base/damage.lua
Parsing base/xp.lua
Parsing base/magic.lua
Parsing base/msg_handlers.lua
Parsing base/hooks.lua
Parsing base/system.lua
Parsing base/render.lua
Parsing base/startup.lua
Parsing C:\DM\DSB\chaos_hack/startup.lua
Parsing base/objects.lua
OBJ: 405 system archs
OBJ: 405 total archs
DUNGEON: Attempting to load
Parsing C:\DM\DSB\chaos_hack/dungeon.lua
Dunno what that means. I'm just reporting it if anyone was interested. :wink:

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 6:44 pm
by Sophia
You cut it off before it actually showed what the Lua error was. :?

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 6:52 pm
by Joramun
ian_scho wrote:You can't beat having a complete stranger wanting to strangle you over a lost 10 pence in the arcade machine!

Back on topic one of the ideas I had was to do a Chaos Hack style game (or Dwarf Fortress, actually) but to create 'templates' that on each level would insert a pre-generated area (temple or cravass, etc). That way it could be random... With a plot.
Well, Chaos Hack does that for staircases: it places them before hand on every levels, with special bounds so that they get automatically and correctly connected to the dungeon.

However, I didn't make it generic enough to easily add special rooms etc.
I would have to refactor some code before implementing that, and right now I'm working on RTSB (RTC -> DSB converter).

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 6:57 pm
by Jan
Sophia wrote:You cut it off before it actually showed what the Lua error was. :?
Sorry. It told me to look at log.txt so I copied it - I was puzzled by the absence of any error messages in the text but I thought it would help you anyway. :oops: *scratches his head* What did I do wrong? If that happens next time, what do you want me to do?

Anyway, I'm really enjoying that game. Except I haven't found any flask yet and this is quite inconvenient when I fight all these poisonous monsters. And I also haven't found a vorpal blade.

I've downloaded the latest version of both the engine and the game and the torches still can't be taken from the sconces.

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 7:13 pm
by Joramun
Jan wrote:I've downloaded the latest version of both the engine and the game and the torches still can't be taken from the sconces.
:oops:

There is no new version right now...

Re: [DSB] Chaos Hack - a random dungeon generator

Posted: Sun Apr 29, 2012 7:13 pm
by Sophia
Hmm, I guess it was still in the buffer.
I'll change future versions of DSB to flush the buffer after posting that message.

If it happens again, for the time being, just check the log after you're done playing and have quit DSB.