 |
GonzoMojo Newbie
Joined: 25 Jul 2002 Posts: 3
|
Posted: Wed Jun 11, 2003 11:23 pm
EQ Database Help.... |
I've been trying to figure out how to do this properly, been trying for about 2 days now. Best I've gotten is partial entry, the worst has been reinstalling ZMUD.
Here's the Identification Output from the mud I play on:
You recite a scroll of identify which dissolves.
You feel informed:
Trash Identified: a coil of rope
Object is: Identified
Weight: 25, Value: 18
You recite a scroll of identify which dissolves.
You feel informed:
Weapon Identified: the Wolverine's claw
Damage Dice is '4D4'
Affects: Hit Points By -20
Affects: Saving-Throw vs. Paralysis By 2
Object is: Magical Identified
Weight: 5, Value: 22356
You recite a scroll of identify which dissolves.
You feel informed:
Armor Identified: a full armor torso plate
AC-apply is 10
Damage-apply is 0
Object is: Identified
Weight: 30, Value: 53460
You recite a scroll of identify which dissolves.
You feel informed:
Light Identified: a sun spot
Affects: Mana By 5
Affects: Hit Points By 5
Object is: Magical Identified
Weight: 2, Value: 9900
You recite a scroll of identify which dissolves.
You feel informed:
Food/Water Identified: some iron rations
Object is: Identified
Weight: 1, Value: 24
What I was wanting was to have these fields:
Type
IDName
DamageDice
ACApply
DAMApply
HitApply
Affects1
Affects2
ObjectIs
Weight
Value
I can get the number values everytime on AC-Apply, Weight, and Value. But I'm having trouble capturing Type and Name, plus I can't figure out how to capture remaining line info, like Affects: Mana by 5.
Thanks for any help.... |
|
|
|
 |
Humpton Apprentice

Joined: 10 Oct 2000 Posts: 158 Location: Chicago, IL
|
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jun 12, 2003 12:40 am |
You didn't provide a name for the record-variable so I used @IDData.
#TR {^(%x) Identified: (*)} {#ADDK IDData Type {%1};#ADDK IDData IDName {%2}}
#TR {^Damage Dice is '(%a)'} {#ADDK IDData DamageDice {%1}}
#TR {^AC-apply is (%n)} {#ADDK IDData ACApply {%1}}
#TR {^Damage-apply is (%n)} {#ADDK IDData DAMApply {%1}}
#TR {^Hit-Apply is (%n)} {#ADDK IDData HitApply {%1}}//No pattern given, I guessed
#TR {^Affects: (*)} {#ADDK IDData Affects1 {%1}}
#COND {^Affects: (*)} {#ADDK IDData Affects2 {%1}} {Within|Param=1}
#TR {^Object is: (*)} {#ADDK IDData ObjectIs {%1}}
#TR {^Weight: (%d), Value: (%d)} {#ADDK IDData Weight {%1};#ADDK IDData Value {%2}}
LightBulb
Advanced Member |
|
|
|
 |
GonzoMojo Newbie
Joined: 25 Jul 2002 Posts: 3
|
Posted: Thu Jun 12, 2003 1:31 am |
hehe....how the heck do i right the variable @IDData to the EQData Database?
|
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jun 12, 2003 1:34 am |
Assuming EQData is the current database
#NEW All @IDData
LightBulb
Advanced Member |
|
|
|
 |
GonzoMojo Newbie
Joined: 25 Jul 2002 Posts: 3
|
Posted: Fri Jun 13, 2003 10:54 pm |
Thanks LightBulb....you are my hero
|
|
|
|
 |
|
|
|