#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-05-05

Timestamps are in GMT/BST.

00:56:23ir0x539For anyone who wants to play... hosting a big game starting in 4 minutes
01:01:02IAmBeardi might join in for a little bit :)
02:03:05raptor Quit ()
02:12:45ir0x539gg
02:13:28Heyub|2Yes, that was fun :)
02:14:02IAmBeardfor what I played, it was a good time
02:14:10IAmBeardhave you gents thought of trying to do this weekly?
02:14:23ir0x539possibly :P
02:14:25ir0x539ahaha
02:14:28IAmBeardor biweekly? just some regular schedule so new players can have more of a feel for the game
02:14:32ir0x539most of those people havent played before
02:14:43IAmBeardso far my experience has been up to maybe 5 players (other than this evening)
02:14:43ir0x539or have only played 0-2 times more like
02:14:48ir0x539i just got into it recently
02:14:52IAmBeard:D
02:20:51raptor has joined
02:20:52ChanServ sets mode +o raptor
02:20:52MyzareeWas fun, gg
02:21:23sam686yes, one of a few times of about 10 or more players on bitfight6er..
02:23:47raptornow some of those games were fun!
02:24:45ir0x539question... what does that score mean next to your name?
02:24:51ir0x539and how is it calculated?
02:24:52IAmBeardraptor / sam686 how many threads is bitfighter currently using?
02:25:09sam686mostly one only
02:25:13raptorir0x539: in the scorebard in-game?
02:25:36sam686though, openAL-soft is probably running a seperate thread to process sound and mixing them..
02:26:12raptoryes, openAL is running it's own
02:26:26raptorbut it needs to be updated through our master loop
02:26:33sam686there is a thread we (mostly i) coded, dedicated to saving game stats without freezing for a second..
02:26:49raptoroh and the master server connection thread
02:26:56sam686but, not on master, yet
02:27:53sam686master is not as critical to provide low lag all the time as game server is.. (master server lag for 1000 PING spike one time a day or so won't hardly affect game play in a server)
02:29:21sam686mostly, any mysql saving for searching can cause slowdown (mostly, TCP connection having to wait for connection and such), unless on a seperate thread..
02:30:44sam686a problem with TCP i guess is when trying to send too much data through TCP, the sender pauses (can't process anything on the current thread) until the other side does finally read it
02:31:32sam686UDP can be sent as much as it can without waiting, but need a way to make sure it is actually sent, TNL handles most of that.
02:31:32IAmBeardokay, because i wrote a generic threading system that we can probably use for some processing
02:31:45IAmBeardprobably physics
02:32:08IAmBeardand i could theoretically use it for sending UDP stuff
02:33:28raptorir0x539: if it's the score on the scoreboard that goes form -1.0 to 1.0; then it is a normalized version of a kill/death ratio
02:33:52sam686multithreading doesn't benefit at all on old computers with only single CPU core (unless its the TCP pausing or Sleep() which does benefit), also several cheap VPS servers only provides one CPU..
02:34:11ir0x539got ya very cool
02:34:41sam686mysql connection and such often have a "TCP connecting pauses CPU" slowdown problem
02:36:47IAmBeardir0x539, next time, we should record the game and toss it on youtube - bitfighter needs a good video that we can toss on the front page
02:37:10IAmBeardsam686 i was thinking of multithreading mostly for clients
02:37:14sam686i could of recorded, but i wasn't prepared to record that time..
02:37:15raptorIAmBeard: sam686 and _k have put up loads of good video on their channels
02:37:26IAmBeardoh, I didn't know
02:37:39raptorsam686 has a channel, and there is one called BitfighterVideo (I think)
02:37:52raptora video on the home page points to it... (I think... again)
02:38:15sam686http://www.youtube.com/user/sam6861 I have a bunch of videos in "Bit Bitfighter Battle" 2 - 8
02:40:05sam686nearly all my videos have sound (and no music)
02:40:22IAmBeardsam686 / raptor , should i toss in some sort of recording mechanism into my version of bitfighter? i know we have the journalling, so i'd just implement something that would keep the journal record to either share online, or watch in the game
02:40:37raptorjournaling is non-existent
02:40:46IAmBeardzapjournal.* ?
02:40:46raptorwe had to rip it out because it was broken for so long...
02:40:47sam686http://www.youtube.com/user/BitfighterVideo (there is no sound no music on half of video there, and music on other half, and sound only on one video)
02:40:55IAmBeardoh, okay
02:40:59raptori guess there may still be remnants
02:41:21raptorsome day we would like to reimplement the journal
02:41:29sam686I haven't hardly tried to get the in-game recoring going
02:41:34IAmBeardin that case, should I write some sort of state tracking so we can bring it back?
02:42:13sam686old version of bBitfighter 015 and older had a -jrecord -jplay but thats start up command only and is difficult to use..
02:42:29IAmBeardfor recording, i'd have it record the whole game, and it would be possible to go into a "director mode" of sorts to watch particular bits of action, and possibly export to a video file
02:42:49raptorit would be nice to have saved games...
02:43:13raptoralso we have an observer mode plan somewhere...
02:43:22IAmBeardbecause i can just snapshot the physics state every second or so and interpolate between those and create a video
02:43:40raptorhow would you snapshot it? does squirrel physics do that?
02:43:46IAmBeardlol - chipmunk
02:43:53raptoruhhh.. yeah :)
02:43:54raptorthat
02:43:57raptoroops
02:43:57IAmBeardi'd have to iterate all the physics bodies, but it's possible :P
02:44:25IAmBeardjust toss that in a separate thread while you play, and bam, you're good to go
02:44:41raptorthe old journal worked by recording all the inputs from the player
02:44:45raptorit seemed clunky
02:44:51raptor(in the code)
02:45:01raptori wonder if physics snapshots would be better...
02:45:08IAmBeardyeah, i think that's bad, considering inputs may not have the same accuracy in the client over the server
02:45:18IAmBeardphysics snapshots would be inifintely better
02:45:22IAmBeard*infinitely
02:45:27raptori actually have no experience with saving games
02:45:28sam686binary file for replay file will be good for smaller size and better speed then plain text (having to convert string to number slowdown)
02:45:41raptorws the old journal text?
02:45:46sam686ando, i would want a fast forward, rewind, skip to this position of video, and such...
02:46:05sam686old jurnal was binary
02:46:38IAmBeardthat's all possible with physics snapshots - espeically because we can compress a lot of the data (static bodies, like walls, don't move, therefore we only need to record their positions once)
02:47:22raptorinteresting...
02:47:36sam686oh and there is a zlib compression, (used for PNG screenshots ctrl + Q)
02:47:46sam686can be used for replay file
02:47:54IAmBeardyup, we can do our own text-level compression, plus zlib
02:48:02sam686as in, zlib compression
02:48:08IAmBeard:)
02:48:13IAmBeardi'll make a note to add that in
02:49:29sam686usually, in-game recorder that records position, inputs, and such have tiny CPU hit, compared to reading every single pixel 30 times a second especially on high resolution,..
02:50:02sam686my computer with AGP Radeon 9200 can just barely record at 30 frames per second at 960 x 720 (my pentium 4 computer)
02:50:04Heyub|2 Quit (Read error: Connection reset by peer)
02:50:29Heyub|2 has joined
02:50:51raptorman, i wish i could understand the haskell programming language
02:51:18raptorthe hedgewars game has a small binary save format that works exactly like we need - but it is written in haskell
02:51:29IAmBeardwhy do you need to know haskell?
02:51:57raptor^^ to figure out the hedgewars binary save
02:52:19IAmBeardoh, don't worry about that, I have a format in mind that should be fairly minimal
02:53:27Heyub|2 Quit (Read error: Connection reset by peer)
02:53:52Heyub|2 has joined
02:54:16Heyub|2 Quit (Read error: Connection reset by peer)
02:54:26raptor Quit ()
02:54:58sam686could try using hex editor, but editing might damage the binary file if not careful.. http://sam686.maxhushahn.com/upload/hex_editor_hxd.png (thats a normal bitfighter.log, binary files won't hardly have readable string)
02:57:54raptor has joined
02:57:54ChanServ sets mode +o raptor
02:58:40sam686hi raptor, you missed one small message between your "raptor has left" and "join"
02:59:38raptorhi saw it, thanks
03:23:31raptorok, i guess i'd better learn git better
03:23:40raptorit's not like there's much difference between hg, git, and bzr
03:24:52raptorok, we have a circular include...
03:25:23raptorin order to compile on linux, I need LuaObject in LuaWrapper.h, but LuaObject.h already includes LuaWrapper.h
03:28:46raptorok, i know how to fix
03:37:35IAmBeard Quit (Quit: Leaving)
03:42:08raptori think watusimoto used something crom c++11 standard...
03:42:29raptorsee item.cpp:247 (through 251)
03:43:01raptorhe is passing in the method getLoc, but that isn't static and there for has no pointer because it has no object
03:46:34BFLogBot - Commit d103dbd90f01 | Author: buckyballreaction | Log: Fix LuaWrapper to compile in linux
03:46:50raptorthat was another fix, still have the problem
03:54:44sam686i don't know if your recent changes you pushed / commited (a few minutes ago) will produce link error of multiple "duplicate luaW_doMethod"? (should be static?)
03:54:57raptorthat is the second error
03:54:58sam686i mean "returnNil" not
03:55:15raptorwait what?
03:55:21sam686i am still building, so i will wait and see if thats a problem
03:55:24raptorok
03:55:44raptorthe next error is really difficult (item.cpp: 247)
03:59:52sam686http://sam686.maxhushahn.com/upload/text1205/120504_22-05-03.txt look at the very bottom, hunderds of link error
03:59:52sam686error LNK2005: "int __cdecl returnNil(struct lua_State *)" (?returnNil@@YAHPAUlua_State@@@Z) already defined in UI.obj
04:00:28raptorwhat
04:00:44raptorah, linker error
04:00:55sam686maybe its because that function 'int returnNil(lua_State *L)" in LuaWrapper.h line 799
04:00:56raptori can't even get that far
04:01:05raptoryes, i added that...
04:01:13raptori will remove, i guess...
04:01:29sam686or you can add a "static" or forward declare
04:01:38sam686by moving to a .cpp file
04:02:45raptorok i just fixed
04:06:41BFLogBot - Commit ebd16017d27e | Author: buckyballreaction | Log: Fix my previous fix
04:07:52raptorsorry for the recompiles...
04:12:49sam686maybe the problem is item::getLoc is virtual (it might work if it wasn't virtual?)
04:15:16raptormaybe - but it needs to be virtual, and non-static
04:57:28raptorsooo... can you even compile?
04:57:37raptori think i'm too tired to solve this right now..
04:58:08raptormaybe i'll just send a message to watusimoto
04:58:16sam686i compiled for windows ,but not for linux
04:59:41sam686templates tends to be a little comfusing with why it works for one compiler but not for another, and i wonder which is correct?
04:59:50sam686and i wonder which is more flexible?
04:59:54raptori'm sure gcc is *correct*
05:00:00raptorand vc++ is flexible
05:04:34sam686i kind of not like template very much, it is a little bit confusing to me it seems, and can slow down compiling by making header files bigger..
05:05:01raptoryeah
05:08:07raptorok, sent an e-mail to watusimoto
05:08:12raptori'm going to bed
05:08:14raptorgood ngiht!
05:08:19sam686night
05:16:39raptor Quit ()
06:31:00sam686 Quit (Ping timeout: 245 seconds)
07:27:18kodaws has joined
08:14:27kodaws Quit (Quit: Sto andando via)
08:14:57kodaws has joined
08:15:07kodaws Quit (Read error: Connection reset by peer)
08:15:18kodaws has joined
08:15:19kodaws Quit (Client Quit)
08:16:00kodaws has joined
08:16:27Watusimoto has joined
08:44:47kodaws Quit (Read error: Connection reset by peer)
08:44:56kodaws has joined
10:07:15BFLogBot - Commit cbe698338fc4 | Author: watusim...@bitfighter.org | Log: Remove defunct code
10:07:17BFLogBot - Commit 438a0d5a8ade | Author: watusim...@bitfighter.org | Log: Merge
12:58:46IAmBeard has joined
12:58:55IAmBeardgood morning
12:59:02IAmBeardand a beautiful one here in canada
13:09:56kodawsis there ever an ugly morning in canada?
13:16:12LordDVG has joined
13:16:26LordDVG Quit (Client Quit)
13:16:48LordDVG has joined
13:28:42IAmBeardhah
13:28:59IAmBeardWatusimoto, would you be open to changing how the ships fly a little?
13:29:50IAmBeardand by fly, i mostly mean shoot/aim
13:30:08IAmBeardalthough, the more i think of it, the more i don't like changing it
13:30:19IAmBeardso you can probably effectively ignore that
13:59:59IAmBeardwhat do you gents think of a light-based game mode, where the whole level is dark and your ship emitts a small amount of light, and you can deploy flares?
14:19:07IAmBeard Quit (Quit: Leaving)
14:28:12Watusimoto Quit (Ping timeout: 260 seconds)
14:56:38LordDVG Quit (Remote host closed the connection)
14:57:04LordDVG has joined
15:03:45Watusimoto has joined
15:07:59LordDVG Quit (Remote host closed the connection)
15:44:44Watusimoto Quit (Ping timeout: 276 seconds)
15:53:19watusimoto has joined
15:53:20ChanServ sets mode +o watusimoto
16:03:49watusimoto Quit (Ping timeout: 244 seconds)
16:09:41Heyub has joined
17:08:59Watusimoto has joined
17:40:50zoomber_mbp has joined
17:41:36ChanServ sets mode +v zoomber_mbp
18:05:57kodaws Quit (Read error: Connection reset by peer)
18:18:10zoomber_mbp Quit (Quit: zoomber_mbp)
18:27:48IAmBeard has joined
18:52:29zoomber_mbp has joined
19:38:26zoomber_mbp_ has joined
19:40:47zoomber_mbp Quit (Ping timeout: 252 seconds)
19:40:47zoomber_mbp_ is now known as zoomber_mbp
19:44:05zoomber_mbp_ has joined
19:44:05zoomber_mbp Quit (Read error: Connection reset by peer)
19:44:06zoomber_mbp_ is now known as zoomber_mbp
20:42:37zoomber_mbp Quit (Quit: zoomber_mbp)
21:00:08raptor has joined
21:00:08ChanServ sets mode +o raptor
21:00:20raptorhowdy folks
21:00:39raptorWatusimoto: did you get my e-mail?
21:01:20Watusimotohi
21:01:25raptorhi
21:01:27Watusimotono? checking
21:01:39Watusimotoluaw problem?
21:01:43raptorit has to do with LuaW
21:01:45raptoryes
21:01:56raptorand our pedantic friend GCC
21:01:57Watusimotooh boy
21:02:14Watusimotowell, I'm continuing to work with this stuff, so lets take a look after my next checkin
21:02:18raptorok
21:02:52Watusimotothat code that caused problems, though, will still be there
21:03:00Watusimotobut I got the idea from StackOverflow
21:03:09Watusimotoso it's not so far out of the realm of reality
21:03:18raptorhehe, ok
21:03:35Watusimotobut I understand your comment about static method
21:03:35raptori think it's looking really good so far - i just wish i could compile :)
21:03:47Watusimotowell, if this next bit works, it will look a lot better
21:04:13Watusimotoall the registration code will be with the objects themselves, not with the far-off LuaObject class
21:04:25Watusimotobut... linker errors
21:04:28Watusimotoendless linker erros
21:04:32raptorha
21:27:05sam686 has joined
21:27:05ChanServ sets mode +v sam686
22:03:31Heyub Quit (Read error: Connection reset by peer)
22:03:56Heyub has joined
22:14:51WatusimotoI hate templates
22:15:00Watusimotojust want that on the record
22:40:36sam686small mystery... why would LUA use Item::luaMethods is it is not an "Item", it would use a different non-item LuaMethods i think..
22:42:35sam686i guess static vs non-static..
23:09:11zoomber_mbp has joined
23:12:46raptortemplates are your friend, until you decide to use them
23:18:26Watusimoto Quit (Ping timeout: 256 seconds)
23:18:38sam686i kind of want c++ scripts instead of LUA... https://www.google.com/search?q=c%2B%2B%20script mostly because it can allow easy conversion between script and native c++ speed
23:18:48zoomber_mbphey sam686
23:19:04zoomber_mbpdid you get your bit fighter server running? you can use my 216 server too possibly
23:19:27sam686oh, i should try to now..
23:20:01zoomber_mbpgive me a second as i go on my desktop instead
23:20:03zoomber_mbp Quit (Quit: zoomber_mbp)
23:21:11Zoomber has joined
23:21:11ChanServ sets mode +v Zoomber
23:24:28sam686hg clone https://code.google.com/p/bitfighter/ bf017 abort: out of memory
23:24:38sam686i never thought HG can ran out of memory...
23:25:04raptorwhat??
23:25:20raptornever seen that...
23:49:41Zoomberno,
23:49:41Zoombers
23:49:48Zoombersomething's taking up all the memory on that server sam
23:50:02Zoomberand not too sure what to do about it
23:50:13Zoomberi'm assuming your on the 216 server

Index Search ←Prev date Next date→

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