[Custom dungeon] Chaos Hack [DSB] [Joramun]

Custom dungeons for DSB
Forum rules
Please read the Forum rules and policies before posting.
User avatar
Bit
Arch Master
Posts: 1064
Joined: Mon Mar 03, 2008 10:53 am
Location: Nuts trees

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

Post 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!
User avatar
the master
On Master
Posts: 570
Joined: Fri Oct 09, 2009 8:29 pm

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

Post 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.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

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

Post by Gambit37 »

I don't think anyone can help, @the master, it's a random dungeon....
User avatar
the master
On Master
Posts: 570
Joined: Fri Oct 09, 2009 8:29 pm

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

Post by the master »

Oh yeh, forgot about that.
User avatar
zoom
Grand Master
Posts: 1819
Joined: Tue Sep 23, 2003 1:27 am
Location: far away but close enough

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

Post 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.
??
User avatar
Jan
Mighty Pirate
Posts: 2760
Joined: Tue Sep 23, 2008 4:55 pm
Location: Scumm Bar, Czech Republic

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

Post 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. :?
Finally playing and immensely enjoying the awesome Thimbleweed Park-a-reno!
User avatar
zoom
Grand Master
Posts: 1819
Joined: Tue Sep 23, 2003 1:27 am
Location: far away but close enough

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

Post by zoom »

so then everyone should - just in case - save the dungeon beforehand
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post 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.
What Is Your Quest ?
User avatar
the master
On Master
Posts: 570
Joined: Fri Oct 09, 2009 8:29 pm

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

Post 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?????????
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post by Joramun »

Hmmm. You might have missed a fake wall.
What Is Your Quest ?
User avatar
the master
On Master
Posts: 570
Joined: Fri Oct 09, 2009 8:29 pm

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

Post 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?
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

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

Post 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...
User avatar
lord soth 75
Adept
Posts: 246
Joined: Fri Mar 09, 2012 12:31 am
Location: England

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

Post by lord soth 75 »

This seems cool.

Im gonna download DSB,and give this a try.
Romero and Carmack NEED to re-group.Modern gaming needs to be saved from the greedy bastards who are ruining it all.
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post 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*
What Is Your Quest ?
User avatar
lord soth 75
Adept
Posts: 246
Joined: Fri Mar 09, 2012 12:31 am
Location: England

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

Post 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.
Romero and Carmack NEED to re-group.Modern gaming needs to be saved from the greedy bastards who are ruining it all.
User avatar
lord soth 75
Adept
Posts: 246
Joined: Fri Mar 09, 2012 12:31 am
Location: England

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

Post 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?
Romero and Carmack NEED to re-group.Modern gaming needs to be saved from the greedy bastards who are ruining it all.
User avatar
the master
On Master
Posts: 570
Joined: Fri Oct 09, 2009 8:29 pm

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

Post by the master »

Just keep going lord soth you should reach the bottom by the new millennium :D
User avatar
lord soth 75
Adept
Posts: 246
Joined: Fri Mar 09, 2012 12:31 am
Location: England

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

Post 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.
Romero and Carmack NEED to re-group.Modern gaming needs to be saved from the greedy bastards who are ruining it all.
User avatar
ian_scho
High Lord
Posts: 2806
Joined: Fri Apr 07, 2006 8:30 am
Location: Zaragoza, Spain

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

Post by ian_scho »

Its like a 3d version of the old Atari arcade game 'Gauntlet'
Blimey, Gauntlet. That brings back memories.
User avatar
Jan
Mighty Pirate
Posts: 2760
Joined: Tue Sep 23, 2008 4:55 pm
Location: Scumm Bar, Czech Republic

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

Post 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
Finally playing and immensely enjoying the awesome Thimbleweed Park-a-reno!
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post 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'.
What Is Your Quest ?
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

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

Post 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...
User avatar
ian_scho
High Lord
Posts: 2806
Joined: Fri Apr 07, 2006 8:30 am
Location: Zaragoza, Spain

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

Post 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.
User avatar
raixel
The Dungeon Master Cylinder
Posts: 1200
Joined: Mon Jun 21, 2010 10:10 am
Location: I see Mount Rainier in the distance...

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

Post 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!"
User avatar
Jan
Mighty Pirate
Posts: 2760
Joined: Tue Sep 23, 2008 4:55 pm
Location: Scumm Bar, Czech Republic

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

Post 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:
Finally playing and immensely enjoying the awesome Thimbleweed Park-a-reno!
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

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

Post by Sophia »

You cut it off before it actually showed what the Lua error was. :?
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post 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).
What Is Your Quest ?
User avatar
Jan
Mighty Pirate
Posts: 2760
Joined: Tue Sep 23, 2008 4:55 pm
Location: Scumm Bar, Czech Republic

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

Post 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.
Finally playing and immensely enjoying the awesome Thimbleweed Park-a-reno!
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

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

Post 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...
What Is Your Quest ?
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

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

Post 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.
Post Reply