annotate instructions.php @ 54:926775809496 default tip

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