Giter VIP home page Giter VIP logo

aardwolfclientpackage's People

Contributors

aardcrowley avatar aardgaballon avatar apaxis avatar areiaaard avatar asmodeusbrooding avatar deutor avatar fiendish avatar hudmond avatar metria avatar mikeride avatar rdutta avatar tim-chaplin avatar vbmeireles avatar xeryax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aardwolfclientpackage's Issues

Mapper Issue

From [email protected] on December 28, 2010 08:31:57

What steps will reproduce the problem? I walked into room 32447 or typed look What is the expected output? What do you see instead? (If applicable, include copy/paste from output) It to just map What version of the product are you using? On what operating system? 4.71 MUSHclient and the latest Mapper Update. Please provide any additional information below. Run-time error
Plugin: Aardwolf_GMCP_Mapper (called from world: Aardwolf)
Function/Sub: OnPluginBroadcast called by Plugin Aardwolf_GMCP_Mapper
Reason: Executing plugin Aardwolf_GMCP_Mapper sub OnPluginBroadcast
[string "Plugin"]:1116: columns fromuid, dir are not unique
stack traceback:
[C]: in function 'error'
[string "Plugin"]:1644: in function 'dbcheck'
[string "Plugin"]:1116: in function 'save_room_exits'
[string "Plugin"]:1055: in function 'got_gmcp_room'
[string "Plugin"]:1148: in function <[string "Plugin"]:1138>
Error context in script:
1112 :
1113 : -- fix up in and out
1114 : dir = ({ ['i'] = "in", o = "out", }) [dir] or dir
1115 :
1116*: dbcheck (db:execute (string.format ([[
1117 : INSERT INTO exits (dir, fromuid, touid, date_added)
1118 : VALUES (%s, %s, %s, DATETIME('NOW'));
1119 : ]], fixsql (dir), -- direction (eg. "n")
1120 : fixsql (uid), -- from current room

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=36

Feature Request: Global Quest, Info, and Remort Auction to chat window

From [email protected] on December 02, 2010 13:00:32

I would like to see the info, global quest, and remort auction stuff also go to the chat miniwindow

The triggers that I had for an older version of your minwindow:
enabled="y"
match="^Remort Auction:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^Global Quest:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^INFO:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

Thanks!

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=13

Channel Miniwindow will not use Dina unless it is previously installed

From [email protected] on December 18, 2010 16:36:15

Dina is added, but fonts is not reinitialized afterward. If the miniwindow plugin has to add Dina, it will not be used.

local fonts = utils.getfontfamilies ()

-- if not there already, add it
if not fonts.Dina then
AddFont (GetInfo (66) .. "\Dina.fon")
end -- if Dina not installed

header_font_name = "Lucida Console"
header_font_size = 9

if fonts["Courier New"] then
default_font_size = 9
default_font_name = "Courier New"
elseif fonts ["Dina"] then
default_font_size = 8
default_font_name = "Dina" -- the actual font
else
default_font_size = 9
default_font_name = "Lucida Console"
end -- if

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=27

mapper find and where commands

From [email protected] on December 08, 2010 22:55:27

Mapper where currently only works off a gmcp room number and not a room name as suggested in the help

Rooms names return a room not found message, however gmcp numbers for those rooms work fine meaning that the mapper find command has to be used first.

Is it possible for the mapper where command to run off room names and/or gmcp numbers?

Using the mushclient beta.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=19

my channel info is all squished together

From [email protected] on December 02, 2010 15:21:25

What steps will reproduce the problem? 1.added aard_channels_fiendish 2. 3. What is the expected output? What do you see instead? I'm used to having an extra line after channel input, after I added the fiendish chat plugin I lost that. Maybe that was expected and I'm the oddball here, but thought it worth a mention. What version of the product are you using? On what operating system? 4.70 Please provide any additional information below.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=15

Mapper Indexes

From [email protected] on December 29, 2010 19:27:36

Adding a few indexes will really speed stuff up... Especially when we go searching joins into from rooms into areas...

function create_tables ()
-- create rooms table
dbcheck (db:execute[[

PRAGMA foreign_keys = ON;
PRAGMA journal_mode=WAL;

CREATE TABLE IF NOT EXISTS areas (
areaid INTEGER PRIMARY KEY AUTOINCREMENT,
uid TEXT NOT NULL, -- vnum or how the MUD identifies the area
name TEXT, -- name of area
date_added DATE, -- date added to database
texture TEXT, -- background area texture
color TEXT, -- ANSI colour code.
UNIQUE (uid)
);
CREATE INDEX IF NOT EXISTS areas_uid_index ON areas (uid);
CREATE INDEX IF NOT EXISTS areas_name_index ON areas (name);

CREATE TABLE IF NOT EXISTS environments (
environmentid INTEGER PRIMARY KEY AUTOINCREMENT,
uid TEXT NOT NULL, -- code for the environment
name TEXT, -- name of environment
color INTEGER, -- ANSI colour code
date_added DATE, -- date added to database
UNIQUE (uid)
);
CREATE INDEX IF NOT EXISTS name_index ON environments (name);

CREATE TABLE IF NOT EXISTS rooms (
roomid INTEGER PRIMARY KEY AUTOINCREMENT,
uid TEXT NOT NULL, -- vnum or how the MUD identifies the room
name TEXT, -- name of room
area TEXT, -- which area
building TEXT, -- which building it is in
terrain TEXT, -- eg. road OR water
info TEXT, -- eg. shop,healer
notes TEXT, -- player notes
x INTEGER,
y INTEGER,
z INTEGER,
date_added DATE, -- date added to database
UNIQUE (uid)
);
CREATE INDEX IF NOT EXISTS info_index ON rooms (info);
CREATE INDEX IF NOT EXISTS terrain_index ON rooms (terrain);
CREATE INDEX IF NOT EXISTS area_index ON rooms (area);
CREATE INDEX IF NOT EXISTS rname_index ON rooms (name);

CREATE TABLE IF NOT EXISTS exits (
-- exitid INTEGER PRIMARY KEY AUTOINCREMENT,
dir TEXT NOT NULL, -- direction, eg. "n", "s"
fromuid STRING NOT NULL, -- exit from which room (in rooms table)
touid STRING NOT NULL, -- exit to which room (in rooms table)
date_added DATE, -- date added to database
PRIMARY KEY(rowid),
UNIQUE (fromuid, dir),
FOREIGN KEY(fromuid) REFERENCES rooms(uid)
);
CREATE INDEX IF NOT EXISTS fromuid_index ON exits (fromuid);
CREATE INDEX IF NOT EXISTS touid_index ON exits (touid);

]])

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=37

Feature Request: Global Quest, Info, and Remort Auction to chat window

From [email protected] on December 02, 2010 12:54:03

I would like to see the info, global quest, and remort auction stuff also go to the chat miniwindow

The triggers that I had for an older version of your minwindow:
enabled="y"
match="^Remort Auction:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^Global Quest:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^INFO:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

Thanks!

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=12

Mapper - handheld portals

From [email protected] on December 24, 2010 17:25:30

The mapper needs to understand handheld portals and be able to use them.

I've started something along these lines, but don't have quite enough knowledge of the mapper to complete it yet...

So here's my strategy...

1 - we add a room to the rooms table with uid '*', name '_HERE_', area '_EVERYWHERE'. This room is there to prevent the foreign key constraint from exits into rooms from being violated.

2 - for each handheld portal, we add an exit with fromuid '*', touid 'vnum of the portal destination room', direction 'portal keywords'. This function will probably have to be manually invoked. Right now, I am using "mapper portal " to do this. The command maps the portal as an exit from * to the current room.

3 - I don't have this done yet... the mapper needs to be modified to recognize * as the current room, so that when it's going through its recursion to find a path, the first match for * or the actual vnum of current room will trigger a found condition.

4 - Maybe this should be 2.999... the mapper needs to be modified so that if it is trying to run FROM * (ie, starting room for the path matched * instead of the actual room vnum), then the mapper sends commands to get portal from its container if applicable, dual remove or unhold something as appropriate, hold portal (hold 'keywords'), enter, remove portal, dual wield or rehold held item as appropriate, stuff the portal back into its container. I currently have an alias (goport ) to do this, but having the mapper invoke it is not yet implemented.

5 - I'm attaching my updated aardwolf_gmcp_mapper.xml with items 1-3 and a couple other tricks added...

6 - Custom exits should actually be easier, but probably still requires mapper modifications to send the custom exit commands to the mud. What to do is create an alias (I'll call it CEXIT for now). When the player types CEXIT CLIMB TREE (for example), the plugin should store the passed arguments(CLIMB TREE), and the starting room vnum in local variables, then send the command to the mud and wait for the next gmcp rooms.info broadcast. If the room vnum changes in response to the command, then insert a row into exits; fromuid = , touid = , dir = (eg. CLIMB TREE). Then the mapper just needs to send CLIMB TREE in the speed walk to move from the starting room to the ending room.

To do:
Edit the mapper fuctions to use the portals in the DB.
mapper portal delete --> Delete a specific hh portal from the exits table
mapper portal purge --> Confirm then delete all hh portals

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=35

Feature request: Remort Auction, Global Quest, Info to chat window

From [email protected] on December 02, 2010 12:50:10

I would like to see the info, global quest, and remort auction stuff also go to the chat miniwindow

The triggers that I had for an older version of your minwindow:
enabled="y"
match="^Remort Auction:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^Global Quest:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^INFO:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

Thanks!

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=10

Ascii map plugin doesn't work by default, and can "leak" parts of map to the output window

From [email protected] on December 10, 2010 02:03:34

What steps will reproduce the problem? This may be two issues. Whatever.
A1. Download and run client. Map mini-window is visible, but doesn't show, even after playing a bit. Says it will appear after I start playing, but still doesn't show after I do a quest.

B1. After glancing quickly at the plugin code, I turn on "tags map on" and turn on "automap".
B2. The map works in the mini-window, but it appears to "leak" to the output window. What is the expected output? What do you see instead? (If applicable, include copy/paste from output) B2. See output window in attached screenshot. What version of the product are you using? On what operating system? Win 7 64

Attachment: ascii_map_leak.png

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=24

Feature Request - add info, global quest, remort auction to chat

From [email protected] on December 02, 2010 12:44:10

I would like to see the info, global quest, and remort auction stuff also go to the chat miniwindow

The triggers that I had for an older version of your minwindow:
<trigger
enabled="y"
match="^Remort Auction:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

<trigger
enabled="y"
match="^Global Quest:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

<trigger
enabled="y"
match="^INFO:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

Thanks!

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=7

aard_gmcp_mapper: Run time error after purging portals

From [email protected] on January 31, 2011 10:29:44

Your username on Aardwolf? Bast What steps will reproduce the problem? mapper purge portals What is the expected output? What do you see instead? (If applicable, include copy/paste from output) Expected portals to be purged What version of the product are you using? On what operating system? trunk as of 1/30/2010 Please provide any additional information below. Purged all mapper hand-held exits.
Run-time error
Plugin: Aardwolf_GMCP_Mapper (called from world: Aardwolf)
Function/Sub: map_portal_purge called by alias
Reason: processing alias ""
[string "Plugin"]:296: attempt to index field '' (a nil value)
stack traceback:
[string "Plugin"]:296: in function <[string "Plugin"]:292>
Error context in script:
292 : function map_portal_purge(name, line, wildcards)
293 : query = string.format("DELETE FROM exits WHERE fromuid = %s;", fixsql("
"))
294 : dbcheck (db:execute (query))
295 : print ("Purged all mapper hand-held exits.")
296_: rooms["_"].exits = {}
297 : end
298 :
299 : -- map_portal function contributed by Spartacus
300 : function map_portal (name, line, wildcards)

After this, I did mapper portals and the portals were purged, just got this error.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=43

Allow for miniwindows to change which are on top.

From [email protected] on December 03, 2010 18:28:05

What steps will reproduce the problem? Run the new mushclient on a small enough laptop, and you don't have room for all the miniwindows. What is the expected output? What do you see instead? (If applicable, include copy/paste from output) NA What version of the product are you using? On what operating system? The latest linked to me by Fiendish Please provide any additional information below. In short, if there was a way to make a miniwindow on top of others when you want it to be, that would be awesome.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=18

Mapper will not redraw/remap rooms with changed exits/etc

From [email protected] on December 23, 2010 07:12:13

What steps will reproduce the problem? Go to any maze, map it out, wait for a repop, and you'll jump around randomly on the mapper.
Alternatively go to test port, new goblin path, and try explore the temple part.

What is the expected output?
Would be nice if the mapper would be 'smart' enough to purge/remove/have a delete option to remove rooms if the new exits, or even room name, are different from the existing one in database.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=32

Need a better interface to edit portals

From [email protected] on February 01, 2011 09:50:56

I'm Spartacus!

I take full responsibility - the portals interface needs to be beefed up. It would be very nice to be able to pop up a miniwindow with a data grid containing all the portals and be able to add, edit, delete, etc... The mapper portals command was a nice quick fix when I was testing this out and the delete and purge commands are wonderful additions, but going forward, we need to come up with something better.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=46

Duplicate Exits in DB

From [email protected] on December 24, 2010 09:40:23

The exits table should never contain more than one exit in a particular direction from the same room. Not sure how, but mine contained 911 fromuid-dir pairs that were inserted multiple times...

I wrote this function to detect those pairs and then updated it to delete the newer version of that exit. Seems like it would be a good idea to add a UNIQUE(fromuid, dir) to the exits table...

-- Spartacus - 12/24/2010
function map_dupe_exits (name, line, wildcards)
-- I want to know about duplicate exits in my map db (exits table)
-- select count(exitid) as exit_count, fromuid || dir as room_dir as from exits group by room_dir
local query = "select fromuid, count(exitid) as exit_count, fromuid || '-' || dir as room_dir from exits group by room_dir"
local line
local room_uid
local room_dir
local count = 0
local oldexit
print ("Scanning the exits table for dupes:")
for row in db:nrows(query) do
if row.exit_count > 1 then
room_uid = string.gsub(row.room_dir, "%-(%w+)", "")
room_dir = string.gsub(row.room_dir, "(%d+)%-", "")
line = string.format("There are %s exits from %s in direction %s", row.exit_count, row.fromuid, room_dir)
print(line)
query = string.format("select * from exits where fromuid = %s and dir = %s",fixsql(room_uid), fixsql(room_dir))
oldexit = nil
for subrow in db:nrows(query) do
line = string.format(" exit %s leads to room %s", subrow.exitid, subrow.touid)
if oldexit ~= nil then
if subrow.touid == oldexit.touid then
-- these exits are identical (from, direction, to), delete the new one
line = line .. string.format(" DELETING exit %s", subrow.exitid)
dbcheck(db:execute(string.format ("DELETE FROM exits where exitid = %s", fixsql(subrow.exitid))))
end -- if subrow
end -- if oldexit
print(line)
oldexit = subrow
end -- dupe details query
count = count + 1
end -- if exit_count
end -- room direction exits count query
line = string.format("Exits table contains %s room-direction pairs that have duplicate entries", count)
print(line)
end -- map_dupe_exits

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=34

Feature Request - add info, global quest, remort auction to chat

From [email protected] on December 02, 2010 12:47:00

I would like to see the info, global quest, and remort auction stuff also go to the chat miniwindow

The triggers that I had for an older version of your minwindow:
enabled="y"
match="^Remort Auction:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^Global Quest:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

enabled="y"
match="^INFO:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

Thanks!

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=9

suggested to add informative mouseover labels to the stats display

From [email protected] on December 13, 2010 01:43:26

Nick suggests: As a helpful bit of information for new and possibly very old returning players, mouseover bubbles with messages about each stat.

he says "if you can't give figures (for the overall effect) you could still say "Strength 18 - Increases Melee attack power and lets you carry more".

Something like that. Or if you at least know the carry formula, "lets you carry 30 Kg"."

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=26

mapper list

From [email protected] on December 22, 2010 13:58:48

What steps will reproduce the problem? mapper area (text) was bothering me when it would tell me it didn't know about a room that was clearly in the db (since it showed up on the map... I looked through and understand that it's only going to tell about rooms that it can find a path to within the specified search depth. That's ok, but since sometimes you have a room name and not area (eg - in GQs) I wanted something to tell me the room vnum and area. Please provide any additional information below. This is my solution for that:

In the documentation:
mapper list --> list known rooms (with id, area) that match

In the Aliases:

<alias
match="^mapper list ([\w* %d/"]+)$"
enabled="y"
sequence="100"
script="map_list"
regexp="y"

In the functions:
-- map_list function by Spartacus
function map_list (name, line, wildcards)
-- ok, so if I want to lookup a room in my db, I don't want it only if the mapper can find a sw in a certain # of rooms.
-- if it is in the db, I want its vnum and area, so that I can figure out how to get there if the mapper does not know.
local rooms = {}
local count = 0
local line = ""
local area = ""

-- find matching rooms using FTS3
for row in db:nrows(string.format ("SELECT uid, name FROM rooms_lookup WHERE rooms_lookup MATCH %s", fixsql (wildcards [1]))) do
rooms [row.uid] = true
count = count + 1
for a in db:nrows(string.format ("SELECT area FROM rooms WHERE uid = '%s'", row.uid)) do
area = a.area
end -- for
line = string.format("(%s) %s is in area "%s"",row.uid, row.name, area)
print (line)
end -- finding room
print(count .. " rooms matched "" .. wildcards [1] .. """)
end -- map_list

I also added the print count line to map_area and map_find

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=30

Unmapped exits list

From [email protected] on December 23, 2010 09:38:03

This tells us which exits we have seen but not gone through with the mapper active, yet.


In the Help:

mapper where --> show directions to a room

EXPLORING

mapper unmapped --> list unmapped destinations from known rooms


Aliases

<alias
match="^mapper unmapped ([\w* %d/"]+)$"
enabled="y"
sequence="100"
script="show_known_unmapped_exits"
regexp="y"

<alias
match="^mapper unmapped$"
enabled="y"
sequence="100"
script="show_known_unmapped_exits"
regexp="y"


Function

-- Spartacus - 12/23/2010
function show_known_unmapped_exits (area)
-- I want to get a list of exits whose destinations are not yet in the rooms table (i.e. I have not gone through the exit?)
-- select uid, name, area from rooms inner join exits on rooms.uid = fromuid where area = area and touid not in (select uid from rooms)
local line = ""
local count = 0
local display_limit = 30

if area == nil and current_area ~= nil then
area = current_area
end -- if area

print ("The following rooms have exits whose destinations are unknown to the mapper:")
for row in db:nrows(string.format("select uid, name, area, dir, touid from rooms inner join exits on rooms.uid = fromuid where touid not in (select uid from rooms) order by area, uid")) do
if count < display_limit then
line = string.format("(%s) %s in area "%s" exit "%s" leads to %s",row.uid, row.name, row.area, row.dir, row.touid)
print (line)
end -- if count
-- keep counting even if display limit reached
count = count + 1
end -- unmapped rooms query
line = string.format ("The database currently contains %s unmapped exits.", count)
if count >= display_limit then
line = line .. string.format("Only the top %s are shown here.", display_limit)
end -- if count
print (line)
end -- show_known_unmapped_exits

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=33

aard_gmcp_mapper: error when doing speedwalk from hotel to continent

From [email protected] on January 31, 2011 10:59:19

Your username on Aardwolf? Bast What steps will reproduce the problem? "mapper goto 7845" from Aardwolf Hotel What is the expected output? What do you see instead? (If applicable, include copy/paste from output) expect a run of u9w3s (or similar)

This is what I get:
enter
u:17490,8199,e:17490,17430,n:17429,17369,n:17429,17430,e:17368,17308,n:17368,17369,e:17307,17247,n:17307,17308,e:17246,17186,n:17246,17247,e:17185,5757,n:17185,17186,e:11387,11386,u:8625,8565,n:8566,8506,n:8566,8565,w:8564,8504,n:8564,8565,e:8507,8447,n:8507,8506,w:8503,8443,n:8503,8504,e:8448,8388,n:8448,8447,w:8442,8382,n:8442,8443,e:8389,8329,n:8389,8388,w:8381,8321,n:8381,8382,e:8330,8270,n:8330,8329,w:8320,8260,n:8320,8321,e:8271,8211,n:8271,8270,w:8259,8199,n:8259,8260,e:8212,8152,n:8212,8211,w:8153,8093,n:8153,8152,w:8094,8034,n:8094,8093,w:8035,7975,n:8035,8034,w:7976,7916,n:7976,7975,w:7917,7857,n:7917,7916,w:7858,7857,w:7797,7796,w:7797,7857,s:7736,7735,w:7736,7796,s:7675,7674,w:7675,7735,s:7614,7613,w:7614,7674,s:5756,5757,e:5697,5698,e:5697,5757,s:5638,5639,e:5638,5698,s:5579,5580,e:5579,5639,s:5520,5521,e:5520,5580,s:5461,5462,e:5461,5521,s:5402,3932,e:5402,5462,s:3976,3975,w:3976,7613,s:3945,3944,w:3945,3975,s:3914,3913,w:3914,3944,s:3902,3903,e:3902,3932,s:3883,3882,w:3883,3913,s:3873,3874,e:3873,3903,s:3852,3851,w:3852,3882,s:3844,3845,e:3844,3874,s:3821,3820,w:3821,3851,s:3815,3816,e:3815,3845,s:3790,3789,w:3790,3820,s:3786,3787,e:3786,3816,s:3759,3758,w:3759,3789,s:3757,3758,e:3757,3787,s:3728,3758,s
w:7674,7734,s:7613,7612,w:7613,7673,s:5757,5758,e:5698,5699,e:5698,5758,s:5639,5640,e:5639,5699,s:5580,5581,e:5580,5640,s:5521,5522,e:5521,5581,s:5462,3962,e:5462,5522,s:3975,3974,w:3975,7612,s:3944,3943,w:3944,3974,s:3932,3933,e:3932,3962,s:3913,3912,w:3913,3943,s:3903,3904,e:3903,3933,s:3882,3881,w:3882,3912,s:3874,3875,e:3874,3904,s:3851,3850,w:3851,3881,s:3845,3846,e:3845,3875,s:3820,3819,w:3820,3850,s:3816,3817,e:3816,3846,s:3789,3788,w:3789,3819,s:3787,3788,e:3787,3817,s:3758,3788,s
w:7673,7733,s:7612,7611,w:7612,7672,s:5758,5759,e:5699,5700,e:5699,5759,s:5640,5641,e:5640,5700,s:5581,5582,e:5581,5641,s:5522,5582,s:5522,7599,e:3974,3973,w:3974,7611,s:3962,3963,e:3962,7599,s:3943,3942,w:3943,3973,s:3933,3934,e:3933,3963,s:3912,3911,w:3912,3942,s:3904,3905,e:3904,3934,s:3881,3880,w:3881,3911,s:3875,3905,s:3850,3849,w:3850,3880,s:3846,3847,e:3819,3818,w:3819,3849,s:3817,3818,e:3817,3847,s:3788,3818,s
w:7672,7732,s:7611,7610,w:7611,7671,s:7599,7600,e:7599,7659,s:5759,5760,e:5700,5701,e:5700,5760,s:5641,5642,e:5641,5701,s:5582,5642,s:5582,7659,e:3973,3972,w:3973,7610,s:3963,3964,e:3963,7600,s:3942,3941,w:3942,3972,s:3934,3935,e:3934,3964,s:3911,3910,w:3911,3941,s:3905,3906,e:3905,3935,s:3880,3879,w:3880,3910,s:3876,3877,e:3876,3906,s:3849,3848,w:3849,3879,s:3847,3848,e:3847,3877,s:3818,3848,s
w:7671,7731,s:7659,7660,e:7659,7719,s:7610,7609,w:7610,7670,s:7600,7601,e:7600,7660,s:5760,5761,e:5701,5702,e:5701,5761,s:5642,5702,s:5642,7719,e:3972,3971,w:3972,7609,s:3964,3965,e:3964,7601,s:3941,3940,w:3941,3971,s:3935,3936,e:3935,3965,s:3910,3940,s:3906,3907,e:3906,3936,s:3879,3878,w:3877,3878,e:3877,3907,s:3848,3878,s
w:7670,7730,s:7660,7661,e:7660,7720,s:7609,7608,w:7609,7669,s:7601,7602,e:7601,7661,s:5761,5762,e:5702,5762,s:5702,7779,e:3971,3970,w:3971,7608,s:3965,3966,e:3965,7602,s:3940,3939,w:3940,3970,s:3936,3937,e:3936,3966,s:3909,3908,w:3909,3939,s:3907,3908,e:3907,3937,s:3878,3908,s
w:7669,7729,s:7661,7662,e:7661,7721,s:7608,7607,w:7608,7668,s:7602,7603,e:7602,7662,s:5762,7839,e:3970,3969,w:3970,7607,s:3966,3967,e:3966,7603,s:3939,3938,w:3939,3969,s:3937,3938,e:3937,3967,s:3908,3938,s
w:7668,7728,s:7662,7663,e:7662,7722,s:7607,7606,w:7607,7667,s:7603,7604,e:7603,7663,s:3969,3968,w:3969,7606,s:3967,3968,e:3967,7604,s:3938,3968,s
w:7667,7727,s:7663,7664,e:7663,7723,s:7606,7605,w:7606,7666,s:7604,7605,e:7604,7664,s:3968,7605,s
w:7666,7726,s:7664,7665,e:7664,7724,s:7605,7665,s
run 3s What version of the product are you using? On what operating system? Trunk as of 309 Please provide any additional information below. mapper portals
+------------+----------------------+---------+------------------------------+
| area | room name | vnum | hand held portal keywords |
+------------+----------------------+---------+------------------------------+
| talsa | Open Field | 26917 | port irres |
| immhomes | The Aardwolf Plaza H | 26151 | enter |
+------------+----------------------+---------+------------------------------+

mapper cexits
The following rooms in areas matching '' have custom exits:
+------------+----------------------+---------+----------------+---------+
| area | room name | rm uid | dir | to uid |
+------------+----------------------+---------+----------------+---------+
| anthrox | Shadow Forest | 4179 | enter opening | 4180 |
| immhomes | The Aardwolf Plaza H | 26151 | enter elevator | 26152 |
| immhomes | The Luxury "Suite" | 26152 | enter elevator | 26151 |
| scarred | Before some cracks | 34036 | enter crack | 34037 |
| talsa | Open Field | 26917 | enter rope | 26918 |
| talsa | Officers Quarters | 26941 | say moricand | 26969 |
| talsa | Officers Quarters | 26941 | say conadrain | 26944 |
| talsa | Wide Field | 26944 | enter rope | 26918 |
| talsa | Heading Towards the | 26949 | wear conadrain | 26950 |
| talsa | Field Outside The Ho | 26969 | enter rope | 26918 |
| wonders | Elevator | 33005 | enter lighthou | 32988 |
| wonders | Information Booth | 33015 | enter elevator | 32981 |
| wonders | Wandering Aimlessly | 33026 | enter bermuda | 33027 |
+------------+----------------------+---------+----------------+---------+

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=44

Enhancement request - Mapper

From [email protected] on November 28, 2010 19:44:24

I added a command "mapper area " to only search the area you are currently in

[CODE]
<alias
match="^mapper area ([\w* %d/"]+)$"
enabled="y"
sequence="100"
script="map_area"
regexp="y"

