Page 1 of 1
Is anyone else having a prob with $char(gem,xxx)
Posted: Tue Apr 22, 2003 11:18 pm
by fury
I get booted to desktop if I try to use that command. Was wondering if others are having this prob as well. If it is broke is there any guess as of when it will be fixed?
thanks
Fury
Posted: Tue Apr 22, 2003 11:26 pm
by Clawed
Yeah, I had that problem too, it crashes the client. Probably the struct is still wrong or something, I haven't had time to look into it yet.
Posted: Fri Apr 25, 2003 6:49 am
by ewiggins
The struct/offsets for the spellgem info hasn't been found since about 2-3patches ago.
Problem only looking up by name...
Posted: Fri Apr 25, 2003 7:57 pm
by NealThorpayt
Greetings Constructs,
With the new offsets and structures (after the 26th) the $char(gem,xxx) command works for requesting information about a gem by slot number.

However, it will not work for requesting information about a specific gem by name. This is becuase the functionality requires the offset for clsMain. Which, is currently unknown. The command blindly uses the offset (none) which causes a bad pointer reference. If, or when, we get the offset for clsMain then it should work again.
End of line...
Thanks NealThorpayt
Posted: Fri Apr 25, 2003 10:22 pm
by fury
Ok thanks for the info :-)
Posted: Sat Apr 26, 2003 1:14 am
by Clawed
That code should be adjusted to not reference the pointer if it's null.
Posted: Sat Apr 26, 2003 10:28 am
by Mckorr
All the code should be adjusted to not reference any null pointers, and they should be removed from the ini file.
But who's got time?

Posted: Sat Apr 26, 2003 7:15 pm
by Clawed
Well it only takes one line... I was just speaking of this particular instance, since we've just identified it here.