View Full Version : Private server help
cynicz
07-01-2012, 02:39 AM
Ok so I updated fonts but chooseoption and findobj still dont work.
on the server soulsplit the coords and your camera angle randomly change every like 5mins. camera angle is usually very slightly but overtime it adds up and can have you turned around. the coords change by 10-100.
what is the most efficient way to locate a npc, right click, and talk/trade.
i need it to be flawless for the most part for afking for hours on end.
Did u update the fonts correctly? U have to take the bitmap of every alphabet.
If the npc has a distinct color from the surrounding, then maybe just use FindColorTolerance/TPA to right click it (and dont check for uptext if u cant figure out the correct font), then for the option just measure how far it is from the place u click, then just do like Mouse(x,y+40,3,3,true), change the '40' to whatever distance it is from where u click and the option to be chosen.
cynicz
07-01-2012, 03:54 AM
the npc has no distinct colors except he has like 6 pixels of red HOWEVER when the camera turns the odds of this becoming covered up are high and causing this not to work
U can put something like:
MakeCompass('n');
throughout ur script, then it will auto adjust back once it is not at north.
Maybe post a ss of the npc and its surroundings?
cynicz
07-01-2012, 07:24 PM
makecompass wont work on the private server bleh
makecompass wont work on the private server bleh
I've told you what to do, did you forget? :p check your private messages.
makecompass('n') or ClickNorth(SRL_ANGLE_HIGH) should both work as the compass image is not all that different to current RS?
Alternaticely, look at the code in the SRL include and try to make a function for yourself that will put the camera to north if it deviates.
Then you can use that red colour you mentioned and riwu's way of finding the NPC and clicking the appropriate option.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.