function map_area (name, line, wildcards)

uid = mapper.current_room

-- check we got room at all
if not uid then
print "I do not know your room!"
end -- if

-- look it up
local ourroom = rooms [uid]

-- not cached - see if in database
if not ourroom then
ourroom = load_room_from_database (uid)
rooms [uid] = ourroom -- cache for later
end -- not in cache

if not ourroom then
print "I could not lookup your room!"
end -- if

local area = rooms[uid].area

local rooms = {}
local count = 0

local SQLst = string.format ("SELECT uid, name, area FROM rooms WHERE name LIKE '%s' and area = '%s'",
"%" .. wildcards [1] .. "%", area)

for row in db:nrows(SQLst) do
rooms [row.uid] = true
count = count + 1
end -- finding room

-- see if nearby
mapper.find (
function (uid)
local room = rooms [uid]
if room then
rooms [uid] = nil
end -- if
return room, next (rooms) == nil
end, -- function
show_vnums, -- show vnum?
count, -- how many to expect
false -- don't auto-walk
)

end -- map_area
[/CODE]

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=5

Need a level restriction on exits

From [email protected] on February 01, 2011 09:47:16

I'm Spartacus!

as we build our map databases with portals and custom exits we're eventually going to run across things that we added at a higher level that we can't access - portals in particular.

