00:00:12 | Watusimoto | that one starts c. 1:20 |
00:01:29 | Watusimoto | so what was the first bug? the kill streaks with mines? |
00:02:10 | Zapgamer | Killing teammates with mines gets you kill streaks |
00:02:36 | Zapgamer | in any gamemode that involves teams |
00:02:47 | Watusimoto | I'm not sure if that one is a bug or not |
00:03:10 | | kumul has joined |
00:04:17 | raptor | teleporter wall hack is not new |
00:04:26 | Watusimoto | it's new to me :-) |
00:04:45 | Watusimoto | I'm not sure how to prevent it, besides pushing teleporters further from walls |
00:06:20 | | fordcars has joined |
00:07:00 | raptor | don't worry about it |
00:07:11 | raptor | it's the only way people have been able to solve old, broken dungeons... |
00:13:47 | Watusimoto | I'm not terribly worried about it |
00:18:09 | raptor | what do you think about the mine bug? |
00:26:53 | | Zapgamer Quit (Quit: Page closed) |
00:31:38 | | Flynnn has joined |
00:31:38 | | Flynnn Quit (Client Quit) |
00:31:45 | | Flynnn has joined |
00:31:45 | | Flynnn Quit (Client Quit) |
00:31:51 | | Flynnn has joined |
00:38:15 | | BFLogBot Commit: fe8a9461d068 | Author: buckyballreaction | Message: Clean up MOTD processing on the master |
01:19:35 | Watusimoto | I think the mine bug is not really a bug, more of a quirk |
01:20:03 | raptor | heh, ok |
01:26:39 | Watusimoto | good night all |
01:26:43 | raptor | night |
01:32:43 | | Watusimoto Quit (Ping timeout: 272 seconds) |
02:24:32 | | kumul Quit (Quit: Leaving) |
02:35:03 | | BFLogBot Commit: 41c99e9f12bd | Author: buckyballreaction | Message: Fix viewing enemy mines when idle |
02:38:19 | | fordcars Quit (Ping timeout: 272 seconds) |
02:54:12 | | koda Quit (Quit: koda) |
03:11:05 | | BFLogBot Commit: 4f41db1f7dbc | Author: buckyballreaction | Message: Fix removal of Robot lines when saving in editor |
03:46:01 | | yomanurock has joined |
03:46:24 | yomanurock | hi raptor! |
03:46:33 | raptor | hi |
03:46:50 | raptor | I only have a minute or two, then i'll be back in about an hour... |
03:49:52 | yomanurock | k |
03:49:55 | yomanurock | bye |
04:07:54 | | fordcars has joined |
04:19:13 | | yomanurock has left #bitfighter |
04:29:02 | | Skybax Quit (Ping timeout: 252 seconds) |
04:30:04 | | Skybax has joined |
04:30:35 | Skybax | Hi Ford! |
04:34:36 | fordcars | Hi! |
04:39:43 | | yomanurock has joined |
04:40:00 | yomanurock | can anyone tell me how to use parseLevelLine()? |
04:40:51 | fordcars | raptor, what is the NeutralTeamIndex again? |
04:41:57 | yomanurock | raptor, are you there? |
04:42:42 | fordcars | Oh I got it nm |
04:45:29 | yomanurock | fordcars, can you tell me how to use Game::parseLevelLine? |
04:45:39 | fordcars | I have no idea :( |
04:46:10 | fordcars | Sorry :( Maybe you can get sam686 to help you |
04:48:05 | yomanurock | is he available right now? |
04:48:14 | fordcars | Uh, I guess not :/ |
04:48:23 | fordcars | I don't know |
04:48:59 | yomanurock | is raptor there, then? |
04:49:08 | fordcars | I don't know :/ |
04:49:24 | yomanurock | i need to use it in a vci task |
04:49:31 | yomanurock | ^^ i mean gci |
04:49:35 | fordcars | :P |
04:50:33 | yomanurock | i just need to know what params to pass |
04:51:37 | | Skybax_ has joined |
04:51:42 | yomanurock | to be more precise, i need to know what to pass for *database and const string &levelfilename |
04:51:58 | fordcars | Hmm |
04:52:10 | yomanurock | Skybax, do you know what params to pass to parseLevelLine? |
04:53:03 | yomanurock | (i am passing const char *line as a line of levelcode) |
04:54:23 | | Skybax Quit (Ping timeout: 272 seconds) |
04:55:33 | yomanurock | fordcars, are you still there? |
04:55:49 | fordcars | Yes? |
04:56:18 | fordcars | I don't know, but maybe it is only the item to parse? |
04:56:30 | fordcars | *line |
04:56:49 | yomanurock | maybe |
05:00:24 | yomanurock | I'm done! |
05:01:00 | fordcars | Yay! |
05:01:13 | yomanurock | fordcars, could u tell me how to commit and generate the changeset required? |
05:01:28 | yomanurock | (I'm new to mercurial, i use svn) |
05:01:55 | fordcars | Uh |
05:02:05 | fordcars | It would be hg push I beleive |
05:02:17 | fordcars | hg push -u |
05:02:20 | yomanurock | nothg commit? |
05:04:28 | | yomanurock has left #bitfighter |
05:04:49 | fordcars | Nope |
05:05:15 | fordcars | Yes, but that is only if it got approved and only watusimoto, raptor, kaen and sam can do that I think |
05:11:17 | | Skybax_ is now known as Skybax |
05:12:51 | Skybax | I had a tuna sandwich for dinner |
05:15:24 | raptor | hi |
05:16:55 | raptor | to commit: hg commit -u username |
05:17:02 | raptor | to push: hg push |
05:17:08 | raptor | ok good night! |
05:17:12 | | raptor Quit () |
05:23:10 | fordcars | Oh po |
05:23:14 | fordcars | GARGH |
05:23:18 | fordcars | COME BACK RAPTOR |
05:24:02 | fordcars | The bot's team index is somehow return -3 |
05:25:56 | fordcars | Oh comon |
05:26:12 | fordcars | Ok, the bot's team index is Neutral during the main() |
05:27:26 | | yomanurock has joined |
05:27:54 | yomanurock | i commited my changes and pushed them to my server side clone. |
05:28:09 | yomanurock | now how do i generate the required patch |
05:28:13 | yomanurock | > |
05:28:14 | yomanurock | ? |
05:28:49 | yomanurock | (required for gci that is) |
05:29:02 | Skybax | I know nothing about anything that you're doing |
05:30:48 | yomanurock | i was doing the gci task at http://www.google-melange.com/gci/task/view/google/gci2013/4918714122108928 |
05:30:56 | yomanurock | i am done with the task |
05:31:10 | yomanurock | but i am confused with what to submit |
05:31:13 | yomanurock | ? |
05:31:40 | fordcars | yomanurock, I think you are done |
05:32:00 | yomanurock | i am |
05:32:08 | yomanurock | but i don't know what to submit |
05:32:31 | fordcars | https://code.google.com/p/bitfighter/source/clones |
05:32:37 | fordcars | You already submitted! |
05:33:36 | yomanurock | i pushed my changes |
05:33:49 | yomanurock | but, what do i submit on the task page? |
05:35:01 | yomanurock | do i give a link to the change i made? |
05:35:46 | | yomanurock has left #bitfighter |
05:37:39 | Skybax | Just wave your hands in the air, dance around the room, and yell "Avocadoes!" over and over again |
05:48:05 | Nothing_Much | Skybax: wut |
05:52:13 | fordcars | Oh I think you have to contact watusimoto or raptor when they get back :/ |
05:53:25 | Nothing_Much | fordcars: who what? what for? |
06:10:48 | fordcars | For GCI1 |
06:10:52 | fordcars | *! |
06:12:06 | Nothing_Much | Ah |
06:32:11 | | Skybax Quit (Ping timeout: 272 seconds) |
06:33:26 | | Skybax has joined |
06:37:22 | fordcars | hi |
06:37:32 | Skybax | Hi |
06:44:21 | Nothing_Much | Hello |
06:47:19 | Skybax | Hallo |
06:50:45 | Nothing_Much | Hooloo |
06:52:11 | | Skybax Quit (Ping timeout: 272 seconds) |
06:52:53 | Nothing_Much | goodbye |
06:52:55 | Nothing_Much | :( |
06:52:59 | | Skybax has joined |
06:53:08 | fordcars | Hello! |
06:53:21 | Skybax | lol |
06:53:24 | Skybax | You guys are funny |
06:53:49 | Nothing_Much | Hurrrr |
06:53:58 | Skybax | My computer likes to disengage from my wifi every now and then.. I have to reengage it |
06:54:19 | Skybax | That's why I blink out all the time |
06:54:58 | Nothing_Much | well poo |
06:58:52 | Nothing_Much | fordcars: How did you find the GJ profile of Bitfighter? :O |
06:59:28 | fordcars | Uh, I didn't check it out yet since it is done! |
07:00:17 | fordcars | Oh sweet! |
07:00:25 | fordcars | Guess who voted Bitfighter :) |
07:01:30 | Nothing_Much | you lol |
07:01:36 | Nothing_Much | but it's now hidden from public view |
07:01:42 | Nothing_Much | which was what it was supposed to be in the first place |
07:01:43 | Nothing_Much | oh well |
07:06:36 | Nothing_Much | hopefully wat can finish it soon enough |
07:09:03 | | vs73nx has joined |
07:12:40 | fordcars | Poo it is late and Skybax's bot still doesn't work. He'll kick my... Anyway, night! |
07:12:42 | fordcars | :P |
07:12:59 | fordcars | jk :P |
07:13:02 | | fordcars Quit (Quit: Page closed) |
07:13:07 | Nothing_Much | haha |
07:13:14 | Nothing_Much | g'night fordcars |
07:26:46 | Skybax | Heh |
07:31:10 | Skybax | Last night he told me he was finishing it... and then earlier he said "four more hours" x) |
07:31:26 | Skybax | It must be bigger of a project than he realizes |
07:31:52 | Nothing_Much | Skybax: is fordcars making a bot for you? |
07:32:27 | Nothing_Much | or did you do some work yourself? |
07:35:52 | | vs73nx Quit (Ping timeout: 246 seconds) |
07:36:15 | | Skybax Quit (Ping timeout: 272 seconds) |
08:07:12 | | vs73nx has joined |
08:17:14 | | destroyerimo has joined |
08:22:35 | | vs73nx_ has joined |
08:23:09 | | vs73nx Quit (Ping timeout: 252 seconds) |
08:25:01 | | destroyerimo Quit (Ping timeout: 272 seconds) |
08:26:06 | | Nothing_Much Quit (Remote host closed the connection) |
08:28:23 | | Nothing_Much has joined |
08:31:31 | | vs73nx_ Quit (Ping timeout: 246 seconds) |
08:33:53 | | Nothing_Much Quit (Ping timeout: 272 seconds) |
08:34:11 | | vs73nx has joined |
08:36:46 | | Nothing_Much has joined |
08:37:00 | | Nothing_Much Quit (Remote host closed the connection) |
08:50:03 | | Darrel[OFF] is now known as Darrel |
08:57:31 | | vs73nx Quit (Ping timeout: 260 seconds) |
09:10:09 | | oskopek Quit (*.net *.split) |
09:10:12 | | LaunchDirector Quit (*.net *.split) |
09:10:19 | | Darrel Quit (*.net *.split) |
09:10:21 | | ChanServ Quit (*.net *.split) |
09:10:21 | | Flynnn Quit (*.net *.split) |
09:28:48 | | Flynnn has joined |
09:28:48 | | LaunchDirector has joined |
09:31:37 | | oskopek has joined |
09:31:52 | | Darrel has joined |
09:45:51 | | vs73nx has joined |
09:51:25 | | vs73nx Quit (Ping timeout: 272 seconds) |
09:53:24 | | vs73nx has joined |
09:53:24 | | ChanServ has joined |
09:53:24 | | asimov.freenode.net sets mode +o |
09:56:29 | | Nothing_Much has joined |
09:57:05 | Nothing_Much | freenode's having a bad day today :( |
09:58:03 | | Watusimoto has joined |
10:00:41 | | Nothing_Much Quit (Remote host closed the connection) |
10:04:32 | | Nothing_Much has joined |
10:04:58 | vs73nx | agreed |
10:19:36 | | vs73nx Quit (Remote host closed the connection) |
10:25:33 | | LordDVG has joined |
10:26:42 | | vs73nx has joined |
10:35:09 | | Flynnn Quit (Quit: This computer has gone to sleep) |
10:41:43 | | Watusimoto Quit (Ping timeout: 272 seconds) |
10:47:16 | | Flynnn has joined |
11:46:01 | | koda has joined |
11:51:23 | | LordDVG Quit (Ping timeout: 272 seconds) |
11:51:54 | | LordDVG has joined |
11:54:45 | | vs73nx Quit (Read error: Connection reset by peer) |
12:24:12 | | Flynnn Quit (Quit: This computer has gone to sleep) |
12:32:02 | | Flynnn has joined |
12:34:18 | | Flynnn Quit (Client Quit) |
12:35:21 | | Flynnn has joined |
12:38:39 | | Flynnn Quit (Client Quit) |
12:54:27 | | koda Quit (Ping timeout: 272 seconds) |
13:07:06 | | Darrel Quit (Ping timeout: 246 seconds) |
13:08:36 | | yomanurock has joined |
13:08:43 | | yomanurock has left #bitfighter |
13:36:23 | | Canseco has joined |
13:57:36 | | Darrel has joined |
14:14:39 | | kumul has joined |
14:29:15 | | ChanServ Quit (*.net *.split) |
14:29:50 | | ChanServ has joined |
14:29:50 | | asimov.freenode.net sets mode +o |
14:50:58 | | YoshiSmb has joined |
15:02:58 | | yomanurock has joined |
15:07:33 | | yomanurock Quit (Ping timeout: 272 seconds) |
15:10:34 | | Canseco Quit (Remote host closed the connection) |
15:31:58 | | raptor has joined |
15:31:58 | | ChanServ sets mode +o |
15:32:15 | | YoshiSmb Quit (Ping timeout: 272 seconds) |
15:32:40 | raptor | good morning! |
15:34:57 | oskopek | morning |
16:02:52 | sam686 | Oh so ClanServ couldn't stay here forever? ChanServ has quit IRC: NETSPLIT *.net *.split |
16:05:20 | | Darrel1 has joined |
16:05:28 | | Darrel Quit (Disconnected by services) |
16:05:34 | | Darrel1 is now known as Darrel |
16:07:48 | raptor | Hi Darrel, I'm looking at your code now |
16:08:00 | Darrel | alright, thanks |
16:08:46 | raptor | I'm not very familiar with Windows APIs, and I see you changed some of the winsock-related includes |
16:08:51 | raptor | what OS do you use? |
16:09:35 | | YoshiSmb has joined |
16:09:36 | Darrel | windows 7 |
16:10:54 | Darrel | about the winsock includes. old winsock.h was conflicting with ws2tcpip.h (which is required for what I had to do) |
16:11:08 | Darrel | and I noticed that other people doing this upgrade had also switched to winsock2.h |
16:11:34 | raptor | ok... do you know if that affects windows xp? |
16:11:59 | Darrel | "winsock2.h was designed to replace winsock.h, not extend it. Everything that is defined in winsock.h is also defined in winsock2.h." |
16:12:09 | Darrel | so I doubt that. |
16:12:49 | Darrel | if I'm not misunderstanding something, winsock 2 is actually windows 95+ |
16:13:05 | Darrel | so yeah, goes back 20 years, should be fine, lol |
16:13:16 | raptor | heh, ok |
16:13:38 | raptor | I see 2 problems with your code right away (1 is trivial): |
16:15:17 | | yomanurock has joined |
16:15:26 | yomanurock | hi raptor |
16:15:46 | raptor | 1. our code uses 3 spaces for indentation, not tabs see our code guidelines at: |
16:15:48 | raptor | !gci |
16:15:48 | BFLogBot | GCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started. |
16:16:06 | raptor | 2. compile error on Linux: std::memset doesn't exist (remove 'std'?) |
16:16:08 | raptor | hi yomanurock |
16:16:10 | Darrel | oh crap, damn Visual Studio.... I thought I fixed the 3 spaces... |
16:16:39 | yomanurock | raptor, could you review my gci task? |
16:18:27 | raptor | hi yomanurock - i can probably review bits of it since watusimoto knows more of what you're doing |
16:18:29 | sam686 | One way to change tab into spaces in visual studio: highlight/select TAB and copy (ctrl+c), edit, find and replace, quick replace, replace TAB (paste a tab, ctrl+v) with 3 spaces |
16:18:43 | yomanurock | its at http://www.google-melange.com/gci/task/view/google/gci2013/4918714122108928 |
16:18:49 | raptor | thanks |
16:22:05 | YoshiSmb | hello everybody! |
16:22:25 | yomanurock | hi YoshiSmb! |
16:22:48 | Darrel | ok, tabs fixed. now about the linux problem. as for the other problem, can you please tell me if adding <string.h> fixes it? |
16:23:02 | raptor | Darrel: no |
16:23:08 | raptor | i think you just need to remove std:: |
16:23:16 | raptor | memset isn't part of std |
16:23:42 | Darrel | let me check if that doesn't break on windows |
16:25:33 | Darrel | ok, yes, fine here. |
16:27:12 | Darrel | pushed both changes to my clone. too bad my linux VM is too limited on space, so I can't test there myself.. |
16:29:15 | raptor | ok, i'll check |
16:29:21 | yomanurock | when might watasimotu be online? |
16:29:55 | Darrel | he usually shows up about 1 hour from now, 19 pm for me. |
16:29:58 | raptor | i'm not sure.. probably within a couple of hours |
16:32:33 | raptor | Darrel: it compiles now, but I get a warning: udp.cpp:755:67: warning: NULL used in arithmetic |
16:32:49 | yomanurock | k, thx:) |
16:33:00 | Darrel | that was expected |
16:33:08 | Darrel | wasn't sure if I should go with 0 though. |
16:33:41 | Darrel | that's the if statement, right? |
16:33:50 | Darrel | yep, it is |
16:33:53 | raptor | looks liek yes |
16:34:07 | Darrel | last NULL to 0 should fix the warning |
16:35:19 | raptor | now the real test... if network stuff still works in-game :) |
16:35:41 | Darrel | fingers crossed.. lol |
16:36:41 | raptor | compiling... compiling... |
16:38:04 | raptor | Darrel: looks like it isn't working :( |
16:38:15 | Darrel | really? |
16:38:17 | Darrel | hmm |
16:38:19 | raptor | any DNS name (e.g. bitfighter.org) isn't being resolved |
16:39:15 | Darrel | i'll see what I've missed |
16:40:01 | Darrel | btw, how do you check for any DNS name? |
16:40:12 | Darrel | cause that was a problem for me, didn't really know how to test it |
16:41:33 | raptor | on the command line, do this: bitfighter -master bitfighter.org:25955 |
16:41:42 | raptor | that will force the address lookup |
16:42:02 | raptor | then just start game and go to the main menu, it will attempt to connect to the master server at bitfighter.org |
16:42:03 | raptor | and fail |
16:42:15 | sam686 | or while in a server browser /connect bitfighter.org:28001 or whatever listed thats running on bitfighter.org |
16:43:06 | Darrel | ah yes, I'll try to second option |
16:43:28 | Darrel | with the* |
16:43:47 | Darrel | first one doesn't really work on windows |
16:50:16 | raptor | good thinking sam686 |
16:55:32 | raptor | yomanurock: I've just briefly browsed your code |
16:55:42 | raptor | I have two concerns: |
16:56:04 | raptor | 1. are those new editor functions used anywhere? |
16:57:23 | raptor | 2. It looks like large parts of processLevelLoadLine (and family) have had some serious logic changes - like "GridSize" handling is different and I'm not even finding the old "LevelFormat" line |
17:00:21 | sam686 | it will help if you fix compile errors yourself, like having Game::parseLevelLine_objects in game.cpp also needs that same function placed in game.h somewhere inside Game class. |
17:02:11 | | YoshiSmb Quit (Ping timeout: 272 seconds) |
17:04:02 | | Flynnn has joined |
17:04:03 | yomanurock | k thx but how do i regenerate the chageset> |
17:04:06 | yomanurock | ? |
17:04:17 | raptor | what do you mean 'regenerate' ? |
17:04:31 | raptor | you did everything right - we can pull from your clone |
17:04:45 | sam686 | something with HG? or compiling? |
17:05:16 | yomanurock | k, so i add the new functions in game.h and then push again? |
17:05:25 | sam686 | if its HG, just make a new commit (when ready) and push |
17:06:02 | raptor | yomanurock: yes, make your changes then push them and we can slurp them in |
17:06:53 | yomanurock | k, so all i have to do (that is the changes) is that i need to add all the new functions in game.h right? |
17:07:14 | raptor | the end goal is to get the task to work |
17:07:17 | yomanurock | (and the refactor of processLevelLoadLine was given to me by watasimotu) |
17:07:24 | sam686 | yes, and make sure it compiles without errors |
17:07:49 | yomanurock | so to to the last bit (compiling) i follow the GCI student bootstrap again? |
17:07:54 | raptor | so a good test would be - open a notepad (or similar program), open the bitfighter editor |
17:08:08 | raptor | then copy objects in the editor, and paste them in the notepad |
17:08:41 | raptor | and in reverse - copy from notepad and paste in editor |
17:09:26 | yomanurock | how do i open the bit fighter editor? |
17:09:35 | raptor | it's on the main menu |
17:09:42 | raptor | start game -> select EDITOR |
17:12:02 | sam686 | Watusimoto wanted to make 'paste' not change GameType/teams parameters, which kindof make things a little harder, with the changes to game.cpp level loading... |
17:13:52 | yomanurock | sorry? |
17:17:41 | sam686 | I can test it, if you pushed your game.h changes to your clone.. |
17:19:13 | yomanurock | i can't find bitfighter in my exe directory (running fedora linux) |
17:19:28 | raptor | probably because the compile failed |
17:20:35 | yomanurock | no errors during compilation and also, i couldn't find it even before i made the changes (when i first followed the student bootstrap page) |
17:20:40 | sam686 | make (while in a build directory, after you did cmake .. stuff) (I forgot the debug flag to input into cmake thouth) |
17:21:01 | yomanurock | done all that |
17:21:31 | sam686 | unless you running some graphical C++ developer that can build and run those commands for you... |
17:21:53 | raptor | if it isn't in the exe directory after running 'make' then that means the compile failed |
17:22:14 | raptor | or cmake failed because of missing dependencies |
17:22:27 | yomanurock | but then it wasn't even then when i first bootstrapped it |
17:22:33 | yomanurock | (and make-d) |
17:22:36 | sam686 | look at compile errors, and try to fix it. |
17:23:08 | sam686 | if make does nothing, the problem is probably cmake. (make should take a good 30 seconds compiling) |
17:23:26 | yomanurock | k got the problem, i forgot to make it again after the changes were done (i caked) |
17:23:41 | yomanurock | ^^cmaked (stupid autocorrect) |
17:23:51 | yomanurock | just pushed the changes |
17:23:58 | yomanurock | could you test them for me? |
17:24:42 | sam686 | got the changes, now compiling.. |
17:25:18 | sam686 | and... compiler errors |
17:25:40 | yomanurock | could you paste them to me (using paste or something)? |
17:25:44 | sam686 | http://sam6.25u.com/upload/text1401/140104_17-25-33.txt |
17:26:21 | sam686 | the same error repeats itself for each .cpp file including the same game.h file with the error |
17:26:42 | raptor | yomanurock: you need to verify your changes work before telling us to verify |
17:27:06 | yomanurock | rookie mistake, forgot to put semicolons after pasting my function declarations :( |
17:27:33 | yomanurock | sorry, raptor |
17:27:37 | sam686 | but thats not the only error.. |
17:28:16 | raptor | not too worry - we're a big, complex project |
17:28:52 | sam686 | http://sam6.25u.com/upload/text1401/140104_17-28-28.txt (with the semicolon fix on game.h) |
17:29:04 | sam686 | still some errors |
17:29:20 | yomanurock | do i need to fix the warnings? |
17:29:27 | yomanurock | or just the errors? |
17:29:48 | sam686 | you don't need to fix the warnings, mostly the warnings that isn't from your changes |
17:30:11 | yomanurock | k |
17:31:42 | yomanurock | why does it say getDatabase() not found, other functions use it right? |
17:32:40 | sam686 | most likely the compiler get comfused and panics with a lot of errors after the first error in that same .cpp file |
17:35:13 | yomanurock | fixed most of the errors (if not all) |
17:35:17 | yomanurock | pushing now |
17:35:18 | yomanurock | done |
17:35:24 | yomanurock | could you test? |
17:36:09 | raptor | did you do a recompile to verify? |
17:36:19 | yomanurock | yes |
17:36:19 | raptor | and the bitfighter binary exists in the exe folder? |
17:36:22 | yomanurock | seems fine |
17:37:13 | raptor | you can tell if it works if the 'make' command ends with: Linking CXX executable ../../exe/bitfighter |
17:37:16 | yomanurock | no, can't find the bit fighter binary in the exe folder |
17:37:25 | raptor | that means the compile failed |
17:37:38 | yomanurock | but the make gives me only 3 lines of output which seems fishy |
17:37:50 | sam686 | what does that line say? |
17:37:51 | raptor | do this: make bitfighter |
17:37:54 | yomanurock | maybe some prob with my comp |
17:37:57 | raptor | and paste what it says |
17:38:36 | yomanurock | wait a second |
17:38:45 | yomanurock | might have to disconnect and reconnect |
17:38:55 | yomanurock | i am on my iPad right now |
17:38:58 | | yomanurock has left #bitfighter |
17:39:50 | | yomanurock has joined |
17:39:56 | yomanurock | hi raptor |
17:40:00 | yomanurock | hi sam686 |
17:40:06 | sam686 | hi |
17:40:10 | yomanurock | fine |
17:40:43 | yomanurock | the output after exec-ing 'make bitfighter' is .. |
17:41:03 | yomanurock | http://pastie.org/8600819 |
17:41:41 | sam686 | new errors.. http://sam6.25u.com/upload/text1401/140104_17-40-41.txt when I compile your changes.. |
17:42:02 | yomanurock | im using my old laptop with fedora on it |
17:42:17 | yomanurock | so it doesnt have many things |
17:42:29 | yomanurock | like ZLIP |
17:42:35 | yomanurock | and other stuff |
17:42:44 | yomanurock | ^^ZLIB |
17:44:28 | yomanurock | is there some other library i need to include? |
17:44:42 | yomanurock | cuz there are a lot of identifier not found errors |
17:44:52 | yomanurock | (even in the other functions) |
17:45:58 | sam686 | apt-get install libsdl1.2-dev zlib1g-dev libpng12-dev libopenal-dev libvorbis-dev libspeex-dev libmodplug-dev cmake build-essential mercurial |
17:46:07 | raptor | !gci |
17:46:07 | BFLogBot | GCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started. |
17:46:11 | sam686 | I think thats most of whats needed to build bitfighter |
17:47:12 | yomanurock | but are there some other libs to be included? |
17:47:26 | yomanurock | (lots of identifier not found warnings) |
17:47:32 | yomanurock | ^^errors |
17:47:42 | sam686 | one of them is mysql, but thats not required to build bitfighter |
17:47:56 | raptor | yes they are mentioned on the bootstrap page |
17:48:17 | raptor | specifically this line: "Linux users, you will have to install dependencies found here: http://bitfighter.org/wiki/index.php/Building_Bitfighter#Detailed_Instructions" |
17:49:30 | sam686 | run cmake .. again and make if it starts compiling hundreds of files, it should build (if no .cpp errors) |
17:49:40 | yomanurock | anyways, can you help me fix this warning -- |
17:50:56 | yomanurock | http://pastie.org/8600850 |
17:51:00 | raptor | yomanurock: you cannot continue until you've siccessfully completed the bootstrap |
17:51:07 | yomanurock | k |
17:51:21 | yomanurock | installing dependencies now |
17:52:06 | yomanurock | are the dependencies available if im using yum? |
17:52:16 | raptor | yes |
17:52:25 | raptor | let me see |
17:52:41 | sam686 | umm. string str = ...; char str[100] = str.c_str(); // duplicate 'str' name? |
17:53:11 | raptor | yomanurock: what fedora version? |
17:53:21 | yomanurock | 17 -- beefy miracle |
17:57:03 | yomanurock | k, most of it installs exept for all the development headers and libspeex |
17:57:24 | sam686 | to install packages its either apt-get install, or yum install, or something else, depending on which linux distribution it is. |
17:57:24 | raptor | i don't think that distro has sdl2 available, which is required for this task |
17:57:52 | yomanurock | i installed sdl2 from source earlier and it works |
17:58:14 | sam686 | if cmake finds sdl2, you are fine.. |
17:58:21 | yomanurock | it does |
17:59:26 | sam686 | if you have trouble with make doing nothing ,do a cmake and paste its output for us to see whats wrong |
18:00:38 | yomanurock | cmake cant find the dependencies though according to yum they are installed and running |
18:01:07 | yomanurock | http://pastie.org/8600885 |
18:01:20 | yomanurock | could you please test my code for me? |
18:01:29 | yomanurock | im in India and its night at the time |
18:01:40 | sam686 | you might need to install packages with -dev part, which is a separate package |
18:01:49 | yomanurock | i dont have more than about half an hour or so |
18:02:04 | yomanurock | (and gci ends in about a day) |
18:02:25 | | Skybax has joined |
18:02:59 | sam686 | I don't see any more of your pushed changes sincs.. 5 hours ago? looks like your timezone/clock might be wrong. |
18:03:58 | yomanurock | my laptop time might be wrong (and i live in India so theres a timezone difference) |
18:06:14 | yomanurock | anyways, can we get back to the errors? |
18:06:40 | yomanurock | i was asking if you could help me with there -- |
18:06:42 | yomanurock | http://pastie.org/8600850 |
18:07:01 | sam686 | thats a duplicate 'str' variable |
18:07:17 | sam686 | the compiler can get confused into which is which.. |
18:07:34 | yomanurock | ah got it! |
18:08:48 | yomanurock | i fixed all of the errors in my functions |
18:09:01 | yomanurock | as for the other identifier not found errors... |
18:09:06 | yomanurock | i dont know |
18:09:51 | yomanurock | maybe theres a problem in the #include statements |
18:10:03 | yomanurock | just pushed |
18:10:07 | yomanurock | could you check?? |
18:10:09 | yomanurock | ? |
18:10:09 | raptor | yomanurock: you cannot continue until you bootstrap |
18:10:27 | raptor | install the development headers of the packages: yum install Mesa-devel libmodplug-devel libpng-devel libvorbis-devel openal-soft-devel speex-devel |
18:10:34 | sam686 | you really need to compile, and fix your missing packages, probably the missing png(something)-dev zlib(something)-dev |
18:10:41 | raptor | then re-run cmake and paste the new output |
18:10:59 | yomanurock | k |
18:11:39 | yomanurock | no package mesa-devel available |
18:11:51 | yomanurock | as for the other packages, they are installing |
18:11:57 | raptor | ok |
18:12:06 | raptor | you need opengl headers |
18:12:18 | raptor | try libMesa-devel |
18:12:35 | sam686 | fewer errors, but there still compile errors http://sam6.25u.com/upload/text1401/140104_18-11-59.txt |
18:12:37 | | LordDVG Quit (Remote host closed the connection) |
18:12:55 | raptor | or lowercase: mesa-devel |
18:13:14 | raptor | or this: libGL-devel |
18:14:25 | yomanurock | installing libGL... |
18:14:34 | sam686 | I would get rid of the char str1[100], and put in str.c_str() for anything needing const char* |
18:14:48 | Darrel | Alrighty, I think it is fixed now. Committed and pushed to my fork. /connect bitfighter.org etc works. There might be some bugs that I haven't managed to test though... and hopefully nothing will break compiling on other OSes |
18:14:59 | Darrel | and I made sure to double check spaces :) |
18:16:54 | yomanurock | finally, cmake works!! |
18:16:56 | yomanurock | :) |
18:17:28 | Darrel | I hate cmake, to be honest... after getting used to waf, cmake is so weird, heh |
18:19:19 | yomanurock | now can i proceed? |
18:20:00 | raptor | yes! :) |
18:20:11 | raptor | now, do 'make bitfighter' |
18:20:12 | sam686 | after doing cmake, try make, is it still does nothing, there is still cmake problem |
18:20:21 | raptor | and start pasting errors |
18:20:39 | raptor | Darrel: i will check |
18:20:59 | raptor | cmake does have problems, yes, however it is very nice because we are cross-platform |
18:21:16 | yomanurock | http://pastie.org/8600938 |
18:21:42 | raptor | ah ha! |
18:21:45 | raptor | then cmake didn't work |
18:21:55 | sam686 | paste the cmake outputs? not just make |
18:21:56 | raptor | you are in the 'build' directory? |
18:22:04 | yomanurock | cmake gives me -- http://pastie.org/8600942 |
18:22:35 | raptor | ok, clean out cmake like so: rm CMake* -r |
18:22:50 | raptor | then rerun the cmake command and paste the output |
18:22:52 | yomanurock | in the build dir? |
18:22:56 | raptor | yes |
18:23:46 | yomanurock | now it gives -- |
18:24:00 | yomanurock | http://pastie.org/8600952 |
18:24:07 | sam686 | cmake outputs very little unless you clear/delete CMakeCache.txt |
18:24:11 | raptor | could not find SDL |
18:24:25 | yomanurock | but i built it from source |
18:24:30 | yomanurock | and the libs work |
18:24:31 | | Flynnn Quit (Quit: This computer has gone to sleep) |
18:24:52 | sam686 | I think its looking for SDL1 insteado of SDL2? dont' know |
18:24:54 | raptor | yes but if it's not on the system paths, cmake doesn't know where it is |
18:25:01 | raptor | sam686: it defaults to SDL2 |
18:25:40 | yomanurock | ah ha! |
18:25:47 | yomanurock | SDL's not in my path |
18:25:52 | sam686 | if the error could be a little more clearer, Could NOT find SDL or SDL2 |
18:26:09 | yomanurock | but how do i find where SDL is installed to add it to the path? |
18:26:19 | raptor | yomanurock: let me get you that.. |
18:26:50 | yomanurock | k |
18:27:30 | raptor | yomanurock: you do something like this: cmake -DCMAKE_BUILD_TYPE=Debug -DSDL2_SEARCH_PATHS="path/to/lib;path/to/header" .. |
18:27:48 | raptor | replace path/to/whatever with your libs/headers |
18:28:02 | yomanurock | sorry? |
18:28:25 | yomanurock | there is no path/to/whatever in the line you gave |
18:28:39 | raptor | of course not, you need to provide it |
18:29:06 | yomanurock | can i just add it to my system path variable? |
18:29:48 | raptor | you probably can with runnign 'make install' in your SDL2 source |
18:29:58 | sam686 | cmake/Modules/FindSDL2.cmake have some paths already defined into SDL2_SEARCH_PATHS |
18:30:02 | raptor | that should install the libraries and headers into your system - but you need to be root |
18:31:45 | | kumul Quit (Ping timeout: 272 seconds) |
18:32:44 | sam686 | 'su root' then 'make install' then 'exit', or just do 'sudo make install' |
18:32:49 | raptor | Darrel: testing... |
18:33:09 | yomanurock | i have installed sdl2 |
18:33:24 | yomanurock | but how do i get cmake to find it |
18:33:38 | yomanurock | its located in /usr/local/lib |
18:33:54 | sam686 | run cmake again (make sure you are no longer root) |
18:34:18 | raptor | but headers need to be installed, too |
18:34:23 | raptor | Darrel: so far it works! |
18:34:53 | Darrel | woohoo |
18:34:59 | raptor | one last check... |
18:35:04 | raptor | memory leaks.. :) |
18:35:17 | yomanurock | still could not find sdl |
18:36:43 | raptor | are the development headers installed? |
18:37:05 | yomanurock | yes |
18:37:25 | raptor | oh oops |
18:37:26 | yomanurock | (i tried implementing some SDL header files in a .cpp file and it worked) |
18:37:28 | raptor | you need this: |
18:37:41 | raptor | cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_SDL2=1 .. |
18:38:02 | raptor | forgot that on Linux, you need to explicitly say to use SDL2 |
18:38:15 | sam686 | exactly as I thought, it doesn't automatically use SDL2 |
18:38:25 | yomanurock | yes finally it found SDL |
18:38:27 | yomanurock | whoo |
18:38:28 | yomanurock | ! |
18:38:30 | yomanurock | :) |
18:38:36 | sam686 | why not search for both SDL and SDL2? |
18:39:01 | raptor | Darrel: passed! The last thing you need to do to comply with coding standards is to remove the whitespace in front of the opening parenthesis on the if statement |
18:39:10 | raptor | then I'll mark your task as complete |
18:39:24 | yomanurock | compiling |
18:39:41 | raptor | sam686: that's a good idea - I actually used to do that but then it was changed with a GCI task |
18:39:44 | Darrel | if( instead of if (, right? |
18:39:50 | raptor | Darrel: correct |
18:39:54 | Darrel | alright |
18:40:35 | Darrel | done |
18:40:51 | yomanurock | i get one error while building |
18:41:14 | Darrel | actually I got another whitespace to fix |
18:41:25 | yomanurock | says -- ‘setGridSize’ was not declared in this scope |
18:41:38 | yomanurock | i dont quite get the error |
18:41:42 | yomanurock | could you help? |
18:42:41 | yomanurock | sam686 are you there? |
18:43:05 | sam686 | use mLegacyGridSize = ? |
18:43:10 | raptor | Darrel: got it, i'll check you off |
18:43:27 | Darrel | thanks a lot |
18:45:16 | raptor | done |
18:46:26 | sam686 | there is no setGridSize function, not sure where you got that from... |
18:46:59 | raptor | actually yomanurock that refactor messed up a lot of the gridsize logic, as well as removed the LevelFormat parameter |
18:47:00 | Darrel | it's been a pleasure working with you guys, thanks for the help and the patience! :) |
18:47:11 | raptor | I think I'd start the refactor from scratch.. |
18:47:22 | raptor | Darrel: you're welcome |
18:47:30 | yomanurock | works now |
18:47:37 | yomanurock | made some changes |
18:47:50 | yomanurock | and my codes compiling now |
18:48:09 | yomanurock | and hopefully its working |
18:48:21 | yomanurock | just a few warnings |
18:48:35 | yomanurock | 2 errors! |
18:48:36 | yomanurock | damn |
19:00:46 | | Watusimoto has joined |
19:06:13 | yomanurock | fixed most errors |
19:06:35 | yomanurock | im pushing now |
19:07:47 | yomanurock | and its my bedtime now |
19:07:49 | yomanurock | so bye |
19:07:53 | | yomanurock has left #bitfighter |
19:35:30 | | LordDVG has joined |
19:35:32 | | amginea has joined |
19:35:41 | amginea | helo |
19:35:47 | amginea | anything new |
19:36:17 | amginea | 1ideas |
19:36:39 | amginea | Ideas |
19:36:43 | amginea | 1ideas |
19:36:51 | amginea | wow fail |
19:36:55 | amginea | new keybaord |
19:37:05 | amginea | !ideas |
19:37:05 | BFLogBot | To enter a feature request: http://tinyurl.com/bfnewfeature -- To view all feature requests: http://tinyurl.com/bffeatures |
19:42:41 | | Watusimoto Quit (Ping timeout: 272 seconds) |
19:53:20 | Skybax | raptor, what do you think about my idea for how ranks could be displayed? |
19:56:25 | amginea | hi sky |
19:58:52 | Skybax | Hi |
20:01:29 | amginea | anything new |
20:01:48 | amginea | btw skybax did you ever see te BF tee shirt thing i was working on |
20:02:04 | | LordDVG Quit (Remote host closed the connection) |
20:33:01 | Skybax | Yeah I did |
20:33:04 | Skybax | I was there when you made it lol |
20:41:08 | | yekimnator has joined |
20:41:09 | yekimnator | hi |
20:41:22 | | yekimnator Quit (Client Quit) |
20:42:13 | Nothing_Much | hel |
20:42:15 | Nothing_Much | lo |
21:00:12 | raptor | Skybax: I didn't understand your idea as 'how they are displayed' but as 'what to display' |
21:01:16 | Skybax | Well I had already mentioned how I thought they could be displayed lol but maybe you didn't see it. I didn't want to post another comment on there and say the same thing |
21:02:01 | raptor | ah, on the scoreboard |
21:02:06 | raptor | that is a possibility |
21:02:32 | raptor | we have already attempted to put them by the players name, or elsewhere around the ship - all of it made everything too noisy |
21:06:45 | Skybax | I don't think it should be around the ship at all |
21:07:12 | Skybax | Just on a scoreboard and whenever the player types, kills someone, or is killed |
21:07:57 | raptor | ok |
21:08:04 | raptor | I agree that's a good idea |
21:25:24 | amginea | uh ratpro sensor is broken againt cloak |
21:28:20 | amginea | raptor your server lacks level change |
21:41:46 | | Flynnn has joined |
22:20:26 | | Flynnn Quit (Quit: This computer has gone to sleep) |
22:24:10 | | Watusimoto has joined |
22:25:30 | Watusimoto | hi |
22:26:41 | oskopek | hi |
22:31:10 | oskopek | Watusimoto: I'm hitting something strange here.. I'm casting DatabaseObject pointers to BfObject*, and using getSerialNumber() to compare them.. the problem is, in the editor, when I "create a new object" it has the serial number of the last one for a couple of "moves", and then gets it's own.. do you have any idea why? or am I doing something wrong? |
22:32:04 | Watusimoto | remind me which project you are working on... |
22:32:23 | oskopek | undo/redo |
22:32:49 | Watusimoto | how are you creating the new objects? |
22:33:21 | oskopek | in the editor gui |
22:36:10 | oskopek | I think it's because I'm not saving the undo state as often as I want, probably my fault |
22:36:27 | Watusimoto | ok. so you create, say, two objects, then when you examine them they both have the same serial number? |
22:36:49 | Watusimoto | Darrel: thanks!! |
22:37:04 | Watusimoto | looks like you got your task wrapped up already! |
22:37:30 | Darrel | yep, and raptor was being very helpful :) |
22:38:03 | Watusimoto | he usually is |
22:38:32 | oskopek | Watusimoto: it was my fault, I was confused by the debug output.. now I'm saving undo states too often :) nvm, I'll fix it, sorry for the stupid question |
22:38:49 | Darrel | you guys should have pulled out more tasks, a pretty solid project like bitfighter sure has a lot to be done on :) and it's fun |
22:39:00 | Darrel | too bad I gave it a shot almost at the end of GCI |
22:40:06 | Watusimoto | oskopek: no problem! I like questions that you can answer yourself! Actually, quite often, just the act of asking a question leads you to an answer. |
22:41:02 | Watusimoto | Darrel: we didn't have a ton of projects (it's surprisingly hard to think of good ones), but some of them were quite hard, especially for a program like gci |
22:41:47 | oskopek | Watusimoto: exactly my case |
22:42:05 | Darrel | i think most organizations this year had tasks relatively harder compared to last year, that's true |
22:51:07 | raptor | hello |
22:55:10 | Watusimoto | Darrel: did you do many projects this year? |
22:56:45 | Darrel | 15 so far, if I'm not mistaken |
22:56:59 | Darrel | so yeah, I think I did a bit |
22:57:11 | Watusimoto | wow. mostly pysoy projects? |
22:57:22 | Darrel | most PySoy tasks are awfully research intensive.. and most of the stuff we are doing like totally lacks documentation so it is a challenge |
22:57:23 | Darrel | yeah |
22:57:33 | Darrel | pysoy only, actually. and one with you guys |
22:58:17 | Watusimoto | I've never really understood pysoy... what is the project supposed to do? |
22:58:54 | raptor | a game engine, I think |
22:59:41 | Darrel | yeah |
22:59:46 | Darrel | well, it's complex |
22:59:47 | Watusimoto | is it used by any downstream projects? |
22:59:58 | Darrel | but essentially it is being developed as 3d engine for python |
23:00:06 | Darrel | not yet, it is too young to be used in games |
23:00:20 | Darrel | we are working on basic stuff like rendering, client APIs, networking |
23:00:25 | Darrel | stuff like that |
23:00:36 | Watusimoto | so it's a pretty large-scale project |
23:00:50 | Darrel | it's been rewritten a dozen of times since it started in the 2005-2006s |
23:00:58 | Darrel | like, completely rewritten |
23:01:09 | Darrel | from weirdo language to more weirdo language, lol |
23:01:30 | Darrel | Genie is alright, but it is so poorly documented that it hurts |
23:01:52 | Darrel | pysoy is essentially the biggest project using it |
23:02:56 | Darrel | well, genie is just different syntax for vala, genie being more pythonish, vala being c#-ish, so vala documentation comes in handy. and it also works easily with GTK and glib, etc. |
23:03:34 | Darrel | it is interesting.. but new students are usually easily scared, it is just so different from most things they've seen before |
23:05:21 | Watusimoto | what's the appeal of working on a library that has been around so long, but isn't really being used (though i suppose I could ask what's the appeal of working on a game with such a small player base :-) |
23:05:43 | Watusimoto | not trying to say anything bad about the project there! |
23:06:39 | raptor | the appeal is that they let us join GCI! |
23:06:43 | Darrel | well, researching libsoy/pysoy and their commit histories, it is essentially a project for GCI and GSoC. I mean, Arc does have an idea in mind, but most of the time he is being the only real developer, with students helping here and there |
23:07:06 | Watusimoto | I see |
23:07:11 | Darrel | so developing it is slow.. like, real slow |
23:07:45 | Darrel | taking up work on it this year felt like just resuming from last year |
23:08:19 | Darrel | and it really was like that, there was some gsoc work, but most of it was on the same stage of development |
23:08:52 | Darrel | since most of the developers are being kinda inactive, and Arc is occupied with rugby and stuff like that |
23:10:05 | Darrel | to be completely honest, I don't even remember why I got involved with PySoy in the first place |
23:11:20 | Darrel | I think I was looking for android tasks.. and I saw some tasks for the pysoy android client (which is also in a quite fresh stage) |
23:11:35 | Darrel | and I jumped in, not knowing what I'm getting myself into, lol |
23:19:46 | Watusimoto | !gci |
23:19:46 | BFLogBot | GCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started. |
23:24:07 | Watusimoto | do you work on pysoy outside of gci/gsoc? |
23:24:34 | Darrel | occasionally, yes |
23:24:39 | raptor | on a completely unrelated note - it looks like the MOTD was broken in the 019 client |
23:24:52 | raptor | I also added a section for it in the forums header. how does it look? |
23:25:02 | Darrel | last year after gci I worked a bit on the android client. but as the weather started warming up, I started getting lazy, heh |
23:26:09 | Watusimoto | well, there is more to life than programming. or so I hear |
23:26:30 | Watusimoto | raptor: it looks good, though it's not terribly visible |
23:26:52 | Watusimoto | maybe the background could be a different color |
23:27:01 | Darrel | there are such rumors, yes. :P |
23:27:02 | Watusimoto | darker gray or even black? |
23:27:07 | raptor | yes please, need ideas on that |
23:27:38 | Watusimoto | or the text could be red, purple, or gold |
23:28:13 | Watusimoto | yeah, so where's my motd in the game? |
23:28:21 | raptor | exaxtly |
23:28:30 | raptor | works in 018 |
23:28:33 | Watusimoto | hmmm |
23:28:46 | raptor | i opened a bug on it with maybe a clue |
23:29:41 | raptor | after some debugging, i found that it is arriving in the client |
23:31:41 | Watusimoto | as for the contest, when you say another round, you mean round 3, or a round 4? |
23:33:31 | raptor | round 3 |
23:33:55 | raptor | a 'round' in my usage means: level submission + criticism |
23:43:03 | Watusimoto | so originally round 3 would start at midnight tomorrow, and you are essentially asking "do you really want to do it". right? |
23:43:21 | raptor | yes, instead of just accepting final revisions for voting |
23:43:28 | raptor | so either: |
23:43:40 | raptor | 1. accept final revisions, stop contest, start voting |
23:43:55 | raptor | or 2. do another criticism round with these revisions |
23:45:34 | Watusimoto | I'll ask any local constest entrants I know and will give you their opinion tomorrow |
23:45:56 | Watusimoto | not that that would be the deciding factor |
23:46:46 | raptor | heh, ok |
23:52:46 | | Flynnn has joined |
23:58:34 | | Flynnn Quit (Quit: This computer has gone to sleep) |
23:59:50 | | Flynnn has joined |