Browse Source

added note system, populated README.md, bugfixes

master
Brandon Cornejo 9 years ago
parent
commit
ae111e9a80
  1. 36
      README.md
  2. 7
      aardwolf-session
  3. 1
      actions.tin
  4. 18
      aliases.tin
  5. 13
      config.tin
  6. 0
      logs/active.log
  7. 25
      logs/channel.log
  8. 32
      logs/history.log
  9. 0
      logs/minimap.log
  10. 0
      logs/mobs.log
  11. 0
      logs/notes.log
  12. 30
      src/gmcp.tin
  13. 1
      src/init.tin
  14. 61
      src/minimap.tin

36
README.md

@ -0,0 +1,36 @@
### TinTin++ Settings for Aardwolf MUD
## Setup:
* Clone the repository
* Edit username in config.tin
* Edit password in config.tin
* Edit bag in config.tin
* Edit paths in aardwolf-session
## Usage:
* Launch tmux (tmux -2)
* Run aardwolf-session (./aardwolf-session)
* In-game: tags channel on
* In-game: tags map on
* In-game: tags mapexits on
* In-game: tags mapnames on
* In-game: tags roomchars on
* In-game: tags roomobjs on
## Features
* GMCP powered 2-line prompt with colored percentage meters (prompt.tin)
* Quest time ticker and target tracking (quest.tin)
* Repop watch and announce (gmcp.tin)
* Minimap in seperate window (minimap.tin)
* Alias-driven note jotting system (aliases.tin)
* Channels logged to separate window (gmcp.tin)
* Room characters/mobiles and objects logged to file (minimap.tin)
## Commands
* debug on|off - toggles echoing GMCP data as it arrives
* repopwatch on|off - toggles announcing of repops in $repchan
* .note *message here* - adds *message* to notes.log (bottom right window)
* .newpage - clears the note screen, providing a fresh page
The actions.tin and aliases.tin files are a place for your personal triggers and aliases.

7
aardwolf-session

@ -9,6 +9,9 @@
#tmux splitw -v -l 37 'tt++ -G /home/br4n/documents/MUD/AardWolf/aardwolf/aardwolf/setup.tin' #tmux splitw -v -l 37 'tt++ -G /home/br4n/documents/MUD/AardWolf/aardwolf/aardwolf/setup.tin'
#tmux send-keys -t 0 'exit' Enter #tmux send-keys -t 0 'exit' Enter
tmux split-window -v -p 80 'tail -fs .1 /home/br4n/documents/MUD/AardWolf/aardwolf/aardwolf/channel.log'
tmux split-window -v -p 80 'tail -fs .1 /home/br4n/documents/MUD/AardWolf/aardwolf-tintin/logs/channel.log'
tmux swap-pane -Dd tmux swap-pane -Dd
tmux send-keys 'tt++ -G /home/br4n/documents/MUD/AardWolf/aardwolf/aardwolf/setup.tin' Enter
tmux split-window -h -p 20 'tail -fs .1 /home/br4n/documents/MUD/AardWolf/aardwolf-tintin/logs/minimap.log'
tmux split-window -v -p 50 'tail -fs .1 /home/br4n/documents/MUD/AardWolf/aardwolf-tintin/logs/notes.log'
tmux select-pane -L
tmux send-keys 'tt++ -G /home/br4n/documents/MUD/AardWolf/aardwolf-tintin/config.tin' Enter

1
actions.tin

@ -0,0 +1 @@
#ACTION {The quest will start in} {#bell};

18
aliases.tin

@ -7,3 +7,21 @@
put portal $bag; put portal $bag;
wear all; wear all;
}; };
#ALIAS {^.note %*}
{
#line {log} {$dir/logs/notes.log} {%1};
};
#ALIAS {^.newpage$}
{
#5 #line {log} {$dir/logs/notes.log} {\n\n\n\n};
};
#ALIAS {^.colors$}
{
#forall {0;1;2;3;4;5;6;7;8;9}
{
#showme {<0&09>\<0&09\><099> <1&09>\<1&09\><099>};
};
};

13
config.tin