If we could add a level restriction field to exits - nulls allowed and treated as no restriction - then it would be a simple matter to have the path finder skip exits that are too high for our current level.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=45

Feature Request - add info, global quest, remort auction to chat

From [email protected] on December 02, 2010 12:45:28

I would like to see the info, global quest, and remort auction stuff also go to the chat miniwindow

The triggers that I had for an older version of your minwindow:
<trigger
enabled="y"
match="^Remort Auction:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

<trigger
enabled="y"
match="^Global Quest:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

<trigger
enabled="y"
match="^INFO:.+$"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"

Thanks!

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=8

path finding with custom exits and hh portals

From [email protected] on January 08, 2011 10:40:22

Character: Spartacus

I now have working code that finds the shortest path between two rooms given vnums. It needs some cleaning up - ie reduction of debug output and then what to do with its results - I'm working on a run routine that will do this and include opening doors, but obviously not done yet. Now as for using hh portals and custom exits:

1 - the portals will need to be added to the exits table using the mapper portal command that I wrote. See the hh portals issue that I created.

2 - the custom exits will also have to be added to the exits table, using the cexit command that I created (see the custom exits issue).

The output of the lua file I am attaching, apart from the debugging spam, is currently a run command (possibly a set of stacked run commands). If there is an hh portal in your path, you must have a "goport" alias defined to retrieve and equip the portal. The path will have "goport " as the first command. Any hh portal will be the first component of any path because they work independently of location. The walker will have to have logic to detect failure of a hh portal. Custom exits, on the other hand, can appear anywhere. Since a custom exit is really a command, that command will appear in the middle of the run, separated from the run commands with semi-colons (i.e. run sssseenn;climb tree;run nnwwd).

