#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-09-23

Timestamps are in GMT/BST.

00:00:15fordcarsNope :/
00:00:20fordcars019c classic
00:00:30fordcarsWell vanilla
00:00:32raptorok
00:00:36raptori'll test it out..
00:00:40fordcarsSure
00:01:44raptoroh rats, i don't have a win8 VM on this machine.. . i'll have to do it tomorrow
00:02:52sam686what does the "Date" say on the f7 diagnostics screen?
00:03:35sam686maybe also the build version
00:04:00sam686the date should be the same on all windows build if downloaded and not compiled yourself
00:04:47sam686fordcars ?
00:05:02fordcarsYes?
00:05:06fordcarsOh
00:05:09fordcarsOk one tick
00:06:00fordcarsApr 1 2014
00:06:50sam686yes thats the 019c release day
00:07:36fordcarsOk good
00:08:58sam686fordcars, what is the first level that loads when you start hosting? (game recording off so it doesn't crash)
00:09:05vs73nx_ has joined
00:09:47sam686i think the problem might be a combination of game recording and the level?
00:09:50vs73nx Quit (Ping timeout: 272 seconds)
00:09:52fordcars(v_v) The epic dungeon
00:10:05fordcarsI think so actually :P It looks like a messy dungeon
00:10:14sam686maybe can I have that level?
00:10:32fordcarsSure
00:11:24fordcarshttp://pastie.org/9586492
00:16:09sam686fordcars i still can't get it to crash on me...
00:16:20fordcarsThat sucks :(
00:16:45fordcarsI don't mind, but I hope it's not a bigger problem
00:16:47sam686as a test does test from editor on after setting game recording from host menu on?
00:17:15sam686or you can try removing all but a level from level folder and try hosting again?
00:17:31sam686(not delete just move them out of level folder)
00:21:56vs73nx_ Quit (Remote host closed the connection)
00:22:12vs73nx has joined
00:22:12vs73nx Quit (Changing host)
00:22:12vs73nx has joined
00:22:12fordcarsNope with one level in the editor or in Host it still crashes
00:22:21sam686fordcars, another idea, give me your bitfighter.ini file, but remember to remove passwords when uploading (find (ctrl+f on notepad) and delete "Password=" and "Passwords]")
00:22:45fordcarsOkay
00:22:55fordcarsI already did that mistake haha
00:24:31fordcarshttp://pastie.org/9586504
00:31:42sam686fordcars, how many files do you have in the "record" folder?
00:31:54fordcarsOh, quite a lot
00:32:13sam686how about try moving all of it out of there, or rename "record" folder into something else?
00:32:23fordcarsYep1
00:32:26fordcarsIt works!
00:32:29fordcarsHahaaaa
00:32:38fordcarsToo many records I guess
00:33:28sam686obviously I got it to crash if a record folder have a file named 45435435345435355345.bf019
00:33:45fordcarsOh wow
00:34:22fordcarsOh I got it
00:34:37fordcarsI had one that had _bf019 instead of .bf019
00:35:05fordcarsOh wait
00:35:29fordcarsNever mind :P
00:35:34fordcarsI think I just have too many
00:35:35sam686the string handling of deciding what the next number, the starting number before the first _ may be the problem if it gets too big
00:35:53sam686whats the last number in your record folder?
00:35:55fordcarsI have 215
00:37:43fordcarsI removed a few but it still crashes
00:38:15fordcarsOh there you go!
00:38:30fordcarsFiles starting without numbers made it crash, like bbb11
00:39:01fordcarsbbb11_
00:41:07sam686looks like it crashes somewhere inside stoi(string) if it starts with a letter or if number is too big
00:43:41sam686stoi(files[i]); crashes on number too big, while atoi(files[i].c_str()); runs without crashing
00:48:12sam686more like, unhandled or missing throw/catch when using stoi
00:49:51fordcarsNice find
00:50:24fordcarsIt should be an easy fix?
00:53:12vs73nx Quit (Remote host closed the connection)
00:53:29vs73nx has joined
00:53:41sam686yes, easy fix
00:54:21sam686easiest way is to change stoi(files[i]) into atoi(files[i].c_str()) in GameRecorder.cpp
00:54:35sam686i don't quite know exacly how to write try catch
00:54:52vs73nx Quit (Client Quit)
00:55:37BFLogBot Commit: 492720a442 | Author: sam8641 | Message: Fixed game recording crash when record directory have number too big or not start with a number
00:56:13sam686in the end, the problem wasn't anything OS specific as raptor though it may be...
00:57:54raptorwhat who?
00:58:15sam686the game recording crash as a result of having a bad filename in record folder
00:58:30sam686or a filename that starts with a letter or number too big
00:58:54raptorohhh... actually
00:59:10raptorwe use atoi for stoi on all platforms but windows
00:59:27sam686i didn't know quit enough to write stoi try/catch handling
01:00:02sam686atoi does't cause crash like stoi does which means something is different between the 2
01:00:14fordcarsAh sweet
01:00:17raptoryes... windows is using it's own implementation
01:00:26raptorfor all other platforms we use atoi
01:00:30fordcarsGoing to bed, night!
01:00:32fordcars Quit (Quit: Page closed)
01:00:55raptorsee tnlPlatform.h:96
01:01:53sam686I thought linux natively does support atoi, so long as you include stdlib.h http://linux.die.net/man/3/atoi
01:02:03raptoryes it does
01:02:08raptori'm saying that in stringUtils.cpp
01:02:26raptorif NEED_STOI is defined (which it is for Linux) then it is just a wrapper for atoi
01:03:58sam686stoi is just a remap to atoi
01:04:08raptorso it means that when stoi is used on windows, it is not using atoi... which is probably why it crashes
01:04:13raptoryep
01:04:15sam686the problem didn't show up on my visual C++ 2008 but it does on C++ 2013
01:04:20raptorahhh
01:04:22raptorok
01:04:41raptorso maybe vc++ 2013 as a weird implementation
01:05:07sam686in unfortunately bf 019c was compiled using probably vc++ 2013, which it throw and quit if unhandled if error
01:05:18raptorthat stinks
01:12:08sam686i think the problem is the c++0x's stoi standard overlapping our function. We have to either: put in a bunch of try/catch around stoi, somehow override that function with our own. or just rename stoi to atoi
01:12:18sam686found one example of try/catch http://deepakyadav.me/blog/2014/01/string-to-number-conversion-in-c/
01:13:19raptorblah
01:13:36raptori don't want to always have to use try/catch with stoi
01:14:11sam686try/catch seem to make more of a messy code
01:15:28sam686oh and another place stoi is in BanList.cpp, if the ini file somehow have it out of range it will crash every time until you delete bitfighter.ini
01:18:02sam686overall there is only about 4 places stoi are used
01:18:18raptoroh that's not bad
01:18:31raptoris there a way we could permantently override the one in vc++ ?
01:18:38raptor*permanently
01:20:08sam686i know one way #define stoi(a) atoi(a.c_str())
01:20:28raptorha! that's great
01:20:32sam686seels like a hack so i might be better just changing function
01:20:38sam686or renaming function
01:25:08sam686one more place stoi uses is pressing # button to edit ID - program dies on unandled exception
02:13:37vs73nx has joined
02:13:37vs73nx Quit (Changing host)
02:13:37vs73nx has joined
02:16:06vs73nx Quit (Client Quit)
02:35:27raptor Quit ()
03:34:55vs73nx has joined
03:35:40LordDVG has joined
03:39:04vs73nx Quit (Remote host closed the connection)
03:39:13vs73nx has joined
03:39:20vs73nx Quit (Client Quit)
03:58:33Darrel Quit (Ping timeout: 260 seconds)
05:59:26LordDVG Quit (Remote host closed the connection)
07:11:34Flynnn has joined
07:33:43Flynnn Quit (Quit: This computer has gone to sleep)
07:57:24Destroyerimo_clo has joined
08:00:20Destroyerimo Quit (Ping timeout: 246 seconds)
09:40:43Destroyerimo_clo Quit (Ping timeout: 244 seconds)
09:41:02Destroyerimo_clo has joined
11:39:49raptor has joined
11:39:49ChanServ sets mode +o
11:39:56raptorgood morning!
12:00:41raptor Quit (Ping timeout: 258 seconds)
12:26:33watusimoto has joined
12:26:33ChanServ sets mode +o
12:41:31raptor has joined
12:41:31ChanServ sets mode +o
13:48:28watusimotohello
13:57:21raptorhi
15:19:47LordDVG has joined
16:32:36Flynnn has joined
16:34:10Flynnn Quit (Client Quit)
17:31:21LordDVG Quit (Remote host closed the connection)
18:10:36fordcars has joined
18:26:42Camouflage has joined
18:27:30CamouflageHey guys, new here, trying to understand what this is all about
18:27:38raptorHi!
18:27:40raptorwelcome!
18:29:07Camouflageso i am really trying to understand what bitfighter is :P
18:29:39raptorit's a 2D multiplayer space shoot-em-up
18:30:10Camouflagehahaha, that much i have gotten, i will be back shortly after scanning through the source code
18:30:12Camouflagethanks though :D
18:30:34raptorit's c++ (mostly) with some Lua, C, and... perl?
18:30:45raptorand python!
18:30:58raptorc++ is the language if you're looking to contribute
18:31:19Camouflagedont know much of that
18:31:27fordcarsDo you know Lua?
18:31:46raptorbut we could really use some AI done in Lua, too
18:31:46Camouflagenah, i know C thuogh
18:31:47fordcarsAnd Hi :)
18:31:58fordcarsC is usable in C++ :)
18:32:09Camouflagegreat!
18:32:44raptorjust think of all the problems in C, double them, then throw in some extra keywords and you know c++!
18:33:02fordcarsHaha
18:33:30Camouflagehahaha, not a problem. I just need to learn the syntax, i have worked with object oriented languages before
18:33:39fordcars. is the syntax :)
18:33:47Camouflagecurrently are there any small bugs that would help me start
18:33:53fordcars!bugs
18:33:53BFLogBotTo enter a bug: http://tinyurl.com/bfnewbug -- To view all bugs: http://tinyurl.com/bfbugs
18:33:57fordcarsPlenty :)
18:34:30watusimoto Quit (Quit: Leaving.)
18:35:22Camouflagecool, i'll get to it :D
18:35:25raptorfair warning - it's a large codebase and fairly complex
18:35:46raptorbut we're here to help :)
18:37:09Camouflagegood to know, just wanna say this is my first encounter with open source stuff, thanks for being supportive! :D
18:39:41raptorhow did you find about bitfighter?
18:43:09Camouflagei was looking for open source games
18:43:31Camouflagethen my friend who was a GSoCer at Joomla told me to look for Copyleft
18:43:38Camouflageand i got here through that
18:44:21raptorha!
18:44:44raptorwe worked with copyleftgames for a couple years on GCI
18:45:24Camouflageoh, so is it not part of copyleft anymore?
18:45:59raptorno we still are... "Copyleft Games Group" is small organization that gets together for GCI each year
18:46:33raptoryou can see the projects in the group on this page, sort of: http://gci.copyleftgames.org/
18:47:02raptorit's basically PySoy and friends, Wiimote, and us
18:47:04raptorpretty small
18:47:14fordcarsWow
18:47:19fordcarsIs that one of the 10 mentors?
18:47:33raptorthey were one of the 10 groups, yes
18:47:39fordcarsSweet :)
18:47:51Camouflageso are you guys students too?
18:48:07fordcarsraptor is a developer :)
18:48:26Camouflagecool
18:48:36raptori wonder when GCI starts this year...
18:48:41raptorI was a mentor last year
18:48:45fordcarsNovember I think?
18:49:16fordcarsraptor: I keep getting 403 Forbidden when trying to push to my clone, any idea?
18:49:44raptordid your credentials change?
18:49:54fordcarsNope, I checked it out
18:50:25amgine123 has joined
18:50:53raptorare you pushing to the correct URL?
18:51:05fordcarsYep
18:51:20raptoryou can check in the .hg/hgrc folder of the project... usually you need to push to a URL with your username in it
18:51:32fordcarsOk I'll check
18:51:44raptorand you know that the credentials are different than your account creds
18:51:46raptor?
18:51:51fordcarsOh
18:52:02raptorgo to your user page on google code
18:52:11raptorit'll show you your real credentials :)
18:53:00fordcarsOh hahah
18:53:02fordcarsThanks :)
18:53:16fordcarsTadaaa
18:55:35fordcarsI added highlighting to the winning team in the scorebord
18:56:02raptoroooo
18:58:20fordcarsWell by highlighting I mean changing the border color to white :)
18:58:38fordcarsIt teaches a lot about classes
19:00:02Camouflageguys, wont this work with Xcode5?
19:00:13raptornot sure
19:00:16raptorwe use CMake
19:00:24raptoryou'll have to generate a project with it
19:02:07fordcarscmake -G "Xcode" I believe
19:04:29Camouflagethanks, i'll try it out tomorrow, its pretty late here in the eastern part of the world. thanks for all the help! :D
19:06:08fordcarsYw :)
19:07:17Camouflage Quit (Quit: Page closed)
19:10:03amgine123hi
19:10:10amgine123anthing to test ?
19:13:14raptorheading home!
19:13:18raptor Quit ()
19:13:36amgine123he ignored me lmaio
19:16:35watusimoto has joined
19:16:36ChanServ sets mode +o
19:21:46Zapgamer has joined
19:21:52ZapgamerWatus
19:22:01amgine123hello
19:22:01watusimotohi
19:22:11amgine123anything new to test wattus
19:22:12ZapgamerMay I post a dropbox link in meh thread?
19:22:24ZapgamerIt's a bitfighter cursor
19:22:37Zapgamerbecause, .cur files aren't allowed to be attached
19:22:38amgine123been there done that ive already created one
19:22:47amgine123and posted it
19:22:53Zapgamer:c
19:22:57Zapgamerwhy not 2?
19:23:03amgine123lets see yours ;)
19:23:42Zapgamerhttps://www.dropbox.com/s/zmoqo16apl8zu8b/bitfighter.cur?dl=0
19:25:44LordDVG has joined
19:26:08watusimotoYou can post the cur in a zip file, perhaps?
19:27:03Zapgamerwat r yello nerds doing in me red nrds
19:33:22Zapgamer Quit (Ping timeout: 246 seconds)
20:10:23LordDVG Quit (Remote host closed the connection)
20:17:02Destroyerimo has joined
20:17:02Destroyerimo_clo Quit (Read error: Connection reset by peer)
20:41:36watusimoto Quit (Quit: Leaving.)
20:43:14watusimoto has joined
20:43:14ChanServ sets mode +o
20:43:43watusimoto Quit (Client Quit)
20:44:34amgine123hey raptor
20:44:41amgine123or somone
20:44:46amgine123I lost my BBB badge
20:44:58amgine123can i be awarded a another one free ?
20:58:44Zapgamer has joined
21:07:10Zapgamer Quit (Ping timeout: 246 seconds)
22:45:34fordcarsI think you have to pay a 10$ fee for recovering a badge. The money goes directly in raptor's ice cream budget

Index Search ←Prev date Next date→

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