taultunleashed logoEQ2Extreme with Exhume : EverQuest 2 Premium Discussions - Page 7
newtopic  postreply
 [ 252 posts ]  Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 17  Next
blue large dot

EQ2Extreme with Exhume : EverQuest 2 Premium Discussions - Page 7

Posted: October 27th, 2007, 12:26 pm
 
gheezer
gheezer's Reps:
User avatar
Hey Beowulf...I finally found your problem :)

It is a very short "Trauma (Cannot be cured)" effect. Although the filter flag says TEXT and the valid flag is true, the text field is actually empty.

I guess that makes sense, because no number is displayed on the non-curable trauma icons.

Took me a while to find the right mobs and then it took me a while to figure out which effect was triggered. The effect only seems to last about 1 second and I would miss it.


Reply with quote
Posted: November 17th, 2007, 7:05 pm
 
derdle2
derdle2's Reps:
User avatar
Not sure how or why the latest updates to EQ would have affected this....but I am having an issue where as the following code to send control keys is being very inconsistent as to if it will work or not....

I have some code to send ctrl-1, ctrl-2, etc. as I have things set to those keys in my hotbar that need executed...some work, and some don't - and it "seems" (have not proven FOR SURE) that the downkey/upkey is the problem, as the number key in between seems to be executing OK.

Here's what I am doing...and what was working perfectly prior to the latest EQII updates. Any ideas?

Sleep 100
keydown(vk_lcontrol)
Sleep 100
SendKeys("2")
Sleep 100
keyup(vk_lcontrol)
Sleep 600

I've tried extending the sleep following the keydown, but that hasn't helped.

On a seperate note- another question- how can I sent "Alt"? I don't see a keydown option to use alt- like we're doing for control above?

Thanks for a great app and all the hard work


Reply with quote
Posted: November 17th, 2007, 7:07 pm
 
derdle2
derdle2's Reps:
User avatar
Oh, also, have been trying to check gforge for an update (hoping there was one to fix my issue) but have been unable to connect.... =( Maybe just me, but it's been some time, and have not had the issue before.


Reply with quote
Posted: November 17th, 2007, 7:45 pm
 
gheezer
gheezer's Reps:
User avatar
Not sure why the key functions aren't working for you, maybe check the Exhume forum. I should have an update out tonight that will let you query position and other information about EQ2 UI objects.

GForge isn't responding, so I may have to post the update in the confirmed thread.

Hope that helps :)


Reply with quote
Posted: November 17th, 2007, 7:46 pm
 
derdle2
derdle2's Reps:
User avatar
OK- nevermind about the sending control problem... I've found that it has to do with state of the crafting window....although it is still a problem and maybe someone can suggest a better fix that what I have.

Problem is, with the new interface, if the crafting window is open from having just crafted an item, or having cancelled a previous craft where the six reaction icons at the bottom of the new crafting window are still up- for whatever reason, the "control" is not accepted - it just takes the number like you are trying to execute the associated reaction. Thusly, control 1,2,3,4,5, 6 will not work if the window is open. I can't even do it manually as I get the same result - it attempts to process the numbered reaction instead of sending my control-key command.

....so, right now, I am having to close the crafting window before each control-key execution I need to make...which is a little bit of a pain.

Any thoughts or ideas?

....still need to know how to send an "Alt" key simliar to how we're doing control too.... =)

Thanks


Reply with quote
Posted: November 17th, 2007, 8:37 pm
 
gheezer
gheezer's Reps:
User avatar
I think you have to make the tradeskill window lose focus before the normal hotkeys will work again.

As an alternative, you can use the new UI function in EQ2Extreme and simulate mouse clicks instead of hotkeys:

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Sub ClickCreateButton
Dim oCreate

    Set oCreate = EQ.GetUIObject("root._HUD.TradeSkills.Recipes.CreateButton", false)
    LClickEQObject oCreate
End Sub

