EQ2 Issue

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
Mysteryman
GamingTools Subscriber
Posts: 33
Joined: Sat Jul 09, 2005 1:21 pm

EQ2 Issue

Post by Mysteryman » Mon Oct 09, 2006 2:16 pm

Inside of EQ2.


I press Left or "num 4" for left....

Press -hold "num 4"
wait...
press -release "num 4" works great.


However I'm reading that I can add other keys to mix on that same line.

if i hold down ctrl + num 4, i move left instead of turning left.

The following code just spins me .... is it me or innerspace. It's like the Ctrl is being ignored.

press -hold "ctrl+num 4"
wait...
press -release "ctrl+num 4"

Mysteryman
GamingTools Subscriber
Posts: 33
Joined: Sat Jul 09, 2005 1:21 pm

Post by Mysteryman » Mon Oct 09, 2006 7:07 pm

While I'm at it....

HUDGroups.

I can list them, hid / show etc.. no problem.

I can add a hud item to the screen etc...

Where do you define what group a hud element belongs to?

Unchayned
GamingTools Subscriber
Posts: 51
Joined: Sat Oct 09, 2004 9:22 am

Post by Unchayned » Tue Oct 10, 2006 11:10 am

I had the same issue with HUDGroups, seems the only way to define the groups themselves is through XML. Probably just a command left out or undocumented.

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Tue Oct 10, 2006 4:36 pm

You don't use a command, you use a method of the lguihudelement object. All HUD elements are simply a LavishGUI element.
http://www.lavishsoft.com/wiki/index.ph ... ta_Type%29

The examples there are outdated, there's no need to use FindChild (editing the examples now), but for example:
UIElement[fps@main hud]:SetGroup[New FPS Group]

Mysteryman
GamingTools Subscriber
Posts: 33
Joined: Sat Jul 09, 2005 1:21 pm

Post by Mysteryman » Wed Oct 11, 2006 7:19 pm

Works like a champ ( the HUDGroup issue ). Thanks.


Any word on the multiple key press with Ctrl modifier?

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Thu Oct 12, 2006 7:44 am

Any word on the multiple key press with Ctrl modifier?
I will look into the ctrl emulation issue with EQ2 when I get a chance

MacroMage
GamingTools Subscriber
Posts: 7
Joined: Thu Jun 22, 2006 9:03 am

Post by MacroMage » Thu Oct 12, 2006 8:14 am

I had similar problems with wowpress in ISXWOW.

Converted all my scripts to use Keyboard:Press, Keyboard:Hold, etc... problems went away.

Just have to be careful with chat input :) Anyone know a Lua call to tell if chat input is open so that I can put a wrapper around Keyboard ?

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Thu Oct 12, 2006 8:27 am

MacroMage wrote:I had similar problems with wowpress in ISXWOW.

Converted all my scripts to use Keyboard:Press, Keyboard:Hold, etc... problems went away.
WoWPress executes an action in WoW, it doesnt press a key. So you wouldnt use it to press ctrl anyway. You would use it to jump, as opposed to pressing space. He's talking about Press, which is the same as Keyboard:Press.
Anyone know a Lua call to tell if chat input is open so that I can put a wrapper around Keyboard ?
This question should REALLY be asked on ismods.com in the WoW script development forum. Most people who would know the answer don't read this forum.

MacroMage
GamingTools Subscriber
Posts: 7
Joined: Thu Jun 22, 2006 9:03 am

Post by MacroMage » Thu Oct 12, 2006 9:39 am

Lax wrote:WoWPress executes an action in WoW, it doesnt press a key. So you wouldnt use it to press ctrl anyway. You would use it to jump, as opposed to pressing space. He's talking about Press, which is the same as Keyboard:Press.?
In Wow, my mapping for turn right is E, and for strafe right is Ctrl+E.

scripts that would call wowpress turnright, but never call strafe would end up strafing... To me, that is a similar problem.

I "think" it had something to do with world load when the key state was pressed, but could never reproduce it on demand. Almost as if ctrl, shift, etc were all pressed during load, but not release until the next wowpress is called.

Regardless, Using Keyboard such as:

Keyboard:Hold[ctrl]
Keyboard:Hold[4]
Keyboard:Release[4]
Keyboard:Release[ctrl]

will in my experience produce the results you are looking for without the "odd" behavior.

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Thu Oct 12, 2006 9:54 am

In Wow, my mapping for turn right is E, and for strafe right is Ctrl+E.

scripts that would call wowpress turnright, but never call strafe would end up strafing... To me, that is a similar problem.

I "think" it had something to do with world load when the key state was pressed, but could never reproduce it on demand. Almost as if ctrl, shift, etc were all pressed during load, but not release until the next wowpress is called.
But if you do "wowpress straferight" or whatever it is, it's not pressing CTRL+E, it does what CTRL+E does, which is straferight. That's all I'm saying. If you're talking strictly about movement, you can use the move command ISXWoW gives you.

Post Reply