Shuttleu
2011-11-07 04:20:20
what is the best way to detect animation in color, i have tried pixelshift but its very unpredictable and gives lots of false positives
~shut
Like player animation?
Am not sure, but you could aways check exp tab:P Most people have that open anyways. What I did in my script was just to keep on checking the total exp in exp tab and compare them after xx seconds.
EDIT: By exp tab, I mean the cirlce thing and not the actul skill game tab.
weequ
2011-11-07 04:22:47
I have no idea :/ It would help if the character was always in the middle of the screen but it's not. Tell me if you come up with something good. (That works when there are a lot of people around)
I suggested sound recognition to Simba. It could probably solve this.
fuck yeah, sound recognition would be sweet!
Markus
2011-11-07 04:26:07
lol sound recognition is even more hoax than DNF was, it was supposed to be in scar 2.04 and there were projects to make plugins here but tl;dr noone has done it, also because of it being annoying with multiple bots.
Flight
2011-11-07 04:34:00
Describe what you're trying to detect it for and I might be able to give some alternatives.
Shuttleu
2011-11-07 04:34:56
well by looking into MSI the pixel shift stuff from there seems to be working (it wasnt but now it is), however i cant check with multiple people because there are none :p
~shut
EDIT: i was trying to detect if i was chopping some ivy or not
Flight
2011-11-07 04:37:46
I'd recommend checking two things: Black messages with a timer and is there that 'ivy green' color "close" to your player.
grats
2011-11-07 04:38:10
maybe something to watch the ivy on the wall directly in front of your player.. then see if an axe moves in front of it or not
are all the ivy the same on the wall?
Shuttleu
2011-11-07 04:39:42
From: Flight
I'd recommend checking two things: Black messages with a timer and is there that 'ivy green' color "close" to your player.
black messages are no good
the chat box gets filled with "You successfully chop away some ivy" and the green color is a good idea
thanks
~shut
EDIT: yes all the ivy are the same
Give the player an option to have the exp tab on, if they have it on, you could just check the exp gained per 3.4 seconds and see if they changed.
If not, perhaps make those ivies in to tpas , sort then from center of MS and check if the closest X amount of tpa are still exist.
grats
2011-11-07 05:28:04
From: Main
Give the player an option to have the exp tab on, if they have it on, you could just check the exp gained per 3.4 seconds and see if they changed.
If not, perhaps make those ivies in to tpas , sort then from center of MS and check if the closest X amount of tpa are still exist.
oh yea, probably the easiest thing to do since ivy doesn't put anything in your inventory anyway.