Page 1 of 1

Bordom... Stamina found

Posted: Sun Nov 02, 2003 4:40 pm
by Plazmic
In _CHARINFO change the lines in red

Code: Select all

/*0x1324*/    DWORD       UnknownData0x1324;
[color=red]/*0x1328*/    BYTE        Fatigue; //stamina gone, 0=full, 100=empty
/*0x1329*/    BYTE        Unknown0x1329[0x1f];[/color]/*0x1348*/    DWORD       UnknownData0x1348; // This value looks familiar...
In parmChar change $char(stamina,xxx) stuff to

Code: Select all

    // $char(stamina,max)
    } else if (!strncmp("char(stamina,max)",szVar,17)) {
        i+=16;
        CHAR szTemp[MAX_STRING] = {0};
        strcpy(szTemp,"100"); // Fixed cap
        strcat(szOutput,szTemp);

    // $char(stamina,cur)
    } else if (!strncmp("char(stamina,cur)",szVar,17)) {
        i+=16;
        CHAR szTemp[MAX_STRING] = {0};
        itoa(100-GetCharInfo()->Fatigue,szTemp,10);
        strcat(szOutput,szTemp);

    // $char(stamina,pct)
    } else if (!strncmp("char(stamina,pct)",szVar,17)) {
        i+=16;
        CHAR szTemp[MAX_STRING] = {0};
        itoa(100-GetCharInfo()->Fatigue,szTemp,10);
        strcat(szOutput,szTemp);

Posted: Sun Nov 02, 2003 4:43 pm
by Mckorr
If you are bored you could figure out why the current dev CVS doesn't compile :)

The error is in EQLib_Main, and the message is

EQLib\EQLib_Main.cpp(1253): error C2601: 'hookCBTProc' : local function definitions are illegal

Also a problem with /who using this morning's CVS, get lots of weirdness.

Posted: Sun Nov 02, 2003 4:47 pm
by Mckorr
In the CVS btw.

Posted: Sun Nov 02, 2003 4:48 pm
by Plazmic
Update the zip and i'll figure out what happened when my diff got merged.

Posted: Sun Nov 02, 2003 4:52 pm
by Mckorr
Never mind, something stupid on my part, a missing end brace.

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:04 pm
by xyilla

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:05 pm
by xyilla

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:06 pm
by xyilla

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:07 pm
by xyilla

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:08 pm
by xyilla

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:10 pm
by xyilla

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:11 pm
by xyilla

Re: Bordom... Stamina found

Posted: Wed Oct 01, 2025 8:47 pm
by xyilla