SRL Archive - OSR Help

emps-scape uptext, urgent


Neg_

2010-05-02 06:38:43

Hello, iv been playing emps-scape, same as runescape, just older version and xp comes faster. I need to get uptext and chooseoption function working, any idea?

you can have look on game here: http://www.emps-scape.net/play.php

How to get text function working?

i luffs yeww

2010-05-02 06:40:05

You'd have to make the fonts for the game, I assume. Too lazy to check it out, but basically you just have to make the fonts for that. Maybe some different coords, too. Not super easy.

Neg_

2010-05-02 06:45:43

I have tried replaceing scar 3.22 fotns with old 3.15b portalbe ones.

Why should i need to make fonts, its basically rs copy

i luffs yeww

2010-05-02 06:46:24

If it's the same fonts as RuneScape, then I don't see what you're asking.

Neg_

2010-05-02 06:51:43

I don't see why its not working..

Neg_

2010-05-02 07:35:00

please someone

Neg_

2010-05-02 08:34:21


Font is same, right?

i luffs yeww

2010-05-02 08:35:29

I don't believe so.

Neg_

2010-05-02 08:42:56

what??

i luffs yeww

2010-05-02 08:49:27


Neg_

2010-05-02 08:55:39

you're right, so whrere i can get old fonts? I bet freddy got them somewhere, or i can download them myself too?

Neg_

2010-05-02 09:19:38

i tryed replacing fonts in 3.22 folder with 3.12 ones, didnt work either :(

i luffs yeww

2010-05-02 09:41:11

RuneScape fonts are from SRL, not SCAR. SCAR isn't RuneScape based.

Neg_

2010-05-02 09:42:37

Runescape fonts are from scar, scar has runescape specific functions.

Edit: but few
edit: shite compared to autorune -.-

i luffs yeww

2010-05-02 09:53:00

^ I meant to say RuneScape font finding is from SRL, not SCAR (for the most part). Sorry, my fault.

nielsie95

2010-05-02 10:03:05

I don't think rs_getuptext uses the fonts in the font folder (not sure though), but you could try using an older version of SCAR.

Neg_

2010-05-02 10:04:32

Well, getUpText uses rs_getUpText(which is scar function), so again, text matching is from scar.

Neg_

2010-05-02 10:12:11

From: nielsie95
I don't think rs_getuptext uses the fonts in the font folder (not sure though), but you could try using an older version of SCAR.



tryed, 2.03, 3.02, 3.12, 3.15, 3.22

Edit: also i think 2.03 fonts matched emps-scape fonts quite well, but still, it prints just blank

[PHP]program New;
var upchars : integer;
begin
activateclient;
wait(3000);
//writeln(rs_GetUpText);
UpChars:= LoadChars2(AppPath + 'CharsRS22\');
writeln(GetTextAtEx(13, 38, 130, UpChars, True, False, 0, 1, $E0E0E0, 20, False, tr_AlphaNumericChars))
end.[/PHP]

Neg_

2010-05-03 05:00:14

bump

Main

2010-05-03 05:49:05

Or just use get color for specific uptext if you want :).

Neg_

2010-05-03 10:31:36

From: Main_Ftw
Or just use get color for specific uptext if you want :).



Good idea,

But replacement for chooseOption? DTM for text? ..

SRL object finding function what uses MM for finding from mainscreen would be handy atm, so Im really looking forward to getting it work.

E:

Nielsie, fonts are same..(at least from 2.03) still it seems not to work.

i luffs yeww

2010-05-03 16:58:17

Well I used to just use co-ordinates instead of ChooseOption when it wasn't working. Most of the time the option will always be in the same spot, so you just have to do GetMousePos(x, y); Mouse(x, y + 50, 2, 2, True); (and instead of y + 50, do whatever the actual location is, of course).

Neg_

2010-05-04 06:37:43

From: i luffs yeww
Well I used to just use co-ordinates instead of ChooseOption when it wasn't working. Most of the time the option will always be in the same spot, so you just have to do GetMousePos(x, y); Mouse(x, y + 50, 2, 2, True); (and instead of y + 50, do whatever the actual location is, of course).


What if you have to right click in item whats at bottom of inv, menu appears little different position.

Did it with dtms, work fine.

Solved the upper text thingy with findcolor, so if it finds yellow color from upper left corner, then theres some npc or fishin spot etc..

Did 1k monks yesterday w/o problems.

Bonfield

2010-05-04 09:08:12

Are you neG by any chance?

i luffs yeww

2010-05-04 16:57:43

Also, why do you need to check uptext? Isn't this a private server? There shouldn't be any reason to, in my mind. It's not like you'll get banned for autoing. ;)

Neg_

2010-05-05 15:23:56

I must be sure the object is what it needs to be, grey color with some tolerance can be anything.

Bonfield: No, im not.


Anyways, I got uptext checks done with dtms, it just needs lot of tolerance and some bigger area size.
Works guud:


— 6 H 45 min 21 s —
— Cooked ~2968 raw items ———–