Now, since this is not done, unless you are willing to do some programming, it probably doesn't make a lot of sense to download this. I'm uploading it primarily for guys like Fiendish to look at how it works and how it can be improved or integrated into other things.

Attachment: findpath.lua

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=40

add saves to gmcp statmon

From [email protected] on December 03, 2010 02:38:45

What steps will reproduce the problem? 1. typing berserk after a full spellup (or frenzy) 2. 3. What is the expected output? What do you see instead? I would expect the hit/damage from the skill/spell to be added to the stat plugin without having to "fiddle" with it. What version of the product are you using? On what operating system? 4.70 Please provide any additional information below. I am a sitting sh that doesn't have berserk or frenzy in my autospells.
I use berserk mid fight at times, but I noticed the info does not update on the plugin. I can remove a weapon, rewear and it will pick up the missing hit/damage, but again.. shouldn't have to fiddle to get it up to date.

While I'm on the subject of this plugin,(aard_statmon_gmcp) is it possible to add the "saves" info as well?

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=16

Copying text from the Comunication Log

From [email protected] on December 10, 2010 01:56:13

Currently the only option to copy text from the log is to click on a particular line, and the entire line will then be copied with color codes.

Is is currently not possible to copy a selected portion of text from any line/lines.

It would be preferable if there be an option to disable this function, and allow a simple highlight and then copy and paste (with the control+d for color codes perhaps).

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=23

