#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-06-21

Timestamps are in GMT/BST.

00:34:00zoomber Quit (Quit: zoomber)
00:39:00watusimoto Quit (Ping timeout: 260 seconds)
01:12:00raptor has joined
01:12:00ChanServ sets mode +o raptor
01:35:00watusimoto has joined
01:37:00raptorhi watusimoto
01:37:00raptori just thought of something
01:37:00raptorKeyCode had an advantage: it put all inputs on an even playing field
01:38:00raptorpassing around the SDL_keysym doesn't include the mouse buttons
02:06:00raptor_ has joined
02:06:00raptor_ Quit (Changing host)
02:06:00raptor_ has joined
02:06:00ChanServ sets mode +o raptor_
02:07:00raptor_ has left
02:07:00raptor Quit (Disconnected by services)
02:07:00raptor has joined
02:07:00ChanServ sets mode +o raptor
02:25:00Flynnn Quit (Quit: This computer has gone to sleep)
02:28:00Flynnn has joined
02:34:00Flynnn Quit (Quit: Leaving)
02:34:00Flynnn has joined
02:43:00[1]watusimoto has joined
02:47:00watusimoto Quit (Ping timeout: 264 seconds)
02:47:00[1]watusimoto is now known as watusimoto
03:56:00raptorwhat is a joystick 'hat' ?
03:57:00sam686not sure, but it is something used for windows winjoystick.. for my logiteck dual action in windows my dpad is a hat..
03:57:00sam686but in linux my dpad is 2 more axis..
04:00:00raptorwhat is meant by positive and negative axis?
04:00:00sam686usually the first axis is left / right and second axs is up / down..
04:01:00sam686axis -1 is left axis +1 is right usually, zero is center..
04:01:00raptorah ok
04:01:00raptormakes sense now
04:02:00sam686since linux axis is -32768 to 32767 (S16) it is converted to F32 -1.0 to 1.0
04:04:00raptorSDL translates everything like -32768 to 32767
04:20:00raptorwatusimoto: did you say you were the one who wrote the KeyCode integration?
04:21:00raptoror was that a holdover from Zap
04:37:00watusimotoah, yes I did
04:37:00watusimotoit was my creation
04:37:00watusimotoevery UI had two (or three?) key handling rountines
04:37:00watusimotokeyCodes were my way to unify them
04:37:00raptordo you remember what zap used before? specifically did it combine mouse and keyboard events into an object or sorts?
04:38:00raptorah ok
04:38:00watusimotono
04:38:00watusimotoit used a similar signature; a key-identifier and an ascii value
04:38:00watusimotowhatever glut uses it replicated, I think
04:39:00raptorbecause now, I'm thinking of creating an enhanced KeyCode object
04:39:00raptorhas three members: InputType, SDLKey, SDLMod
04:40:00watusimotothat's the origin of the "// All key handling now under one roof!" comments
04:40:00raptorInputType is joystick button, keyboard/ etc..
04:40:00raptorSDLKey is the button/key event number
04:40:00watusimotowhy not add ascii to that?
04:40:00raptorok
04:40:00raptorthat too
04:40:00watusimotothat, and unicode
04:40:00watusimotothough we have no use for it currently
04:41:00Flynnn Quit (Quit: This computer has gone to sleep)
04:42:00raptorthe trickery is that SDLKey member
04:42:00raptorit would hold SDLKeys, but also mouse buttons and joystick buttons/ etc.
04:43:00raptori wish i had a joystick...
04:43:00watusimotoso we could leave unicode out for now, and add it in future if we wanted
04:44:00sam686maybe you can get one joystick (gamepad) from a store...
04:44:00watusimotoI got my joystick for 415
04:44:00watusimoto$15
04:44:00raptorall USB, right?
04:45:00watusimotoof course
04:46:00watusimotothis isn't the Atari 2600 era anymore
04:46:00raptormy last experience with joysticks was that port on the side of a sound card...
04:47:00watusimotoah, well, that's pretty out of date experience
04:47:00watusimotoI finally bought a joystick for exactly the same reason
04:50:00raptorwell compiling got me 2063 errors...
04:54:00watusimotoafter tonight, I'll be out of touch until Sunday
04:54:00raptorok
04:54:00raptorwhen is the big move again?
04:54:00watusimotoI'll be reading email
04:54:00watusimotolater
04:55:00watusimotoAugust?
04:55:00watusimotonot sure yet
04:55:00watusimotoI may have my wife's computer, which has no IRc
04:55:00raptoreverything has IRC!
04:56:00raptorlet me show you:
04:56:00raptorgo here: http://blog.naev.org/chat/
04:56:00raptorand change channels :)
04:58:00watusimotomy watch doesn'[t have irc
04:58:00watusimotonor does this chair
04:58:00raptorok you win
04:58:00watusimotoI don't think the air I'm breating has irc
04:58:00watusimotonor that spider walking across the ceiling
04:58:00watusimotoI'd say not everything yet has irc
04:59:00watusimotobut maybe I'll use naev
04:59:00raptorhere's another: http://hedgewars.org/chat
04:59:00watusimoto-on-na has joined
05:00:00raptorhooray!
05:00:00watusimoto-on-naok, well that worked
05:00:00raptorexcellent
05:00:00watusimoto-on-nathough my name was truncated
05:00:00raptorit's a cool python based application
05:00:00raptorthe IRC chat
05:01:00raptori was thinking that adding something like it to bitfighter.org would be good
05:01:00raptorbut... it's python
05:01:00watusimoto-on-na Quit (Client Quit)
05:03:00watusimotoit would be cool
05:03:00watusimotoI wonder how hard it would be to port?
05:03:00watusimotowe only need one channel
05:03:00raptoruh... it uses the python twisted library
05:04:00raptorwhich is supposed to be pretty crazy python code... I haven't really found another alternative
05:16:00sam686did all 65.49.81... servers go lagged out?
05:18:00sam686or maybe it just went slow..
05:18:00raptorcan't connect to the game server^2
05:19:00sam686the servers at 65.49 is very laggy...
05:19:00watusimotolook like evertying is at least up
05:19:00raptor4 out of 12 pings are getting through..
05:21:00sam686it is so laggy i sometimes can't connect to 65.49... when i do connect, i lag in server 65.49..
05:21:00sam686looks like lag stopped..
05:22:00raptoryeah, there's a memory leak somewhere with loading bots..
05:22:00sam686which bot? irc logbot?
05:23:00raptornope, in-game robots
05:23:00raptorall the game servers are using 5-8 MB RAM
05:23:00raptorexcept one: User levels
05:23:00raptorit's using 45
05:23:00raptori'm going to restart the servers
05:25:00raptorok restarted
05:28:00Flynnn has joined
05:35:00Flynnn Quit (Quit: This computer has gone to sleep)
05:38:00Flynnn has joined
06:18:00raptorinteresting: the naev code has only one method to handle all the input commands
06:19:00raptorwe have them throughout the UI code all over the place
06:30:00raptorman... re-architecting an input system is a big job
06:31:00raptorso big it's sending me to sleep...
06:31:00raptorgood nigth
06:33:00raptor Quit (Remote host closed the connection)
06:43:00Flynnn Quit (Quit: This computer has gone to sleep)
07:30:00kodax has joined
08:59:00watusimoto Quit (Ping timeout: 250 seconds)
14:56:00raptor has joined
14:56:00ChanServ sets mode +o raptor
14:59:00Flynnn has joined
14:59:00raptorthis is goofy: http://www.rulesmaster.com/news/view/11
15:23:00Flynnn Quit (Quit: This computer has gone to sleep)
16:35:00Flynnn has joined
16:44:00kodax Quit (Quit: Sto andando via)
17:10:00Flynnn Quit (Quit: Leaving)
17:10:00Flynnn has joined
17:18:00Flynnn Quit (Quit: This computer has gone to sleep)
18:05:00[1]watusimoto has joined
18:05:00[1]watusimotohey there
18:06:00raptorhi
18:06:00[1]watusimotoI was hoping to have it done before I left, but I didn't... so I wanted to share what I know about the fact that everything gets read in as being on team 0 in the editor
18:06:00[1]watusimotoin case you wanted to fix it :-)
18:06:00[1]watusimotoor you can wait until I fix it on Sunday
18:07:00[1]watusimotobut basically, each item is being read in properly, and appears to be assigned to the correct team
18:07:00raptor?
18:07:00[1]watusimotobut something is happening between the time that the item has it's processArguments run on it and the time it's displayed in the editor that's resetting the team to 0
18:08:00[1]watusimotoand the editor appears to think there is only one team, even though two are processed
18:08:00[1]watusimotomy guess is that the editor is reading from one location, and things are being stored in another
18:09:00[1]watusimotook, don't worry about this... I'll fix it when I get back; I just feel bad because the ediro has been out of comission for so long
18:09:00[1]watusimotoediro = editor
18:09:00raptori haven't used the editor much
18:09:00raptori'm floundering in the input system at the moment..
18:09:00[1]watusimoto;-)
18:11:00raptorI think I'm going to have to create structure for the input actions
18:12:00raptorliek fire, move, module 1
18:15:00[1]watusimotowhat do you mean? Why not just pass around the sdl key struct in place of what we're already passing around?
18:15:00raptorbecause we need to take into acount joystick buttons and mouse buttons
18:16:00raptorand put them all on equal ground as an input binding
18:25:00raptor[1]watusimoto: i found this: http://www.sfml-dev.org/
18:26:00raptorc++ based, and supposed to be faster and easier to use than SDL
18:29:00[1]watusimoto Quit (Ping timeout: 250 seconds)
18:29:00watusimoto has joined
18:33:00[1]watusimoto has joined
18:33:00[1]watusimotoand put them all on equal ground as an input binding
18:33:00[1]watusimotothat's the strength of the keycode system!
18:33:00raptorexactly!
18:36:00watusimoto Quit (Ping timeout: 255 seconds)
18:36:00[1]watusimoto is now known as watusimoto
18:38:00watusimotosfml - sick of sdl already? :-)
18:38:00raptorha
18:38:00raptorjust thought i'd point it out
18:38:00watusimotolooks interesting
18:39:00raptordoesn't have much standard linux distro support yet
18:41:00watusimotolooks like it would be easy to swap with sdl?
18:41:00raptorprobably
18:41:00watusimotobut, to your input issue, are you starting to like keyCodes better?
18:42:00raptori like the way KeyCodes are used, but I think it can be improved upon (without enumerating every keycode + modifier combo)
18:43:00raptori'm studying the input system source code of several games to get ideas
19:06:00watusimotogreat!
19:44:00watusimoto Quit (Ping timeout: 260 seconds)
19:57:00koda has joined
20:07:00BitfighterLogBot - Commit 330b8330fa9f | Author: sam8641 | Log: reduce CPU and lag for c2sResendItemStatus
20:09:00Flynnn has joined
21:04:00Flynnn Quit (Quit: This computer has gone to sleep)
21:08:00Flynnn has joined
22:47:00raptor Quit (Remote host closed the connection)
23:33:00koda Quit (Quit: k thx bai)

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.