Page 1 of 1
Legend of Golden Plume [Closed Beta-31th July 2008]
Posted: Thu Jul 31, 2008 9:57 pm
by Mesosmagnet
HiHi ...I'm back and I kinda need some help with making a simple bot for this new game.
The game I am refering to is
Legend of Golden Plume >>
http://lgp.enjoymmo.com/
It is a point n click game...I will be trying to script out a bot myself.
but...if anyone else has some spare time...it would be nice to see someone else write a script for this game.
Legend of Golden Plume was released..closed beta stage...yesterday...31th July
Ok...I give up on making the bot...until i find a cheatengine usable on windows vista...
ps. Is there any other way I can find memory address of HP & MP and monster hp?
Re: Legend of Golden Plume [Closed Beta-31th July 2008]
Posted: Fri Aug 01, 2008 7:57 am
by 3cmSailorfuku
Mesosmagnet wrote:
Ok...I give up on making the bot...until i find a cheatengine usable on windows vista...
ps. Is there any other way I can find memory address of HP & MP and monster hp?
I doubt that, anyway. Heres a simple Bot, update the adresses and the coordinates if you want walking.
Code: Select all
PlayerSit = 200; -- When HP reaches X Bot will Sit
PlayerSitDone = 400; -- When HP reaches X Bot will continue botting
RandomWalk = 1; -- Enable Random walking
function updatevars()
PlayerHP = memoryReadShortPtr(proc, 0x007D83F4, 0x20D8);
TargetLock = memoryReadInt(proc, 0x00224B687);
end
function GetTarget()
updatevars();
if( PlayerHP >= PlayerSit and TargetLock == 0 and Sitting == 0 ) then -- Meele Attack
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_TAB );
rest(50);
end
updatevars();
if( PlayerHP >= PlayerSit and TargetLock == 1 ) then -- Meele Attack
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_1 );
keyboardPress( key.VK_2 );
Sitting = 0;
rest(50);
end
end
function Sit()
updatevars();
if( PlayerHP <= PlayerSit and Sitting == 0 and TargetLock == 0 )then
rest(500);
keyboardPress( key.VK_SPACE );
keyboardPress( key.VK_0 );
rest(500);
Sitting = 1;
end
if( PlayerHP >= PlayerSitDone and Sitting == 1 )then
keyboardPress( key.VK_0 );
rest(500);
Sitting = 0;
end
rest(5);
end
function Walk()
RandomW = math.random(4);
keyboardPress( key.VK_SPACE );
if( RandomW == 1 and RandomWalk == 1 and Sitting == 0 and TargetLock == 0 and PlayerHP >= PlayerSit)then
mouseSet(423,68);
mouseLClick();
rest(1000);
elseif( RandomW == 2 and RandomWalk == 1 and Sitting == 0 and TargetLock == 0 and PlayerHP >= PlayerSit)then
mouseSet(66,286);
mouseLClick();
rest(1000);
elseif( RandomW == 3 and RandomWalk == 1 and Sitting == 0 and TargetLock == 0 and PlayerHP >= PlayerSit )then
mouseSet(432,549);
mouseLClick();
rest(1000);
elseif( RandomW == 4 and RandomWalk == 1 and Sitting == 0 and TargetLock == 0 and PlayerHP >= PlayerSit )then
mouseSet(732,325);
mouseLClick();
rest(1000);
end
end
function main()
attach( findWindow("Beta1 *") );
proc = openProcess( findProcess("Beta1 *") );
setPriority(PRIORITY_HIGH);
Sitting = 0;
while(true) do
Sit();
Walk();
GetTarget();
rest(2);
end
end
startMacro(main, true);
Edit that to your liking, Its only randomly killing mobs and sit down if HP is too low.
Re: Legend of Golden Plume [Closed Beta-31th July 2008]
Posted: Fri Aug 01, 2008 6:29 pm
by Administrator
Sorry, I keep moving this topic around. I'll be adding this game to the free game list in off topic sub-forum. Hopefully that will help it gain some interest.