Application error with globalbind

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Blazer
GamingTools Subscriber
Posts: 38
Joined: Tue Jul 20, 2004 8:22 am

Application error with globalbind

Post by Blazer » Wed Apr 06, 2005 7:04 am

Running Everquest 2..
Ok i set up a global bind on my 2nd session, i.e

GlobalBind Test ctrl+1 "press 1"

when i press ctrl+1 on my 1st session, i get an application error.
The instruction at blah blah referenced memory at blah blah. The memory could not be "read"
and consequently my 2nd session closes

Hmm am I doing something wrong? do i need to set something up prior.
What is strange tho, if i had the consol up on the 2nd session, the number 1 gets sent to the console and doesnt crash:)

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

Post by Lax » Wed Apr 06, 2005 11:34 am

Nope you're not doing anything wrong, it shouldn't crash from anything so simple ;)

It looks like EQ2 is set up to not accept keyboard input from background sessions. I'll have to make some changes, but I'll have a solution for you by tomorrow

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

Post by Lax » Fri Apr 08, 2005 1:41 am

All fixed, let me know if you run into any further problems

Blazer
GamingTools Subscriber
Posts: 38
Joined: Tue Jul 20, 2004 8:22 am

Globalbind with EQ2

Post by Blazer » Mon Apr 11, 2005 7:52 pm

Was this fixed or are there still issues?

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

Post by Lax » Mon Apr 11, 2005 7:55 pm

All fixed, let me know if you run into any further problems
That would imply yes :)

Blazer
GamingTools Subscriber
Posts: 38
Joined: Tue Jul 20, 2004 8:22 am

Globalbind

Post by Blazer » Mon Apr 11, 2005 8:41 pm

Hrmm, well I am at work atm so cant test it out, but i tried yesterday, and it was not working. Even though it did not crash anymore, the bound key would do nothing. If you had the session with which you bound the key via the console in the forground, it would not do anything either.
I thought this was broken, because of the problems with win32i.

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

Post by Lax » Mon Apr 11, 2005 8:49 pm

Well, I tested it myself and it worked ;) I did an update today (IS 0.83) which also fixes some problems in both Win32I and in global binds, so let me know after you give it a shot with 0.83

Blazer
GamingTools Subscriber
Posts: 38
Joined: Tue Jul 20, 2004 8:22 am

Post by Blazer » Tue Apr 12, 2005 9:44 am

Still doesnt work for me:(
It just doesnt trigger the key in the other window.
Tried to play with it a bit more, so maybe you can tell me why its not working. I did a Globalbind Test 1 "press 7" on my session #3
If i tried pressing the '1' key on session #2 , it does absolutely nothing, on either sessions. If i pressed '1' key on session #3, then it actually presses the 7 instead.
What am i doing wrong?:(

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

Post by Lax » Tue Apr 12, 2005 9:58 am

Well, nothing particularly. EQ2 itself is programmed to ignore any keys if it's not foreground (which is kind of dumb since it wont get non-emulated keys unless it is foreground). You can get around this in IS 0.83 -- in the "Games and Profiles" window, under EverQuest II, Window System, set "Lock Foreground" to ON. Apply changes, and restart EQ2 (or launch it the first time). It should work then :)

Blazer
GamingTools Subscriber
Posts: 38
Joined: Tue Jul 20, 2004 8:22 am

Post by Blazer » Wed Apr 13, 2005 7:51 am

Thanks it works now... BUT.....
The ctrl, shift and alt keys now seem to get stuck. So I have to press them a few times to release that 'pressed' state. Real wierd, and annoying.

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

Post by Lax » Wed Apr 13, 2005 10:36 am

stuck from the press command? hmm.. i'll take a look.

Blazer
GamingTools Subscriber
Posts: 38
Joined: Tue Jul 20, 2004 8:22 am

Post by Blazer » Wed Apr 13, 2005 4:12 pm

Actually its not even from the press command. I havnt done enough tests. It seems it happened because of the locked foreground.
When im switching between sessions, ill just notice the ctrl, alt and shift keys were held down, without me doing anything. This happens without using the globalbound keys i set. It happens all the time.

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

Post by Lax » Wed Apr 13, 2005 4:36 pm

Ahhhh, ok. I'll check on that and see what I can do.

Blazer
GamingTools Subscriber
Posts: 38
Joined: Tue Jul 20, 2004 8:22 am

Post by Blazer » Thu Apr 14, 2005 6:48 am

Did some more tests today. Its definately 'Locked Foreground' set to ON, thats causing this problem. If you switch between 2 sessions, then start trying to switch hotkeys with shift/ctrl keys, they are randomly becoming pressed. Well Ill leave it upto you Lax to figure out why:)

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

Post by Lax » Thu Apr 14, 2005 6:12 pm

They shouldnt stick anymore.

I'm slaving away at this trying to get certain things to work with EQ2's input system. For example, correctly binding "alt+1" when you press "ctrl+1". It may work for hotkeys in the game, but it wont correctly work in the chatbox (if you press alt+1 or ctrl+1 in the chatbox manually, it will put a "1". If you press ctrl+alt+1, it puts nothing).

Anyway, for the most part you should be able to use it fine now. Let me know

Post Reply