Moderator: MacroQuest Developers
Code: Select all
// name
for (DWORD nSkill=0;szSkills[nSkill];nSkill++)
if (!stricmp(GETFIRST(),szSkills[nSkill]))
{
// found name
if (GetCharInfo2()->Skill[nSkill]>252)
-->> return false;
for (DWORD nAbility=0;nAbility<10;nAbility++)
if (EQADDR_DOABILITYLIST[nAbility] == nSkill)
{
if (nAbility<4)
nAbility+=7;
else
nAbility-=3;
if (SkillDict[nSkill]->AltTimer==2)
Dest.DWord=gbAltTimerReady;
else
Dest.DWord=EQADDR_DOABILITYAVAILABLE[nSkill];
Dest.Type=pBoolType;
return true;
}
}
Code: Select all
if (GetCharInfo2()->Skill[nSkill]>252)Code: Select all
/if (${Me.AbilityReady[Kick]}) /doability "Kick"Why did you bother to post when you can't contribute anything? You obviously didn't read my posts.caj wrote:this line is looking for any skill over 252
not knowing what your character skill is at or what ever your tring to do but you can change it to 1 or what ever # what you want it to be.Code: Select all
if (GetCharInfo2()->Skill[nSkill]>252)
this is what i use for the kick ability
because thats an older mq2 your useing Im not 100% certain that will work either but give it a shotCode: Select all
/if (${Me.AbilityReady[Kick]}) /doability "Kick"

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...
Clearly, you didn't look very hard. "What [you] really would need is..." staring you right there in the face!Albert wrote:What I really would need is if there is a guide or something about how to find offsets in the eqgame.exe. I remember from way back when I was using MQ2 on live that there was something like that, but I can't seem to find it now.
In which case, it has most likely been resolved in the CURRENT version of the code, and therefore is no longer a valid "bug."Albert wrote:And this isn't really a support/help post. It's a bug report for an old version of the code.
So nice of you to post a link to a none existing forum.Bad Karma wrote:Clearly, you didn't look very hard. "What [you] really would need is..." staring you right there in the face!Albert wrote:What I really would need is if there is a guide or something about how to find offsets in the eqgame.exe. I remember from way back when I was using MQ2 on live that there was something like that, but I can't seem to find it now.
In which case, it has most likely been resolved in the CURRENT version of the code, and therefore is no longer a valid "bug."Albert wrote:And this isn't really a support/help post. It's a bug report for an old version of the code.
Yes, it does exist...Albert wrote:So nice of you to post a link to a none existing forum.Bad Karma wrote:Clearly, you didn't look very hard. "What [you] really would need is..." staring you right there in the face!Albert wrote:What I really would need is if there is a guide or something about how to find offsets in the eqgame.exe. I remember from way back when I was using MQ2 on live that there was something like that, but I can't seem to find it now.
In which case, it has most likely been resolved in the CURRENT version of the code, and therefore is no longer a valid "bug."Albert wrote:And this isn't really a support/help post. It's a bug report for an old version of the code.