Register for your free account! | Forgot your password?

You last visited: Today at 15:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Programming Question

Discussion on Programming Question within the General Gaming Discussion forum part of the General Gaming category.

Reply
 
Old   #1
 
IKillBabies's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 184
Received Thanks: 28
Programming Question

Hey,

I have been trying to port some code into any language, and not having any luck at all. A user on here (Atheuz) gave me some old source to an old bot he used to use, but my knowledge is not far enough to fill in the blanks. I tried porting in C++, but had too much trouble.

I was wondering if anyone could try this for me, I would greatly appreciate it.
Basically it's a bot for Phoenix Dynasty Online, that simply right clicks monsters. The memory addresses will have to be adjusted too. But if you could just port it into whatever language you want, and post the code, that would be great. Don't worry about what the window name is and what not, I can adjust all that. I can even do the memory adresses. I think :P

Thanks so very much

Code:
Target_adr = 0x0094ABD0;
Target_offset = 316;
TargetSelected_adr = 0x0094ABD4;
TargetSelected_offset = 316;

function CheckTarget()
    Target = memoryReadIntPtr(proc, Target_adr, Target_offset);
   if( Target == 1 and TargetSelected == 0 ) then
   mouseRClick();
   rest(10);
   mouseSet(511, 440);
   mouseSet(511, 270);
    end
   
    TargetSelected = memoryReadIntPtr(proc, TargetSelected_adr, TargetSelected_offset);
    if( TargetSelected == 1 ) then
    rest(100);
    end

    if( Target == 0 and TargetSelected == 0 ) then
    X = math.random(1000);
    Y = math.random(700);
    if( X > 400 and X < 565) then
   mouseSet(0,0);
    end
    if( Y > 285 and Y < 439 ) then
    mouseSet(0,0);
    end
    mouseSet(X, Y);
    rest(10);
    end
end


function main()
  attach( findWindow("FW Client - Beta - Final : *") );
  proc = openProcess( findProcess("FW Client - Beta - Final : *") );
  setPriority(PRIORITY_HIGH);

  while(true) do
  CheckTarget();
  rest(2);
  end
end

startMacro(main, true);
IKillBabies is offline  
Reply


Similar Threads Similar Threads
Programming question
08/17/2010 - 9Dragons - 10 Replies
Hello Elitepvpers! I see that ppl can make bot's that are undetectable. Could someone give me a hint or explain to me how to program a undetectable bot? I'm a Java programmer and got avg programming skill's. GG stops the Java Robot Class so that won't work. Or there must be a way that GG won't detect the program :P I won't release it, it's just for myself and to learn more stuff. I hope someone could help me.
Question about programming
11/21/2008 - CO2 Programming - 0 Replies
i am wanting to make some programs for conquer and i program in vb6 and i was wondering if anyone would be willing to share and tutorials with me and if so i would like that



All times are GMT +2. The time now is 15:51.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.