FranKllr Posted June 28, 2008 Report Posted June 28, 2008 Hi, Ship has 40 directions. Most of the time, when I hit a key to turn left or right, it turn like if I hitted the key twice.With extencive testing, sometimes it even refuse to turn! And 2-3 rotation key after it will double turn... I tried with 4 different ps/2 keyboard, and one wireless usb, same issue. I tried with a different computer, with a ps/2 keyboard and with a wired usb, same result.I talked with my squaddies, and some have that problem too, as I explainned my problem. They just haven't noticed. People don't appear to notice it, and just blame their bad aim. I play in DSB, and there are horizontal/vertical tubes that are ship wide. I have to hit like 3 left + 2 right to get ligned up... freaking silly.In DSB, it do the problem with all ship, and in TW I can tell it does it with the Spider. I am at installing a SS server and trying out old version, Subspace and Continuum... Trying a joystick, if I still have that here. Any suggestions? Anyone can confirm in DSB or TW they do or do not have that problem? Thanks Old post with same problem. Mar 7 2006http://www.ssforum.net/index.php?showtopic...amp;hl=keyboard
Samapico Posted June 28, 2008 Report Posted June 28, 2008 That's not a bug... it's just you not being quick enough on the keyboard Also, the game has 40 directions, but it also stores your 'real' direction... like if you hit the right arrow for a VERY short time, you might do like a half rotation tick (each of the 40 positions are 9 degrees apart, so maybe you do 6.7 degrees or something); so the next time you hit the arrow, it will take less time to 'reach the tick' , and if you hold it slightly longer you'll be in the next tick already. Maybe if your FPS (frames per second; hit esc-F to see) is pretty low, it might be skipping a bit more.DSB ships have a rather quick rotation rate, which is the only reason why it happens more there for you edit: And with a joystick, there seems to be 2 speeds of rotation. If you move the joystick slightly, you'll rotate at half-speed or so. Also, as a reference, a ship like DSB's terrier probably has a rotation speed of 300-350. A speed of 400 means it takes exactly 1 second for the ship to make a full 360 degrees rotation. So at 300, it takes 1,333 seconds to do a full rotation... meaning if you want to rotate only of 1 position (9 degrees), you'd have to hold down the arrow for 1/30th of a second. Anything more than that could make you rotate twice.Sooo... if your FPS is lower than 30 frames per second, there is a good change it skips sometimes
Samapico Posted June 28, 2008 Report Posted June 28, 2008 Really weird that Continuum actually record "real" position when it doesn't show it or use it.There are 2 reasons I can see for this:1- Limitations of the graphics; the graphics include each angle of the ship, the rotations are not generated from one image. So this means that the graphics of each ship shows all 40 angles. Making more than that would make huge files (open ships.bm2 in your graphics folder in Paint if you don't know what I'm talking about). So if it 'shows' only 40 angles, it would be confusing if the ship itself still used the 'real angle'; you'd see your ship graphic perfectly straight, but could not go completly straight.2- Which brings me to #2, it would be impossible to be facing completly straight
Drake7707 Posted June 28, 2008 Report Posted June 28, 2008 2- Which brings me to #2, it would be impossible to be facing completly straight True, we've encountered this problem with Test map function in DCME ( we had to round the real angle to get the correct picture, but we had to keep the real angle for the bomb direction)
FranKllr Posted June 28, 2008 Author Report Posted June 28, 2008 That makes sence Information about keyboard are quite rare. Found something interesting at :http://www.psych.lancs.ac.uk/research/reac...imes/input.html 17ms are gone with a ps/2 or usb keyboard. Rest is gone by the person releasing the key and the key to actually spring back.Atm, I don't know how accurate my mesurement are.
FranKllr Posted July 1, 2008 Author Report Posted July 1, 2008 We will get to the bottom of this From DirectX SDK, I took the C++ DirectInput Keyboard sample. Modified it to poll at every 1ms. And showing the delay between key down/up. Before testing, close other program like music player. Any music player I have on going, will make me break my record, but the average seem higher...31ms appear my lowest. With WinAmp running, VLC, Windows MediaPlayer or ZoomPlayer (all using DirectX). I can get minimum of 21ms...I had similar result with the VB.Net program I made, but this one has much more precision. Please tell me what you got with your keyboard. And if you get lower then me, tell me what keyboard you are using http://members.lycos.co.uk/frankllr/Keyboard/keyboard.zip Make these selectionhttp://members.lycos.co.uk/frankllr/Keyboard/kb1.pngHit keys!http://members.lycos.co.uk/frankllr/Keyboard/kb2.png If images aren't showing, just go to the webpage. http://members.lycos.co.uk/frankllr/Keyboard/
FranKllr Posted July 3, 2008 Author Report Posted July 3, 2008 Bleh, not much talking in here Made a 2nd version.http://members.lycos.co.uk/frankllr/Keyboard/keyboard.zip Showing count by interval, the average of this interval.http://members.lycos.co.uk/frankllr/Keyboard/kb3.png USB polling is 125HZ, so each 8ms precision expected. Unless you have a special driver for your USB device (keyboard, mouse, etc). I have a ps/2 keyboard. Haven't found that is the polling for that yet.
Samapico Posted July 3, 2008 Report Posted July 3, 2008 No offense but... I don't think many people will actually care enough about their keyboard latency to download this thing :/
FranKllr Posted July 4, 2008 Author Report Posted July 4, 2008 (edited) Too bad for me. Will continue my test on my side. Take care. We got Georges Laraque!On as Georges Laraque! Well, last question. Anyone knows at wich frequency Continuum poll input devices? Edited July 4, 2008 by FranKllr
rootbear75 Posted July 5, 2008 Report Posted July 5, 2008 Too bad for me. Will continue my test on my side. Take care. We got Georges Laraque!On as Georges Laraque! Well, last question. Anyone knows at wich frequency Continuum poll input devices?no offense, but for what reason would anyone need to know that?
JoWie Posted July 5, 2008 Report Posted July 5, 2008 A tick in continuum is 10ms. This has to do with many settings and the frequency the server and continuum check their socket for data. So it could be possible it polls the input devices every 10ms to. Here's my keyboard:
FranKllr Posted July 18, 2008 Author Report Posted July 18, 2008 Problem solved. Got a very pricy keyboard, but everything works as advertised. O W N E D, Now I can freaking underturn. LOL http://members.lycos.co.uk/frankllr/Keyboard/kb4.png
rootbear75 Posted July 18, 2008 Report Posted July 18, 2008 (edited) no offense, but that's just sad... buying a pricey keyboard JUST to pwn on a 2D spaceship game... got skillz? nope, i just got a super fantastic expensive keyboard! Edited July 18, 2008 by rootbear75
FranKllr Posted July 18, 2008 Author Report Posted July 18, 2008 Autopilot, hmm you can program macros. You can program a flight pattern... lol Well, not "that" pricy. I bouth a Razer Tarantula, a bit more expencive then the very popular Logitech G15 and about the same price as the Saitek Cyborg. For people who are having overturn problem, if you have a ps/2 keyboard, upgrading to a normal USB keybaord should give you an improvement.Because PS/2 operate at 60Hz (16ms). Anything USB with no driver is at 125Hz (8ms), and Razer keyboards 1000Hz (1ms). As told, problem solved. Let's get offtopic. If I am good or not. Oh well, I got invited to DSB All Star match this season. Zone(s) you playing got those kind of events?And you can see my player card onhttp://matchstats.dsbhosting.com/matchquer...Player&ID=1The match statistic webpage I made for DSB.
rootbear75 Posted July 19, 2008 Report Posted July 19, 2008 (edited) dude, imo, overturning isnt a problem. If you overturn, you eventually get used to it, and you start to automatically compensate. Seriously, its not that big of a problem. On the scale of 1-10 on seriousness, this probably rates a 0 Edited July 19, 2008 by rootbear75
FranKllr Posted July 19, 2008 Author Report Posted July 19, 2008 Lol, oki, enough. Continue entertaing us with fake news, you better at it. Someone just lock this baby up plz.
Recommended Posts