Gday - I just downloaded the MudDatabase plugin - its brilliant :)
I've fiddled with some bits and pieces and managed to connect to my database and make it automatically update itself when i find out about new EQ, the only problem is that when i call up the information I get:
Item ItemType ItemIs ForgeLevel DiceNo DiceSize Weight Value Rent ACApply Armor CON INTEL WIS DEX CHA STR Hitroll Damroll maxhit maxmana Uselevel Age
Cloak of the Innocents ARMOR GLOW !GOOD !NEUTRAL NOBITS0 0 0 5 200000 480 0 0 0 0 0 0 0 1 0 3 0 0 0 0
which is hard to read :P
Could someone please help me with making a snippet of code to display this that:
1.Doesnt display Null values (e.g. 0 or just a blank field)
2.Displays it like:
Item:A cloak of the innocents ItemType:ARMOR ItemIs:GLOW etc
Dont worry about showing every field, just showing a few to get me started would be great :) And nobody comment on my database structure - it started off neat but i kept adding new fields :P
Thankye,
Ishnaf
I've fiddled with some bits and pieces and managed to connect to my database and make it automatically update itself when i find out about new EQ, the only problem is that when i call up the information I get:
Item ItemType ItemIs ForgeLevel DiceNo DiceSize Weight Value Rent ACApply Armor CON INTEL WIS DEX CHA STR Hitroll Damroll maxhit maxmana Uselevel Age
Cloak of the Innocents ARMOR GLOW !GOOD !NEUTRAL NOBITS0 0 0 5 200000 480 0 0 0 0 0 0 0 1 0 3 0 0 0 0
which is hard to read :P
Could someone please help me with making a snippet of code to display this that:
1.Doesnt display Null values (e.g. 0 or just a blank field)
2.Displays it like:
Item:A cloak of the innocents ItemType:ARMOR ItemIs:GLOW etc
Dont worry about showing every field, just showing a few to get me started would be great :) And nobody comment on my database structure - it started off neat but i kept adding new fields :P
Thankye,
Ishnaf