Timestamps are in GMT/BST.
| 00:00:15 | fordcars | Nope :/ |
| 00:00:20 | fordcars | 019c classic |
| 00:00:30 | fordcars | Well vanilla |
| 00:00:32 | raptor | ok |
| 00:00:36 | raptor | i'll test it out.. |
| 00:00:40 | fordcars | Sure |
| 00:01:44 | raptor | oh rats, i don't have a win8 VM on this machine.. . i'll have to do it tomorrow |
| 00:02:52 | sam686 | what does the "Date" say on the f7 diagnostics screen? |
| 00:03:35 | sam686 | maybe also the build version |
| 00:04:00 | sam686 | the date should be the same on all windows build if downloaded and not compiled yourself |
| 00:04:47 | sam686 | fordcars ? |
| 00:05:02 | fordcars | Yes? |
| 00:05:06 | fordcars | Oh |
| 00:05:09 | fordcars | Ok one tick |
| 00:06:00 | fordcars | Apr 1 2014 |
| 00:06:50 | sam686 | yes thats the 019c release day |
| 00:07:36 | fordcars | Ok good |
| 00:08:58 | sam686 | fordcars, what is the first level that loads when you start hosting? (game recording off so it doesn't crash) |
| 00:09:05 | | vs73nx_ has joined |
| 00:09:47 | sam686 | i think the problem might be a combination of game recording and the level? |
| 00:09:50 | | vs73nx Quit (Ping timeout: 272 seconds) |
| 00:09:52 | fordcars | (v_v) The epic dungeon |
| 00:10:05 | fordcars | I think so actually :P It looks like a messy dungeon |
| 00:10:14 | sam686 | maybe can I have that level? |
| 00:10:32 | fordcars | Sure |
| 00:11:24 | fordcars | http://pastie.org/9586492 |
| 00:16:09 | sam686 | fordcars i still can't get it to crash on me... |
| 00:16:20 | fordcars | That sucks :( |
| 00:16:45 | fordcars | I don't mind, but I hope it's not a bigger problem |
| 00:16:47 | sam686 | as a test does test from editor on after setting game recording from host menu on? |
| 00:17:15 | sam686 | or you can try removing all but a level from level folder and try hosting again? |
| 00:17:31 | sam686 | (not delete just move them out of level folder) |
| 00:21:56 | | vs73nx_ Quit (Remote host closed the connection) |
| 00:22:12 | | vs73nx has joined |
| 00:22:12 | | vs73nx Quit (Changing host) |
| 00:22:12 | | vs73nx has joined |
| 00:22:12 | fordcars | Nope with one level in the editor or in Host it still crashes |
| 00:22:21 | sam686 | fordcars, 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:45 | fordcars | Okay |
| 00:22:55 | fordcars | I already did that mistake haha |
| 00:24:31 | fordcars | http://pastie.org/9586504 |
| 00:31:42 | sam686 | fordcars, how many files do you have in the "record" folder? |
| 00:31:54 | fordcars | Oh, quite a lot |
| 00:32:13 | sam686 | how about try moving all of it out of there, or rename "record" folder into something else? |
| 00:32:23 | fordcars | Yep1 |
| 00:32:26 | fordcars | It works! |
| 00:32:29 | fordcars | Hahaaaa |
| 00:32:38 | fordcars | Too many records I guess |
| 00:33:28 | sam686 | obviously I got it to crash if a record folder have a file named 45435435345435355345.bf019 |
| 00:33:45 | fordcars | Oh wow |
| 00:34:22 | fordcars | Oh I got it |
| 00:34:37 | fordcars | I had one that had _bf019 instead of .bf019 |
| 00:35:05 | fordcars | Oh wait |
| 00:35:29 | fordcars | Never mind :P |
| 00:35:34 | fordcars | I think I just have too many |
| 00:35:35 | sam686 | the 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:53 | sam686 | whats the last number in your record folder? |
| 00:35:55 | fordcars | I have 215 |
| 00:37:43 | fordcars | I removed a few but it still crashes |
| 00:38:15 | fordcars | Oh there you go! |
| 00:38:30 | fordcars | Files starting without numbers made it crash, like bbb11 |
| 00:39:01 | fordcars | bbb11_ |
| 00:41:07 | sam686 | looks like it crashes somewhere inside stoi(string) if it starts with a letter or if number is too big |
| 00:43:41 | sam686 | stoi(files[i]); crashes on number too big, while atoi(files[i].c_str()); runs without crashing |
| 00:48:12 | sam686 | more like, unhandled or missing throw/catch when using stoi |
| 00:49:51 | fordcars | Nice find |
| 00:50:24 | fordcars | It should be an easy fix? |
| 00:53:12 | | vs73nx Quit (Remote host closed the connection) |
| 00:53:29 | | vs73nx has joined |
| 00:53:41 | sam686 | yes, easy fix |
| 00:54:21 | sam686 | easiest way is to change stoi(files[i]) into atoi(files[i].c_str()) in GameRecorder.cpp |
| 00:54:35 | sam686 | i don't quite know exacly how to write try catch |
| 00:54:52 | | vs73nx Quit (Client Quit) |
| 00:55:37 | | BFLogBot Commit: 492720a442 | Author: sam8641 | Message: Fixed game recording crash when record directory have number too big or not start with a number |
| 00:56:13 | sam686 | in the end, the problem wasn't anything OS specific as raptor though it may be... |
| 00:57:54 | raptor | what who? |
| 00:58:15 | sam686 | the game recording crash as a result of having a bad filename in record folder |
| 00:58:30 | sam686 | or a filename that starts with a letter or number too big |
| 00:58:54 | raptor | ohhh... actually |
| 00:59:10 | raptor | we use atoi for stoi on all platforms but windows |
| 00:59:27 | sam686 | i didn't know quit enough to write stoi try/catch handling |
| 01:00:02 | sam686 | atoi does't cause crash like stoi does which means something is different between the 2 |
| 01:00:14 | fordcars | Ah sweet |
| 01:00:17 | raptor | yes... windows is using it's own implementation |
| 01:00:26 | raptor | for all other platforms we use atoi |
| 01:00:30 | fordcars | Going to bed, night! |
| 01:00:32 | | fordcars Quit (Quit: Page closed) |
| 01:00:55 | raptor | see tnlPlatform.h:96 |
| 01:01:53 | sam686 | I thought linux natively does support atoi, so long as you include stdlib.h http://linux.die.net/man/3/atoi |
| 01:02:03 | raptor | yes it does |
| 01:02:08 | raptor | i'm saying that in stringUtils.cpp |
| 01:02:26 | raptor | if NEED_STOI is defined (which it is for Linux) then it is just a wrapper for atoi |
| 01:03:58 | sam686 | stoi is just a remap to atoi |
| 01:04:08 | raptor | so it means that when stoi is used on windows, it is not using atoi... which is probably why it crashes |
| 01:04:13 | raptor | yep |
| 01:04:15 | sam686 | the problem didn't show up on my visual C++ 2008 but it does on C++ 2013 |
| 01:04:20 | raptor | ahhh |
| 01:04:22 | raptor | ok |
| 01:04:41 | raptor | so maybe vc++ 2013 as a weird implementation |
| 01:05:07 | sam686 | in unfortunately bf 019c was compiled using probably vc++ 2013, which it throw and quit if unhandled if error |
| 01:05:18 | raptor | that stinks |
| 01:12:08 | sam686 | i 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:18 | sam686 | found one example of try/catch http://deepakyadav.me/blog/2014/01/string-to-number-conversion-in-c/ |
| 01:13:19 | raptor | blah |
| 01:13:36 | raptor | i don't want to always have to use try/catch with stoi |
| 01:14:11 | sam686 | try/catch seem to make more of a messy code |
| 01:15:28 | sam686 | oh 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:02 | sam686 | overall there is only about 4 places stoi are used |
| 01:18:18 | raptor | oh that's not bad |
| 01:18:31 | raptor | is there a way we could permantently override the one in vc++ ? |
| 01:18:38 | raptor | *permanently |
| 01:20:08 | sam686 | i know one way #define stoi(a) atoi(a.c_str()) |
| 01:20:28 | raptor | ha! that's great |
| 01:20:32 | sam686 | seels like a hack so i might be better just changing function |
| 01:20:38 | sam686 | or renaming function |
| 01:25:08 | sam686 | one more place stoi uses is pressing # button to edit ID - program dies on unandled exception |
| 02:13:37 | | vs73nx has joined |
| 02:13:37 | | vs73nx Quit (Changing host) |
| 02:13:37 | | vs73nx has joined |
| 02:16:06 | | vs73nx Quit (Client Quit) |
| 02:35:27 | | raptor Quit () |
| 03:34:55 | | vs73nx has joined |
| 03:35:40 | | LordDVG has joined |
| 03:39:04 | | vs73nx Quit (Remote host closed the connection) |
| 03:39:13 | | vs73nx has joined |
| 03:39:20 | | vs73nx Quit (Client Quit) |
| 03:58:33 | | Darrel Quit (Ping timeout: 260 seconds) |
| 05:59:26 | | LordDVG Quit (Remote host closed the connection) |
| 07:11:34 | | Flynnn has joined |
| 07:33:43 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 07:57:24 | | Destroyerimo_clo has joined |
| 08:00:20 | | Destroyerimo Quit (Ping timeout: 246 seconds) |
| 09:40:43 | | Destroyerimo_clo Quit (Ping timeout: 244 seconds) |
| 09:41:02 | | Destroyerimo_clo has joined |
| 11:39:49 | | raptor has joined |
| 11:39:49 | | ChanServ sets mode +o |
| 11:39:56 | raptor | good morning! |
| 12:00:41 | | raptor Quit (Ping timeout: 258 seconds) |
| 12:26:33 | | watusimoto has joined |
| 12:26:33 | | ChanServ sets mode +o |
| 12:41:31 | | raptor has joined |
| 12:41:31 | | ChanServ sets mode +o |
| 13:48:28 | watusimoto | hello |
| 13:57:21 | raptor | hi |
| 15:19:47 | | LordDVG has joined |
| 16:32:36 | | Flynnn has joined |
| 16:34:10 | | Flynnn Quit (Client Quit) |
| 17:31:21 | | LordDVG Quit (Remote host closed the connection) |
| 18:10:36 | | fordcars has joined |
| 18:26:42 | | Camouflage has joined |
| 18:27:30 | Camouflage | Hey guys, new here, trying to understand what this is all about |
| 18:27:38 | raptor | Hi! |
| 18:27:40 | raptor | welcome! |
| 18:29:07 | Camouflage | so i am really trying to understand what bitfighter is :P |
| 18:29:39 | raptor | it's a 2D multiplayer space shoot-em-up |
| 18:30:10 | Camouflage | hahaha, that much i have gotten, i will be back shortly after scanning through the source code |
| 18:30:12 | Camouflage | thanks though :D |
| 18:30:34 | raptor | it's c++ (mostly) with some Lua, C, and... perl? |
| 18:30:45 | raptor | and python! |
| 18:30:58 | raptor | c++ is the language if you're looking to contribute |
| 18:31:19 | Camouflage | dont know much of that |
| 18:31:27 | fordcars | Do you know Lua? |
| 18:31:46 | raptor | but we could really use some AI done in Lua, too |
| 18:31:46 | Camouflage | nah, i know C thuogh |
| 18:31:47 | fordcars | And Hi :) |
| 18:31:58 | fordcars | C is usable in C++ :) |
| 18:32:09 | Camouflage | great! |
| 18:32:44 | raptor | just think of all the problems in C, double them, then throw in some extra keywords and you know c++! |
| 18:33:02 | fordcars | Haha |
| 18:33:30 | Camouflage | hahaha, not a problem. I just need to learn the syntax, i have worked with object oriented languages before |
| 18:33:39 | fordcars | . is the syntax :) |
| 18:33:47 | Camouflage | currently are there any small bugs that would help me start |
| 18:33:53 | fordcars | !bugs |
| 18:33:53 | BFLogBot | To enter a bug: http://tinyurl.com/bfnewbug -- To view all bugs: http://tinyurl.com/bfbugs |
| 18:33:57 | fordcars | Plenty :) |
| 18:34:30 | | watusimoto Quit (Quit: Leaving.) |
| 18:35:22 | Camouflage | cool, i'll get to it :D |
| 18:35:25 | raptor | fair warning - it's a large codebase and fairly complex |
| 18:35:46 | raptor | but we're here to help :) |
| 18:37:09 | Camouflage | good to know, just wanna say this is my first encounter with open source stuff, thanks for being supportive! :D |
| 18:39:41 | raptor | how did you find about bitfighter? |
| 18:43:09 | Camouflage | i was looking for open source games |
| 18:43:31 | Camouflage | then my friend who was a GSoCer at Joomla told me to look for Copyleft |
| 18:43:38 | Camouflage | and i got here through that |
| 18:44:21 | raptor | ha! |
| 18:44:44 | raptor | we worked with copyleftgames for a couple years on GCI |
| 18:45:24 | Camouflage | oh, so is it not part of copyleft anymore? |
| 18:45:59 | raptor | no we still are... "Copyleft Games Group" is small organization that gets together for GCI each year |
| 18:46:33 | raptor | you can see the projects in the group on this page, sort of: http://gci.copyleftgames.org/ |
| 18:47:02 | raptor | it's basically PySoy and friends, Wiimote, and us |
| 18:47:04 | raptor | pretty small |
| 18:47:14 | fordcars | Wow |
| 18:47:19 | fordcars | Is that one of the 10 mentors? |
| 18:47:33 | raptor | they were one of the 10 groups, yes |
| 18:47:39 | fordcars | Sweet :) |
| 18:47:51 | Camouflage | so are you guys students too? |
| 18:48:07 | fordcars | raptor is a developer :) |
| 18:48:26 | Camouflage | cool |
| 18:48:36 | raptor | i wonder when GCI starts this year... |
| 18:48:41 | raptor | I was a mentor last year |
| 18:48:45 | fordcars | November I think? |
| 18:49:16 | fordcars | raptor: I keep getting 403 Forbidden when trying to push to my clone, any idea? |
| 18:49:44 | raptor | did your credentials change? |
| 18:49:54 | fordcars | Nope, I checked it out |
| 18:50:25 | | amgine123 has joined |
| 18:50:53 | raptor | are you pushing to the correct URL? |
| 18:51:05 | fordcars | Yep |
| 18:51:20 | raptor | you 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:32 | fordcars | Ok I'll check |
| 18:51:44 | raptor | and you know that the credentials are different than your account creds |
| 18:51:46 | raptor | ? |
| 18:51:51 | fordcars | Oh |
| 18:52:02 | raptor | go to your user page on google code |
| 18:52:11 | raptor | it'll show you your real credentials :) |
| 18:53:00 | fordcars | Oh hahah |
| 18:53:02 | fordcars | Thanks :) |
| 18:53:16 | fordcars | Tadaaa |
| 18:55:35 | fordcars | I added highlighting to the winning team in the scorebord |
| 18:56:02 | raptor | oooo |
| 18:58:20 | fordcars | Well by highlighting I mean changing the border color to white :) |
| 18:58:38 | fordcars | It teaches a lot about classes |
| 19:00:02 | Camouflage | guys, wont this work with Xcode5? |
| 19:00:13 | raptor | not sure |
| 19:00:16 | raptor | we use CMake |
| 19:00:24 | raptor | you'll have to generate a project with it |
| 19:02:07 | fordcars | cmake -G "Xcode" I believe |
| 19:04:29 | Camouflage | thanks, 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:08 | fordcars | Yw :) |
| 19:07:17 | | Camouflage Quit (Quit: Page closed) |
| 19:10:03 | amgine123 | hi |
| 19:10:10 | amgine123 | anthing to test ? |
| 19:13:14 | raptor | heading home! |
| 19:13:18 | | raptor Quit () |
| 19:13:36 | amgine123 | he ignored me lmaio |
| 19:16:35 | | watusimoto has joined |
| 19:16:36 | | ChanServ sets mode +o |
| 19:21:46 | | Zapgamer has joined |
| 19:21:52 | Zapgamer | Watus |
| 19:22:01 | amgine123 | hello |
| 19:22:01 | watusimoto | hi |
| 19:22:11 | amgine123 | anything new to test wattus |
| 19:22:12 | Zapgamer | May I post a dropbox link in meh thread? |
| 19:22:24 | Zapgamer | It's a bitfighter cursor |
| 19:22:37 | Zapgamer | because, .cur files aren't allowed to be attached |
| 19:22:38 | amgine123 | been there done that ive already created one |
| 19:22:47 | amgine123 | and posted it |
| 19:22:53 | Zapgamer | :c |
| 19:22:57 | Zapgamer | why not 2? |
| 19:23:03 | amgine123 | lets see yours ;) |
| 19:23:42 | Zapgamer | https://www.dropbox.com/s/zmoqo16apl8zu8b/bitfighter.cur?dl=0 |
| 19:25:44 | | LordDVG has joined |
| 19:26:08 | watusimoto | You can post the cur in a zip file, perhaps? |
| 19:27:03 | Zapgamer | wat r yello nerds doing in me red nrds |
| 19:33:22 | | Zapgamer Quit (Ping timeout: 246 seconds) |
| 20:10:23 | | LordDVG Quit (Remote host closed the connection) |
| 20:17:02 | | Destroyerimo has joined |
| 20:17:02 | | Destroyerimo_clo Quit (Read error: Connection reset by peer) |
| 20:41:36 | | watusimoto Quit (Quit: Leaving.) |
| 20:43:14 | | watusimoto has joined |
| 20:43:14 | | ChanServ sets mode +o |
| 20:43:43 | | watusimoto Quit (Client Quit) |
| 20:44:34 | amgine123 | hey raptor |
| 20:44:41 | amgine123 | or somone |
| 20:44:46 | amgine123 | I lost my BBB badge |
| 20:44:58 | amgine123 | can i be awarded a another one free ? |
| 20:58:44 | | Zapgamer has joined |
| 21:07:10 | | Zapgamer Quit (Ping timeout: 246 seconds) |
| 22:45:34 | fordcars | I think you have to pay a 10$ fee for recovering a badge. The money goes directly in raptor's ice cream budget |