Sub LClickEQObject(oObject)
Dim X
Dim Y

    X = oObject.ScreenLeft + oObject.Width / 2
    Y = oObject.ScreenTop + oObject.Height / 2

    LMouseClick ClientToScreenX(EQ.Hwnd, X), ClientToScreenY(EQ.Hwnd, Y), 1, 1
End Sub


Reply with quote
Posted: November 17th, 2007, 8:51 pm
 
derdle2
derdle2's Reps:
User avatar
Well, I hate to be a pain, but I do want to understand so I can have the knowledge/potential to use this in the future - so...what exactly would your example do?? Can you break it down for me to exactly what it's doing? Your not really "simulating" mouse clicks...your actually performing clicks at a given location? That right?
If that's the case- would not using hot-keys be a better method as they would work regardless of the location of the hotbar.... With clicks, you'd have to change this if the hotbar was in a different location (i.e. maybe for each user)....although maybe I am not understanding fully what I see. I've not gotten too far into off-sets and calculating locations, etc. ...so maybe that's dynamic and solves that problem based on the HUD being referenced?

I just want to be a better programmer and hopefully contribute something of value...so hopefully you can bear with me... :)


Reply with quote
Posted: November 18th, 2007, 6:17 am
 
gheezer
gheezer's Reps:
User avatar
The example gets the position of the button dynamically:

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
Sub ClickCreateButton
Dim oCreate
    'Query the EQ UI and return a reference to the create button, do not return children
    Set oCreate = EQ.GetUIObject("root._HUD.TradeSkills.Recipes.CreateButton", false)

    'Call the function below to left click the object
    LClickEQObject oCreate
End Sub

'Method to translate between EQ client coordinates and Screen coordinates
'  and to move and click the mouse on the passed object
Sub LClickEQObject(oObject)
Dim X
Dim Y

    'Calculate the center of the object in EQ Client coordinates
    X = oObject.ScreenLeft + oObject.Width / 2
    Y = oObject.ScreenTop + oObject.Height / 2

    'Call the Exhume functions to convert to screen coordinates and
    '  to move and click the mouse
    LMouseClick ClientToScreenX(EQ.Hwnd, X), ClientToScreenY(EQ.Hwnd, Y), 1, 1
End Sub


Reply with quote
Posted: November 18th, 2007, 6:52 am
 
derdle2
derdle2's Reps:
User avatar
Excellent... This is a much better option. Tell me, how can I know which objects (the names of them such as root._HUD.TradeSkills.Recipes.CreateButton) are available for use/reference like this? Seems like this can be done for just about any UI piece, which is awesome....but how do I know what the objects are called? Is there some place to look with-in each HUD or something to get a list of objects available for it?

Oh, and still curious how you send and "Alt"- like we are doing a control....as I can still see needs for the hotkeys in some places.


Reply with quote
Posted: November 18th, 2007, 7:11 am
 
gheezer
gheezer's Reps:
User avatar
You can use the TestEQ2Extreme.exe tool to explore the objects.

You will have to look at the Exhume documentation for the key functions. I am not usre how to send alt/ctrl key combintations.


Reply with quote
Posted: November 19th, 2007, 8:51 am
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
using SentKeys in the exhume api:

+ = shift
% = alt
^ = control

so SendKeys("^{F1}") will press CTRL-F1, etc.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: November 19th, 2007, 11:55 am
 
newbsnacks
newbsnacks's Reps:
User avatar
How does this program work with other scripts? For instance, I installed and ran this (while in EQ2). Then I try to run the harvester v5.0 and get some errors and it wont load. Should I be doing something from Exhume that is loaded to load the script, instead of clicking on the ext?

Thanks!


Reply with quote
Posted: November 19th, 2007, 12:15 pm
 
