how can i detect if im in an house and if im not ? color on floor are same, maybe using wall color on minimap, i dont know ? other people in house will be blue in minimap so we dont care.
any help plz.
how can i detect if im in an house and if im not ? color on floor are same, maybe using wall color on minimap, i dont know ? other people in house will be blue in minimap so we dont care.
any help plz.
Last edited by Phran6; 05-18-2009 at 07:07 AM.
Formerly known as FrancisHelie
Maybe make a dtm of a room (minimap) and make it search for that? Or make an autocolor function for the room color or wall color. It would work like 99% of the time.
make a dtm of the room and search for it inside a certain box
or like you said the people in the room are differant color
so just search for the blue in a certain place
~shut
All my scripts are held on Googlecode git, so if you ever see a problem, fork it and send me a pull request
If a script is grey, it doesn't work, if it's colour then it does!
My Tutorials:-
Everything you need to know about setting up Simba, SRL and Reflection!, How to sort out the MSVCR71.dll error
How to set up players for autoing with Simba, SRL/Simba Standards (with examples), Defines
Auto Updater and Git, Using a testing branch for git, Adding SRL Stats to your script
Creating your own font set for Simba, Guide to Cups, How to make 1.45M (RSGP) a day (not really my tut)
Download a image and set it as your Desktop Wallpaper in C#, How to make your first PHP file uploader
<Coh3n> Shuttleu, fuck I love you right now
but for the dtm, if im outside, i will see the dtm too, people are blue inside and outside ...
i was thinking of using radialwalkex, and use it 4 time, with 0, 90, 180 and 270 degree, and enter wall color in it. if it find the wall color the four time, then im in. it would work or anyone have a bether idea ??
Last edited by Phran6; 05-18-2009 at 07:24 AM.
Formerly known as FrancisHelie
Or maybe you can do something with color?
x:=mmx
y:=mmy
FindColorSpiralTolerance?
It will spiral around the player to see if it finds the color.. but maybe you can set the distance to like 5 pixles of your Char?
Hope this helps.![]()
~Penguin
Semi-active
http://i44.tinypic.com/33vk9aq.jpg
SELL AUTOED GOODS AT MID-MAX! DON'T LET PRICES FALL AND GIVE US LESS PROFIT. (Put this in your sig)
isn't there something that says your in a house... maybe in settings tab?
You mean like in your "personal" house? Then there should be?
~Penguin
Semi-active
http://i44.tinypic.com/33vk9aq.jpg
SELL AUTOED GOODS AT MID-MAX! DON'T LET PRICES FALL AND GIVE US LESS PROFIT. (Put this in your sig)
no , to be clear, its for my soulwar, i want to detect whene im in gravyard and whene im outside of it. ill make a function that find where i am in case im lost.
Formerly known as FrancisHelie
You make a dtm of the house then you search it on the mm with an box a little big bigger than the house itself around you(for example if you are in each corner you need to see it thus, length width *2
~Hermen
Maybe get col near the centre of the map but offset a bit, eg GetColor(mmcx+3,mmcy+3) or like the others have said create a dtm having the starting point the white dot(you) i would try that first. i havent played runescape for ages and have never been in a player owned house so dont really know what it looks like, if you could post a picture of the mm ill mess around for a bit and try help you
you an object finder which is unique to your home.
There are currently 1 users browsing this thread. (0 members and 1 guests)