Forum

Why...

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Why...

Postby Mexicouger » Sun Feb 06, 2011 5:27 am

How come sometimes the player will just start walking forward continuously? Like you will do something, and the player will walk in a direction with no button input.

Is it interelated with the think functions or what is it. And how do you fix?

So far, it is random for me
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby Error » Sun Feb 06, 2011 6:26 am

I've never seen this in action... And Ive used most engines and played most mods... What engine and mod are you using?
User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Postby Mexicouger » Sun Feb 06, 2011 7:13 am

Darkplaces. Doesn't seem to do it as often in Kurok PSP. Does it alot in Darkplaces for me.
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby ceriux » Sun Feb 06, 2011 7:39 am

maybe it's a hardware problem i know sometimes my pc's havnt liked certain mouses and weird things would happen like it would look straight up or down and spin really fast.
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Spirit » Sun Feb 06, 2011 8:55 am

Because...
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1031
Joined: Sat Nov 20, 2004 9:00 pm

Postby leileilol » Sun Feb 06, 2011 12:25 pm

sounds like aliases are shitting on your impulses without -'s like



alias +win "fov 300;+jump;impulse 7;wait;+attack"

........that's it
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby Mexicouger » Sun Feb 06, 2011 7:12 pm

I don't quite understand what you mean leileilol.

I guess I can see a pattern with using impulses. I use an impulse to pick up a weapon, and if I am moving forward(sometimes), I keep moving forward.
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby Lardarse » Sun Feb 06, 2011 10:17 pm

When was the last time you looked at your config files? :-)

leilei knows eir stuff with these things. Check your config files. Make sure that every alias does what it's supposed to. You have a stray +forward somewhere...
Roaming status: Testing and documentation
User avatar
Lardarse
 
Posts: 266
Joined: Sat Nov 05, 2005 1:58 pm
Location: Bristol, UK

Postby Sajt » Mon Feb 07, 2011 2:03 am

Impulses aren't a good thing to use with +/- aliases, because there's only one impulse field and if a keyup impulse happens at a certain time it could be overridden (set to another impulse) before the QC function is called, and it will be as if the keyup event never happened.
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
Sajt
 
Posts: 1215
Joined: Sat Oct 16, 2004 3:39 am

Postby Mexicouger » Mon Feb 07, 2011 2:48 am

Only +forwards I could find are:

bind w "+forward"

bind UPARROW "+forward"

When I commented out bind w "+forward", I instantly started moving automatically. Wierd
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby hondobondo » Mon Feb 07, 2011 3:43 am

i bet either you're keyboard is bad or you have a gamepad plugged in
hondobondo
 
Posts: 207
Joined: Tue Sep 26, 2006 2:48 am

Postby Mexicouger » Mon Feb 07, 2011 6:28 am

My keyboard is just fine. It is the game itself. It does it at times. Definitely not a hardware issue.
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby gnounc » Mon Feb 07, 2011 8:15 am

is your progs.dat standard issue?
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Junrall » Mon Feb 07, 2011 2:39 pm

I've had this happen when my quake window lost the focus to another window... like a firewall window wanting permission to allow quake onto the network.
Good God! You shot my leg off!
User avatar
Junrall
 
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA

Postby Mexicouger » Mon Feb 07, 2011 2:52 pm

gnounc wrote:is your progs.dat standard issue?

Nope, it works fine. Like I said, it doesn't happen in PSP Kurok. Only seems to happen in DP. And Junrall, that also happens to me too, when I switch windows and come back into DP, I will be walking in a direction constantly
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Next

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest