#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-07-20

Timestamps are in GMT/BST.

00:28:00zoombernvm
01:02:00zoomber Quit (Quit: zoomber)
01:35:00Flynnn Quit (Quit: This computer has gone to sleep)
01:52:00Flynnn has joined
01:56:00Flynnn Quit (Client Quit)
02:14:00Flynnn has joined
02:23:00Flynnn Quit (Quit: This computer has gone to sleep)
02:43:00Flynnn has joined
03:22:00raptor has joined
03:22:00ChanServ sets mode +o raptor
03:23:00raptorquiet
03:23:00raptortoo quiet
04:43:00Flynnn Quit (Quit: Leaving)
05:09:00raptorwhen taking a screenshot, what should be the ideal behaviour? always at 800x600?
05:09:00raptoror at the screen resolution?
05:18:00sam686 Quit (Read error: Connection reset by peer)
05:20:00sam686 has joined
05:20:00ChanServ sets mode +v sam686
05:59:00zoomber has joined
06:01:00zoomberhi
06:01:00raptorhello
06:02:00zoombersee my new clone up?
06:02:00raptornot yet
06:02:00raptorjust a sec - i'm deep in thought..
06:03:00zoomberoook
06:04:00zoombersam686's server seems to have the highest ping for me right now.
06:07:00Flynnn has joined
06:07:00zoomberhi flynnn
06:11:00raptorpoor sam686 and his connections...
06:11:00zoomberyes
06:11:00zoomberat least his server is still up and running
06:12:00zoomberi'd offer let him host it on my VPS until he gets things stable again, but i suppose theres no point if he cant even get on bitfighter
06:12:00zoomberanyways, my clone = bitfighter on xcode 4 with x86
06:12:00zoomber64
06:16:00zoomberoh no!
06:16:00zoomberi went through a teleport and crashed!
06:17:00raptoryou are running sam's server code?
06:17:00zoomberno, im running 016
06:17:00raptoroh yeah, lot's of crashes still
06:17:00zoombersome changeset from yesterday
06:17:00zoomberThread 0: Dispatch queue: com.apple.main-thread
06:17:00zoomber0 libSystem.B.dylib 0x00007fff8194e5d6 __kill + 10
06:17:00zoomber1 libSystem.B.dylib 0x00007fff8196066a _sigtramp + 26
06:17:00zoomber2 Bitfighter 0x00000001002c5326 Zap::Color::Color(Zap::Color const*) + 16 (Color.cpp:44)
06:18:00zoomberim just playing around with the code to see if i can find and add some unique elements of gameplay
06:18:00zoomberfor example, ive just added the ability to heal enemies turrets
06:18:00zoomberwell..you can technically do that in real world cant you?
06:19:00FlynnnHI, Zoomber :)
06:19:00zoomberhi
06:19:00FlynnnI liek that idea hehe
06:22:00zoomberheh, sam can be really funny
06:24:00zoomberhmm
06:24:00zoomberi wonder if its a bug of editing my code thats doing this
06:25:00sam686possibly your editing, as i shouldn't think it should crash from the latest code in 016..
06:26:00zoomberwhat the heck. i placed a few objects in the editor and they are gone when i test
06:26:00zoomberjust the barriers exist
06:28:00raptori got screenshots to save to PNG
06:28:00raptorin linux
06:29:00zoombercool
06:30:00zoomberbut
06:30:00zoomberthey do that automatically in mac :]
06:30:00raptorno i mean in-game bitfighter-only screenshots
06:30:00zoomberyou just press Command + Shit + 3 to take a snapshot of screen, or Command + Shift + 4 to select an area
06:30:00zoomberoh
06:30:00sam686it is the ctrl + Q in 015a that was saving as BMP
06:30:00zoomberwell it still supersceeds
06:31:00raptoryes, but the BMP was sometimes corrupt
06:32:00zoomberoooh i like what i just did
06:33:00zoomberi made it so when you go through a teleport, you will get the exploding ship sound / graphic
06:33:00zoombermakes it feel more retro/wormhole like
06:33:00raptorsam686: do you think it is worth it to have in-game screenshots?
06:35:00sam686in-game screenshots makes it easier to capture while in window mode, and windows XP don't have an easy screen capture that save to file by default..
06:38:00sam686i don't think it is worth it to flicker to 800 x 600 and capture at only 800 x 600, i think it should capture at what resolution it is currently at...
06:38:00raptoryes, me too
06:38:00raptori will implement that...
06:39:00sam686i think the old BMP can corrupt as it forgets to add padding for non-multiple of 4, causing incomplete data..
06:42:00sam686this is how a corrupt bmp look like: http://96.2.123.136/bitfighter/screenshot_24.gif
06:42:00raptorwhoa
06:42:00raptorthat actually kind of cool
06:42:00Flynnnagreed hehe
06:43:00zoomber has left
06:44:00sam686heres another one, this times, color stripes.. http://96.2.123.136/bitfighter/screenshot_51.gif
06:45:00sam686it happens in editor, as fullscreen does not capture at 800 x 600, but some odd number to fit the fullscreen ratio..
06:46:00zoomber has joined
06:47:00zoomberhi
06:47:00zoomberagain
06:53:00raptorso sam686
06:53:00raptorevery time i take a screenshot RAM jumps 400KB
06:53:00raptorbut it doesn't go back down
06:53:00zoomberdoes it increase 400KB each consecutive screenshot, or just the first time?
06:53:00raptorevery time
06:54:00zoomberhmm
06:54:00raptorsam686: here is the method: http://pastie.org/2241364
06:54:00raptori'm cleaning up the data everytime
06:55:00sam686i wonder if http://96.2.123.136/bitfighter/11040807.gif is making me lag from others downloading it... i see it access about 8 times a day..
06:55:00sam686its the same link used for my avatar in bitfighter.org forums..
06:55:00raptori bet the download eats up bandwidth
06:57:00zoomberi just tried taking 137 screenshots in a row
06:57:00raptorzoomber: this is totally different code
06:57:00zoomberoh
06:57:00raptorcompletely rewritten
06:57:00raptori was just hoping sam686 could see something I may have missed..
06:59:00zoomberit seem si cant read any of the bmp files i took
07:03:00sam686try loading BMP in web browsers, web browser won't know it is corrupt, loads most of it, then realizes it is corrupted..
07:04:00raptorsam686: do you see any reason for that code to leak memory?
07:04:00sam686i have just pulled, updated code from repository..
07:04:00raptorsorry, i haven't commited
07:05:00raptorit is in the pastie: http://pastie.org/2241364
07:06:00sam686png_bytep *rows = new png_bytep[height]; - does that get deleted when done?
07:06:00raptorat the end of the method
07:06:00watusimotodone packing for the evening
07:06:00raptorunless i am using wrong syntax
07:06:00raptorhello watusimoto
07:07:00watusimotoanything I need to read in the chat history?
07:07:00sam686it didn't show up in the pastie...
07:07:00raptorwhat?
07:07:00raptorreload...
07:07:00raptorwatusimoto: I got screenshots saving to PNG, but with a memory leak - i can't find it
07:07:00raptorcode here: http://pastie.org/2241364
07:08:00sam686i see..
07:08:00raptoram I not using new/delete syntax correctly?
07:09:00sam686i think its right, i was looking for delete png_bytep, whick was wrong...
07:09:00sam686it is possible delete might be wrong...
07:09:00raptorso why on earth does RAM increase with every screen shot?
07:13:00sam686might be possible that png_write_something have a memlry leak...
07:18:00sam686maybe you need this: void png_destroy_write_struct(png_structpp png_ptr_ptr, png_infopp info_ptr_ptr);
07:18:00raptorhow did you find that out?
07:19:00sam686found this: http://refspecs.freestandards.org/LSB_3.1.1/LSB-Desktop-generic/LSB-Desktop-generic/libpng12.png.destroy.write.struct.1.html
07:21:00raptorthat works!
07:28:00raptorgood find sam686, that saved me a headache
07:32:00raptorok, i'll work on porting it to windows tomorrow
07:32:00raptorgood night everyone
07:32:00Flynnn Quit (Quit: Leaving)
07:33:00sam686diagnostics screen, for joystick, raw buttons and raw axis don't work right. Also the way joystick code is changed, makes it hard to support more then one joystick..
07:33:00sam686as in, makes it hard to support more then one joystick at the same time..
07:33:00raptorsam686: did my most recent fixes allow joystick to be usable?
07:33:00sam686still needs proper mapping, as it don't appear to re-map buttons, and doesn
07:34:00sam686t remap axis.
07:34:00raptorso axis are still bad?
07:34:00raptordoes the ship only move left, still?
07:34:00sam686also, if you press axis left, then axis right, axis left still have 0.3, while right have 1.0
07:35:00raptorthat shouldn't be...
07:35:00sam686it moves all direction, but sometimes get stick moving left or up when pressing down right..
07:35:00raptorhmmm ok
07:35:00sam686thats because it doesn't clear axis left to 0.0
07:35:00raptori thought i coded that in...
07:37:00raptorplease feel free to make as many changes as you need - I can't really test because I don't have a joystick
07:37:00sam686ok..
07:38:00raptorok, you win - i didn't zero out the opposite direction
07:39:00sam686ok.. i guess you can say bye if you are going bye..
07:39:00raptori can't think anymore tonight, so i'll have to look at the login again tomorrow -
07:40:00sam686login?
07:40:00raptorexactly - not thinking
07:40:00raptor'logic
07:40:00raptorlogin = logic
07:40:00sam686ok..
07:40:00raptorI think all you'd have to do it detect the opposite mask and axesDirectionIndex and set that value to 0.0f in the Joystick::JoystickInputData struct
07:41:00raptorstruct = array, i mean
07:41:00raptorbut good night, and thanks again!
07:41:00sam686bye raptor..
07:41:00raptor Quit (Remote host closed the connection)
08:53:00zoomber Quit (Quit: zoomber)
09:11:00watusimoto Quit (Ping timeout: 240 seconds)
15:01:00watusimoto has joined
15:27:00raptor has joined
15:27:00ChanServ sets mode +o raptor
15:42:00zoomber has joined
16:00:00zoomber Quit (Quit: zoomber)
16:28:00LordDVG has joined
16:59:00raptori will work on PNG screenshot for windows today...
17:12:00LordDVG Quit (Remote host closed the connection)
17:14:00BitfighterLogBot - Commit 7d94f853fd44 | Author: watusim...@bitfighter.org | Log: Fixed wall centerline rendering color in editor
17:15:00LordDVG has joined
17:15:00LordDVG Quit (Changing host)
17:15:00LordDVG has joined
17:35:00[1]watusimoto has joined
17:36:00watusimoto Quit (Ping timeout: 264 seconds)
17:36:00[1]watusimoto is now known as watusimoto
20:08:00LordDVG Quit (Disconnected by services)
20:24:00raptorsam686: I had code in there to reset the axis to zero at one point - i must have removed it
20:25:00raptorI will add it back in..
20:44:00BitfighterLogBot - Commit 2b362d106c0b | Author: buckyballreaction | Log: Reset opposite direction to zero when a particulare axis direction is triggered with joystick
20:52:00raptorsam686: you'll have to play around with the sensitivity threshold and the axis mappings - it could be that SDL maps the axes the same across all platforms now
20:52:00raptorAlso, note that before we had two different sensitivity thresholds; I have no idea why
20:53:00raptorso i would suspect some feel difference from that
20:53:00raptorbefore the thresholds were 8% for one axis, and 25% for another - now it's about 10% for both
20:56:00LordDVG has joined
20:56:00LordDVG Quit (Changing host)
20:56:00LordDVG has joined
20:59:00LordDVG Quit (Remote host closed the connection)
21:44:00Flynnn has joined
21:46:00raptor Quit (Remote host closed the connection)
22:12:00karamazovapy_ has joined
22:17:00karamazovapy Quit (Ping timeout: 255 seconds)
22:18:00zoomber has joined
22:44:00BitfighterLogBot - Commit f76b202a4bee | Author: watusim...@bitfighter.org | Log: Removed all traces of bot zones from editor and editor help
22:44:00BitfighterLogBot - Commit b3653cc11be5 | Author: watusim...@bitfighter.org | Log: Remove some instances of gEditorGame, minor refactor to make things cleaner
22:44:00BitfighterLogBot - Commit f2a8fec7a1dd | Author: watusim...@bitfighter.org | Log: Merge
23:21:00Flynnn Quit (Quit: This computer has gone to sleep)
23:26:00zoomber Quit (Quit: zoomber)
23:32:00zoomber has joined
23:34:00raptor has joined
23:34:00ChanServ sets mode +o raptor
23:35:00raptorwatusimoto: how is your 100 ft^3 container?
23:42:00zoombera
23:49:00Flynnn has joined
23:52:00zoomber Quit (Quit: zoomber)

Index Search ←Prev date Next date→

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