Duke4.net Forums: Strange anomaly in event behavior - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Strange anomaly in event behavior

#1

Edited for simplicity after some discoveries.

The straferight and use events seem to be somehow linked. Any commands executed in the straferight event also appear to be executed in the use event automatically, even though no code has been setup for use.

This post has been edited by wayskobfssae: 24 March 2011 - 07:50 AM

1

User is online   Danukem 

  • Duke Plus Developer

#2

From what you've said, there's no reason to suspect that a game event is misbehaving. I would start by checking to make sure that the use function and turn right function aren't sharing a key.
0

#3

Yeah I thought of that, and they're not. The glitch also only happens while in vehicle mode. On foot, 'use' does not cause strafing.

And I just did a test on a fresh game.con with only the following added:

onevent EVENT_STRAFERIGHT
{
	 sound SQUISHED
}
endevent


Both keys produce the sound, even when I changed the keybind for use.

This post has been edited by wayskobfssae: 23 March 2011 - 09:33 PM

0

User is online   Danukem 

  • Duke Plus Developer

#4

View Postwayskobfssae, on Mar 23 2011, 10:14 PM, said:

And I just did a test on a fresh game.con with only the following added:



Excuse me for being too lazy to test that, but I still think it's a cfg issue. You used a fresh game.con but I'll bet your cfgs were the same.
0

#5

View PostDeeperThought, on Mar 24 2011, 01:49 AM, said:

Excuse me for being too lazy to test that, but I still think it's a cfg issue. You used a fresh game.con but I'll bet your cfgs were the same.


Well I said I'd already tried rebinding the keys to ensure there was no conflict. So I purged the cfg files and let eduke generate new ones, and... the bug is still there.
0

User is online   Danukem 

  • Duke Plus Developer

#6

OK, I tried it, and guess what? When I press STRAFE LEFT, it makes the sound, and when I press OPEN, it does not make the sound. Which is exactly what you would expect if there is no bug.

What keys do you have strafe and open assigned to?
0

User is offline   Wolf 

#7

It was EVENT_STRAFERIGHT, and I tried it just now with a fresh copy of Eduke32.

include DEFS.CON
include USER.CON

onevent EVENT_STRAFERIGHT
soundonce WAR_AMBIENCE6
endevent

Both use and strafing right make the sound. No conflict in .cfgs.
0

User is online   Danukem 

  • Duke Plus Developer

#8

By golly, you are correct! It happens with STRAFERIGHT but not STRAFELEFT. Bizarre.
0

#9

I just found out that the sound also triggers with the mighty foot.
0

User is offline   TerminX 

  • el fundador

  #10

Fixed in r1855...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options