Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*TTRPGs General
Designing a Random Table Generator
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Janx" data-source="post: 5907560" data-attributes="member: 8835"><p>in many ways, Morru's idea of users picking from a list of generators was more like a Canned Report model, and my idea of them using a console to submit text was more like a canned report.</p><p></p><p>technically, this stuff ran great on my 386 back in the day with very complex table trees. Running off of flat files would probably work very fast. I'm a little concerned if we store each Asset in a DB Row, as each tag would basically require a trip to the DB to fetch the next Asset and parse it.</p><p></p><p>The actual parsing should be fast. The fetching of the next Asset could be slow if we don't consider ways to do it faster.</p><p></p><p>On Celebrim's point about being able to make the table return a specific result, I agree. That's something I alluded to in an early post as part of the scripting language syntax.</p><p></p><p>On C's point about weighted values:</p><p>good idea, though I might adapt the idea to being another way to define table entries. Normal humans will look at tables in the DMG and enter them as begin/end ranges for each row. Some people will realize they only need to define the begin number, as the next entry caps off the previous's range. Other folks like C will just want to set a weighted value. The engine isn't really stressed to handle any of that.</p><p></p><p>To recap on performance:</p><p>the biggest performance barriers I see are getting from the current text to process the next tag in that text. This nesting or recursing could be slowed down by whatever steps we have to take to open up the asset.</p><p>It's also possible that are actual parsing technology for a string could be slow. I discount that as much by the fact that this technology ran just fine on 386s, including nested tables.</p><p></p><p>[MENTION=27229]MoR[/MENTION]uss:</p><p>is it possible* with vBulletin that all of the assets could be stored as flatfile on the webserver (or wherever attachments are stored, in a seperate directory) rather than being stored directly in the vbUlletin database?</p><p></p><p>this would simplify the design, provide a model that works online or offline. We'd still tie the screens into vBulletin, but we'd store the actual meat in flat files (perhaps one file per asset).</p><p></p><p>*possible as in "does this fit in with what you're allowed to do with Enworld's host and design preferences". I know we can make PHP do whatever we want.</p></blockquote><p></p>
[QUOTE="Janx, post: 5907560, member: 8835"] in many ways, Morru's idea of users picking from a list of generators was more like a Canned Report model, and my idea of them using a console to submit text was more like a canned report. technically, this stuff ran great on my 386 back in the day with very complex table trees. Running off of flat files would probably work very fast. I'm a little concerned if we store each Asset in a DB Row, as each tag would basically require a trip to the DB to fetch the next Asset and parse it. The actual parsing should be fast. The fetching of the next Asset could be slow if we don't consider ways to do it faster. On Celebrim's point about being able to make the table return a specific result, I agree. That's something I alluded to in an early post as part of the scripting language syntax. On C's point about weighted values: good idea, though I might adapt the idea to being another way to define table entries. Normal humans will look at tables in the DMG and enter them as begin/end ranges for each row. Some people will realize they only need to define the begin number, as the next entry caps off the previous's range. Other folks like C will just want to set a weighted value. The engine isn't really stressed to handle any of that. To recap on performance: the biggest performance barriers I see are getting from the current text to process the next tag in that text. This nesting or recursing could be slowed down by whatever steps we have to take to open up the asset. It's also possible that are actual parsing technology for a string could be slow. I discount that as much by the fact that this technology ran just fine on 386s, including nested tables. [MENTION=27229]MoR[/MENTION]uss: is it possible* with vBulletin that all of the assets could be stored as flatfile on the webserver (or wherever attachments are stored, in a seperate directory) rather than being stored directly in the vbUlletin database? this would simplify the design, provide a model that works online or offline. We'd still tie the screens into vBulletin, but we'd store the actual meat in flat files (perhaps one file per asset). *possible as in "does this fit in with what you're allowed to do with Enworld's host and design preferences". I know we can make PHP do whatever we want. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*TTRPGs General
Designing a Random Table Generator
Top