Page 1 of 1
/char crash?
Posted: Thu Jun 12, 2003 12:49 pm
by merkzu
Can anyone confirm that /char is working for them? It dumped me to my desktop before I went to work. This is last nights CVS with Amadeus's struct mods and motd2k's offsets (with the one offset corrected). Everything else seems to work ok.
Posted: Thu Jun 12, 2003 1:29 pm
by Amadeus
I would advise against using /char.
I'm fairly certain that EQ is no longer storing "birth" information in the charinfo struct..or, if they are, they've moved it pretty significantly. So, I've left the values in the struct to allow for clean compilation..but, yea, anything that uses those float values is subject to crashing at the moment.
Once I am through with this camp, I will go through the struct very carefully and make the determination as to whether the /char command will need re-written.
For now, don't use it :)
Posted: Fri Jun 13, 2003 3:42 pm
by ]\[E()
char just crashed me was comming hrere to post that its not working but it looks like someone beat me to the punch
-Josh
Posted: Fri Jun 13, 2003 4:22 pm
by Amadeus
I will fix this soon. My gut feeling is that the /char routine is going to be nerfed slightly that it will no longer display birth locations.
Posted: Sat Jun 14, 2003 10:18 am
by Mckorr
I think we can all live with that... after 50 levels do you really need a reminder of your starting city? "Oh my, I'm a wood elf, and I can't remember which city I started in..." :) Like you have soooo many choices.
Now, if you can get /char to tell me what cities I'm KOS in, THAT would be useful :)
Posted: Sun Jun 15, 2003 8:53 pm
by vzmule
We could take out the birth info part of the command altogether. It was a novelty, but that's about it.
The change could also have something to do with them moving the initial spawn locs around again. While they were playing with the code, they probably just got rid of it from the charinfo struct.
Posted: Sun Jun 15, 2003 8:59 pm
by Amadeus
I have submitted fixes to DkAA, but I think he's been busy lately. Anyway, change your CharInfo() (in EQLib_Commands.cpp) to look like this:
Code: Select all
VOID CharInfo(PSPAWNINFO pChar, PCHAR szLine)
{
CHAR szBuffer[MAX_STRING] = {0};
bRunNextCommand = TRUE;
if (gFilterMacro == FILTERMACRO_NONE) cmdCharInfo(pChar, szLine);
PCHARINFO pCharInfo = NULL;
if (NULL == (pCharInfo = GetCharInfo())) return;
sprintf(szBuffer,"You are bound in %s at %1.2f, %1.2f, %1.2f", GetFullZone(pCharInfo->ZoneBoundId), pCharInfo->ZoneBoundX, pCharInfo->ZoneBoundY, pCharInfo->ZoneBoundZ);
WriteChatColor(szBuffer,USERCOLOR_DEFAULT);
}
I am 95% sure that the birth information is no longer stored in CHARINFO. I havn't looked past the bank...but I doubt it's there....
Posted: Mon Jun 16, 2003 4:30 am
by dont_know_at_all
Changes are in CVS.