[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Aardwolf item tags/IDs

Aardwolf item tags/IDs

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1 2  

Posted by Blainer   (191 posts)  [Biography] bio
Date Thu 28 May 2009 10:51 AM (UTC)

Amended on Thu 28 May 2009 10:52 AM (UTC) by Blainer

Message
Nick,
In the below topic you mentioned IDs for Aardwolf items. Is this working yet and can I use it? How do I get the item IDs from the MUD?

http://www.gammon.com.au/forum/bbshowpost.php?id=8936&page=2

Quote:

The stats are delivered on-the-fly using a special request/reply sequence Lasher and I worked out. It looks something like this:


Client sends:

invdetails 2067752

Server replies:

{invdetails}
{invheader}2067752|0|3|Weapon|3|2wield|v3|||||1|
{weapon}spear|5|pierce|Pierce|
{statmod}Dexterity|1
{/invdetails}


The number is the item "id" number which is now generated for every item on Aardwolf. There is no central database, although you could gradually build one up, it may not be accurate because of item enhancements.
[Go to top] top

Posted by Bast   (78 posts)  [Biography] bio
Date Reply #1 on Thu 28 May 2009 03:58 PM (UTC)

Amended on Thu 28 May 2009 04:28 PM (UTC) by Bast

Message
It's there, but I don't know what some of the fields mean or if the format is finalized.

From testing:
You can wear, remove, get and drop eq with the serial #.
You can't use the serial # to get something from a container (I hope this gets fixed)
You can't use keep or unkeep with the serial #.
Both the identify spell and command work with the serial #.
The lore command does not. (wish this would change)

eqdata
shows your worn eq

Sample Output:
  55984226,KG,a hallowed light,1,1,1,0,-1

<serial>,<shortflags>,<description>,<level>,<type>,unknown,<wearslot>,unknown

invdata
shows what you have in inventory
you can also do invdata <container> and it will show what is in the container

Sample Output:
  60125052,K,a @Gd@yrago@Gn @wmask,100,6,0,-1,-1

<serial>,<shortflags>,<description>,<level>,<type>,unknown,<wearslot>,unknown


invdetails <serial>
get the details of a particular item
doesn't work for items in a container, you must get them out first (I wish this would change)

Example Output:

{invdetails}
{invheader}55984226|1|Light|0|3|light|unique, glow, magic, bless, held, auctioned, recharged||||||
{statmod}Hit roll|3
{statmod}Damage roll|3
{statmod}Strength|5
{statmod}Dexterity|4
{statmod}Constitution|6
{statmod}Intelligence|3
{/invdetails}


Object Types:
1: Light
2: Scroll
3:
4:
5: Weapon
6: Treasure
7: Armor
8: Potion
9: Furniture
10: Trash
11: Container
12: Drink Container
13: Key
14: Food
15:
16:
17:
18:
19: Pill
20: Portal


Bast

Bast

Scripts: http://github.com/endavis
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #2 on Thu 28 May 2009 06:16 PM (UTC)
Message
Thanks dude. I think we'll see this completed around the time Nick's inventory plugin is ready, can't wait.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Thu 28 May 2009 09:54 PM (UTC)
Message
Skimming back through my old plugins, I have extracted this information which may help you:



The flags are H=Hum, G=Glow, K=Kept, I=Invis, M=Magic. There are more object flags, but these are all that show in 'inventory'.




The information in 'invheader', in order, is:


Object Id | Level | Type | Value | Weight | Wear flags | Object flags | Owner | Clan | Timer | # of resist affects | # of skill affects




The wear loc is the last number in 'invdetails' and shows -1 if the item is not worn.

The locations are:


 0 light
 1 head
 2 eyes
 3 lear
 4 rear
 5 neck1
 6 neck2
 7 back
 8 medal1
 9 medal2
 10 medal3
 11 medal4
 12 torso
 13 body
 14 waist
 15 arms
 16 lwrist
 17 rwrist
 18 hands
 19 lfinger
 20 rfinger
 21 legs
 22 feet
 23 shield
 24 wielded
 25 second
 26 hold
 27 float
 28 tattoo1
 29 tattoo2
 30 above
 31 portal
 32 sleeping





Item types:


1  Light    
2  Scroll
3  Wand
4  Staff
5  Weapon
6  Treasure
7  Armor
8  Potion
9  Furniture
10  Trash    
11  Container
12  Drink
13  Key
14  Food
15  Boat
16  Mobcorpse
17  Corpse
18  Fountain
19  Pill
20  Portal  
21  Beacon
22  Giftcard
23  Gold
24  Raw material  




Invdata fields:


<serial>,<shortflags>,<description>,<level>,<type>,<unique>,<wearslot>,unknown

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #4 on Wed 03 Jun 2009 05:31 AM (UTC)
Message
Where are you getting the invheader data from?
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Wed 03 Jun 2009 05:36 AM (UTC)
Message
What do you mean? Where did I get the information? Or how do you get the invheader to appear?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #6 on Wed 03 Jun 2009 07:10 AM (UTC)
Message
Yeah how do you get invheader to appear. invdata is a MUD command but invheader is not.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Wed 03 Jun 2009 07:13 AM (UTC)
Message
See the first post on this page - invheader is one of the responses to invdetails.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #8 on Wed 03 Jun 2009 07:39 AM (UTC)
Message
Dammit, sorry for that.
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #9 on Tue 16 Jun 2009 06:54 AM (UTC)

Amended on Tue 16 Jun 2009 07:10 AM (UTC) by Blainer

Message
How do I find the Skill Mod on this mace. It shows with "id mace", at identify shop, but not in "invdetails" after identify, is this because I lack the lore skill?


+-----------------------------------------------------------------+
| Keywords   : trusty aylorian heavy iron mace                    |
| Name       : a Trusty Aylorian Mace                             |
| Type       : Weapon                    Level  :     9           |
| Worth      : 60                        Weight :     5           |
| Wearable   : wield                                              |
| Flags      : V3                                                 |
| Found at   : The Grand City of Aylor                            |
+-----------------------------------------------------------------+
| Weapon Type: mace                  Average Dam :     12         |
| Inflicts   : pound                 Damage Type : Bash           |
+-----------------------------------------------------------------+
| Stat Mods  : Damage roll  : +1                                  |
+-----------------------------------------------------------------+
| Skill Mods : Modifies Mace by +2                                |
+-----------------------------------------------------------------+

{invdetails}
{invheader}156099982|9|Weapon|60|5|wield|v3|||||1|
{weapon}mace|12|pound|Bash|
{statmod}Damage roll|1
{/invdetails}


Could someone post a sample of an item's invdetails that has a skill mod?
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #10 on Tue 16 Jun 2009 07:08 AM (UTC)
Message
Not sure, better ask Lasher. Send him a query in-game referencing this forum post,

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #11 on Wed 17 Jun 2009 01:38 AM (UTC)
Message
OK I've asked Lasher. I'll post the answer here.
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #12 on Wed 17 Jun 2009 02:29 AM (UTC)
Message
This is from this thread: http://www.gammon.com.au/forum/?id=9475
Quote:

{invdetails}
{invheader}44318507|0|210|Armor|100,000|10|torso|unique, glow, hum, magic, burn-proof, v3, precious|Lasher|||||
{statmod}Luck|2
{statmod}Constitution|2
{statmod}Wisdom|2
{statmod}Dexterity|2
{statmod}Strength|2
{statmod}Intelligence|2
{statmod}Hit points|125
{statmod}Mana|125
{statmod}Moves|125
{statmod}Damage roll|42
{statmod}Hit roll|42
{resistmod}Acid|100
{resistmod}Air|100
{resistmod}Cold|100
{resistmod}Earth|100
{resistmod}Energy|100
{resistmod}Fire|100
{resistmod}Holy|100
{resistmod}Light|100
{resistmod}Electric|100
{resistmod}Mental|100
{resistmod}Negative|100
{resistmod}Sonic|100
{resistmod}Shadow|100
{resistmod}Water|100
{resistmod}Magic|100
{resistmod}All physical|53
{/invdetails}
[Go to top] top

Posted by Shaun Biggs   USA  (644 posts)  [Biography] bio
Date Reply #13 on Wed 17 Jun 2009 05:21 AM (UTC)
Message
I know there is at least vaguely some way of getting around not having a full identify. Here is a quick example for an alt I have that does not have any identify skills/spells/wish and it was also in a room without any mobs to identify or appraise:

+-----------------------------------------------------------------+
| Keywords   : butcher knife                                      |
| Name       : Butcher Knife                                      |
| Type       : Weapon                    Level  :     9           |
| Worth      : 25                        Weight :    10           |
| Wearable   : wield                                              |
| Flags      : held, V3                                           |
+-----------------------------------------------------------------+
| Weapon Type: axe                   Average Dam :     10         |
| Notes      : Item has weapon special flags.                     |
+-----------------------------------------------------------------+
| Stat Mods  : Strength     : +1                                  |
+-----------------------------------------------------------------+

{invdetails}
{invheader}155754657|9|Weapon|25|10|wield|held, v3||||||
{weapon}axe|10|chop|Slash|vampiric
{statmod}Strength|1
{/invdetails}


Under "Notes" for the weapon, it says there are special flags. It also does not show the damage type of the weapon. Under invdetails, it shows that it is chopping (Slash damage) and Vampiric.

It is much easier to fight for one's ideals than to live up to them.
[Go to top] top

Posted by Shaun Biggs   USA  (644 posts)  [Biography] bio
Date Reply #14 on Wed 17 Jun 2009 05:25 AM (UTC)
Message
Almost forgot... here is what I see with invdetails on the same type of mace with the identify wish:

{invdetails}
{invheader}156419934|9|Weapon|60|5|wield|v3||||||
{weapon}mace|12|pound|Bash|
{statmod}Damage roll|1
{skillmod}204|2
{/invdetails}


Apparently skill 204 is mace.

It is much easier to fight for one's ideals than to live up to them.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


60,550 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]