@ -1,19 +1,28 @@
#VARIABLE {name} {username};
#VARIABLE {password} {password};
#VARIABLE {name} {};
#VARIABLE {password} {};
#VARIABLE {dir} {.}; #VARIABLE {dir} {.};
#VARIABLE {repchan} {gt}; #VARIABLE {repchan} {gt};
#VARIABLE {bag} {pentagram}; #VARIABLE {bag} {pentagram};
#CONFIG {LOG} {RAW}
#LOG APPEND {$dir/logs/active.log}
#READ {$dir/src/prompt.tin}; #READ {$dir/src/prompt.tin};
#READ {$dir/src/gmcp.tin}; #READ {$dir/src/gmcp.tin};
#READ {$dir/src/char.tin}; #READ {$dir/src/char.tin};
#READ {$dir/src/quest.tin}; #READ {$dir/src/quest.tin};
#READ {$dir/src/minimap.tin};
#READ {$dir/src/init.tin}; #READ {$dir/src/init.tin};
#READ {$dir/aliases.tin}; #READ {$dir/aliases.tin};
#READ {$dir/actions.tin}; #READ {$dir/actions.tin};
#ACTION {{^\{chan ch={answer|question|wangrp|gossip|barter|auction|nobletalk|sports|gclan|newbie|curse|market}\}%2$}} {#line gag};
#ACTION {{\{stats\}}} {#line gag};
#SESSION {aard} {aardmud.org} {4000}; #SESSION {aard} {aardmud.org} {4000};
#SPLIT {0} {3}; #SPLIT {0} {3};
#SUB {\{chan ch=%*\}} {};

0
logs/active.log

25
logs/channel.log

@ -1,25 +0,0 @@
Goal Bot Xochitl barters: I'll give you 2 mil not to sell it to Cytan.
Kaimana barters: I'm going to sell my awesome sword soon, I just wish that more players would use auction that were low/mid level, it seems like most of the stuff there is either in the LVL 181/201 range, or low level stuff that isn't that great but people who don't know think it is
Cytan barters: have a serious seller, who had a serious buyer. hallowed light discussion over. lets go to skinners SH skins. or whatever it is.
Kaimana barters: I'm worried no one will buy it, like before, and the auction system on this game keeps it, which I hate
Kaimana barters: but I know that it's amazing how many times I've been able to sharpen it and how good it is for it's level
Tiklmelmo barters: you can bid on it yourself to avoid that
Goal Bot Xochitl barters: You can place a bid on your own item so it won't be retained.
[Deputy] Daresia barters: everyone uses aards so no one wants them ><
Kaimana barters: yeah... guess I was just never all that crazy about quests, especially past about LVL50 when the big multi section areas with incomplete or no VI maps start popping up allot
[Newbie] (Helper) Shaelynne: Hi Grus
[Deputy] Daresia barters: well...learn them?
Shaelynne barters: gotten really spammy on this channel. sell the sword. don't sell the sword...can we just move the chatter to another channel. 
Kaimana barters: yeah... but just for quests? ehh
Kaimana barters: big places
[Newbie] (Advisor) Susankay: hi Nawlnsboy welcome
Kaimana barters: this one is LVL97, 165 damage, 4DEX 4STR 10 DAM 6Hit and vampiric, which is pretty awesome, and the aard swords I think are vorpal, but not vampiric, which I find to be more useful in the long run anyway
[Newbie] (Helper) Shaelynne: Hi Nawlnsboy
[Deputy] Daresia barters: level 100 aard swords are 300 damage.
Kaimana barters: it's served me well for the last 10 levels :)
[Deputy] Daresia barters: vampiric doesn't matter much compared to double damage
Huge Wang Dexx gossips 'In honor of the hardest working immortal on AARD - for the next five T0-T2s who come to 2se (of recall), five free item/weapon/armor enchants. I will cast resonate, solidify, and illuminate on the object. I can also cast enchant armor up to 3 times (upon request, but this raises level of item by one lever per casting unless it is already level 200 or above. This carries risk of destroying the item). I will not reimburse for enchant armor - request it at own risk. Note - if item has Hum, Invis, Glow flags set, I can not enchant further (this is default setting on AARD equipment). Ivar's Item Remodeling (run 2s4wn from recall) offers the service to flip the flags for a cost of 2 tps. Be sure to "read sign" at the shop to understand how to use the service. Do this at your own risk (I will not reimburse TPs). If item is "solidified, resonated, illuminated" already, I can not enchant it - apparently someone else has done so already.'
Kaimana barters: yeah, OP for the level isn't my style, and I know that as you go up it'll become less so, but for about 20 levels though you'll be a god, and then after that a ways you'll suck until you quest a bunch of times again
Kaimana barters: I just don't like that dynamic that much personally
(Group) Coelbren: '{-=Quest Time=-}'
Kaimana barters: I like the bow though

