1
|
1 <?
|
|
2 require "mgeneric.inc.php";
|
|
3
|
40
|
4 $pageCSS = "/docs.css";
|
1
|
5 $pageTitle = "Alloy combo information submission instructions";
|
|
6 cmPrintPageHeader($pageTitle);
|
|
7
|
|
8 echo "<h1>".$pageTitle."</h1>\n";
|
|
9 ?>
|
|
10 <h3>Preamble</h3>
|
|
11 <p>
|
|
12 Okay. First of all, the <a href="/mat/">Pupunen alloy and material info database</a>
|
|
13 was originally SUPPOSED to be a joint/open project. Of course,
|
|
14 that didn't really happen - almost nobody was interested.
|
|
15 People are generally just lazy bastards.
|
|
16 During the years there have been some other contributors, those
|
|
17 are listed on the alloy information page, but mostly the work was
|
|
18 done by me (Ggr) as a mortal.
|
|
19 <b>And I've since moved to the wizardly realms, I am
|
|
20 not going to add into the data myself anymore.</b>
|
|
21 </p>
|
|
22
|
|
23 <p>
|
|
24 <b>BUT! I am still willing to run the site and update the data IF new
|
|
25 data is provided by mortal players who are ready to follow the
|
|
26 instructions provided here.
|
|
27 </b>
|
|
28 </p>
|
|
29
|
|
30 <h3>Notice!</h3>
|
|
31 <p>
|
|
32 Do note that I am NOT going to accept any "research" in some
|
|
33 random format or as CSV or Excel tables or whatever. The system
|
|
34 I made is based on raw BatMUD log file data and that is the
|
|
35 ONLY format I'm going to accept contributions in.
|
|
36 </p>
|
|
37
|
|
38 <h3>How to gather data</h3>
|
|
39
|
|
40 <ol>
|
|
41 <li>To gather data, you need to have <b>logfiles</b> and do alloying.
|
|
42 </li>
|
|
43
|
|
44 <li>The logfiles do not need to be "complete", the ONLY relevant
|
|
45 lines of interest to my system are the:
|
|
46 <pre>
|
|
47 You mix X and Y and create a quantity of Z.
|
|
48 </pre>
|
|
49 AND the 1-2 lines preceeding it.
|
|
50 </li>
|
|
51 </ol>
|
|
52
|
|
53 <p>
|
|
54 The easiest way to get this result is to use GNU "grep" utility,
|
|
55 available in most UNIX/Linux systems as follows:
|
|
56 </p>
|
|
57
|
24
|
58 <pre style="background: black;">
|
1
|
59 cat your_log_files | grep -a -B2 "^You mix .* and create a quantity of " > alloylog.txt
|
|
60 </pre>
|
|
61
|
|
62 <p>
|
|
63 The resulting alloylog.txt contents should look something like this:
|
|
64 </p>
|
|
65 <pre>
|
|
66 An ethereal blue hammer appears in your right hand.
|
|
67 You mix copper and aluminium and create a quantity of bronze.
|
|
68 --
|
|
69 An ethereal blue hammer appears in your right hand.
|
|
70 You mix iron and hematite and create a quantity of brass.
|
|
71 --
|
|
72 You slip up and fumble your attempt.
|
|
73 You mix obsidian and crystal and create a quantity of glass.
|
|
74 --
|
|
75 An ethereal blue hammer appears in your right hand.
|
|
76 You mix nullium and illumium and create a quantity of dukonium.
|
|
77 </pre>
|
|
78
|
|
79 <h3>How to submit</h3>
|
|
80 <p>
|
|
81 When and if you have the log data in the desired format,
|
|
82 provide me with the "alloylog.txt" file via e-mail or as a
|
|
83 downloadable link.
|
|
84 </p>
|
|
85
|
24
|
86 <p style="background: black; color: red;">If you can't use GNU grep or other method of providing similar results, but
|
|
87 are willing to send your logfiles verbatim, that is also possible.
|
1
|
88 </p>
|
|
89
|
|
90 <p>
|
|
91 In either case, please compress your logfile(s)/result file(s) with RAR, 7-Zip or other
|
|
92 generally used archiver especially if the files are larger than few hundred kilobytes.
|
|
93 </p>
|
|
94
|
|
95 <p>
|
|
96 If you have something to submit, or have questions, contact me via
|
|
97 tells in BatMUD or by e-mail <b>ccr@tnsp.org</b>
|
|
98 </p>
|
|
99
|
|
100 <p>
|
|
101 <b>-- Ggr</b>
|
|
102 </p>
|
|
103
|
|
104 <?
|
|
105 cmPrintPageFooter();
|
|
106 ?>
|