Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
HP MP Autopot for MapleStory
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-17-2010, 02:32 AM
Newcomer
 
Join Date: Dec 2010
Posts: 1
Default HP MP Autopot for MapleStory

So I just started looking at how to use scar today from a friend suggesting it might help with some of the games I play. I am trying to use it on a game maplestory to automatically use my potions. Here are the pics of the hp and mp. The 2nd shows that it changes color slightly when the hp gets low and gives me a warning.



I saw two ways of going about this. Either having it detect that red/blue is no longer at the particular position when I want it to use a potion or to detect there is now a grey color. I was not sure which would be a better choice. I'm not sure if FindColor is the best way to go about this as well. I have been reading tutorials but it has been tricky to find what I'm looking for since I am unsure what to type, since I don't always know the commands I want.

//HP pixel range is from 257-394 long and 765-776 tall so (x -257) /137 =the% OR (the%*137)+257=x
{10% 271
20% 284
30% 298
40% 312
50% 326
60% 339
70% 353
80% 367
90% 380}

//MP pixel range is from 426-563 long and 765-776 tall so (x -426) /137 OR the%*137+426=x
{10% 440
20% 453
30% 467
40% 481
50% 494
60% 508
70% 522
80% 536
90% 549}



I have written this much on my own. I only started with the hp in order to make sure it worked properly. This way did not work for me but did compile just fine. It just sat there like nothing was running.
Code:
program AutoPotter;            //This is an AutoPotter for the game
                               //MapleStory v93, this was created for the BigBang
                               //patch with a 1024x768 resolution active
var
     x,y: Integer;
const
     HP= 2697513;
     //~80% Color Picked: 2031756 at (376, 771)
     //~70% Color Picked: 4264431 at (355, 769)
     //~50% Color Picked: 3342557 at (320, 772)
     //~10% Color Picked: 3342574 at (274, 770)
     
     //first attempt didnt work, trying by detecting if grey
     //Color Picked: 2697513 at (325, 770)
MP= 16759586;
     //~75% Color Picked: 16759586 at (528, 772)
     //~40% Color Picked: 16759586 at (489, 773)
     //~10% Color Picked: 16759586 at (442, 771)
begin
  repeat
    if(FindColor(x,y,2697513,324,769,326,771))then
      begin
          SendKeysWait('a',500,500);
      end
  until (false);
end.

Earlier I tried this code, which just was using my potions up even when I wasn't low on hp. This one was based off detecting red. The other detecting gray.
Code:
program AutoPotter;            //This is an AutoPotter for the videogame
                               //MapleStory, this was created the patch directly after BigBang with a
                               //1024x768 resolution active v93 I think
var
     x,y: Integer;
const
     HP= 3342557;
     //~80% Color Picked: 2031756 at (376, 771)
     //~70% Color Picked: 4264431 at (355, 769)
     //~50% Color Picked: 3342557 at (320, 772)
     //~10% Color Picked: 3342574 at (274, 770)
MP= 16759586;
     //~75% Color Picked: 16759586 at (528, 772)
     //~40% Color Picked: 16759586 at (489, 773)
     //~10% Color Picked: 16759586 at (442, 771)
begin
  repeat
    if(FindColor(x,y,HP,319,771,321,773))
    then begin
       //nothing
    end
      else begin
          SendKeysWait('a',500,500);
      end
  until (false);
end.
Any help would be appreciated. I find it funny that I started off by making a script to detect a monster and atk it earlier today; but I can't get an autopot to run when it seems like a much simpler program.

Last edited by guildkiller : 12-17-2010 at 06:06 AM.
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 01:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1