Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old April 13, 2021, 01:56   #1
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 52
Posts: 429
Tibarius is an unknown quantity at this point
classic moria level generation

I am working on a variant. I have no github account and no knowledge how / what code to pull. I would like to take a look at how the classic moria dungeon levels are generated.

Would anyone please post the code here (if it doesn't encompass too many line), thanks!
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old April 15, 2021, 20:58   #2
Marble Dice
Swordsman
 
Join Date: Jun 2008
Location: Portland, OR, USA
Posts: 412
Marble Dice is on a distinguished road
You don't need an account to do a lot of things on GitHub. You can browse the source online at https://github.com/angband/angband/tree/master/src

Specifically I think the code you're looking for is gen-cave.c here: https://github.com/angband/angband/b...src/gen-cave.c. I would start with the moria_gen and moria_chunk functions. The file is about 3000 lines, so I'll let you decide if that's too many.

It's pretty easy to clone the repo if you have a git client (does not require a GitHub account) or you can download a source zip archive at https://github.com/angband/angband/a...ads/master.zip
Marble Dice is offline   Reply With Quote
Old April 26, 2021, 18:19   #3
Tibarius
Swordsman
 
Tibarius's Avatar
 
Join Date: Jun 2011
Location: Germany
Age: 52
Posts: 429
Tibarius is an unknown quantity at this point
moria code

thank you for posting the links and some kind of "basic instructions"


and 3000 lines are too much to post them here in the forum ...
__________________
Blondes are more fun!
Tibarius is offline   Reply With Quote
Old June 3, 2021, 17:04   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,589
Donated: $40
Pete Mack is on a distinguished road
That's gotta be spam, but I don't see how
Pete Mack is offline   Reply With Quote
Old June 3, 2021, 22:30   #5
emulord
Adept
 
Join Date: Oct 2009
Posts: 207
emulord is on a distinguished road
People write chatbots meaning for them to spam, but its usually just nonsense. Maybe they want to appear like a real person before they start spamming? Not sure, but ban them anyway
emulord is offline   Reply With Quote
Old June 3, 2021, 23:28   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,167
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Sadly yes, although it does kind of remind me of a joke.
Q: How many surrealists does it take to change a light bulb?
A: Two; one to hold the armadillo, and one to fill the bathtub with brightly-coloured bicycles.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old June 4, 2021, 01:06   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,589
Donated: $40
Pete Mack is on a distinguished road
@emulord--
I didn't see how it was spam because there were no links in the text, and no links in the personal info.
Pete Mack is offline   Reply With Quote
Old June 4, 2021, 10:23   #8
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 991
fph is on a distinguished road
On another (phpbb) forum I moderate, I have seen recently a trend with users sending a first message without any obvious sign of spam (possibly to get the user 'verified'?), and then later on a second message with the payload.
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generation of non-contiguous level: normal? Chud Vanilla 5 April 3, 2014 09:07
v3.4.1 Classic Tiles? prh182 Vanilla 6 April 5, 2013 22:59
Determining monster types during level generation Therem Harth Development 1 March 17, 2013 21:42
[3.3] Bug in cavern level generation PowerWyrm Development 10 July 30, 2011 05:19
New level generation Timo Pietilš Development 28 June 20, 2011 01:40


All times are GMT +1. The time now is 21:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.