32
logs/history.log

@ -1,32 +0,0 @@
prompt
drink goblet
drink
score
debug on
c 'create water
#echo $quest[timer]
debug off
rest
stand
lookl
look
porthome
d
eq
wear all
wear serenity
wear earth
compare serenity
put serenity backpack
look in bag
unkeep bag
e
drop bag
sac all
drop thieves
drop patch
#10 c 'remove curse'
drop all
i
quit

0
logs/minimap.log

0
logs/mobs.log

0
logs/notes.log

30
src/gmcp.tin

@ -16,9 +16,25 @@
{ {
#if {"%1" == "on"} { #variable debug 1 }; #if {"%1" == "on"} { #variable debug 1 };
#else { #variable debug 0 }; #else { #variable debug 0 };
#showme { Debug is <139>$debug<099> };
#nop; #nop;
} }
#alias {repopwatch {on|off}}
{
#if {"%1" == "on"} { #variable repop 1 };
#else { #variable repop 0 };
#showme { Repopwatch is <139>$repop<099> };
#nop;
}
#alias {{^check repop$}}
{
#format {timestamp} {%T};
#math {repop_time} {($last_repop+606)-$timestamp};
#send {$repchan @CNext repop@w: @R$repop_time @Wseconds.@w};
}
#event {IAC SB GMCP comm.channel IAC SE} #event {IAC SB GMCP comm.channel IAC SE}
{ {
#if {$debug} { #showme %1 }; #if {$debug} { #showme %1 };
@ -29,6 +45,18 @@
}; };
} }
#event {IAC SB GMCP comm.repop IAC SE}
{
#if {$debug} { #showme %1 };
#var {GMCP[COMM][REPOP]} {%0};
#format {last_repop} {%T};
#format {time} {%t} {%H:%M:%S};
#send {$repchan @WRepop @w= @r$GMCP[COMM][REPOP][zone]@w @@ @r$time};
#var time {};
#nop;
}
#nop Start up GMCP connection with the server #nop Start up GMCP connection with the server
#event {IAC WILL GMCP} #event {IAC WILL GMCP}
{ {
@ -47,6 +75,8 @@
#event {SESSION DISCONNECTED} #event {SESSION DISCONNECTED}
{ {
#history write {$dir/logs/history.log}; #history write {$dir/logs/history.log};
#line log {$dir/logs/minimap.log} {\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n};
#line log {$dir/logs/mobs.log} {\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n};
} }
#event {SESSION CONNECTED} #event {SESSION CONNECTED}

1
src/init.tin

@ -4,6 +4,7 @@
#ALIAS {do_on_connect} #ALIAS {do_on_connect}
{ {
protocol gmcp sendchar; protocol gmcp sendchar;
map;
quest time; quest time;
}; };

61
src/minimap.tin

@ -0,0 +1,61 @@
#class minimap kill
#class minimap open
#ALIAS {get_minimap}
{
#ACTION {~%0}
{
#line log {$dir/logs/minimap.log} {%0};
#line gag;
} {10}
}
#ALIAS {get_chars}
{
#ACTION {~%0}
{
#line log {$dir/logs/mobs.log} {%0};
} {10}
}
#ACTION {^<MAPEND>$}
{
#unaction {~%%0} {};
#line gag;
} {1}
#ACTION {^<MAPSTART>$}
{
#line log {$dir/logs/minimap.log} {\n\r\n\r};
get_minimap;
#line gag;
} {1}
#ACTION {{^\{roomchars\}}}
{
#line log {$dir/logs/mobs.log} {\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n};
get_chars;
#line gag;
}
#ACTION {{^\{/roomchars\}$}}
{
#unaction {~%%0} {};
#line log {$dir/logs/mobs.log} {\n\r};
#line gag;
}
#ACTION {{^\{roomobjs\}}}
{
get_chars;
#line gag;
}
#ACTION {{^\{/roomobjs\}$}}
{
#unaction {~%%0} {};
#line log {$dir/logs/mobs.log} {\n\r};
#line gag;
}
#class minimap close
Loading…
Cancel
Save