Add a Flag to avoid a room if possible

From [email protected] on February 02, 2011 20:57:53

Your username on Aardwolf? Mendaloth

I'd love to see a flag for rooms that you would rather avoid. If you are asking it to run to that room it would, and if going through that room is the only path then it would take it, otherwise it would avoid it. The mapper always wants to cut through the Bar in Masquerade, luckily it can't open doors yet, but once it does this will be a problem. I'm sure there are other areas too, that one just jumps out at me.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=49

Odd mapping problem in Ahner

From [email protected] on December 22, 2010 16:39:21

I have not managed to duplicate this anywhere else yet, but in Ahner from room 30170, there is a hidden exit east. When you open the door it is viisible and it is not one-way. The mapper does not show this room and can't seem to find a path to it... gmcpdebug 1 shows:

Dark Forest
{coords}0,23,26

room.info { "num": 30170, "name": "Dark Forest", "zone": "ahner", "terrain": "forest", "details": "", "exits": { "n": 30173, "e": 30172, "s": 30169 }, "coord": { "id": 0, "x": 23, "y": 26, "cont": 0 } }
[Exits: north east south]

<1577/1577hp 325/1236ma 1674/1915mv 3279xpl 0qt al:2500 Dbl: 3>
e
Entrance to the Oreh Hideout
{coords}0,23,26

room.info { "num": 30172, "name": "Entrance to the Oreh Hideout", "zone": "ahner", "terrain": "mountain", "details": "", "exits": { "w": 30170, "u": 30174 }, "coord": { "id": 0, "x": 23, "y": 26, "cont": 0 } }
[Exits: west up]

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=31

aard_gmcp_mapper: make cexits Execute instead of world.send

From [email protected] on January 30, 2011 21:22:30

Your username on Aardwolf? Bast What steps will reproduce the problem? Try to do something at Sarah in Talsa, "mapper cexit wear conadrain;;give vegetable sarah"
It won't work because it sends "wear conadrain;give vegetable sarah" straight to the mud.

What is the expected output? What do you see instead?
Would like to be able to use multiple commands for cexit What version of the product are you using? On what operating system? trunk as of 1/30/2011, Wine on Opensuse 11.3 Please provide any additional information below. Make mapper cexit use Execute instead of world.send so that you can use MUSH aliases.

change line 1010 to Execute(cexit_command)

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.