The game is bedlam for the gmcp issue.
Could it be the way I initialise variables or tables or something. I don't really know the 'correct' way to do things. I just mess with it until it works. Only now the trigger chain has stopped working. I'll look a bit deeper into it an try and isolate the issue.
2.1
lua display(gmcp)
{
group = {
leader = "Silvani",
members = {
{
name = "Silvani",
info = {
mn = 749,
mmv = 223,
hp = 772,
mhp = 772,
class = "Enc",
tnl = -1,
npc = 0,
lvl = 60,
sex = "M",
mmn = 749,
mv = 223,
pos = 8
}
},
{
name = "A Spirit",
info = {
mn = 220,
mmv = 200,
hp = 1250,
mhp = 1250,
class = "Psi",
tnl = -1,
npc = 1,
lvl = 40,
sex = "N",
mmn = 220,
mv = 200,
pos = 8
}
},
{
name = "a gargoyle fighter",
info = {
mn = 260,
mmv = 290,
hp = 1200,
mhp = 1200,
class = "Ron",
tnl = -1,
npc = 1,
lvl = 45,
sex = "N",
mmn = 260,
mv = 288,
pos = 8
}
}
}
},
room = {
info = {
num = 3005,
name = "The Temple Fountain",
zone = "Garathorm Inner City /AW/",
terrain = "City",
exits = {
e = 3063,
w = 3004,
s = 3006,
n = 3001
}
}
},
equipment = {
worn = {
{
key = "3030726",
name = "the Northern Star",
pos = "light"
},
{
key = "4663656",
name = "a thick marble ring",
pos = "lfinger"
},
{
key = "195189",
name = "the Platinum Ring of Kith",
pos = "rfinger"
},
{
key = "5796062",
name = "a necklace of dragon teeth",
pos = "neck1"
},
{
key = "2216296",
name = "a cashmere cape",
pos = "neck2"
},
{
key = "2299641",
name = "a glistening carapace of demon scale",
pos = "body"
},
{
key = "2425557",
name = "an incandescent circlet of blue flames",
pos = "head"
},
{
key = "4663274",
name = "a pair of black minotaur greaves",
pos = "legs"
},
{
key = "6128569",
name = "Night-Black Boots",
pos = "feet"
},
{
key = "4663273",
name = "a pair of minotaur combat gloves",
pos = "hands"
},
{
key = "4663009",
name = "a pair of black leather sleeves",
pos = "arms"
},
{
key = "11466274",
name = "the Vortex Shield",
pos = "shield"
},
{
key = "11466275",
name = "an Icy White Cloak",
pos = "about"
},
{
key = "4666641",
name = "the Belt of Life",
pos = "waist"
},
{
key = "11466277",
name = "a thick marble bracelet",
pos = "lwrist"
},
{
key = "11466278",
name = "a chromatic bracelet",
pos = "rwrist"
},
{
key = "3031934",
name = "a Splintered Dagger",
pos = "wielded"
},
{
key = "5362292",
name = "the worm-skin sack",
pos = "held"
},
{
key = "3030757",
name = "a Pulsating Prism",
pos = "face"
},
{
key = "3031948",
name = "Purple Robes of Quaralin",
pos = "ear1"
},
{
key = "4126943",
name = "Purple Robes of Quaralin",
pos = "ear2"
},
{
key = "2427960",
name = "Dashuk's All Seeing Eyes",
pos = "eyes"
},
{
key = "11466285",
name = "the Blackstone Anklet",
pos = "lankle"
},
{
key = "11466286",
name = "the Blackstone Anklet",
pos = "rankle"
}
}
},
char = {
affs = {
},
status = {
exp = 311033306,
enl = -1,
enemy = "",
tnl = -1,
enemypct = -1,
championexp = 0,
level = 60,
heroexp = 0,
pos = 8
},
vitals = {
mana = 749,
hp = 772,
moves = 223
},
maxstats = {
maxmoves = 223,
maxhp = 772,
maxmana = 749
},
permaff = {
"sneak",
"sanc",
"see invis",
"true seeing"
}
}
}
and 3.0alpha
lua display(gmcp)
{
equipment = {
worn = {
{
key = "3450773",
name = "The Illuminator",
pos = "light"
},
{
key = "267405",
name = "a Strange Ring",
pos = "lfinger"
},
{
key = "11466830",
name = "a Strange Ring",
pos = "rfinger"
},
{
key = "1526348",
name = "a shimmering cloak of many colors",
pos = "neck1"
},
{
key = "3030897",
name = "the Shoulder Plates of the High Commission",
pos = "neck2"
},
{
key = "3030898",
name = "the Sapphire Plate",
pos = "body"
},
{
key = "3030899",
name = "a crown of might",
pos = "head"
},
{
key = "3030900",
name = "the Mystical Leggings of Kith",
pos = "legs"
},
{
key = "4483851",
name = "Night-Black Boots",
pos = "feet"
},
{
key = "11466837",
name = "the Grimlock's Gauntlets",
pos = "hands"
},
{
key = "3030903",
name = "the Sleeves of the Ancient Sorcerers",
pos = "arms"
},
{
key = "11466839",
name = "the Vortex Shield",
pos = "shield"
},
{
key = "4770179",
name = "A Night-Black Robe",
pos = "about"
},
{
key = "3030906",
name = "a carious girdle of sinews",
pos = "waist"
},
{
key = "3030907",
name = "the Diamond Bracelet",
pos = "lwrist"
},
{
key = "3031051",
name = "a chromatic bracelet",
pos = "rwrist"
},
{
key = "4431863",
name = "the Staff of Drakhisis",
pos = "wielded"
},
{
key = "11466845",
name = "the Draconian Idol",
pos = "held"
},
{
key = "3030911",
name = "a Pulsating Prism",
pos = "face"
},
{
key = "3030912",
name = "Purple Robes of Quaralin",
pos = "ear1"
},
{
key = "1371075",
name = "an earring of Kith",
pos = "ear2"
},
{
key = "4764831",
name = "Aspect of Water",
pos = "eyes"
},
{
key = "5198433",
name = "the Blackstone Anklet",
pos = "lankle"
},
{
key = "11466851",
name = "the Blackstone Anklet",
pos = "rankle"
}
}
}
}
The database trigger problem seems to be related to the GMCP problem, in that it stores the room id from GMCP so now that its not there it causes an error.