;Call ScanBuffBar 1 493 UP ; Moves bar below main screen facing UP
;Call ScanBuffBar 1 493 ; Moves Bar to 1 493
;Call ScanBuffBar LEFT ; Makes Bar Face Left
Call ScanBuffBar ; Leaves the bar in Current postion.
set %Armed #True
Repeat
Call ScanBuffBar ; Presumes file is in same location as euo
set !oathed _CurseBloodOath_ in %BuffBarIconNames
If ( !oathed && %Armed ) || ( ( ! !oathed ) && ( ! %Armed ) )
{
event macro 24 2 ; dis/Arm right change to 24 1 for left
set %armed ! %Armed
}
; Displaying Some Statistics
setuotitle %BuffBarCalls - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames
Wait 5
Until #CharGhost = YES || #CliLogged = 0
halt
Sub ScanBuffBar
Set %BuffBarOLDLPC #LPC
Set #LPC 20000
set %BuffBarCalls %BuffBarCalls + 1
namespace push
namespace local ENs_BuffBarSubs . #charid
set !newString2
for !lc 0 !LoopCount
{
savePix !x2 . !lc !y2 . !lc %BuffBarPixelLoc
set !newstring2 !newstring2 , _ , #pixcol
}
if %0 > 0 || !newstring2 <> !oldstring2 || !newstring2 = _0_0_0
gosub EN_BB_AdvanceScan %0 %1 %2 %3
set %BuffBarIconsFound !BuffBarIconsFound
set %BuffBarIconNames !BuffBarIconNames
set %BuffbarDirection !BuffbarDirection
namespace pop
Set #LPC %BuffBarOLDLPC
return
sub EN_BB_AdvanceScan
set %BuffBar2ndScan %BuffBar2ndScan + 1
SavePix !ButtonX1 . !Cnt !ButtonY1 . !Cnt %BuffBarPixelLoc
if %1 > 0 || #pixcol <> !BuffBarKnownButtonCol1 || !newstring2 = _0_0_0
call ScanBuffBar-Subs OpenBuffBar %1 %2 %3 %4
set !BuffBarIconsFound 0
set !BuffBarIconNames _
set !oldString2 _ , !BuffBarKnownButtonCol1 , _ , !BuffBarKnownButtonCol2
set !Cnt 2
Repeat
savePix !x2 . !Cnt !y2 . !Cnt %BuffBarPixelLoc
set !oldstring2 !oldstring2 , _ , #pixcol
set !debug #pixcol
If !Cnt . !debug > 1 || ! . !debug = N/A 2
savePix !x1 . !Cnt !y1 . !Cnt %BuffBarPixelLoc
set !debug !debug , _ , #pixcol
If ! . !debug <> N/A 2
set !BuffBarIconNames !BuffBarIconNames , _ , ! . !debug , _
set !BuffBarIconsFound !BuffBarIconsFound + 1
; If ! . !debug = N/A
; set %BuffBarDebug !debug
set !Cnt !Cnt + 1
until ! . !debug = N/A && !Cnt >= !BuffBarTolerance
set !loopcount !Cnt - 1
if !loopCount < !BuffBarTolerance
set !loopcount !BuffBarTolerance
set !x20 !BuffBarButtonPosX1
set !y20 !BuffBarButtonPosY1
set !x21 !BuffBarButtonPosX2
set !y21 !BuffBarButtonPosY2
return
[/spoiler]Remember that you can have anything in the registry now. I just start mine with *TM_ , whatever.
how about spell plague with mysticism. it has an icon. i could get on with u and cast it on you like last time you added stuff. :D
This is a much needed conversion to OEUO. :)
Nice work man. And so fast after I requested it! :)
Don't look for much input in the start. There are very few OEUO users at this point.
And hopefuly encourage a few more to make the leap... although i know thats a tall order for sure. I'm not even 100% im adopting the best practices myself here.. do me a favor tm take a looky at the code and let me know if you see any glaring errors..
Hey EN, have you ever tried to use this while swapping? Like uoxl swap and scanning buff bards for multiple chars while swapping? If so, what were your results?
dofile(getinstalldir()'/lib/ENs_Subs_BuffDebuffBar.Lua') -- location of the saved library
ScanBuffBar()
print(OnBuffBar('MagicReflection'))
Hey, it seems there's some issues with the newest version posted here. I've always given up using this because every time I've tried, it's always crapped out on me. :) And now when I REALLY want to use it, it does the same. RUN IT THRU SCRIPTUO! haha You guys were just talking about this very thing! tsk tsk Edit: Talking about euo. It COULD be a patch issue. So I'll wait to pass judgement on it, but you should run it thru suo. I did... there's a bracket missing. And something about that passed vars sub makes me go hmm. :)
Call ScanBuffBar ; Presumes file is in same location as euo
display ok %BuffBarCalls - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames
Halt
; If thier is icons that are not found, Make a newfile of code below and run
set %BuffBarRecordAllIcons YES
Call ScanBuffBar ; Presumes file is in same location as euo
Display ok %BuffBarCalls - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames
For !x 1 %BuffBarIconMaxCount
Display ok %BuffbarIcon . !x
Halt
While !Count < %BuffBarIconsCount && %BuffBarFoundTheIcon = NO
{
set !Count !Count + 1
set !temp %BuffBarIconCol1_ . !count
set !High !Temp + %BuffBarColorRange
set !Low !Temp - %BuffBarColorRange
if %BuffBarScanPixcol1 >= !Low && %BuffBarScanPixcol1 <= !High && %BuffBarScanPixcol2 >= !Low && %BuffBarScanPixcol2 <= !High
{
set !temp %BuffBarIconCol2_ . !count
set !High !Temp + %BuffBarColorRange
set !Low !Temp - %BuffBarColorRange
set !t %BuffBarIconName_ . !Count
If !t <> Blank
{
Set %BuffBarIconsFound %BuffBarIconsFound + 1
set %BuffBarIconNames %BuffBarIconNames , !t , _
set %BuffBarFoundTheIcon !t
set %BuffBarIconsNotFoundInArow 0
}
}
}
I like that idea a ton. You could still use all the same info and just scan for the one thing. I rarely am scanning for more than 4 or 5 things at a time... how about you make it able to take any number of names? :) Like scanbuffbar clumsy weaken curse
set %BuffBarRecordAllIcons NO
Call ScanBuffBar ; Presumes file is in same location as euo
Display ok %BuffBarCalls : %BuffBarTime : %BuffBarScanMethod - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames
display ok you have 2 seconds to change the cont focus... and test it doesnt setback to buffbar
wait 50
for %x 1 5
{
Call ScanBuffBar ; Presumes file is in same location as euo
Display ok %BuffBarCalls : %BuffBarTime : %BuffBarScanMethod - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames
}
Halt
I went over the EUO version and saw this change, haven't tested, might run a bit faster tho. Not sure. Eliminated an if, not even sure it works actually. Should tho. I just combined the if statements into one line instead of 2. I was already working on something similar.Code: [Select]While !Count < %BuffBarIconsCount && %BuffBarFoundTheIcon = NO
{
set !Count !Count + 1
set !temp %BuffBarIconCol1_ . !count
set !High !Temp + %BuffBarColorRange
set !Low !Temp - %BuffBarColorRange
if %BuffBarScanPixcol1 >= !Low && %BuffBarScanPixcol1 <= !High && %BuffBarScanPixcol2 >= !Low && %BuffBarScanPixcol2 <= !High
{
set !temp %BuffBarIconCol2_ . !count
set !High !Temp + %BuffBarColorRange
set !Low !Temp - %BuffBarColorRange
set !t %BuffBarIconName_ . !Count
If !t <> Blank
{
Set %BuffBarIconsFound %BuffBarIconsFound + 1
set %BuffBarIconNames %BuffBarIconNames , !t , _
set %BuffBarFoundTheIcon !t
set %BuffBarIconsNotFoundInArow 0
}
}
}
Repeat
UOXL SWAP
wait 10
Call ScanBuffBar
Display ok %BuffBarCalls : %BuffBarTime : %BuffBarScanMethod - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames $
+ Contwith focus: #contname
until #true = #false
Halt
I've been running into occasional false positives when playing normally with the buff bar over the actual gameplay window. Not sure if it would be fixed putting the bar in the black area. Probly. Just thought I'd mention it. :) It seems to only happen once every 30 minutes to 2 hours. So it's not even remotely close to annoying for the benefit. :)
I think it's when ther are NO icons on the bar. :) It's scanning and finding a positive in the actual game world is my guess. :)
NO icons on buffbar:
395 scans in 10s. Avg. scan time: 25ms.
1 icon on buffbar in FIRST scan position: (meaning fastest scanning possible for one icon)
390 scans in 10s. Avg. scan time: 25ms.
1 icon on buffbar in LAST scan position: (slowest scanning for 1 icon)
284 scans in 10s. Avg. scan time: 35ms.
Multiple icons on bar in "real world" configuration.
prot, reac, night sight, bless, corpse, reflect, clumsy, invis
160 scans in 10s. Avg. scan time: 62ms.
set !scanStart1 -950
set !endScan1 1164
set !scanStart2 24320
set !endScan2 576074
set !scanStart3 1051755
set !endScan3 1053844
set !scanStart4 1070608
set !endScan4 4368697
set !scanStart5
set !endScan5
set !scanLow1 1
set !scanHigh1 5
set !scanLow2 6
set !scanHigh2 17
set !scanLow3 18
set !scanHigh3 26
set !scanLow4 27
set !scanHigh4 35
set !scanLow5 36
set !scanHigh5 42
NO icons on buffbar:
OLD: 395 scans in 10s. Avg. scan time: 25ms.
NEW: 669 scans in 10s. Avg. scan time: 14ms.
NEW: 899 scans in 10s. Avg. scan time: 11ms. (kinda wierd...)
# of savepix 1: 1798 in 10s avg.
# of savepix 2: 0 (second scan makes sense now and the speed...)
1 icon on buffbar:
OLD: 390 scans in 10s. Avg. scan time: 25ms.
NEW: 585 scans in 10s. Avg. scan time: 17ms. Bar in black area.
NEW: 532 scans in 10s. Avg. scan time: 18ms. Bar in game window.
Note: Scans sometimes drastically slower with bar in game area.
# of savepix 1: 5364 in 10s avg.
# of savepix 2: 1788 in 10s avg.
Multiple icons on bar in "real world" configuration.
prot, reac, night sight, bless, corpse, reflect, clumsy, invis
OLD: 160 scans in 10s. Avg. scan time: 62ms.
NEW: 263 scans in 10s. Avg. scan time: 38ms. Bar in black area.
NEW: 258 scans in 10s. Avg. scan time: 38ms. Bar in game window.
# of savepix 1: 3980 in 10s avg.
# of savepix 2: 5771 in 10s avg.
With one icon:
722 scans in 10s. Avg. scan time: 13ms.
# of savepix 1: 7220 in 10s.
# of savepix 2: 2166 in 10s.
With 11 icons on bar:
invis, weaken, clumsy, feeble, curse, corpse, reflect, strength, reac armor, protect, night sight
239 scans in 10s. Avg. scan time 41ms.
# of savepix 1: 3585
# of savepix 2: 8365
EN - Outstanding - thanks
Twinkle McNugget - So was it both resolution and depth (16 vs 32) or is one more important than the other?
Thanks
Well thats disappointing... After much work and loading full icon details (every pixel) into a mega array in OpenEUO. I find their are 7 unique locations where every icon has a different pixel color... Sadly though when i add in color tolerance of +/- 1024 for variations in color displays... their are 0 unique spots. The most tolerance i can add and still get uniques is +/- 9 which is probably not enough.
That is was alot of work for a disappointing results. I will have to think up some alternate solutions.
Well thats disappointing... After much work and loading full icon details (every pixel) into a mega array in OpenEUO. I find their are 7 unique locations where every icon has a different pixel color... Sadly though when i add in color tolerance of +/- 1024 for variations in color displays... their are 0 unique spots. The most tolerance i can add and still get uniques is +/- 9 which is probably not enough.
That is was alot of work for a disappointing results. I will have to think up some alternate solutions.
You still using 2 pixels? OpenEUO is so much faster, just use 3. :)
EN - Thanks for the update!
Stupid question probably but
can you run EUOX and oEUO at the same time? (two different scripts of course)
Just found a crash using my version of this EN. If you are swapping between clients, and cover up a bar so that it's trying to get focus over and over while pathfinding... instant client close. I'm sure its something to do with opening the gump too quickly for the client to handle while a pathfind is happening. Every time it crashed it was while moving and the bar was covered, and the variable I had set showed it was in the scanbar sub. When I uncovered the bar or ran in 32 bit mode on win7, all was fine, not a single crash in hours of gameplay. This is using the EUO version of my bar, but I'm sure it probly applies to all. I'll test oeuo next. :)
Repeat
event macro 57
wait 1
Until #Contname = BuffIcons_Gump
Call ScanBuffBar ; Presumes file is in same location as euo
SETUOTITLE %BuffBarCalls : %BuffBarTime : %BuffBarScanMethod - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames
wait 1
if #charposx <= 1000
event pathfind 1010 537 -70
if #charposx >= 1010
event pathfind 1000 537 -70
wait 1
About the client not logged in thing, I'm dealing with a ton of that now, I have to gracefully handle a client crash for all other clients in my scripts, so I'm adding a lot of protections against swapping to a client that's not there anymore. :) The real problem is if the client that started the script craps out on you. heh Then you're in trouble.
This latest version closes my buff bar.
This latest version closes my buff bar.
Repeat
Call ScanBuffBar DOWN
set %Divine _DivineFury_ in %BuffBarIconNames
gosub divineFury
Call ScanBuffBar DOWN
set %EOO _EnemyOfOne_ in %BuffBarIconNames
gosub enemyOfOne
wait 5
until #true = #false
sub divineFury
if %Divine
{
return
}
else
event macro 15 205
wait 30
return
sub enemyOfOne
if %EOO
{
return
}
else
event macro 15 206
wait 30
return
Code: [Select]Repeat
Call ScanBuffBar DOWN
set %Divine _DivineFury_ in %BuffBarIconNames
gosub divineFury
Call ScanBuffBar DOWN
set %EOO _EnemyOfOne_ in %BuffBarIconNames
gosub enemyOfOne
wait 5
until #true = #false
Can you set the direction like that constantly? I just do it right, and it just "works" when I call it, but I use my own that I wrote. I have no idea what I'm talking about, don't listen to me. :) I thought you called a direction, then just called the scanner...
call scanbuffbar down
repeat
call scanbuffbar
until whatever = whenever
I will retest all this functionality again monday. Thanks for the further feedback.
for %x 1 1000
{
call scanbuffbar
SETUOTITLE %BuffBarCalls : %BuffBarTime : %BuffBarScanMethod - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames
wait 1
}
halt
While #Contname <> BuffIcons_Gump || !BuffWait >= 1 || #CliLogged <> 0
While #Contname <> BuffIcons_Gump && !BuffWait >= 1 && #CliLogged <> 0
The buffbar subs rely on OCR if the bar is covered it attempts to reopen the bar, if OCR fails after reopening, it exits .. it will try again next time its called. you can cover it up and uncover it as many times as you want the only issue should be that you get 0 icons found when its covered.
I will retest all this functionality again monday. Thanks for the further feedback.
Repeat
event macro 57
wait 1
Until #Contname = BuffIcons_Gump
set !BuffAttempts 2
Repeat
set !BuffAttempts !BuffAttempts - 1
event macro 57
set !BuffWait 10
While #Contname <> BuffIcons_Gump && !BuffWait >= 1 && #CliLogged <> 0
{
set !BuffWait !BuffWait - 1
wait 1
}
Until #Contname = BuffIcons_Gump || !BuffAttemps <= 0 || #CliLogged = 0
if #Contname <> BuffIcons_Gump
set %BuffBarOpened NO
Working solid, thanks for checking it!
Hey, I haven't actually coded this into a script yet, but I'm assuming you're doing the bar in basically the same manner as the euo version. It should be possible to detect if the gump has moved using UO.GetCont and be able to tell if the bar is just covered and hasn't moved. Get my drift? :) That way if you cover the bar while you're moving it doesn't try to reopen over and over until it's uncovered. if pixels not detected by bar in same spot... = covered. If pixels not detected and bar moved... reopen. Eliminate some movement crashes that way. I'm going to add that to my version, will eliminate movement based crashes when trying to reopen the buff gump and moving. Unless the bar moves of course, then it will try to reopen no matter what. Movement detection would be a little more touch to add, but thats the scripters responsibility.
Ah I getcha. I haven't worked with gumps much yet in oeuo. Its definately a new thought process. :)
oooooo new icons.... in back from my Europe trip in a week ill take a look at all these additions.
oooooo new icons.... in back from my Europe trip in a week ill take a look at all these additions.
currently, they are only on test but should be live soon
I don't know if it is just me, but _Curse_ isn't being recognized.
Now that bandages have an icon, thoughts on adding it in? Bandaid scripts will be much smoother.
Now that bandages have an icon, thoughts on adding it in? Bandaid scripts will be much smoother.
is that what the misc healing is one post up? i was wondering about that myself. I know that he was working on all the new icons while I was chatting with him last night.
could focusing weapons be what the focus attack is for ninjitsu? I know you were trying to hunt it down.
Can i ask a favor ..... Over at EUO I only need 3 more votes for this script to be Approved. That would be a nice little bonus... so if you haven't cast your vote for this script can you please do so.... here's the link cheers
http://www.easyuo.com/forum/viewtopic.php?p=247583#247583
Well... now that you mention it... not sure if it is a issue in this script or in C2s healer. But, sometimes it does not seem to recognize poison on the buff bar UNLESS you actually click the buff bar. What happens is, get poisoned, call scan buff bar with C2s script, does not notice you are poisoned. Wait for another cycle to see if it recognizes that your poisoned, no luck. Single left click the buff bar, IMMEDIATELY chugs a cure. Will sometimes work ok after that, sometimes will not.
I also noticed that using this version of the scanbuffbar does not "flash" the buff bar when scanned like previous versions did. Not sure if this is intended or if maybe this is part of the problem above.
Other than that, seems to work great.
JaF
it only flashes when the buff bar changes or the container changes that is targeted.
i did notice that poison was flaky occasionally. it isnt the pvp script as that just reads yes it is in buff bar or no it is not in buff bar and reacts. is there a chance that it is due to an initial failure cure. the pvp script should continue to cure until it goes away on the buff bar
I am running the bar like _| . Long bar up with the icons on the left of the long bar and stacking from bottom to top.
JaF
I am running the bar like _| . Long bar up with the icons on the left of the long bar and stacking from bottom to top.
JaF
UP position i call that as icons are going up from the small blue button.
Can you test with the bar either in reverse DOWN facing or RIGHT facing (small blue button on the left .. icons going from left-right) to see if you get the same issue ?
I am running the bar like _| . Long bar up with the icons on the left of the long bar and stacking from bottom to top.
JaF
UP position i call that as icons are going up from the small blue button.
Can you test with the bar either in reverse DOWN facing or RIGHT facing (small blue button on the left .. icons going from left-right) to see if you get the same issue ?
Just tested with the bar in Right facing positon. Works every time without flaw. However Left facing position does not seem to work unless I left click the status bar. Up position does not seem to work unless I click the status bar. Down facing position works every time without flaw.
JaF
WOW This works just amazing! AMAZING -- AMAZING -- JOB!
Sorry for the delay EN... Works like a charm now. No issues!!
Thank you for the hard work!
JaF
I'm going to start using this in a script. Thanks for the awesome tool!
I have the urge to run the SUO auto indent on it. heheheh
Have you done a speed analysis of this new version compared to your previous versions?
Hey EN, when was your buffbar scanner approved on EUO?
I started tinkering around with this in a small sub script to keep my character from being Necro'd to Death in Bedlam.. the script pretty much loops in 10 lines real fast... would this bog up your scanner by looping to fast? should I be putting in a delay when it scans... the reason I ask sometimes I'll notice that I'm hit with a specific spell and I haven't casted Remove Curse, it could be on my end.. I haven't done to much debugging to figure it out yet...
Does this get dorked up if you go into screen saver/screen sleep mode?
Eagerly waiting for an update!
Anything we can do to help speed up the process of getting all the new icons identified?
Thanks! I'm always happy to help!
My issue was not that it wasn't casting Consecrate Wep, it's that it was spamming it, so my thought was that it wasn't detecting it properly. I'll try it again with a different character to see what happens. Also, I'll add in the Strength/Agility stuff and update the script. I appreciate your help and feedback on it! Thanks again for a great script!
I've been doing a little bit of testing
it seems if I have Vamp form up, and Protection at the same time the script will spam over and over, concencrate weapon, it doesn't update the 4th icon for some reason.
i want to test if i can print out the Gumps with Stealth as bmp. So you could use it maybe:)
this is hard to explain...
Normally I run Vamp Form and Protection up
thats Vampiric Embrace, Poison Immunity, and Protection.
if I put up Concencrate Weapon, then EEO, EEO will Spam over and over.
or if EEO is up, then Concencrate weapon will spam over and over..
I'm starting to wounder if my Monitor Resolution has anything to do with this?
my screen is stretched out a little bit...
what Resolution is this programed for?
would my screen resolution be effecting this at all?
];================================================
Sub Check_Buff_Bar
Call ScanBuffBar
If ( #Mana >= 20 ) && ( _EnemyOfOne_ Notin %BuffBarIconNames ) && ( _Paralyze_ Notin %BuffBarIconNames ) && ( %Cast_Wait_Timer <= #sCnt2 )
{
Event Macro 15 206 ; cast Enemy of One
Set %Cast_Wait_Timer #sCnt2 + 25
}
If ( #Mana >= 10 ) && ( _ConsecrateWeapon_ Notin %BuffBarIconNames ) && ( _Paralyze_ Notin %BuffBarIconNames ) && ( %Cast_Wait_Timer <= #sCnt2 )
{
Event Macro 15 203 ; cast Consecrate Weapon
Set %Cast_Wait_Timer #sCnt2 + 25
}
Event Sysmessage %BuffBarIconNames
Return
;===============================================
Having some spare time lately looking at updating a few scripts to use your buff bar scanner. Below is the sub that is having some issues.Code: [Select]];================================================
Sub Check_Buff_Bar
Call ScanBuffBar
If ( #Mana >= 20 ) && ( _EnemyOfOne_ Notin %BuffBarIconNames ) && ( _Paralyze_ Notin %BuffBarIconNames ) && ( %Cast_Wait_Timer <= #sCnt2 )
{
Event Macro 15 206 ; cast Enemy of One
Set %Cast_Wait_Timer #sCnt2 + 25
}
If ( #Mana >= 10 ) && ( _ConsecrateWeapon_ Notin %BuffBarIconNames ) && ( _Paralyze_ Notin %BuffBarIconNames ) && ( %Cast_Wait_Timer <= #sCnt2 )
{
Event Macro 15 203 ; cast Consecrate Weapon
Set %Cast_Wait_Timer #sCnt2 + 25
}
Event Sysmessage %BuffBarIconNames
Return
;===============================================
Its a basic sub to check for EoO and Consecrate Weapon and works most of the time but some times it spams casting both as if it is not seen in the buffbar. I have read this problem in other posts also. Ive added an Event Sysmessage and have determined why the failure happens. When everything works i have three icons listed in the buffbar. Protection/EoO/CW in the first three icon slots. But every once and a while the location of the icons for EoO and CW will change. For example I would have Protection/EoO/blank icon spot/CW in the buffbar. The third slot were CW was would be blank and CW icon now moved to the fourth slot thus spamming EoO and would not show in the Event Sysmessage %BuffBarIconNames until it returned back to the third spot. Does this make sense?! It seems my script or UO is causing the location of the icons to some times change which i never seen before.
Any help would be appreciated or can send pics of the buffbar if needed!
I was saddened when I discovered the Special Move "Enchant" was not in the list. So I looked for "Moving Shot" and it's not there either... Are none of the weapon specials covered?
I was watching a youtube video, and this guy was on the EC client, and I noticed numbers down by his status bar, now I don't know if this is an add-on or not... but this would be a cool addition if we could simulate this..
Has anyone using Vista successfully made the buffbar scanner work? Won't see to call no matter what filepath I have the sub in...
Nothing cosmic here:
gosub Check_Buff_Bar
Sub Check_Buff_Bar
Call ScanBuffBar
If ( #Mana >= 20 ) && ( _EnemyOfOne_ Notin %BuffBarIconNames ) && ( _Paralyze_ Notin %BuffBarIconNames ) && ( %Cast_Wait_Timer <= #sCnt2 )
{
Event Macro 15 206 ; cast Enemy of One
Set %Cast_Wait_Timer #sCnt2 + 25
}
return
Any chance to get the "City Trade Deal" buff added? I activated it on my sampire tonight and it broke all the scripts that relied on the buffbar scanner.
Any chance to get the "City Trade Deal" buff added? I activated it on my sampire tonight and it broke all the scripts that relied on the buffbar scanner.
I havent played in a while I might your help getting this icon, what exactly is it ....
Any chance to get the "City Trade Deal" buff added? I activated it on my sampire tonight and it broke all the scripts that relied on the buffbar scanner.
I havent played in a while I might your help getting this icon, what exactly is it ....
Scroll down to the city buffs and you will see the buff icon, it is small but might help. http://uo2.stratics.com/essays-and-guides/in-game-systems/britannia-loyalty-councils/
Any chance to get the "City Trade Deal" buff added? I activated it on my sampire tonight and it broke all the scripts that relied on the buffbar scanner.
I havent played in a while I might your help getting this icon, what exactly is it ....
Scroll down to the city buffs and you will see the buff icon, it is small but might help. http://uo2.stratics.com/essays-and-guides/in-game-systems/britannia-loyalty-councils/
Nice thanks...
I would love to help capturing the data. not just sure were to look to get those number. Going to need some help
Call ScanBuffBar ; Presumes file is in same location as euo
setuotitle %BuffBarCalls - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames - %BuffBarDebug
Thx. Trying v40b right now and will try to get some number.
EoE still not working properly on my sammy with this version 40b. EoE is the third icons.
Call ScanBuffBar ; Presumes file is in same location as euo
display ok Give EN: %BuffBarDebug
OK up and running again... fixed one broken script today .. now to look at this one.... and see whats going on .. are thier new buffs with all these recent patches....
I can, what are the monsters that need to be check?
the turtle spawn, shadowguard roof anything else?
...
The two totally missing from my definitions are:
http://www.uoguide.com/Howl_Of_Cacophony
Falling Walls (cannot rember what that is from)
...
... I will be publishing a new version shortly that will have a method for collecting the information...
i think it's from the runed sash of warding (Weapon Damage Ward version)
icon tip:
Protective ward
Type: Weapon Damage Ward
Time Left: 10 seconds
http://www.uoguide.com/Runed_Sash_of_Warding (http://www.uoguide.com/Runed_Sash_of_Warding)
not sure but it's the only "weapon ward" in my mind right now.
top:
if #hits < 90
{
call scanbuffbar
if _Healing_ in %BuffBarIconNames
{
msg healing$
wait 10
goto top
}
event macro 58
wait 20
}
goto top
It will run fine on the first pass but if I damage myself again it seems to not detect the healing icon any longer. It will simply try to bandage me over and over. What am I doing wrong here? I feel like monitoring bandage status via buffbar is by far the most reliable method I just seem to be hung up on this.
set %RevCur _CurseBloodOath_ in %BuffBarIconNames || _Strangle_ in %BuffBarIconNames
if ( %removecurse = #true ) && ( %RevCur = #false ) && ( #mana > 20 ) && ( %timer_removecurse < #scnt )
gosub removecurse
Will had to test this ASAP.
Wonder if EoE will work on Lame3.0 now
Thx
Will had to test this ASAP.
Wonder if EoE will work on Lame3.0 now
Thx
i should let know if it doesnt
Will had to test this ASAP.
Wonder if EoE will work on Lame3.0 now
Thx
i should let know if it doesnt
After 2 YEARS of waiting, it Works ! Thanks much for updates =)
Will had to test this ASAP.
Wonder if EoE will work on Lame3.0 now
Thx
i should let know if it doesnt
Hmm mine doesn't work. all my files are in a folder on the c drive easyuo. does anyone know if this could be because i have windows 10?
After 2 YEARS of waiting, it Works ! Thanks much for updates =)
repeat
call scanbuffbar
if _CurseWeapon_ notin %BuffBarIconNames
{
event macro 15 104
; below waits are to give time for spell to finish casting and buff to load so dont repeat try to caste.
wait 5
While #charstatus = A ; casting spell
wait 1
wait 2 ; time needed for buff to be added
}
until #charghost =yes
Halt
Hello EN i love your scripts!
I dont know if its only me but when i hit any key in my keyboard the buff bar closes and script call it again, and when this happen the script assumes that the spells are gone and cast again. Anyone else having this problem?
EN,
quick question, is this suppose to be working. or do I need to seperate them.Code: [Select]set %RevCur _CurseBloodOath_ in %BuffBarIconNames || _Strangle_ in %BuffBarIconNames
if ( %removecurse = #true ) && ( %RevCur = #false ) && ( #mana > 20 ) && ( %timer_removecurse < #scnt )
gosub removecurse
set %RevCur ( _CurseBloodOath_ in %BuffBarIconNames || _Strangle_ in %BuffBarIconNames )
if ( %removecurse = #true ) && ( %RevCur = #false ) && ( #mana > 20 ) && ( %timer_removecurse < #scnt2 )
gosub removecurse
I would love to help capturing the data. not just sure were to look to get those number. Going to need some helpCode: [Select]Call ScanBuffBar ; Presumes file is in same location as euo
setuotitle %BuffBarCalls - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames - %BuffBarDebug
Call ScanBuffBar ; Presumes file is in same location as euo
setuotitle %BuffBarCalls - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound - %BuffBarIconNames - %BuffBarDebug
hey there en was wondering is this able to be ran independently or does it have to be ran in a script. everytime i try and run it all it does is takes my buff bar and makes it do circles all over my page. i am just wanting to know when im blood oathed so i can tab out.
EN i read that but i was using lame 3.0 and it supposably has a built in one from reading the script. i put all the files along with euo.exe in the same folder but nothing is happening. maybe i will set it up to the way you have it in the first post and see how that works.
At the risk of sounding simple ....
I also have the buff bar and icons spinning crazy ...
I have all 3 items/files in the same dir - euo.exe - scanbuffbar.txt - ScanBuffBar-Subs.txt
I have read most this 18page thread ... and now I give up and ask for help, cause Im truly stuck.
Can you describe the problem you are having... I am unsure of what you mean by icons spinning crazy.
At the risk of sounding simple ....
I also have the buff bar and icons spinning crazy ...
I have all 3 items/files in the same dir - euo.exe - scanbuffbar.txt - ScanBuffBar-Subs.txt
I have read most this 18page thread ... and now I give up and ask for help, cause Im truly stuck.
call scanbuffbar.txt
display ok these are the %Buffbariconsfound icons that are on the buffbar: %Buffbariconnames
; test buffbar script x300000
for !pp 1 300000
{
call ScanBuffBar
setuotitle %BuffBarCalls : %BuffBar2ndScan : %BuffBarSubsCalls - BAR: %BuffbarDirection - Icons: %BuffBarIconsFound : %BuffBarIconsCount - %BuffBarIconNames
}
halt
Here the new icon
gosub AddICon SpecialAttack #false Howl_Of_Cacophony.gif 4881333 12447727 HowlOfCacophony
I tested tonight and it detect the icon. Enjoy