derdle2
derdle2's Reps:
User avatar
wyvernx (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
using SentKeys in the exhume api:

+ = shift
% = alt
^ = control

so SendKeys("^{F1}") will press CTRL-F1, etc.



Thanks Wyvernx! This helps me a lot...and this is much easier than using the virtual keys and having to do the "keydown"/"keyup". I did search for this info (and looked in the documentation) but I didn't see it anywhere. Sorry if it's there and I missed it....but thanks again for following up.


Reply with quote
Posted: November 19th, 2007, 1:21 pm
 
derdle2
derdle2's Reps:
User avatar
Gheezer (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
You can use the TestEQ2Extreme.exe tool to explore the objects.

You will have to look at the Exhume documentation for the key functions. I am not usre how to send alt/ctrl key combintations.


Absolutely Awesome! Thanks Gheezer!

...now, on to another question... lol. I'm away from my home location where I normally am putting things together, and I just installed Exhume and EQ2Extreme on a system that I am at frequently (at work...don't tell my boss) - I loaded an application that I'm working on, and which doesn't have any problem on my machine at home - but when I am running in on this fresh install, the following code, generates the error below.... What am I missing? What did I forget to do, that this code works on my install at home, but not on this second machine??

Code:

Set MaxPower = EQ.GetDynamicDataItem("GameData.Group.Group_0.MaxPower")

iMaxPower = (MaxPower.Value * (iWaitPowerPercent * .01))

Generates error:

Object doesn't support this property or method: 'MaxPower.Value'

Any thoughts? I want to upgrade my EQ2Extreme at home to the latest version when I get there....but not if it's going to break a bunch of my code.....which I am sure is not the case....I must have just missed something with the new install....but what?

oh, and another quick point of note- both Exhume and EQ2X when they start indicate "Failed to load default application" for whatever reason in the debug window...if that helps diagnose this- although would seem unrelated and a seperate issue.. :?

EDIT/UPDATE: In an attempt to stay current, I went against my better judgement, and I uninstalled my version at home, and then installed the latest version, and I am having this issue there now as well.... Hope it's something simple, and to hear from someone soon on how to fix it. I've been looking around and if the answer is here already, I'm not seeing it. My apologies if I am missing something.

Going to uninstall this latest version and put the old one back...hopefully that will get me working until I hear the fix for this...if not I'm stuck till I do. :(

EDIT/Update-2: Well, now I did it... I uninstalled the latest version, and re-installed the previous hoping to get back to a working copy so I could keep at my projects....but the result of that is now when I try to start that version, I get "Could not create EQ2Service!" error.


EDIT/UPDATE-3: OK- Uninstalled the old version again, and put the new one back....now I am back to the original problem

Code:

Set MaxPower = EQ.GetDynamicDataItem("GameData.Group.Group_0.MaxPower")

iMaxPower = (MaxPower.Value * (iWaitPowerPercent * .01))

Generates error:

Object doesn't support this property or method: 'MaxPower.Value'

Sorry for the growing length of this post....just figured the more detail the better in maybe helping solve this issue- if it's not an easy fix. I'll now sit quitely and wait to hear what to do. :oops:


Reply with quote
Posted: November 19th, 2007, 7:05 pm
 
gheezer
gheezer's Reps:
User avatar
Have you tried looking at the variable with TestEQ2Extreme.exe? The Value property was replaced a few weeks ago in a prior release.

Use TestEQ2Extreme.exe to explore the variables and what values they return.

EQ2DynamicDataItem properties:
Public Property Get Name() As String
Public Property Get Visible() As Boolean
Public Property Get Text() As String
Public Property Get Tooltip() As String
Public Property Get BooleanValue() As Boolean
Public Property Get FloatValue() As Single
Public Property Get LongValue() As Long
Public Property Get Color() As Long
Public Property Get Progress() As Single
Public Property Get Enabled() As Boolean
Public Property Get EventTrigger() As Boolean
Public Property Get Valid() As Boolean
Public Property Get Flags() As String


Last edited by Guest on November 19th, 2007, 7:15 pm, edited 1 time in total.

Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 142 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of EverQuest 2 Premium Discussions RSS Feed 
Sitemap of EverQuest 2 Premium Discussions Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?