Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 18:08

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

Advertisement



Anyone use SCAR?

Discussion on Anyone use SCAR? within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2006
Posts: 7
Received Thanks: 0
Has anybody here tried scripting in SCAR for conqueronline?
I started writing an include a year ago, and haven't really messed with it since. I got as far as writing a mining bot that would drop copper and iron ore but keep gold/gems and when it had a full inventory it'd teleport back to city, sell the gold, bank the gems/money and then hop back to the mine..
I'd be happy to post it if anybody still uses SCAR. I also wrote a vb-version of the bot but it wasn't quite as efficient since it took a screenshot, chopped the screenshot up, and then used an image recognition algo to check the items to see if they're gold/iron/copper/whatever..
blacknosk is offline  
Old 12/21/2006, 00:22   #2
 
elite*gold: 0
Join Date: Sep 2006
Posts: 13
Received Thanks: 0
SCAR was great for runescape

but if it was applied here, i think there might be too many variables to hop all the way back.

but if you say it worked i've got to believe you

please post your script, and what city was it for?
Chynaman is offline  
Old 12/21/2006, 00:24   #3
 
giacometti's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 319
Received Thanks: 49
Shocker is here.
giacometti is offline  
Old 12/21/2006, 00:30   #4
 
elite*gold: 0
Join Date: May 2006
Posts: 51
Received Thanks: 4
I've used SCAR to script for CO and I've done simple thnigs but nothing as complicated as predefining routes from one place to another. I've found it to be unreliable. To get back to the mine did you have to read the coords to ensure you were moving (not just clicking on a person or a guard, mob etc) because I thought that would be the only sure way to get back from one place to another. I guess the only real downside is that you can only operate one client at a time with this because it operates on the currently running client.. or have you found a way to manage more than one?
KageKhan is offline  
Old 12/21/2006, 16:48   #5
 
elite*gold: 0
Join Date: Sep 2006
Posts: 13
Received Thanks: 0
Quote:
Originally posted by KageKhan@Dec 21 2006, 00:30
I've used SCAR to script for CO and I've done simple thnigs but nothing as complicated as predefining routes from one place to another. I've found it to be unreliable. To get back to the mine did you have to read the coords to ensure you were moving (not just clicking on a person or a guard, mob etc) because I thought that would be the only sure way to get back from one place to another. I guess the only real downside is that you can only operate one client at a time with this because it operates on the currently running client.. or have you found a way to manage more than one?
i believe there is an easy way for you to run 2 screens,

cause i think there is a feature in scar that does it for you
Chynaman is offline  
Old 12/21/2006, 17:41   #6
 
elite*gold: 0
Join Date: May 2006
Posts: 221
Received Thanks: 1
mmmmmmmmm i dont know about this folks. until i see some files and some scans i'm not taking his word for it.
ramius_michael is offline  
Old 12/21/2006, 19:58   #7
 
elite*gold: 0
Join Date: Dec 2006
Posts: 7
Received Thanks: 0
I never was able to read the coords in the top left, but I found a good enough work-around for it. The little blue star thing in the minimap on the top right, I could get the position of that and record a few points along the way to where I wanted to go. And it'd awkwardly try to find it's way from point to point.. I was in the middle of rewriting the pathfinding script before i stopped.. I'll go ahead and pack up what I can find and post it here. It's nothing impressive, I was just interested in whether or not anyone still used SCAR.
In fact. I kinda doubt as a whole these scripts work anymore.. There's a lot of unfinished stuff in it.
If anyone has a question about what I post, feel free to ask. I'm still looking for the source to the vb bot and the updated version of the scar scripts I was working on..

EDIT:
Chynaman - I think you're right about there being way to manage more than one client screen with SCAR, but I never got as far as trying to do that.
And also. it was for ape city, and the mine in ape city. Although the mine cave in TC was a lot easier to script to get to so I used it there before I started working on any actual pathfinding code.

Oh and just so you guys can understand how much I trusted the pathfinding. I never used it unless I was testing/trying to make it better. I would just leave the miner on over night til it filled with gold/gems and tele back to the city/logout
Attached Files
File Type: ibf post-53-1166727483.ibf (24.3 KB, 3 views)
blacknosk is offline  
Old 12/21/2006, 21:15   #8
 
giacometti's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 319
Received Thanks: 49
Scar is the best pixel-based scriptable program that you can have. Actually there is nothing unfinished. If you know how to use its functions, its really powerfull. And you can get the coords pretty easy with it, you need just a couple of lines of code. I will show you how, so my word are not in vain:

Code:
Procedure GetCoords(var x, y: Integer);
Begin
 x:= strtointdef( GetTextAtEx(68, 2, 0, CO_Font, False, False, 0, 0, 65535, 3, True, tr_Digits), 0);
 y:= strtointdef( GetTextAtEx(96, 2, 0, CO_Font, False, False, 0, 0, 65535, 3, True, tr_Digits), 0);
End;
//and for co_font use

Code:
CO_Font:= LoadCharsFromFont2('Courier New', 8, False, False, False, False);
I've made a lot of scripts for conquer, but i prefer to keep them private. But i can help you anytime. If the function above works, just give me some karma .
giacometti is offline  
Old 12/21/2006, 21:43   #9
 
elite*gold: 0
Join Date: Dec 2006
Posts: 7
Received Thanks: 0
thanks giacometti! when I said unfinished, I meant in my scripts, not SCAR itself. It's an excellent program. I've tried getting the coords with scars built-in ocr but I never got it working for some reason. I'll try what you posted. Thanks again
blacknosk is offline  
Reply


Similar Threads Similar Threads
Scar Heavy,Scar Light oder Ak 47 oder Coupons im BlackMarket
07/23/2010 - CrossFire - 16 Replies
Also ich bin auf dem Rang Corporal und ab dem nächsten Rang kann ich Scar Heavy kaufen und in den Blackmarket,und da frag ich mich weil ab dem nächsten Rang hab ich ca. 80 k GP und da frage ich soll ich Scar Heavy kaufen auf Schar Light oder AK 47 sparen oder im Blackmarket Coupons kaufen??
scar
06/02/2010 - General Coding - 2 Replies
can someone help me with a scar script all i need it to do is press 1 then press 2 and weight 3 seconds then repeat that
plz help me with SCAR.
07/28/2009 - 12Sky2 - 10 Replies
autopot script.. new to all this... ive been trying for 2weeks now searching asking ppl at scar forms too but, couldnt get an answer.. so plz help me out guys. after running the script it keeps on saying "F**k im dead, respawning, ready" on and on... is it the color that its not reading? i tried to match the color still didnt work for me. i saw the post saying that i might need to change the resolution? or somthing.. im so tired of pressing pot buttons...
Scar
01/15/2007 - Technical Support - 0 Replies
Is scar version 2.03 trustable? this is the link i can download it: Here can i download it
SCAR 2.03 scripts
06/26/2006 - General Gaming Discussion - 0 Replies
I need some SCAR scipts so does anyone know a good website with lots of them?



All times are GMT +1. The time now is 18:08.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.