├── .gitignore
├── AFK_timer.xml
├── ANSI_Log.xml
├── ATCP_Mapper.xml
├── ATCP_NJG.xml
├── Achaea_Experience_Bar.xml
├── Achaea_Health_Bar.xml
├── Achaea_Helplist_Miniwindow.xml
├── Add_NewLine_To_Prompt.xml
├── Auto_Say_Visualizer.xml
├── BatMUD_Analyzer.xml
├── Braille_Reader.xml
├── Combat_Text.xml
├── Command_Throttler.xml
├── Convert_Packet_Debug.xml
├── Count_Instruction_Cycles.xml
├── Create_ATCP_Map_Database.xml
├── Current_Output_Window.xml
├── Encrypted_Chat.xml
├── Exits_Window.xml
├── Experience_Bar.xml
├── Experience_Bar_Telnet.xml
├── GMCP_Mapper.xml
├── GMCP_handler_NJG.xml
├── GMCP_message_receiver_test.xml
├── Generic_Chat_Miniwindow.xml
├── Grab.xml
├── Health_Bar_Miniwindow.xml
├── Health_Bar_Miniwindow_MM.xml
├── Health_Bar_Miniwindow_Telnet.xml
├── Icon_Bar.xml
├── Inquisition_Mapper.xml
├── Item_Cache_Helper.xml
├── Lands_Of_Redemption_Mapper.xml
├── Learning_Mapper.lua
├── Learning_Mapper.xml
├── Level_Timer.xml
├── Lua_Chat.xml
├── MUSHclient_Help.xml
├── Mapper_Telnet.xml
├── Materia_Magica_Mapper.xml
├── MudDatabase.xml
├── NewActivity.xml
├── Omit_Blank_Lines.xml
├── Play_Random_Sound.xml
├── Plugin_Installer.xml
├── Random_Socials.xml
├── Realm_Of_Magic_Mapper.xml
├── Reconnecter.xml
├── Room_Contents_Telnet.xml
├── Room_Info_Helper.xml
├── Room_Location_Telnet.xml
├── SWmud mapper.xml
├── Scrolling_Window_Demo.xml
├── Send_Input_To_Main_World.xml
├── Slow_speedwalk.xml
├── Source_scanner.xml
├── TTS_SystemAccess.xml
├── Telnet_Logger.xml
├── Thesaurus.xml
├── Timer.xml
├── Trace_To_Notepad.xml
├── Trace_Window.xml
├── Version_Check.xml
├── World_Activity_Bar.xml
├── World_Name_Bar.xml
├── aardwolf
├── AFK_Detector.xml
├── Aardwolf_BigMap_Graphical.xml
├── Aardwolf_Campaign_Noter.xml
├── Aardwolf_Campaign_Noter_mw.xml
├── Aardwolf_Chat_Hyperlinked.xml
├── Aardwolf_Consider_Miniwindow.xml
├── Aardwolf_Exp_gain.xml
├── Aardwolf_Experience_Bar.xml
├── Aardwolf_Health_Bar_Miniwindow.xml
├── Aardwolf_Help.xml
├── Aardwolf_Help_mw.xml
├── Aardwolf_Helplist.xml
├── Aardwolf_Inventory_v3.xml
├── Aardwolf_Map_mw.xml
├── Aardwolf_Quest_Tracker_mw.xml
├── Aardwolf_Scan.xml
├── Aardwolf_Spellups.xml
├── Consider_info.xml
├── Copy_Colour_Output.xml
├── Create_World_File.xml
├── Helplist_Miniwindow.xml
├── Playing_Detector.xml
├── Spellups.mcl
├── Stats_Detector.xml
└── telnet_options.lua
├── constants.js
├── constants.lua
├── constants.pl
├── constants.pys
├── constants.vbs
├── readme.txt
└── sapi.xml
/.gitignore:
--------------------------------------------------------------------------------
1 | state
2 |
3 |
--------------------------------------------------------------------------------
/AFK_timer.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 | ]>
9 |
10 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
44 |
45 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
61 |
62 | ColourNote ("salmon", "", "You are now AFK.")
63 | Send ("&afk_command;")
64 | EnableTimer ("afk_timer", 0)
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
77 |
78 | FixTimer () -- make sure timer is back on
79 |
80 |
81 |
82 |
83 |
84 |
89 |
90 | EnableTimer ("afk_timer", 0) -- make sure timer is off
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
131 |
132 |
133 |
--------------------------------------------------------------------------------
/ATCP_NJG.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
201 |
202 |
203 |
204 |
--------------------------------------------------------------------------------
/Achaea_Experience_Bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
149 |
150 |
151 |
--------------------------------------------------------------------------------
/Achaea_Health_Bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
169 |
170 |
171 |
--------------------------------------------------------------------------------
/Add_NewLine_To_Prompt.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Auto_Say_Visualizer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
65 |
66 |
--------------------------------------------------------------------------------
/BatMUD_Analyzer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 | Detects incoming packets in the BatMUD format.
18 |
19 |
20 |
21 |
22 |
23 |
24 |
260 |
261 |
262 |
--------------------------------------------------------------------------------
/Braille_Reader.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
32 |
33 |
34 |
35 |
36 |
171 |
172 |
173 |
--------------------------------------------------------------------------------
/Combat_Text.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/Command_Throttler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 | display outstanding queue
26 |
27 | empty_queue --> discard entire queue
28 |
29 | Command_Throttler:help --> this help
30 | ]]>
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
45 |
46 |
47 | ColourNote ("gray", "", "Deleted " .. #queue .. " outstanding item(s) from the queue.")
48 |
49 | queue = {} -- queue is now empty
50 |
51 |
52 |
53 |
54 |
60 |
61 |
62 | if #queue == 0 then
63 | ColourNote ("gray", "", "Pending command queue is empty")
64 | return
65 | end -- if
66 |
67 | ColourNote ("gray", "", "Command queue:")
68 | for k, v in ipairs (queue) do
69 | ColourNote ("gray", "", k .. ": " .. v)
70 | end -- for
71 |
72 | ColourNote ("gray", "", #queue .. " outstanding item(s) in the command queue.")
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
86 |
87 |
88 | -- no queued commands? just exit
89 |
90 | if next (queue) == nil then
91 | return
92 | end -- if empty
93 |
94 | -- send the earliest item
95 |
96 | send_now = true -- don't requeue it
97 |
98 | Send (table.remove (queue, 1))
99 |
100 | send_now = false -- queue if not from this plugin
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
150 |
151 |
152 |
153 |
154 |
155 |
160 |
161 |
162 |
163 |
170 |
171 |
172 |
--------------------------------------------------------------------------------
/Convert_Packet_Debug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
84 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/Count_Instruction_Cycles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
222 |
223 |
224 |
225 |
--------------------------------------------------------------------------------
/Current_Output_Window.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
17 |
18 |
19 |
20 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
205 |
206 |
207 |
208 |
--------------------------------------------------------------------------------
/Encrypted_Chat.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 |
18 | Converts chat sessions to encrypted for the users and keys nominated in the plugin.
19 |
20 |
21 |
22 |
23 |
24 |
25 |
115 |
116 |
117 |
--------------------------------------------------------------------------------
/Exits_Window.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
121 |
122 |
123 |
124 |
--------------------------------------------------------------------------------
/Experience_Bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
17 |
18 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
165 |
166 |
167 |
--------------------------------------------------------------------------------
/Experience_Bar_Telnet.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
166 |
167 |
168 |
--------------------------------------------------------------------------------
/GMCP_handler_NJG.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 | GMCP handler for Aardwolf and IRE MUDs.
20 |
21 | Type: 'gmcpdebug 1' for debugging info.
22 | Type: 'gmcpdebug 0' to turn debugging off.
23 |
24 |
25 |
26 |
27 |
28 |
29 |
37 |
38 |
39 |
40 |
41 |
127 |
128 |
--------------------------------------------------------------------------------
/GMCP_message_receiver_test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
17 |
18 |
19 |
20 |
157 |
158 |
159 |
--------------------------------------------------------------------------------
/Grab.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
11 |
12 |
13 |
23 |
24 |
40 |
41 | Grab:help <-- This help screen
42 |
43 | ]]>
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
60 | %1
61 |
62 |
63 |
64 |
65 |
66 |
67 |
72 | @@pemit/silent me=@password &%2 %1=[get(%1/%2)]
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
88 |
89 |
90 |
91 |
92 |
93 |
98 |
99 |
100 |
101 |
108 |
109 |
110 |
--------------------------------------------------------------------------------
/Health_Bar_Miniwindow.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 |
26 | fprompt <%h/%H hp %m/%M m %v/%V mv %x/%X xp>
27 |
28 | ]]>
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
212 |
213 |
214 |
--------------------------------------------------------------------------------
/Health_Bar_Miniwindow_MM.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
37 |
38 |
39 |
48 |
49 |
50 | hp = %1
51 | max_hp = %2
52 | endurance = %3
53 | max_endurance = %4
54 | guile = %5
55 | max_guile = %6
56 |
57 | -- draw gauge
58 | do_prompt ("", "", { hp, endurance, guile } )
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
243 |
244 |
245 |
--------------------------------------------------------------------------------
/Item_Cache_Helper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
236 |
237 |
238 |
239 |
--------------------------------------------------------------------------------
/Level_Timer.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | ]>
6 |
7 |
8 |
9 |
10 |
11 |
14 |
15 |
16 |
27 |
28 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
115 |
116 |
117 |
118 |
--------------------------------------------------------------------------------
/NewActivity.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | ]>
7 |
8 |
9 |
10 |
11 |
12 |
13 |
20 |
21 |
22 |
32 |
33 | Type "&activity_alias;" to switch to the next world with new activity.
34 |
35 | New activity is defined as output that has been received while the world is not the active window.
36 |
37 |
38 | Usage
39 | -----
40 |
41 | &activity_alias; <-- Switch to world with activity
42 |
43 | NewActivity:help <-- This help
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
101 |
102 |
103 |
104 |
105 |
106 |
111 |
112 |
113 |
114 |
121 |
122 |
123 |
--------------------------------------------------------------------------------
/Omit_Blank_Lines.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Play_Random_Sound.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Plugin_Installer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
20 |
21 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
45 |
46 |
47 |
54 |
55 |
56 |
63 |
64 |
65 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
223 |
224 |
225 |
226 |
--------------------------------------------------------------------------------
/Random_Socials.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | ]>
7 |
8 |
9 |
25 |
26 |
27 |
35 |
36 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
62 |
63 |
83 |
84 |
91 |
92 |
93 |
99 |
100 |
101 |
145 |
146 |
153 |
154 |
155 |
163 |
164 |
165 |
166 |
180 |
181 |
190 |
191 |
192 |
200 |
201 |
202 |
216 |
217 |
224 |
225 |
226 |
233 |
234 |
235 |
236 |
265 |
266 |
273 |
274 |
275 |
281 |
282 |
283 |
284 |
297 |
298 |
299 |
306 |
307 |
308 |
313 |
314 |
315 |
316 |
323 |
324 |
325 |
--------------------------------------------------------------------------------
/Reconnecter.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 | ]>
8 |
9 |
10 |
11 |
12 |
13 |
35 |
36 |
37 |
47 |
48 |
52 |
53 | Reconnecter:help - this help screen
54 |
55 | &connect_command; - enable recconnection (eg. after using &noconnect_command;)
56 |
57 | &noconnect_command; - disable reconnection (eg. if you are leaving the PC)
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
83 |
84 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
189 |
190 |
191 |
192 |
193 |
194 |
199 |
200 |
201 |
202 |
209 |
210 |
211 |
--------------------------------------------------------------------------------
/Room_Location_Telnet.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
168 |
169 |
170 |
--------------------------------------------------------------------------------
/Send_Input_To_Main_World.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | ]>
5 |
6 |
7 |
8 |
9 |
10 |
11 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
34 |
35 | require "getworld"
36 |
37 | w = get_a_world ("&world_name;")
38 |
39 | if w:GetWorldID () == GetWorldID () then
40 | ColourNote ("white", "red",
41 | "Cannot use Send_Input_To_Main_World plugin on main world")
42 | EnablePlugin (GetPluginID (), false)
43 | return
44 | end -- if
45 |
46 | if w then
47 | w:Execute [====[%1]====]
48 | w:Activate ()
49 | end -- if world exists
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/Slow_speedwalk.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | \\[Exits\\: .+\\])|(.*)Alas, you cannot go that way\\.)$" >
13 | ]>
14 |
15 |
16 |
17 |
18 |
19 |
20 |
45 |
46 |
47 |
48 |
49 |
60 |
61 |
62 | Usage
63 | -----
64 |
65 | ! <speedwalk> - walks in that direction, eg. ! 5n 3w
66 |
67 | &pause_speedwalk_alias; - pauses the speedwalk so you can do something else
68 |
69 | &resume_speedwalk_alias; - resumes a paused speedwalk
70 |
71 | &abort_speedwalk_alias; - aborts the current speedwalk
72 |
73 | &help_speedwalk_alias; - this message
74 |
75 |
76 | The speedwalk waits for the appropriate "Exits" message to appear so it knows it has reached a new room.
77 |
78 | If it receives a "cannot go that way" message, the speedwalk is aborted.
79 |
80 | If an "exits" message does not appear within 10 seconds the speedwalk is aborted.
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
93 |
94 |
95 |
100 |
101 |
102 |
107 |
108 |
109 |
114 |
115 |
116 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
269 |
270 |
271 |
--------------------------------------------------------------------------------
/TTS_SystemAccess.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
20 |
21 |
22 |
23 |
24 |
30 |
31 | sa.stop()
32 |
33 |
34 |
35 |
41 |
42 | sa.stop()
43 | sa.say("%1")
44 |
45 |
46 |
47 |
53 |
54 | sa.say("%1")
55 |
56 |
57 |
58 |
68 |
69 |
70 |
71 |
72 |
111 |
112 |
--------------------------------------------------------------------------------
/Telnet_Logger.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
17 |
18 |
19 |
20 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Thesaurus.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
28 |
29 | eg.
30 |
31 | lookup eat
32 | ]]>
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
48 | -- find the word they want
49 | local word = "%<word>"
50 |
51 | if #word == 0 then
52 | word = utils.inputbox ("Word to lookup in Thesaurus?", "Thesaurus")
53 | end -- word not supplied
54 |
55 | -- nil if dialog cancelled
56 | if not word then
57 | return
58 | end -- cancelled dialog
59 |
60 | -- see if in index
61 | local pos = thes [word:lower ()]
62 |
63 | -- don't know that word?
64 | if not pos then
65 | utils.msgbox ("The word '" .. word .. "' is not in the Thesaurus", "Not Found")
66 | return
67 | end -- not found
68 |
69 | -- seek to it in the main file
70 | thes_file:seek ("set", pos)
71 |
72 | -- read that line
73 | local line = thes_file:read ()
74 |
75 | -- convert into table
76 | local t = utils.split (line, ",")
77 |
78 | -- display in list box
79 | local choice = utils.listbox (
80 | "Matching words for '" .. word ..
81 | "'\\n\\nClick OK to copy to the clipboard", -- message
82 | "Thesaurus: " .. word, -- title
83 | t) -- table of words
84 |
85 | if choice then
86 | SetClipboard (t [choice])
87 | end -- if one chosen
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
100 |
101 |
102 |
103 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/Timer.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
46 | Timer reset.
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
126 |
127 |
128 |
129 |
130 |
131 |
136 |
137 |
138 |
139 |
146 |
147 |
148 |
--------------------------------------------------------------------------------
/Trace_To_Notepad.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Trace_Window.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
134 |
135 |
136 |
--------------------------------------------------------------------------------
/aardwolf/AFK_Detector.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | ]>
6 |
7 |
8 |
9 |
10 |
20 |
21 |
22 | [FOR PLUGIN AUTHORS ONLY]
23 |
24 | Detects if you are AFK, for the benefit of other plugins.
25 |
26 | Example:
27 |
28 | function OnPluginBroadcast (msg, id, name, text)
29 | if msg == 1 and id == "0e191dc7829ff2ac2433c2d8" then
30 | AFK = text == "y"
31 | end -- AFK status changed
32 | end
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
47 |
48 |
49 |
55 |
56 |
57 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
76 | ColourNote ("salmon", "", "You are now AFK (client-side).")
77 | SetStatus ("AFK")
78 | check (EnableTimer ("afk_timer", 0))
79 | BroadcastPlugin (1, "y")
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
134 |
135 |
--------------------------------------------------------------------------------
/aardwolf/Aardwolf_Campaign_Noter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
20 |
21 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
40 |
41 |
47 |
48 |
49 |
55 | cp check
56 |
57 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
80 | cp check
81 |
82 |
83 |
84 |
85 |
86 |
87 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
180 |
181 |
182 |
183 |
184 |
185 |
190 |
191 |
192 |
193 |
200 |
201 |
202 |
--------------------------------------------------------------------------------
/aardwolf/Aardwolf_Campaign_Noter_mw.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
20 |
21 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
40 |
41 |
48 |
49 |
50 |
56 | cp check
57 |
58 |
59 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
81 | cp check
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
243 |
244 |
245 |
--------------------------------------------------------------------------------
/aardwolf/Aardwolf_Experience_Bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
136 |
137 |
138 |
--------------------------------------------------------------------------------
/aardwolf/Consider_info.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
41 |
42 |
43 |
52 |
53 |
54 |
63 |
64 |
65 |
74 |
75 |
76 |
85 |
86 |
87 |
96 |
97 |
98 |
108 |
109 |
110 |
119 |
120 |
121 |
130 |
131 |
132 |
141 |
142 |
143 |
152 |
153 |
154 |
163 |
164 |
165 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
211 |
212 |
213 |
--------------------------------------------------------------------------------
/aardwolf/Copy_Colour_Output.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
20 |
21 |
22 | Copies text from the output window to the clipboard, with
23 | Aardwolf colour codes.
24 |
25 | To use: highlight text and then:
26 |
27 | Ctrl+D copy (like Ctrl+C but different)
28 |
29 | or: Ctrl + Left-click and select "Copy with Colour"
30 |
31 |
32 |
33 |
34 |
35 |
36 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
197 |
198 |
199 |
--------------------------------------------------------------------------------
/aardwolf/Create_World_File.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
15 |
16 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
90 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/aardwolf/Playing_Detector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
14 |
15 |
16 |
17 | [FOR PLUGIN AUTHORS ONLY]
18 |
19 | Detects if you are playing (as opposed to logging in, creating
20 | a new character, etc.)
21 |
22 | Example:
23 |
24 | function OnPluginBroadcast (msg, id, name, text)
25 | if id == "f5b05e8826711cdb0d141939" then
26 | playing = text == "y"
27 | end -- playing status changed
28 | end
29 |
30 | To test if you are currently playing (after a reinstall):
31 |
32 | playing = GetPluginVariable ("f5b05e8826711cdb0d141939", "playing")
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
103 |
104 |
--------------------------------------------------------------------------------
/aardwolf/Stats_Detector.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | ]>
6 |
7 |
8 |
9 |
10 |
20 |
21 |
22 | [FOR PLUGIN AUTHORS ONLY]
23 |
24 | Detects and processes the {stats} tag, for the benefit of other plugins.
25 |
26 | First, await the OnPluginBroadcast which notifies you stats have changed
27 | (or just check them when you need to).
28 |
29 | Then pull out one of more variables. You can use GetPluginVariableList to
30 | get the lot, or GetPluginVariable to get one.
31 |
32 | Example:
33 |
34 | function OnPluginBroadcast (msg, id, name, text)
35 | if msg == 1 and id == "8a710e0783b431c06d61a54c" then
36 |
37 | -- get all variables
38 | local stats = GetPluginVariableList("8a710e0783b431c06d61a54c")
39 |
40 | -- pull one out of table
41 | print (stats.str, stats.fighting)
42 |
43 | -- get one variable
44 | fighting = GetPluginVariable ("8a710e0783b431c06d61a54c", "fighting")
45 |
46 | end -- stats changed
47 | end
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
247 |
248 |
--------------------------------------------------------------------------------
/aardwolf/telnet_options.lua:
--------------------------------------------------------------------------------
1 | -- well-known options
2 |
3 |
4 | TELOPT_STATMON = 1
5 | TELOPT_BIGMAP = 2
6 | TELOPT_HELPS = 3
7 | TELOPT_MAP = 4
8 | TELOPT_CHANNELS = 5
9 | TELOPT_TELLS = 6
10 | TELOPT_SPELLUP = 7
11 | TELOPT_SKILLGAINS = 8
12 | TELOPT_SAYS = 9
13 | TELOPT_SCORE = 11
14 | TELOPT_ROOM_NAMES = 12
15 | TELOPT_EXIT_NAMES = 14
16 | TELOPT_EDITOR_TAGS = 15
17 | TELOPT_EQUIPMENT = 16
18 | TELOPT_INVENTORY = 17
19 |
20 | TELOPT_QUIET = 50
21 | TELOPT_AUTOTICK = 51
22 | TELOPT_PROMPT = 52
23 | TELOPT_PAGING = 53
24 | TELOPT_AUTOMAP = 54
25 | TELOPT_SHORTMAP = 55
26 |
27 |
28 | TELOPT_REQUEST_STATUS = 100
29 |
30 |
31 |
32 | local function TelnetOption (which, on)
33 | -- Telnet Negotiation Options
34 | local IAC, SB, SE = 0xFF, 0xFA, 0xF0
35 | local TELOPT_WILL, TELOPT_WONT, TELOPT_DO, TELOPT_DONT = 0xFB,0xFC, 0xFD, 0xFE
36 |
37 | -- Telnet subnegotiation for Aardwolf
38 | local AARDWOLF_TELOPT = 102
39 |
40 | local TELOPT_ON, TELOPT_OFF = 1, 2 -- turn on or off
41 |
42 |
43 |
44 | if on then
45 | SendPkt (string.char (IAC, SB, AARDWOLF_TELOPT, which, TELOPT_ON, IAC, SE))
46 | else
47 | SendPkt (string.char (IAC, SB, AARDWOLF_TELOPT, which, TELOPT_OFF, IAC, SE))
48 | end -- if
49 |
50 | end -- TelnetOption
51 |
52 |
53 | function TelnetOptionOn (which)
54 | TelnetOption (which, true)
55 | end -- TelnetOptionOn
56 |
57 |
58 | function TelnetOptionOff (which)
59 | TelnetOption (which, false)
60 | end -- TelnetOptionOff
61 |
62 |
63 | if GetOption ("enable_triggers") ~= 1 then
64 | ColourNote ("white", "red", "Warning: Triggers not enabled")
65 | end -- if no triggers
66 |
67 |
68 | if GetOption ("enable_aliases") ~= 1 then
69 | ColourNote ("white", "red", "Warning: Aliases not enabled")
70 | end -- if no triggers
71 |
72 |
73 | if GetOption ("enable_timers") ~= 1 then
74 | ColourNote ("white", "red", "Warning: Timers not enabled")
75 | end -- if no triggers
76 |
77 |
78 |
--------------------------------------------------------------------------------
/constants.lua:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
158 |
--------------------------------------------------------------------------------
/constants.pys:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
159 |
--------------------------------------------------------------------------------
/sapi.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
19 |
20 |
21 |
22 |
23 |
24 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------