feat: First cut usable prompt.

- Quest timer info
- Enemy information
- HP/MP/MV/TNL/Align info

Also improve private channel filtering.
master
Fierre 4 years ago
parent a26fe6ac68
commit 8488df460e

@ -23,6 +23,8 @@
#read {modules/util.tin};
#read {modules/gmcp/negotiate.tin};
#read {modules/gmcp/messaging.tin};
#read {modules/gmcp/char.tin};
#read {modules/prompt.tin};
#NOP Let's play
#session {aardwolf} {aardmud.org} {4000};

@ -36,7 +36,7 @@
</div> <!-- content -->
<div id="footer">
<p>Generated from ./bootstrap.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./bootstrap.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -36,7 +36,7 @@
</div> <!-- content -->
<div id="footer">
<p>Generated from ./conf/options.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./conf/options.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -26,23 +26,34 @@
<div id="content">
<h1>Index</h1>
<h2><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#Q">Q</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#V">V</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#Y">Y</a> - <a href="#Z">Z</a> - <a href="#0">0</a> - <a href="#1">1</a> - <a href="#2">2</a> - <a href="#3">3</a> - <a href="#4">4</a> - <a href="#5">5</a> - <a href="#6">6</a> - <a href="#7">7</a> - <a href="#8">8</a> - <a href="#9">9</a></h2>
<h2><a name="A"></a>A</h2><a href="./modules/util_tin.html#robo6" class="indexitem" >Action MAPSTART</a>
<h2><a name="A"></a>A</h2><a href="./modules/util_tin.html#robo14" class="indexitem" >Action MAPSTART</a>
<h2><a name="B"></a>B</h2><a href="./bootstrap_tin.html#robo0" class="indexitem" >Bootstrap</a>
<a href="./bootstrap_tin.html#robo_top_of_doc" class="indexitem" >bootstrap.tin</a>
<h2><a name="E"></a>E</h2><a href="./modules/gmcp/messaging_tin.html#robo2" class="indexitem" >Event IAC SB GMCP comm.channel</a>
<a href="./modules/gmcp/negotiate_tin.html#robo4" class="indexitem" >Event IAC WILL GMCP</a>
<a href="./modules/gmcp/negotiate_tin.html#robo5" class="indexitem" >Event SESSION CONNECTED</a>
<h2><a name="C"></a>C</h2><a href="./modules/gmcp/char_tin.html#robo_top_of_doc" class="indexitem" >char.tin</a>
<h2><a name="E"></a>E</h2><a href="./modules/gmcp/char_tin.html#robo2" class="indexitem" >Event IAC SB GMCP char.base</a>
<a href="./modules/gmcp/char_tin.html#robo3" class="indexitem" >Event IAC SB GMCP char.maxstats</a>
<a href="./modules/gmcp/char_tin.html#robo4" class="indexitem" >Event IAC SB GMCP char.status</a>
<a href="./modules/gmcp/char_tin.html#robo5" class="indexitem" >Event IAC SB GMCP char.vitals</a>
<a href="./modules/gmcp/messaging_tin.html#robo6" class="indexitem" >Event IAC SB GMCP comm.channel</a>
<a href="./modules/gmcp/messaging_tin.html#robo7" class="indexitem" >Event IAC SB GMCP comm.quest</a>
<a href="./modules/gmcp/negotiate_tin.html#robo9" class="indexitem" >Event IAC WILL GMCP</a>
<a href="./modules/gmcp/negotiate_tin.html#robo10" class="indexitem" >Event SESSION CONNECTED</a>
<h2><a name="M"></a>M</h2><a href="./modules/gmcp/messaging_tin.html#robo_top_of_doc" class="indexitem" >messaging.tin</a>
<h2><a name="N"></a>N</h2><a href="./modules/gmcp/negotiate_tin.html#robo_top_of_doc" class="indexitem" >negotiate.tin</a>
<h2><a name="O"></a>O</h2><a href="./conf/options_tin.html#robo1" class="indexitem" >Options</a>
<a href="./conf/options_tin.html#robo_top_of_doc" class="indexitem" >options.tin</a>
<h2><a name="S"></a>S</h2><a href="./modules/gmcp/util_tin.html#robo3" class="indexitem" >sendGMCP</a>
<h2><a name="U"></a>U</h2><a href="./modules/gmcp/util_tin.html#robo_top_of_doc" class="indexitem" >util.tin</a>
<a href="./modules/util_tin.html#robo_top_of_doc" class="indexitem" >util.tin</a>
<h2><a name="P"></a>P</h2><a href="./modules/prompt_tin.html#robo_top_of_doc" class="indexitem" >prompt.tin</a>
<h2><a name="S"></a>S</h2><a href="./modules/gmcp/util_tin.html#robo8" class="indexitem" >sendGMCP</a>
<h2><a name="T"></a>T</h2><a href="./modules/util_tin.html#robo15" class="indexitem" >Ticker questStatus</a>
<a href="./modules/prompt_tin.html#robo11" class="indexitem" >Ticker updateEnemy</a>
<a href="./modules/prompt_tin.html#robo12" class="indexitem" >Ticker updateInfo</a>
<a href="./modules/prompt_tin.html#robo13" class="indexitem" >Ticker updateStats</a>
<h2><a name="U"></a>U</h2><a href="./modules/util_tin.html#robo_top_of_doc" class="indexitem" >util.tin</a>
<a href="./modules/gmcp/util_tin.html#robo_top_of_doc" class="indexitem" >util.tin</a>
<h2><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#Q">Q</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#V">V</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#Y">Y</a> - <a href="#Z">Z</a> - <a href="#0">0</a> - <a href="#1">1</a> - <a href="#2">2</a> - <a href="#3">3</a> - <a href="#4">4</a> - <a href="#5">5</a> - <a href="#6">6</a> - <a href="#7">7</a> - <a href="#8">8</a> - <a href="#9">9</a></h2>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href="../../robodoc.css" type="text/css" />
<title>./modules/gmcp/char.tin</title>
<!-- Source: ./modules/gmcp/char.tin -->
<!-- Generated with ROBODoc Version 4.99.43 (Jul 6 2020) -->
</head>
<body>
<div id="logo">
<a name="robo_top_of_doc"></a>
</div> <!-- logo -->
<div id="navigation">
<a class="menuitem" href="../../toc_index.html#top">Table of Contents</a>
<a class="menuitem" href="../../robo_sourcefiles.html#top">Sourcefiles</a>
<a class="menuitem" href="../../masterindex.html#top">Index</a>
<a class="menuitem" href="../../robo_generics.html#top">Generics</a>
<a class="menuitem" href="../../robo_functions.html#top">Functions</a>
</div> <!-- navigation -->
<div id="content">
<hr />
<a name="modules2egcmp2echar2fEvent20IAC20SB20GMCP20char2ebase"></a>
<a name="robo2"></a><h2>modules.gcmp.char/Event IAC SB GMCP char.base [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Event IAC SB GMCP char.base -- Process character base update
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Parse the update and update the character variable
</pre>
<hr />
<a name="modules2egcmp2echar2fEvent20IAC20SB20GMCP20char2emaxstats"></a>
<a name="robo3"></a><h2>modules.gcmp.char/Event IAC SB GMCP char.maxstats [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Event IAC SB GMCP char.maxstats -- Process character maxstats update
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Parse the update and update the character variable
</pre>
<hr />
<a name="modules2egcmp2echar2fEvent20IAC20SB20GMCP20char2estatus"></a>
<a name="robo4"></a><h2>modules.gcmp.char/Event IAC SB GMCP char.status [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Event IAC SB GMCP char.status -- Process character status update
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Parse the update and update the character variable
</pre>
<hr />
<a name="modules2egcmp2echar2fEvent20IAC20SB20GMCP20char2evitals"></a>
<a name="robo5"></a><h2>modules.gcmp.char/Event IAC SB GMCP char.vitals [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Event IAC SB GMCP char.vitals -- Process character vitals update
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Parse the update and update the character variable
</pre>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./modules/gmcp/char.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>
</html>

@ -24,7 +24,7 @@
<div id="content">
<hr />
<a name="modules2egcmp2emessaging2fEvent20IAC20SB20GMCP20comm2echannel"></a>
<a name="robo2"></a><h2>modules.gcmp.messaging/Event IAC SB GMCP comm.channel [ Functions ]</h2>
<a name="robo6"></a><h2>modules.gcmp.messaging/Event IAC SB GMCP comm.channel [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
@ -34,9 +34,21 @@
<pre> Process and write to log the received message
</pre>
<hr />
<a name="modules2egcmp2emessaging2fEvent20IAC20SB20GMCP20comm2equest"></a>
<a name="robo7"></a><h2>modules.gcmp.messaging/Event IAC SB GMCP comm.quest [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Event IAC SB GMCP comm.quest -- Quest status update received
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Process the received message and update quest variables
</pre>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./modules/gmcp/messaging.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./modules/gmcp/messaging.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -24,7 +24,7 @@
<div id="content">
<hr />
<a name="modules2egmcp2enegotiate2fEvent20IAC20WILL20GMCP"></a>
<a name="robo4"></a><h2>modules.gmcp.negotiate/Event IAC WILL GMCP [ Functions ]</h2>
<a name="robo9"></a><h2>modules.gmcp.negotiate/Event IAC WILL GMCP [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
@ -40,7 +40,7 @@
<hr />
<a name="modules2egmcp2enegotiate2fEvent20SESSION20CONNECTED"></a>
<a name="robo5"></a><h2>modules.gmcp.negotiate/Event SESSION CONNECTED [ Functions ]</h2>
<a name="robo10"></a><h2>modules.gmcp.negotiate/Event SESSION CONNECTED [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
@ -52,7 +52,7 @@
</div> <!-- content -->
<div id="footer">
<p>Generated from ./modules/gmcp/negotiate.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./modules/gmcp/negotiate.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -24,7 +24,7 @@
<div id="content">
<hr />
<a name="modules2egcmp2eutil2fsendGMCP"></a>
<a name="robo3"></a><h2>modules.gcmp.util/sendGMCP [ Functions ]</h2>
<a name="robo8"></a><h2>modules.gcmp.util/sendGMCP [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
@ -36,7 +36,7 @@
</div> <!-- content -->
<div id="footer">
<p>Generated from ./modules/gmcp/util.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./modules/gmcp/util.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href="../robodoc.css" type="text/css" />
<title>./modules/prompt.tin</title>
<!-- Source: ./modules/prompt.tin -->
<!-- Generated with ROBODoc Version 4.99.43 (Jul 6 2020) -->
</head>
<body>
<div id="logo">
<a name="robo_top_of_doc"></a>
</div> <!-- logo -->
<div id="navigation">
<a class="menuitem" href="../toc_index.html#top">Table of Contents</a>
<a class="menuitem" href="../robo_sourcefiles.html#top">Sourcefiles</a>
<a class="menuitem" href="../masterindex.html#top">Index</a>
<a class="menuitem" href="../robo_generics.html#top">Generics</a>
<a class="menuitem" href="../robo_functions.html#top">Functions</a>
</div> <!-- navigation -->
<div id="content">
<hr />
<a name="modules2eprompt2fTicker20updateEnemy"></a>
<a name="robo11"></a><h2>modules.prompt/Ticker updateEnemy [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Ticker updateEnemy
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Update the enemy line on the prompt with enemy stats.
</pre>
<hr />
<a name="modules2eprompt2fTicker20updateInfo"></a>
<a name="robo12"></a><h2>modules.prompt/Ticker updateInfo [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Ticker updateInfo
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Update the info line on the prompt for Quest information.
</pre>
<hr />
<a name="modules2eprompt2fTicker20updateStats"></a>
<a name="robo13"></a><h2>modules.prompt/Ticker updateStats [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Ticker updateStats
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Update the character stats line of the prompt (HP/MP/MV/TNL)
</pre>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./modules/prompt.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>
</html>

@ -24,7 +24,7 @@
<div id="content">
<hr />
<a name="modules2eutil2fAction20MAPSTART"></a>
<a name="robo6"></a><h2>modules.util/Action MAPSTART [ Functions ]</h2>
<a name="robo14"></a><h2>modules.util/Action MAPSTART [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
@ -34,9 +34,21 @@
<pre> Log the mini map.
</pre>
<hr />
<a name="modules2eutil2fTicker20questStatus"></a>
<a name="robo15"></a><h2>modules.util/Ticker questStatus [ Functions ]</h2>
<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre> Ticker questStatus
</pre>
<p class="item_name">SYNOPSIS</p>
<pre> Request an update on quest status once per minute.
</pre>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./modules/util.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./modules/util.tin with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -26,15 +26,24 @@
<div id="content">
<h1>Functions</h1>
<h2><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#Q">Q</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#V">V</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#Y">Y</a> - <a href="#Z">Z</a> - <a href="#0">0</a> - <a href="#1">1</a> - <a href="#2">2</a> - <a href="#3">3</a> - <a href="#4">4</a> - <a href="#5">5</a> - <a href="#6">6</a> - <a href="#7">7</a> - <a href="#8">8</a> - <a href="#9">9</a></h2>
<h2><a name="A"></a>A</h2><a href="./modules/util_tin.html#robo6" class="indexitem" >Action MAPSTART</a>
<h2><a name="E"></a>E</h2><a href="./modules/gmcp/messaging_tin.html#robo2" class="indexitem" >Event IAC SB GMCP comm.channel</a>
<a href="./modules/gmcp/negotiate_tin.html#robo4" class="indexitem" >Event IAC WILL GMCP</a>
<a href="./modules/gmcp/negotiate_tin.html#robo5" class="indexitem" >Event SESSION CONNECTED</a>
<h2><a name="S"></a>S</h2><a href="./modules/gmcp/util_tin.html#robo3" class="indexitem" >sendGMCP</a>
<h2><a name="A"></a>A</h2><a href="./modules/util_tin.html#robo14" class="indexitem" >Action MAPSTART</a>
<h2><a name="E"></a>E</h2><a href="./modules/gmcp/char_tin.html#robo2" class="indexitem" >Event IAC SB GMCP char.base</a>
<a href="./modules/gmcp/char_tin.html#robo3" class="indexitem" >Event IAC SB GMCP char.maxstats</a>
<a href="./modules/gmcp/char_tin.html#robo4" class="indexitem" >Event IAC SB GMCP char.status</a>
<a href="./modules/gmcp/char_tin.html#robo5" class="indexitem" >Event IAC SB GMCP char.vitals</a>
<a href="./modules/gmcp/messaging_tin.html#robo6" class="indexitem" >Event IAC SB GMCP comm.channel</a>
<a href="./modules/gmcp/messaging_tin.html#robo7" class="indexitem" >Event IAC SB GMCP comm.quest</a>
<a href="./modules/gmcp/negotiate_tin.html#robo9" class="indexitem" >Event IAC WILL GMCP</a>
<a href="./modules/gmcp/negotiate_tin.html#robo10" class="indexitem" >Event SESSION CONNECTED</a>
<h2><a name="S"></a>S</h2><a href="./modules/gmcp/util_tin.html#robo8" class="indexitem" >sendGMCP</a>
<h2><a name="T"></a>T</h2><a href="./modules/util_tin.html#robo15" class="indexitem" >Ticker questStatus</a>
<a href="./modules/prompt_tin.html#robo11" class="indexitem" >Ticker updateEnemy</a>
<a href="./modules/prompt_tin.html#robo12" class="indexitem" >Ticker updateInfo</a>
<a href="./modules/prompt_tin.html#robo13" class="indexitem" >Ticker updateStats</a>
<h2><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#Q">Q</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#V">V</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#Y">Y</a> - <a href="#Z">Z</a> - <a href="#0">0</a> - <a href="#1">1</a> - <a href="#2">2</a> - <a href="#3">3</a> - <a href="#4">4</a> - <a href="#5">5</a> - <a href="#6">6</a> - <a href="#7">7</a> - <a href="#8">8</a> - <a href="#9">9</a></h2>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -31,7 +31,7 @@
<h2><a href="#A">A</a> - <a href="#B">B</a> - <a href="#C">C</a> - <a href="#D">D</a> - <a href="#E">E</a> - <a href="#F">F</a> - <a href="#G">G</a> - <a href="#H">H</a> - <a href="#I">I</a> - <a href="#J">J</a> - <a href="#K">K</a> - <a href="#L">L</a> - <a href="#M">M</a> - <a href="#N">N</a> - <a href="#O">O</a> - <a href="#P">P</a> - <a href="#Q">Q</a> - <a href="#R">R</a> - <a href="#S">S</a> - <a href="#T">T</a> - <a href="#U">U</a> - <a href="#V">V</a> - <a href="#W">W</a> - <a href="#X">X</a> - <a href="#Y">Y</a> - <a href="#Z">Z</a> - <a href="#0">0</a> - <a href="#1">1</a> - <a href="#2">2</a> - <a href="#3">3</a> - <a href="#4">4</a> - <a href="#5">5</a> - <a href="#6">6</a> - <a href="#7">7</a> - <a href="#8">8</a> - <a href="#9">9</a></h2>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -31,46 +31,6 @@
<a href="./bootstrap_tin.html#robo_top_of_doc"><tt>
bootstrap.tin</tt></a></li>
<li>
./.git/<ul>
<li>
./.git/branches/<ul>
</ul>
</li>
<li>
./.git/hooks/<ul>
</ul>
</li>
<li>
./.git/info/<ul>
</ul>
</li>
<li>
./.git/objects/<ul>
<li>
./.git/objects/info/<ul>
</ul>
</li>
<li>
./.git/objects/pack/<ul>
</ul>
</li>
</ul>
</li>
<li>
./.git/refs/<ul>
<li>
./.git/refs/heads/<ul>
</ul>
</li>
<li>
./.git/refs/tags/<ul>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>
./bin/<ul>
</ul>
</li>
@ -88,11 +48,17 @@ options.tin</tt></a></li>
<li>
./modules/<ul>
<li>
<a href="./modules/prompt_tin.html#robo_top_of_doc"><tt>
prompt.tin</tt></a></li>
<li>
<a href="./modules/util_tin.html#robo_top_of_doc"><tt>
util.tin</tt></a></li>
<li>
./modules/gmcp/<ul>
<li>
<a href="./modules/gmcp/char_tin.html#robo_top_of_doc"><tt>
char.tin</tt></a></li>
<li>
<a href="./modules/gmcp/messaging_tin.html#robo_top_of_doc"><tt>
messaging.tin</tt></a></li>
<li>
@ -110,7 +76,7 @@ util.tin</tt></a></li>
</ul>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -28,15 +28,24 @@
<ul>
<li><a href="./bootstrap_tin.html#robo0">bootstrap/Bootstrap</a></li>
<li><a href="./conf/options_tin.html#robo1">conf/Options</a></li>
<li><a href="./modules/gmcp/messaging_tin.html#robo2">modules.gcmp.messaging/Event IAC SB GMCP comm.channel</a></li>
<li><a href="./modules/gmcp/util_tin.html#robo3">modules.gcmp.util/sendGMCP</a></li>
<li><a href="./modules/gmcp/negotiate_tin.html#robo4">modules.gmcp.negotiate/Event IAC WILL GMCP</a></li>
<li><a href="./modules/gmcp/negotiate_tin.html#robo5">modules.gmcp.negotiate/Event SESSION CONNECTED</a></li>
<li><a href="./modules/util_tin.html#robo6">modules.util/Action MAPSTART</a></li>
<li><a href="./modules/gmcp/char_tin.html#robo2">modules.gcmp.char/Event IAC SB GMCP char.base</a></li>
<li><a href="./modules/gmcp/char_tin.html#robo3">modules.gcmp.char/Event IAC SB GMCP char.maxstats</a></li>
<li><a href="./modules/gmcp/char_tin.html#robo4">modules.gcmp.char/Event IAC SB GMCP char.status</a></li>
<li><a href="./modules/gmcp/char_tin.html#robo5">modules.gcmp.char/Event IAC SB GMCP char.vitals</a></li>
<li><a href="./modules/gmcp/messaging_tin.html#robo6">modules.gcmp.messaging/Event IAC SB GMCP comm.channel</a></li>
<li><a href="./modules/gmcp/messaging_tin.html#robo7">modules.gcmp.messaging/Event IAC SB GMCP comm.quest</a></li>
<li><a href="./modules/gmcp/util_tin.html#robo8">modules.gcmp.util/sendGMCP</a></li>
<li><a href="./modules/gmcp/negotiate_tin.html#robo9">modules.gmcp.negotiate/Event IAC WILL GMCP</a></li>
<li><a href="./modules/gmcp/negotiate_tin.html#robo10">modules.gmcp.negotiate/Event SESSION CONNECTED</a></li>
<li><a href="./modules/prompt_tin.html#robo11">modules.prompt/Ticker updateEnemy</a></li>
<li><a href="./modules/prompt_tin.html#robo12">modules.prompt/Ticker updateInfo</a></li>
<li><a href="./modules/prompt_tin.html#robo13">modules.prompt/Ticker updateStats</a></li>
<li><a href="./modules/util_tin.html#robo14">modules.util/Action MAPSTART</a></li>
<li><a href="./modules/util_tin.html#robo15">modules.util/Ticker questStatus</a></li>
</ul>
</div> <!-- content -->
<div id="footer">
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Mon Jul 06 2020 19:52:27
<p>Generated from ./ with <a href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html">ROBODoc</a> V4.99.43 on Tue Jul 07 2020 10:14:25
</p>
</div> <!-- footer -->
</body>

@ -0,0 +1,59 @@
#NOP ****f* modules.gcmp.char/Event IAC SB GMCP char.base
#NOP NAME
#NOP Event IAC SB GMCP char.base -- Process character base update
#NOP SYNOPSIS
#NOP Parse the update and update the character variable
#NOP -
#event {IAC SB GMCP char.base IAC SE} {
#NOP Format: char.base { "name": Lasher, "class": Warrior, "subclass": Soldier,;
#NOP "race": Elf, "clan": wolf, "pretitle": "Testing ", "perlevel": 1000,;
#NOP "tier": 1, "remorts": 7 };
#NOP Pull out the GMCP message;
#variable {character[base]} {%0};
}
#NOP ****f* modules.gcmp.char/Event IAC SB GMCP char.vitals
#NOP NAME
#NOP Event IAC SB GMCP char.vitals -- Process character vitals update
#NOP SYNOPSIS
#NOP Parse the update and update the character variable
#NOP -
#event {IAC SB GMCP char.vitals IAC SE} {
#NOP Format: char.vitals { "hp": 100000, "mana": 90000, "moves": 41599 };
#NOP Pull out the GMCP message;
#variable {character[vitals]} {%0};
}
#NOP ****f* modules.gcmp.char/Event IAC SB GMCP char.status
#NOP NAME
#NOP Event IAC SB GMCP char.status -- Process character status update
#NOP SYNOPSIS
#NOP Parse the update and update the character variable
#NOP -
#event {IAC SB GMCP char.status IAC SE} {
#NOP Format: char.status { "level": 210, "tnl": 1000, "hunger": 70, "thirst": 70,;
#NOP "align": 1867, "state": 3, "pos": "Standing" , "enemy": "an owl",;
#NOP "enemypct": 93 };
#NOP Pull out the GMCP message;
#variable {character[status]} {%0};
}
#NOP ****f* modules.gcmp.char/Event IAC SB GMCP char.maxstats
#NOP NAME
#NOP Event IAC SB GMCP char.maxstats -- Process character maxstats update
#NOP SYNOPSIS
#NOP Parse the update and update the character variable
#NOP -
#event {IAC SB GMCP char.maxstats IAC SE} {
#NOP Format: char.maxstats { "maxhp": 50099, "maxmana": 50029, "maxmoves": 41629,;
#NOP "maxstr": 51, "maxint": 134, "maxwis": 50, "maxdex": 183, "maxcon": 99,;
#NOP "maxluck": 200 }
#NOP Pull out the GMCP message;
#variable {character[maxstats]} {%0};
}

@ -16,12 +16,23 @@
#format {logline} {%s%s} {$cTime} {$message[comm][channel][msg]};
#NOP If it's a private channel, filter to the other log;
#foreach {$privateChannels} {pchan} {
#if {"$pchan" == "$message[comm][channel][chan]"} {
#line log {$telllog} {$logline};
#return {};
}
}
#list {privateChannels} find {$message[comm][channel][chan]} {foundIndex};
#if {$foundIndex > 0} {
#line log {$telllog} {$logline};
#return {};
};
#NOP Otherwise log to the default log;
#line log {$chatlog} {$logline};
}
#NOP ****f* modules.gcmp.messaging/Event IAC SB GMCP comm.quest
#NOP NAME
#NOP Event IAC SB GMCP comm.quest -- Quest status update received
#NOP SYNOPSIS
#NOP Process the received message and update quest variables
#NOP -
#event {IAC SB GMCP comm.quest IAC SE} {
#variable {quest} {%0};
}

@ -0,0 +1,72 @@
#NOP Create prompt area;
#split {0} {3};
#NOP Configure where info bars are positioned
#variable {infoLinePos} {-4};
#variable {statsLinePos} {-3};
#variable {enemyLinePos} {-2};
#variable {promptUpdateInterval} {2};
#NOP ****f* modules.prompt/Ticker updateStats
#NOP NAME
#NOP Ticker updateStats
#NOP SYNOPSIS
#NOP Update the character stats line of the prompt (HP/MP/MV/TNL)
#NOP -
#ticker {updateStats} {
#local {formatString} {<099><118>HP:<018> %d/%d<098> | <148>MP:<048> %d/%d<098> |
<128>MV:<028> %d/%d<098> | <168>TNL:<068> %+3s<098> | <138>Align:<038> %d};
#format {statsLine} {$formatString} {$character[vitals][hp]}
{$character[maxstats][maxhp]} {$character[vitals][mana]}
{$character[maxstats][maxmana]} {$character[vitals][moves]}
{$character[maxstats][maxmoves]} {$character[status][tnl]}
{$character[status][align]};
#showme {$statsLine} {$statsLinePos};
} {$promptUpdateInterval};
#NOP ****f* modules.prompt/Ticker updateInfo
#NOP NAME
#NOP Ticker updateInfo
#NOP SYNOPSIS
#NOP Update the info line on the prompt for Quest information.
#NOP -
#ticker {updateInfo} {
#if {"$quest[wait]" != ""} {
#format {questLine} {<099><188><g12>QUEST:<088> %s mins} {$quest[wait]<099>};
};
#if {"$quest[status]" == "ready"} {
#format {questLine} {<099><168>QUEST: Ready<099>}
};
#if {"$quest[targ]" != ""} {
#local {remaining} {$quest[timer]};
#if {$remaining < 15} {
#format {questLine} {<099><118>QUEST: %d mins<099>} {$remaining};
}
{
#format {questLine} {<099><128>QUEST:<028> %d mins} {$remaining};
}
};
#format {infoLine} {%s} {$questLine};
#showme {$infoLine} {$infoLinePos};
} {$promptUpdateInterval};
#NOP ****f* modules.prompt/Ticker updateEnemy
#NOP NAME
#NOP Ticker updateEnemy
#NOP SYNOPSIS
#NOP Update the enemy line on the prompt with enemy stats.
#NOP -
#ticker {updateEnemy} {
#variable {enemyLine} {<099><g08>Not in combat.};
#if {"$character[status][enemy]" != ""} {
#local {formatString} {<099><118>FIGHTING:<018> %s (%d%%)<099>};
#format {enemyLine} {$formatString} {$character[status][enemy]}
{$character[status][enemypct]};
};
#showme {$enemyLine} {$enemyLinePos};
} {$promptUpdateInterval};

@ -1,9 +1,12 @@
#read {modules/gmcp/util.tin};
#NOP ****f* modules.util/Action MAPSTART
#NOP NAME
#NOP Action MAPSTART
#NOP SYNOPSIS
#NOP Log the mini map.
#NOP -
#action {^<MAPSTART>} {
#line gag;
#NOP Start matching including color codes until <MAPEND> is seen;
@ -19,3 +22,14 @@
#line gag;
};
}
#NOP ****f* modules.util/Ticker questStatus
#NOP NAME
#NOP Ticker questStatus
#NOP SYNOPSIS
#NOP Request an update on quest status once per minute.
#NOP -
#ticker {questStatus} {
#local {result} @sendGMCP{request quest};
} {60};

@ -8,6 +8,9 @@ end markers:
accept files:
*.tin
ignore files:
.git
options:
--src .
--doc ./doc

Loading…
Cancel
Save