Author
|
Topic: Need help with a key pressing itself
|
Tamtur |
posted 01-12- 04:03 PM CT (US)
HelloRight now I'm just playing with writing a dmod, have a few ideas that I'm kicking around. My problem is when I run my game in debug, it tells me that key-63 is being pressed over and over and over again during the game. I'll have about 20-30 of them in a row. I checked the list of keys and 63 is not on it - it's between 0 and a. Is there any way I can either disable that key in the script or fix it in my computer? Or figure out what's causing it? Dink is also a little twitchy, but I'm not sure if that is my joystick or the "key-63" thing. (When he's supposed to be standing still, he'll switch directions and maybe walk a step or two then go the other way). Thank you for any help you can give me Tamtur
|
Beuc
|
posted 01-13- 04:06 AM CT (US)
Try to use your joystick while playing in any possible way, and see what happened in your debug.txt.Also don't forget to delete debug.txt sometimes, as each time dink is launched, it write at the end of debug.txt (so you have after a while a 100k debug.txt!). I wait for details :) |
Kornelije Petak
|
posted 01-13- 01:32 PM CT (US)
I am not quite sure the point [maybe because my English is not good enough], but does it have something to do with health and numbers pictures. I can't get any transparent color in health and numbers sprites. I write BLACK in Dink.ini and there is no transparent color in that pic. If it is completely black, I should see nothing, but still I see the black rectangle... It annoys me... should we ask Seth for real explanation? J /K |
Tamtur
|
posted 01-13- 02:57 PM CT (US)
I tried to use my joystick every possible way - I have a flight stick with three buttons and a doohicky on the top plus the fire button - and when I press the buttons they doo what they're supposed to (i.e. magic, talk, punch, map) except the doohickey doesn't do anything and nothing shows in the debug file. It's kind of like a thumb joystick on the top of my joystick, I guess for the rudder in flight games. It has dials for calibration and one larger dial that I'm not sure what it's for, but they don't seem to change anything (except where center is on the joystick)My debug.txt is filled with "loading key-63... key-63.c not found" On a different note, I've also been trying to figure out the set_keep_mouse, but apparently have not placed it in the right spot (the directions for it in the tutorial just say "after the game has loaded"), and the mouse doesn't do anything either in debug. I do have sprite 1 with brain 13. Any other parameters important that you know of? Thanks for the help Tamtur |
Kornelije Petak
|
posted 01-14- 06:35 AM CT (US)
Sorry, I posted my post here because of that screwed Netsonic which put me on this page. My last post doesn't belong here so just ignore it. I think that Wyndo as the moderator can delete it. I hope he can and he will. |
Zail
|
posted 01-14- 03:51 PM CT (US)
I think that key-63 is the "?" key. Your keyboard may be causing it. Open up a word processor and shake your keyboard around. See if the shaking causes the "?" to appear. Do you often miss the right shift key when using magic?One way of fooling the computer is to make a key-63.c file and have the following lines in it. void main(void) { } |
Duck
|
posted 01-14- 09:18 PM CT (US)
'fraid not. Wyndo has the freeware version of the UBB (Ultimate Bulletin Board), which I have too, which doesn't allow the pruning of messages (deleting or editing) |
Tamtur
|
posted 01-15- 01:45 PM CT (US)
Thanks for all your help. I still don't know what caused it - it wasn't the ? key, I checked - but when I started working on it today it wasn't pressing the 63 key (and my joystick was still doing the twitch thing, so they aren't related).Thanks again Tamtur |