Thread stats: 3 posts, 1 files (1 image(s))
Navigation:
I beseech you, servants of the Imperium, for help. "Stars of Inequity" for Rogue Trader has some very fun planet generation rules. Of course, these rules are stretched across miles of paper and there is no consolidated chart segment in the book. Does /cog/ know of any simple random number tools I could use to autogen planets using preestablished charts? I definitely don't want to spend hours rolling d% in front of my players, and I don't want to do it in advance because discovery should be spontaneous and pull in the players with novelty and mystique. I was thinking maybe a VisualBasic program or something similar for the tables--any ideas?
I know the thread is old, but just in case you are still around here somewhere and haven't solved your problem, I might just write a simple program for that. From how you describe it, it sounds simple enough. I know nothing about the game itself though so maybe there is something not immediately apparent that could be an obstacle.
So, from how I see it, you just need a number of parameters to be randomly picked from pre-established ranges, some of which (the individual parameters, not the ranges) may affect availability of parameters in other ranges.
load average: array(3) { [0]=> float(0.41) [1]=> float(0.33) [2]=> float(0.32) }
total load time: 0.0069s
code time: 0.0045s;
query time: 0.0024s
code time percentage: 65.2174%
query time percentage: 34.7826%
queries: 2
memory usage: 745kB
memory peak: 757kB
Controls:
section | string(6) "thread" |
pagenumber | string(0) "" |
ext | string(4) "html" |
extendedparams | array(2) { ["board"]=> string(3) "cog" ["thread"]=> string(6) "190156" } |
lang | NULL |
Time log:
1679304526.5155: beginning 1679304526.51 - 0.000000 (0.000000s): script started 1679304526.515969 - 0.000469 (0.000469s): core files loaded 1679304526.516060 - 0.000560 (0.000091s): kobak\debug: setting up new instance 1679304526.516077 - 0.000577 (0.000017s): kobak\debug: finished setup 1679304526.516083 - 0.000583 (0.000006s): kobak\kcfg: setting up new instance 1679304526.516138 - 0.000638 (0.000055s): kobak\kcfg: finished setup 1679304526.516142 - 0.000642 (0.000004s): kobak\controls: setting up new instance 1679304526.516148 - 0.000648 (0.000006s): kobak\controls: finished setup 1679304526.516150 - 0.000650 (0.000002s): kobak\modules: setting up new instance 1679304526.516153 - 0.000653 (0.000003s): kobak\modules: finished setup 1679304526.516219 - 0.000719 (0.000066s): kobak\modules: loading module kobak 1679304526.516224 - 0.000724 (0.000005s): kobak\pages: setting up new instance 1679304526.516231 - 0.000731 (0.000007s): kobak\pages: finished setup 1679304526.516234 - 0.000734 (0.000003s): kobak\plugins: setting up new instance 1679304526.516236 - 0.000736 (0.000002s): kobak\plugins: finished setup 1679304526.516364 - 0.000864 (0.000128s): kobak\kobak: setting up new instance 1679304526.516370 - 0.000870 (0.000006s): kobak\kobak: finished setup 1679304526.516373 - 0.000873 (0.000003s): kobak\cache: setting up new instance 1679304526.516376 - 0.000876 (0.000003s): kobak\cache: finished setup 1679304526.516378 - 0.000878 (0.000002s): kobak\cache: loading cache file: kobak_cache 1679304526.516384 - 0.000884 (0.000006s): kobak\cache: checking cache file: kobak_cache 1679304526.516511 - 0.001011 (0.000127s): kobak\current: setting up new instance 1679304526.516516 - 0.001016 (0.000005s): kobak\current: finished setup 1679304526.516519 - 0.001019 (0.000003s): kobak\errors: setting up new instance 1679304526.516524 - 0.001024 (0.000005s): kobak\errors: finished setup 1679304526.516822 - 0.001322 (0.000298s): kobak\modules: finished loading module "kobak" 1679304526.516826 - 0.001326 (0.000004s): kobak\modules: finished loading 1 module(s) 1679304526.516828 - 0.001328 (0.000002s): kobak\current: creating default rewrite rules 1679304526.516829 - 0.001329 (0.000001s): kobak\current: starting validation of current section 1679304526.516836 - 0.001336 (0.000007s): kobak\plugins: checking actions for hook "before_validation" 1679304526.516857 - 0.001357 (0.000021s): kobak\plugins: finished running 1 actions for hook "before_validation" 1679304526.516874 - 0.001374 (0.000017s): kobak\current: finished validating section 1679304526.516880 - 0.001380 (0.000006s): kobak\current: finished validating prerequisites 1679304526.516883 - 0.001383 (0.000003s): kobak\current: finished validating optional inputs 1679304526.516888 - 0.001388 (0.000005s): kobak\plugins: checking actions for hook "validation" 1679304526.516896 - 0.001396 (0.000008s): KOBAK BBS: validating board 1679304526.517007 - 0.001507 (0.000111s): kobak\ban: query: querying posts 1679304526.517016 - 0.001516 (0.000009s): kobak\db: setting up new instance 1679304526.517017 - 0.001517 (0.000001s): kobak\db: Attempting to connect to database 1679304526.517580 - 0.002080 (0.000563s): kobak\db: Successfully connected to database 1679304526.517589 - 0.002089 (0.000009s): kobak\db: finished setup 1679304526.518274 - 0.002774 (0.000685s): KOBAK BBS: loading board specific plugins 1679304526.518629 - 0.003129 (0.000355s): KOBAK BBS: finished loading board specific plugins 1679304526.518636 - 0.003136 (0.000007s): KOBAK BBS: validating thread 1679304526.518643 - 0.003143 (0.000007s): kobak\thread: query: start 1679304526.518649 - 0.003149 (0.000006s): kobak\thread: query: thread mode set, calling posts query. 1679304526.518680 - 0.003180 (0.000031s): kobak\post: query: querying posts 1679304526.520476 - 0.004976 (0.001796s): kobak\post: query: constructing new post objects 1679304526.520606 - 0.005106 (0.000130s): kobak\post: query: starting lookups for thread locked statuses 1679304526.520627 - 0.005127 (0.000021s): kobak\post: query: setting up references/backlinks 1679304526.520639 - 0.005139 (0.000012s): kobak\post: get_posts: applying quote backlinks to posts 1679304526.520745 - 0.005245 (0.000106s): kobak\post: query: finished. 1679304526.520751 - 0.005251 (0.000006s): kobak\thread: query: posts queried, setting up thread object. 1679304526.520775 - 0.005275 (0.000024s): kobak\thread: query: finished. 1679304526.520808 - 0.005308 (0.000033s): kobak\plugins: finished running 1 actions for hook "validation" 1679304526.520859 - 0.005359 (0.000051s): kobak\current: Template file found 1679304526.520884 - 0.005384 (0.000025s): kobak\current: setting up HTML vars 1679304526.520889 - 0.005389 (0.000005s): kobak\html: setting up new instance 1679304526.520912 - 0.005412 (0.000023s): kobak\html: finished setup 1679304526.520916 - 0.005416 (0.000004s): kobak\current: setting up per-page HTML vars 1679304526.520931 - 0.005431 (0.000015s): kobak\plugins: checking actions for hook "setup_html" 1679304526.521035 - 0.005535 (0.000104s): kobak\plugins: finished running 4 actions for hook "setup_html" 1679304526.521038 - 0.005538 (0.000003s): kobak\current: finished setting up all HTML vars 1679304526.521040 - 0.005540 (0.000002s): start rendering html 1679304526.521103 - 0.005603 (0.000063s): loading thread 1679304526.521140 - 0.005640 (0.000037s): called header.php 1679304526.521149 - 0.005649 (0.000009s): kobak\plugins: checking actions for hook "header_meta" 1679304526.521224 - 0.005724 (0.000075s): kobak\plugins: finished running 5 actions for hook "header_meta" 1679304526.521342 - 0.005842 (0.000118s): kobak\cache: loading cache file: kobak_banners 1679304526.521350 - 0.005850 (0.000008s): kobak\cache: checking cache file: kobak_banners 1679304526.521758 - 0.006258 (0.000408s): rendering thread 190156 1679304526.521766 - 0.006266 (0.000008s): rendering reply 190156 1679304526.521836 - 0.006336 (0.000070s): kobak\kmedia: setting up new instance 1679304526.521841 - 0.006341 (0.000005s): kobak\kmedia: finished setup 1679304526.521910 - 0.006410 (0.000069s): rendering reply 198878 1679304526.521940 - 0.006440 (0.000030s): rendering reply 198882 1679304526.522010 - 0.006510 (0.000070s): called footer.php 1679304526.522174 - 0.006674 (0.000164s): kobak\plugins: checking actions for hook "footer_meta" 1679304526.522267 - 0.006767 (0.000093s): kobak\plugins: finished running 8 actions for hook "footer_meta" 1679304526.522269 - 0.006769 (0.000002s): completed rendering most of the html 1679304526.522302 - 0.006802 (0.000033s): starting debug 1679304526.522506 - 0.007006 (0.000204s): starting debug_t
|
SQL statistics:
time taken: 0.00065589 | SELECT *, ( SELECT GROUP_CONCAT(DISTINCT `kobaboardban`.`boardid` ORDER BY `kobaboardban`.`boardid` SEPARATOR ',') FROM `kobaboardban` WHERE `banid` = `id` GROUP BY `banid` ) AS `active_boards` FROM `kobaban` WHERE ( (`iplong1` = '03eeca4c') OR (`iplong1` <= '03eeca4c' AND '03eeca4c' <= `iplong2`) ) AND `type` IN(-1,0,1,2,3) AND (`id` IN ( SELECT `banid` FROM `kobaboardban` WHERE `boardid` IN(3) ) OR `global` = 1) ORDER BY `type`,`expiration` DESC | no rows found or affected (prepared query) |
time taken: 0.00174904 | SELECT p.*, r.time r_time, r.reason r_reason, r.ipmd5 r_ipmd5, r.ipcrypt r_ipcrypt, r.password r_password, r.userid r_userid, s.total_posts, s.total_files, s.total_image, s.total_audio, s.total_video, s.total_swf, s.unique_ip, s.unique_user FROM `kobapost` p LEFT JOIN `kobareport` r on p.boardid = r.boardid and p.postid = r.postid LEFT JOIN `kobapoststats` s on p.boardid = s.boardid and p.postid = s.threadid WHERE p.`boardid` = '3' AND p.`postid` = '190156' AND `parentid` = '0' AND `deleted` = '0' UNION ALL SELECT p.*, r.time r_time, r.reason r_reason, r.ipmd5 r_ipmd5, r.ipcrypt r_ipcrypt, r.password r_password, r.userid r_userid, null as total_posts, null as total_files, null as total_image, null as total_audio, null as total_video, null as total_swf, null as unique_ip, null as unique_user FROM `kobapost` p LEFT JOIN `kobareport` r on p.boardid = r.boardid and p.postid = r.postid WHERE p.`boardid` = '3' AND `parentid` = '190156' AND `deleted` = '0' ORDER BY `parentid`,`postid` | no error (prepared query) |
actions:
before_validation | actions: 1 | start: 1679304526.51684000 | end: 1679304526.51685500 | took (total): 0.000015 |
footer_meta | actions: 8 | start: 1679304526.52217600 | end: 1679304526.52226400 | took (total): 0.000088 |
header_meta | actions: 5 | start: 1679304526.52115100 | end: 1679304526.52122000 | took (total): 0.000069 |
setup_html | actions: 4 | start: 1679304526.52093600 | end: 1679304526.52103200 | took (total): 0.000096 |
validation | actions: 1 | start: 1679304526.51689000 | end: 1679304526.52080300 | took (total): 0.003913 |
Rewrite/redirect rules:
Redirect | /^([a-z_\-0-9]*)\/0.html(?:\?.*)?$/ | $matches[1]\/ | 302 |
Redirect | /^([a-z_\-0-9]*)\/1.html(?:\?.*)?$/ | $matches[1]\/ | 302 |
Rewrite: | /^([a-z_\-0-9]*)\/(\d\w*)s.png$/ | /$matches[1]/thumbs/$matches[2]s.png | |
Rewrite: | /^([a-z_\-0-9]*)\/?(?:\?.*)?$/ | index.php?section=index&board=$matches[1] | |
Rewrite: | /^([a-z_\-0-9]*)\/([0-9]*)\.html(?:\?.*)?$/ | index.php?section=index&board=$matches[1]&pagenumber=$matches[2] | |
Rewrite: | /^([a-z_\-0-9]*)\/catalog\.html(?:\?.*)?$/ | index.php?section=catalog&board=$matches[1] | |
Rewrite: | /^([a-z_\-0-9]*)\/t([0-9]*)\.(html|json|rss)(?:\?.*)?$/ | index.php?section=thread&board=$matches[1]&thread=$matches[2]&ext=$matches[3] | |
Rewrite: | /^([a-z_\-0-9]*)\/posts_feed\.rss$/ | index.php?section=posts_feed&board=$matches[1]&ext=rss | |
Rewrite: | /^([a-z_\-0-9]*)\/threads_feed\.rss$/ | index.php?section=threads_feed&board=$matches[1]&ext=rss | |
Rewrite: | /^latest_posts\.rss$/ | index.php?section=latest_posts&ext=rss | |
Rewrite: | /^latest_threads\.rss$/ | index.php?section=latest_threads&ext=rss | |
Rewrite: | /^latest_nsfw_posts\.rss$/ | index.php?section=latest_nsfw_posts&ext=rss | |
Rewrite: | /^latest_nsfw_threads\.rss$/ | index.php?section=latest_nsfw_threads&ext=rss |
rules in htaccess format:
RewriteRule ^([a-z_\-0-9]*)\/0.html(?:\?.*)?$ $1/ [R=302,L,QSA] RewriteRule ^([a-z_\-0-9]*)\/1.html(?:\?.*)?$ $1/ [R=302,L,QSA] RewriteRule ^([a-z_\-0-9]*)\/(\d\w*)s.png$ /$1/thumbs/$2s.png [L,QSA] RewriteRule ^([a-z_\-0-9]*)/(?:\?.*)?$ index.php?section=index&board=$1 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/([0-9]*)\.html(?:\?.*)?$ index.php?section=index&board=$1&pagenumber=$2 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/catalog\.html(?:\?.*)?$ index.php?section=catalog&board=$1 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/t([0-9]*)\.(html|json|rss)(?:\?.*)?$ index.php?section=thread&board=$1&thread=$2&ext=$3 [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/posts_feed\.rss$ index.php?section=posts_feed&board=$1&ext=rss [L,QSA] RewriteRule ^([a-z_\-0-9]*)\/threads_feed\.rss$ index.php?section=threads_feed&board=$1&ext=rss [L,QSA] RewriteRule ^latest_posts\.rss$ index.php?section=latest_posts&ext=rss [L,QSA] RewriteRule ^latest_threads\.rss$ index.php?section=latest_threads&ext=rss [L,QSA] RewriteRule ^latest_nsfw_posts\.rss$ index.php?section=latest_nsfw_posts&ext=rss [L,QSA] RewriteRule ^latest_nsfw_threads\.rss$ index.php?section=latest_nsfw_threads&ext=rss [L,QSA]Current time:
2023-03-20 02:28:46