way to advanced for my current coding style

could ya please take a look and see what you can do?
ill attach the stuff i have right now.
We don't need the macro funktion from the game, you can set a skill-id direct to a hotbar-keyMiesterMan wrote: There's two routes that we can take for the macro system, one is to make a macro, put it on the hotbar and fill it with [Variable1] or whichever variable we are working with. Variables don't seem to be saved on exit but macros are. By the way macros behave I'm guessing they're saved to the server per character.
Oh, well, the error log had a listing of modules loaded into the executable and my CE debugger was listed in it. I suppose it would be easy enough for them to overlook but I'm going to give that account a break for a while.botje wrote:banned? hell no, there not monitoring it like that man, i never seen anything about it, and i get crashlogs too
anyway, perhaps its easier if you get code access on google project?
Code: Select all
offsets = {
char = {
CharNameOffset = 0xD23568,
CharLegionOffset = 0xBEDC68,
CharLvlOffset = 0xCC7848,
CharClassOffset = 0xBF67D4,
CharCurHPOffset = 0xCC7870,
CharMaxHpOffset = 0xCC786C,
CharCurMPOffset = 0xBF6778,
CharMaxMpOffset = 0xBF6774,
CharCurExpOffset = 0xCC7860,
CharMaxExpOffset = 0xCC7850,
CharEpRecoverOffset = 0xBEB4E8,
CharCurDpOffset = 0xBEB50E,
CharMaxDpOffset = 0xBEB50C,
CharPosXOffset = 0xCBDD68,
CharPosYOffset = 0xCBDD64,
CharPosZOffset = 0xCBDD6C,
CharCamXOffset = 0xCBD944,
CharCamYOffset = 0xCBD93C,
CharHasTargetOffset = 0x8774EC,
CharIsFlyingOffset = 0xBEB518,
CharFlightRestOffset = 0xBEB514,
CharFlightMaxOffset = 0xBEB510,
CharIsCastingOffset = 0xBE1054,
CharCurCubeOffset = 0xBF67C8,
CharMaxCubeOffset = 0xBF67C4,
MiolIsAliveOffset = 0xC3EA48,
},
target = {
TargetBase = 0x8774E4,
TargetOffset = 0x220,
TargetXOffset = 0x44,
TargetYOffset = 0x40,
TargetZOffset = 0x48,
TargetStateOffset = 0x2A0,
TargetLevelOffset = 0x36,
TargetNameOffset = 0x38,
TargetTypeOffset = 0x18,
TargetHPOffset = 0x11C8,
TargetHPProcOffset = 0x38,
},
};
Code: Select all
target = {};
function TargetUpdate()
target.HasTarget = memoryReadShort(myProcess, BaseAdress + offsets.char.CharHasTargetOffset);
if target.HasTarget == 1 then
target.Address = memoryReadIntPtr(myProcess, BaseAdress + offsets.target.TargetBase, offsets.target.TargetOffset);
target.Level = memoryReadShort(myProcess, target.Address + offsets.target.TargetLevelOffset);
target.Name = memoryReadUString(myProcess, target.Address + offsets.target.TargetNameOffset);
target.Type = memoryReadShort(myProcess, target.Address + offsets.target.TargetTypeOffset);
target.Hp = memoryReadShort(myProcess, target.Address + offsets.target.TargetHPOffset);
target.State = memoryReadShort(myProcess, target.Address + offsets.target.TargetStateOffset);
target.X = memoryReadShort(myProcess, BaseAdress + offsets.target.TargetBase + offsets.target.TargetXOffset);
target.Y = memoryReadShort(myProcess, BaseAdress + offsets.target.TargetBase + offsets.target.TargetYOffset);
target.Z = memoryReadShort(myProcess, BaseAdress + offsets.target.TargetBase + offsets.target.TargetZOffset);
end
end
basicly because the game doesnt allow proper attachment, so if ya click away, it spams keys to the wrong windows xdMiesterMan wrote: Ok, now I don't know why you made the bot window dependant but everytime you click off the window while the bot is running it says your character died and stops fighting. Can you explain the logic for this? I mean I'm sure there's a good reason I'm just not seeing it.
Code: Select all
win = findProcess("AION Client");
BaseAdress = getModuleAddress(win, "game.dll");
macroBase = 0xCBCF94;
macroOffsets = {0xC18,0x4,0x10,0xDC,0x0,0x4};
myProc = openProcess(win);
macroString = memoryReadUStringPtr(myProc,BaseAdress + macroBase,macroOffsets);
print(macroString);
Users browsing this forum: No registered users and 1 guest