Timestamps are in GMT/BST.
| 00:00:02 | GEOFBOT | adding defualt install path check |
| 00:00:03 | GEOFBOT | https://code.google.com/r/geofbot-bitfighter-tools/source/detail?r=748322b928aca48df2d611f1b7de37a818a1db5e |
| 00:00:08 | GEOFBOT | code is a little messy but it works |
| 00:00:12 | GEOFBOT | (for me at least) |
| 00:04:21 | GEOFBOT | nevermind, i have abetter idea of implmeneting it |
| 00:08:42 | | fordcars has joined |
| 00:12:06 | GEOFBOT | here is a better way of implementing default path searching for bitfighter notifier |
| 00:12:07 | GEOFBOT | https://code.google.com/r/geofbot-bitfighter-tools/source/detail?r=47873138f4485827e7eb1899f013a72a8ca3d893 |
| 00:13:48 | raptor | hi GEOFBOT |
| 00:13:55 | raptor | did that last iteration find it on your system? |
| 00:14:10 | raptor | if you installed in 'program files' |
| 00:15:11 | GEOFBOT | mine was installed in program files (x86) |
| 00:15:15 | GEOFBOT | and it found it |
| 00:15:27 | raptor | oh good |
| 00:15:50 | raptor | what if you start the game from the notifier, then exit the notifier - will the game exit? |
| 00:16:06 | raptor | I'm actually unfamiliar with the workies of subprocess.Popen |
| 00:16:08 | GEOFBOT | no |
| 00:16:09 | raptor | *workings |
| 00:16:17 | raptor | even better! |
| 00:18:14 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 00:25:04 | raptor | ok GEOFBOT, we have one more idea that I think would be good to implement |
| 00:26:21 | raptor | and that is a commandline argument for the executable, like so: bitfighter_notifier.exe -exepath "c:\some weird\not-standard\path\bitfighter.exe" |
| 00:26:39 | raptor | think you can do that, too? |
| 00:27:07 | GEOFBOT | sure |
| 00:28:14 | raptor | it would probably be useful for all three platforms, actually, and maybe could be done in the main() area, or thereabouts |
| 00:45:18 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 00:52:48 | raptor | I'm headed home - I'll be back later! |
| 00:53:31 | | raptor Quit () |
| 00:59:30 | | Flynnn has joined |
| 01:01:58 | | Nothing_Much has joined |
| 01:09:27 | Nothing_Much | Is it possible to make a .deb package for Bitfighter when compiling from source? (018a) |
| 01:09:37 | fordcars | uh |
| 01:09:52 | fordcars | http://ubuntuforums.org/showthread.php?t=2683 |
| 01:10:25 | fordcars | I guess the best way would be to ask raptor :) |
| 01:14:31 | Nothing_Much | fordcars: Well there's checkinstall, but that only applies to make stuff I think, BF uses cmake now |
| 01:15:01 | Nothing_Much | Oh also, if it's possible to add a feature, when you exit a game, you should make it exit to the game lobby instead of the main menu |
| 01:15:33 | Nothing_Much | fordcars: Curious, does the RPi use Armhf or just Armel |
| 01:16:42 | fordcars | I have no idea, but I think it is Arml |
| 01:17:48 | Nothing_Much | Ahh |
| 01:18:32 | Nothing_Much | I thought I could make a .deb for you to test out, but it probably wouldn't work anyways since the CPU I'm using is Armv7 |
| 01:22:48 | Nothing_Much | Speaking of CPUs, fordcars are you gettin' a new PC or Mac soon? |
| 01:23:55 | fordcars | Hehe I wish! We got a new MacMini but I can rarely use it :( It's always in use |
| 01:24:26 | Nothing_Much | Oh man that sucks |
| 01:25:16 | Nothing_Much | I'd sell ya my iMac but.. you're most likely across the country where I live plus the screen's messed up too, but viewable. |
| 01:26:47 | Nothing_Much | *from where I live |
| 01:48:21 | | Kiryx Quit (Ping timeout: 248 seconds) |
| 02:00:31 | fordcars | Nothing, sure :P |
| 02:07:26 | Nothing_Much | fordcars: Press tab to highlight anybody's name :) |
| 02:18:42 | | taslem has joined |
| 02:19:06 | | taslem is now known as Guest81359 |
| 02:22:57 | | Guest81359 Quit (Ping timeout: 250 seconds) |
| 02:32:45 | | raptor has joined |
| 02:32:45 | | ChanServ sets mode +o |
| 02:32:52 | raptor | howdy folks! |
| 02:35:48 | Nothing_Much | Howdy |
| 02:36:54 | sam686 | This levelgen creates a million memory leaks http://sam6.25u.com/upload/text1311/131121_02-36-31.txt |
| 02:37:57 | sam686 | My VLC (visual leak detector) is still taking more then 3 minutes dumping all those memory leaks.. |
| 02:38:21 | sam686 | make that more then 5 minutes. |
| 02:39:30 | raptor | oh yes, it sure does - you have to do + |
| 02:39:44 | sam686 | what +? |
| 02:39:59 | raptor | sorry my kids are near... |
| 02:40:10 | raptor | that will leak because addItem was never called |
| 02:40:11 | raptor | back in a b it |
| 02:40:38 | sam686 | would that mean someone could upload a levelgen that can memory leak that way? |
| 02:44:17 | fordcars | levelgens can easily crash the game though |
| 02:44:26 | fordcars | Try an infinite while loop :) |
| 02:45:11 | sam686 | This levelgen crashes bitfighter http://sam6.25u.com/upload/text1311/131121_02-44-57.txt |
| 02:47:31 | sam686 | Even with the loop removed it still crashes, probably with memory heap corruption |
| 02:49:37 | raptor | 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 02:49:49 | raptor | aach |
| 02:49:51 | fordcars | hi |
| 02:49:59 | raptor | sam686: was that a crash or an assert? |
| 02:50:13 | fordcars | raptor, fell asleep on your keyboard^ |
| 02:50:40 | sam686 | its some internal visual C++ memory heap corruption inside bitfighter.exe, not a TNLAssert |
| 02:50:53 | raptor | ok, that's bad |
| 02:51:18 | raptor | I did a lot of work to make it so there were no memory leaks between c++ and Lua |
| 02:51:27 | raptor | including with the editor plugins |
| 02:51:34 | raptor | so that leak |
| 02:51:46 | raptor | is it coming from Lua object creation or c++ object creation? |
| 02:51:57 | raptor | and does it go away when you switch levels? |
| 02:52:00 | sam686 | in BfObject::lua_removeFromGame settings removeFromGame(true) to (false) solves the crash, but then we are back to some more memory leak |
| 02:52:37 | raptor | yeah we don't want to do that.. |
| 02:54:35 | sam686 | At one time I Solved the LUA memory leak with revision 01414236b4ed |
| 02:55:58 | | Little_Apple has joined |
| 02:56:02 | raptor | looking... |
| 02:56:09 | Little_Apple | party night? |
| 02:57:09 | raptor | sam686: many more were added since, because we rearchitected a lot of the Lua system |
| 02:57:27 | raptor | and i solved all of them in june-july |
| 02:58:27 | raptor | luawrapper was also updated and added object caching for speed |
| 03:00:11 | Little_Apple | party night! |
| 03:00:42 | | Flynnn Quit (Quit: Leaving) |
| 03:01:50 | sam686 | it just seems like the problem keeps coming back.. |
| 03:02:27 | raptor | does the leak still exist after you change levels? |
| 03:03:09 | sam686 | it doesn't leak, it only leaks when running my above levelgen, or crash in a case of my second levelgen |
| 03:03:40 | raptor | i don't understand - if you change to a different level, does the leak go away from the first levelgen you posted? |
| 03:04:03 | sam686 | no it doesn't as those leak is leaked at running my lua main() |
| 03:04:11 | | Skybax_ Quit (Read error: Connection reset by peer) |
| 03:04:21 | sam686 | leaks stays leaked until program exit |
| 03:04:49 | raptor | ok, then that is a problem... are the leaked objects Lua-based or c++ based? |
| 03:04:51 | sam686 | but if a server meant to run continously, it could eventually use gigabytes of memory from those leaked memory |
| 03:05:18 | | Skybax_ has joined |
| 03:05:23 | sam686 | LUA created TestItem.new() but never added to game, and it leaked |
| 03:05:53 | raptor | ok, then the solution is to clear them at the end of a level |
| 03:05:59 | raptor | in Lua |
| 03:06:11 | raptor | it may be resolved with my sandbox changes I've been working on |
| 03:06:22 | sam686 | ok |
| 03:06:34 | raptor | so I'm worried more about the crashing... |
| 03:06:50 | raptor | I will add an 019 issue with your levelgens to make sure it is fixed |
| 03:07:20 | sam686 | The crashing? http://sam6.25u.com/upload/text1311/131121_02-44-57.txt caused by adding the same item back into game after removing from game. |
| 03:08:02 | sam686 | Caused by when we delete objects on removed |
| 03:08:16 | raptor | is some memory not being set to NULL? |
| 03:09:01 | sam686 | its almost like LUA have their own reference count, and we are not incrementing on added to game / decrementing on remove from game |
| 03:09:38 | sam686 | but then, it appears LUA never deletes any objects (TestItem ResourceItem) it appears |
| 03:10:12 | raptor | added issue: https://code.google.com/p/bitfighter/issues/detail?id=308 |
| 03:11:33 | sam686 | Not only that, BfObject::removeFromGame(true); is more like "delete this;" before this->mGame == NULL, that could cause a crash or some problems as well |
| 03:13:01 | raptor | interesting |
| 03:13:09 | raptor | if you find a solution to the crash, make sure it doesn't add further leak, including with editor plugins |
| 03:24:12 | | kylebirnbaum has joined |
| 03:25:03 | kylebirnbaum | does anyone here know the in's and out's of UIChat.cpp |
| 03:26:48 | kylebirnbaum | how can i save the entered text to another variable, or what is the variable for the entered text? |
| 03:30:33 | | Little_Apple Quit (Ping timeout: 250 seconds) |
| 03:30:41 | sam686 | ChatUserInterface::onKeyDown / onTextInput is the input of the keyboard stuff |
| 03:32:21 | kylebirnbaum | but when the enter key is pressed, a string is submitted where is that string stored before it is submitted, or is that it and I am just not paying attention? |
| 03:33:40 | sam686 | issueChat is where it graps whatever is in mLineEditor.c_str() |
| 03:34:42 | raptor | hi kylebirnbaum |
| 03:35:43 | sam686 | but We have some commands in UIQueryServers.cpp QueryServersUserInterface::issueChat() (all that make sense to only be in server list (or lobby list as the title of this menu calls it) |
| 03:36:04 | fordcars | I think he means the actual var holding the actual string being sent to server |
| 03:36:32 | raptor | no I think he's looking for the client-side message storing |
| 03:36:34 | sam686 | nervermind, maybe the /mute can be moved to QueryServersUserInterface |
| 03:37:14 | raptor | kylebirnbaum: you are working on the scrolling widget for a UI? |
| 03:38:00 | sam686 | the UI keyboard inputting and submitting chat (issueChat) is client side, up until inside the c2mSendChat thats in master server side. |
| 03:38:42 | kylebirnbaum | no, im doing the 'press up to recall previous commands' |
| 03:38:49 | raptor | ohhhhh |
| 03:38:52 | raptor | my bad, sorry |
| 03:39:03 | raptor | i think everything you want is in the LineEditor class |
| 03:39:41 | sam686 | There also commands while in game hosting or joined a server (press / or G or T) |
| 03:39:44 | raptor | specifically, take a look at LineEditor::handleKey |
| 03:40:29 | raptor | you may need to implement your own buffer for past commands, maybe a vector<string> as a private member on the class |
| 03:44:38 | raptor | back in a bit... |
| 04:09:02 | | GEOFBOT Quit (Read error: Connection reset by peer) |
| 04:13:00 | | Nothing_Much_ has joined |
| 04:13:28 | | Nothing_Much Quit (Ping timeout: 245 seconds) |
| 04:22:35 | | destroyerimo has joined |
| 04:22:51 | | kumul has joined |
| 04:23:37 | | Nothing_Much_ Quit (Remote host closed the connection) |
| 04:25:10 | | Nothing_Much has joined |
| 04:32:28 | amgine123 | zzz' |
| 04:36:51 | | fordcars Quit (Ping timeout: 250 seconds) |
| 05:01:24 | | kumul Quit (Quit: Leaving) |
| 05:14:10 | | Nothing_Much Quit (Read error: Connection reset by peer) |
| 05:14:15 | | Nothing_Much_ has joined |
| 05:16:25 | | kylebirnbaum Quit (Quit: Page closed) |
| 05:28:43 | | Platskies has joined |
| 05:42:35 | | destroyerimo Quit (Ping timeout: 240 seconds) |
| 05:57:11 | amgine123 | bye |
| 05:57:15 | | amgine123 Quit (Quit: Page closed) |
| 06:15:05 | | sam686 has left #bitfighter |
| 06:27:43 | | Platskies Quit (Quit: Leaving) |
| 06:29:43 | | Nothing_Much_ Quit (Ping timeout: 272 seconds) |
| 06:33:39 | | Nothing_Much has joined |
| 06:39:45 | | HylianSavior Quit (Read error: Connection reset by peer) |
| 06:40:05 | | Kiryx has joined |
| 07:31:25 | | raptor Quit () |
| 08:19:25 | | Invisible has joined |
| 08:24:40 | | koda has joined |
| 08:35:19 | | BFLogBot Commit: 439c4a007abd | Author: buckyballreaction | Message: New badge! Last-Second Win in a CTF game |
| 08:39:36 | | Darrel has joined |
| 08:42:38 | | Skybax_ Quit (Ping timeout: 245 seconds) |
| 08:42:38 | | Skybax Quit (Ping timeout: 245 seconds) |
| 08:49:13 | | LordDVG has joined |
| 09:01:06 | | grypoB has joined |
| 09:01:34 | | grypoB Quit (Client Quit) |
| 09:18:28 | | Invisible Quit (Ping timeout: 245 seconds) |
| 10:00:08 | | Platskies has joined |
| 10:13:31 | | LordDVG Quit (Remote host closed the connection) |
| 10:34:21 | | Invisible has joined |
| 11:10:04 | | Invisible Quit (Ping timeout: 264 seconds) |
| 12:05:14 | | Platskies Quit (Read error: Connection reset by peer) |
| 12:07:57 | | Platskies has joined |
| 12:26:44 | | Platskies Quit (Quit: Gotta go) |
| 12:26:50 | | Watusimoto has joined |
| 12:52:45 | | Watusimoto Quit (Ping timeout: 265 seconds) |
| 13:11:30 | | destroyerimo has joined |
| 13:12:38 | | Johnaudi has joined |
| 13:12:46 | Johnaudi | Hi guys |
| 13:12:53 | Johnaudi | And hi Darrel |
| 13:13:48 | | Johnaudi Quit (Client Quit) |
| 13:14:50 | | Johnaudi has joined |
| 13:15:26 | Johnaudi | Looks like you're one of those who will win the trip in gf |
| 13:15:34 | Johnaudi | Gci* |
| 13:15:55 | | LordDVG has joined |
| 13:16:32 | | Johnaudi has left #bitfighter |
| 13:28:57 | | destroyerimo_ has joined |
| 13:30:59 | | watusimoto has joined |
| 13:30:59 | | ChanServ sets mode +o |
| 13:32:13 | | destroyerimo Quit (Ping timeout: 245 seconds) |
| 13:41:31 | | Invisible has joined |
| 13:41:59 | | grypoB has joined |
| 13:43:44 | grypoB | Hi, i finished my GCI task (associate a music to a level) and was wondering if someone could review the code and tell me if i completed the task. |
| 13:46:45 | | Invisible Quit (Ping timeout: 248 seconds) |
| 14:09:20 | | watusimoto Quit (Quit: Leaving.) |
| 14:09:36 | | watusimoto has joined |
| 14:09:36 | | ChanServ sets mode +o |
| 14:12:07 | grypoB | hi watusimoto, i finished my gci task and was wondering if you could review it (https://google-melange.appspot.com/gci/task/view/google/gci2013/5317616994353152) |
| 14:12:22 | watusimoto | hi grypoB |
| 14:12:43 | watusimoto | I'm at work now, so I can chat occasionally, but will have to wait until this evening to take a look at your work |
| 14:12:53 | watusimoto | what time zone are you in? |
| 14:13:05 | grypoB | CET |
| 14:13:06 | watusimoto | or, better, what time is it there? |
| 14:13:13 | watusimoto | that's europe, right? |
| 14:13:15 | grypoB | 15:13 |
| 14:13:19 | watusimoto | perfect |
| 14:13:19 | grypoB | yep |
| 14:13:23 | watusimoto | that's where I am too |
| 14:13:37 | | Watusimoto_ has joined |
| 14:13:40 | watusimoto | so I can take a look this evening |
| 14:13:53 | grypoB | ok, i'll wait |
| 14:13:55 | watusimoto | I'm in luxembourg -- where are you located? |
| 14:14:32 | grypoB | swiss |
| 14:14:40 | grypoB | *switzerland |
| 14:14:53 | watusimoto | switzerland is one of my favorite places to visit |
| 14:15:01 | watusimoto | I love mountains |
| 14:15:22 | grypoB | the skiing season has began ! |
| 14:15:27 | watusimoto | lucky |
| 14:15:41 | watusimoto | we just got our first snow here in luxembourg, but there's no skiing |
| 14:16:08 | | Invisible has joined |
| 14:17:12 | watusimoto | I've been to the Bern area a few times for skiing and hiking |
| 14:18:44 | grypoB | it's nice there, but my favorite spot for hiking is the "four kanton lac" |
| 14:19:30 | watusimoto | I don't know it -- most of my trips have been to Austria or France |
| 14:21:54 | grypoB | that reminds me i' have never been to luxembourg. |
| 14:22:39 | watusimoto | it is in some ways similar -- a small relatively wealthy country with many languages |
| 14:22:57 | grypoB | ^^ |
| 14:23:16 | grypoB | but it's mostly french right ? |
| 14:23:24 | watusimoto | no |
| 14:23:37 | watusimoto | luxembourgish is the native language, and that's very close to german |
| 14:23:53 | watusimoto | but almost everyone speaks french also |
| 14:24:35 | watusimoto | so the three "national" languages are luxmebougish, german, and french |
| 14:24:44 | watusimoto | but english is also widely spoken |
| 14:24:48 | grypoB | oh, ok |
| 14:25:05 | grypoB | english as in nearly every country |
| 14:25:16 | watusimoto | yes, but in some places more than others |
| 14:25:57 | watusimoto | in scandanivia, english is nearly 100% I think |
| 14:26:11 | watusimoto | but less so in france |
| 14:26:22 | watusimoto | and italy |
| 14:26:31 | grypoB | for france it is more a problem of quality i think |
| 14:26:35 | watusimoto | :-) |
| 14:27:05 | watusimoto | native enlgihs speakers rarely do well with french, either |
| 14:27:22 | grypoB | i think 90% of the french learn it as their first foreign languge |
| 14:27:38 | watusimoto | maybe now |
| 14:27:47 | grypoB | that's true |
| 14:28:35 | | grypoB Quit (Quit: Page closed) |
| 14:49:43 | | Invisible Quit (Ping timeout: 265 seconds) |
| 14:50:41 | | Watusimoto_ Quit (Ping timeout: 272 seconds) |
| 15:31:00 | | LordDVG Quit (Remote host closed the connection) |
| 16:04:53 | | destroyerimo_ Quit (Ping timeout: 272 seconds) |
| 16:21:04 | | Invisible has joined |
| 16:47:21 | | sam686 has joined |
| 16:47:21 | | ChanServ sets mode +v |
| 16:48:42 | | raptor has joined |
| 16:48:42 | | ChanServ sets mode +o |
| 16:49:06 | raptor | good day! |
| 16:53:38 | raptor | watusimoto: i finished the last badge! it's a hard one to get, too... |
| 16:56:53 | | Johnaudi has joined |
| 16:56:57 | Johnaudi | hey guys |
| 16:57:12 | Johnaudi | oh and I watusimoto, never saw you here before |
| 16:57:31 | watusimoto | hi |
| 16:57:42 | watusimoto | hi Johnaudi: just checking the project out |
| 16:57:53 | Johnaudi | project as in the task? |
| 16:57:55 | watusimoto | raptor: it looks like a good badge |
| 16:58:04 | watusimoto | Johnaudi: just trying to figure out what bitfighter is |
| 16:58:10 | Johnaudi | ohh okay |
| 16:58:17 | Johnaudi | anyways - raptor have you checked the task yet? |
| 16:58:25 | watusimoto | just kidding -- actually, I'm the founder of the project |
| 16:58:51 | Johnaudi | makes more sense, because they always tell me you're the one able to explain the codes for me |
| 16:58:53 | raptor | heh |
| 16:58:54 | watusimoto | I've just been really busy the past couple of days |
| 16:59:23 | Johnaudi | take not pressure, gci si for 48 days after all |
| 16:59:33 | watusimoto | yes |
| 16:59:39 | watusimoto | what are you working on? |
| 16:59:53 | Johnaudi | anywho, raptor did you check my task? I wana pick the music widget one |
| 16:59:57 | Johnaudi | hmmm let me send you the link |
| 17:00:23 | Johnaudi | http://www.google-melange.com/gci/task/view/google/gci2013/6603341224214528 |
| 17:00:27 | Johnaudi | brb eating |
| 17:00:36 | watusimoto | raptor: I just can't seem to finish that task I'm working on |
| 17:00:51 | raptor | watusimoto: which one? because I can't seem to finish mine either... |
| 17:00:52 | watusimoto | I keep either falling asleep or try some new approach that doesn't work |
| 17:01:08 | watusimoto | the "frame" issue |
| 17:01:15 | raptor | oh yuk |
| 17:01:18 | watusimoto | the one where the old level pops up for an instant |
| 17:02:07 | watusimoto | whoa... I made a lot of typos in that task description |
| 17:02:46 | watusimoto | yuk indeed. I want to finish it tonight, but I already dozed off here at work once, which is not a good omen |
| 17:03:54 | raptor | i keep telling myself that about the sandbox issue - but the 3rd-born keeps depriving me of sleep and I can't seem to grasp the brain power necessary to finish it... |
| 17:05:33 | watusimoto | I hear you! |
| 17:06:53 | raptor | someone claimed the ipv6 task 2 days ago |
| 17:07:04 | watusimoto | I saw that |
| 17:07:07 | raptor | however that suicidal person has not shown up yet... |
| 17:07:25 | raptor | i'm not even sure I can be an effective mentor for that task... |
| 17:07:34 | watusimoto | none of us can |
| 17:07:38 | | koda Quit (Ping timeout: 245 seconds) |
| 17:07:47 | raptor | oh rats! koda was here! |
| 17:07:51 | watusimoto | sam686 is probably our best bet |
| 17:07:57 | watusimoto | bye koda |
| 17:08:04 | Johnaudi | most of the task are hard to understand :p |
| 17:08:22 | Johnaudi | good thing you guys list your iRC everywhere |
| 17:08:43 | watusimoto | you understand your task? |
| 17:08:55 | Johnaudi | yup I finished it and waiting moderation since yesterday |
| 17:09:01 | sam686 | hi |
| 17:09:08 | watusimoto | hi sam686 |
| 17:09:18 | raptor | oh Johnaudi, with just a cursory look on that task, can you make sure to set your indentation to 3 spaces? |
| 17:09:42 | Johnaudi | oh, sorry for that - should i upload it again or just from now on? |
| 17:10:06 | raptor | let me look - |
| 17:10:42 | raptor | I think do that now, fix the indents; also, there is code in that diff from bitfighter_test/main_test.cpp which I think should be reverted |
| 17:11:33 | Johnaudi | ah give me sec |
| 17:12:11 | Johnaudi | I've lost the files x.x |
| 17:12:57 | raptor | Johnaudi: you are working in a clone, yes? |
| 17:13:07 | Johnaudi | well - not really |
| 17:13:17 | Johnaudi | I'm just using diff of the clone |
| 17:13:21 | raptor | ah... |
| 17:13:40 | | Invisible Quit (Ping timeout: 264 seconds) |
| 17:13:42 | Johnaudi | could we pass that one for now? |
| 17:13:49 | Johnaudi | I'll set indention for future task from now on |
| 17:14:05 | raptor | well - did you lose the code entirely? |
| 17:14:53 | sam686 | What I do is copy a Tab, find and replace (ctrl+F and quick replace mode), and replace Tab with 3 spaces |
| 17:15:08 | watusimoto | or it is probably easy to fix in sublimetext |
| 17:15:18 | sam686 | you can't exactly directly type in a tab, but you can copy and paste a tab |
| 17:15:19 | raptor | I think as mentors, we'd like it if you got the code formatting correct and were able to keep track of code in your own clone (especially if you're going to code with us more often) |
| 17:16:00 | Johnaudi | could you beautify it though? |
| 17:16:03 | | kumul has joined |
| 17:16:07 | watusimoto | formatting is especially important -- not just here, but when you work with any existing codebase |
| 17:16:15 | Johnaudi | yeah I know |
| 17:16:16 | watusimoto | maintainers tend to be very picky about that |
| 17:16:25 | Johnaudi | we use styling all the time on graal |
| 17:16:56 | watusimoto | in my last job we would argue for hours about the formatting |
| 17:17:13 | Johnaudi | yeah, after all it's all about opinion |
| 17:18:21 | raptor | i get to code with 3 spaces and braces on their own line, in bitfighter; then at work, it's tabs and opening braces on same line |
| 17:18:43 | watusimoto | tabs??? |
| 17:18:47 | sam686 | but then again Tab only takes one byte, triple spaces takes 3 bytes, the source code could shrink by several kilobytes by using tabs instead of triple spaces |
| 17:19:01 | watusimoto | I didn't know anyone still used tabs |
| 17:19:18 | raptor | eclipse + java |
| 17:19:24 | watusimoto | it's more than opinion -- well formatted code, consistely formatted code, makes it easier to spot errors |
| 17:19:45 | watusimoto | as to which precise standard to pick... well, that I guess is somewhat opinion |
| 17:20:04 | sam686 | the problem is when using mixed tabs and spaces, how far tabs indent depends on which editor you using.. |
| 17:20:37 | raptor | eclipse + java means no need for normal text editor or other tools, so spaces/tabs are a non-issue. thus, everyone just used default settings of eclipse |
| 17:20:45 | Johnaudi | I use tabs <- |
| 17:21:06 | Johnaudi | spaces are obligatory on bukkit |
| 17:21:19 | sam686 | some linux users don't use IDE at all when editing source code |
| 17:21:32 | raptor | those crazy linux users... |
| 17:24:44 | sam686 | As usual I see myself using tabs, and easily see tabs as really far ident in turtoiseHG diff |
| 17:25:20 | Johnaudi | http://pastie.org/8498813 |
| 17:25:21 | Johnaudi | indented |
| 17:26:22 | raptor | watusimoto, how can he get his IDE set up for unix line endings? |
| 17:26:28 | raptor | he's on visual studio |
| 17:26:28 | sam686 | thers 52 tabs there in that pastie, looks like diff creating their own TABS as well, between filename and date |
| 17:26:56 | Johnaudi | I guess |
| 17:27:01 | Johnaudi | anyways I'll be afk |
| 17:27:26 | Johnaudi | raptor/watusimoto could you check it out? |
| 17:30:24 | raptor | Johnaudi: there are still formatting issues and that diff says the entire file was changed (probably because of line endings) |
| 17:30:42 | raptor | I'm sorry it's a bit painful to get set up properly - but it's worth it, I promise! |
| 17:30:44 | Johnaudi | weird, I did set indention to size 3 |
| 17:30:51 | Johnaudi | and re-intented |
| 17:31:04 | Johnaudi | ah guess I didn't save |
| 17:31:16 | watusimoto | the line endings settings in vis sutdio are not terribly helpful... I solved the issue (if indeed it is solved) with the eol extension of tortoise |
| 17:31:42 | watusimoto | I need to head out, but I can send the tortoise specifics from home (where I have it all configured) |
| 17:32:07 | watusimoto | remember to save! |
| 17:32:17 | watusimoto | ok, back later |
| 17:32:18 | watusimoto | later! |
| 17:32:23 | raptor | bye |
| 17:32:31 | Johnaudi | see ya |
| 17:34:04 | Johnaudi | raptor can you http://prettyprinter.de/ ? |
| 17:34:07 | | Darrel Quit (Quit: Leaving) |
| 17:34:46 | raptor | i'm not sure what i'm supposed to do.. |
| 17:36:27 | | watusimoto Quit (Ping timeout: 246 seconds) |
| 17:37:43 | | tomek_bstok has joined |
| 17:40:33 | | sam686 Quit (Ping timeout: 245 seconds) |
| 17:41:34 | | sam686 has joined |
| 17:41:34 | | ChanServ sets mode +v |
| 17:42:33 | raptor | Johnaudi: what i'd do is revert everything back to your base clone, import this diff (which I cleaned up): http://sam6.25u.com/upload/3temp.diff |
| 17:42:54 | raptor | then adjust the indentation of just the lines you've changed |
| 17:56:48 | | Canseco has joined |
| 18:05:23 | | HylianSavior has joined |
| 18:17:45 | | Invisible has joined |
| 18:27:19 | Johnaudi | sec |
| 18:27:51 | | alex_velea has joined |
| 18:29:26 | Johnaudi | done http://pastie.org/8498968 |
| 18:33:05 | raptor | Johnaudi: can you get me just the diff? |
| 18:33:09 | raptor | hi alex_velea |
| 18:33:29 | raptor | feel free to ask questions here, in the main channel, so any developer can see it |
| 18:33:45 | | Darrel has joined |
| 18:34:03 | alex_velea | Sorry for that :) |
| 18:34:14 | alex_velea | I need to work with a project to implement ipv6 |
| 18:34:24 | alex_velea | I found the file that contain most of that code |
| 18:34:27 | raptor | ah yes |
| 18:34:35 | alex_velea | It's in /ntt/ |
| 18:34:45 | | Watusimoto has joined |
| 18:34:45 | alex_velea | Let me find it exaclty |
| 18:35:02 | raptor | first - what OS are you using and how did you download the source code? |
| 18:35:57 | alex_velea | it's in /tnl/udp.cpp |
| 18:36:13 | alex_velea | I downloaded it from the download section |
| 18:36:17 | raptor | ah ok |
| 18:36:18 | alex_velea | From some google site |
| 18:36:21 | alex_velea | I'm using OSX |
| 18:36:24 | raptor | ok |
| 18:36:34 | alex_velea | And the game it's not working on the latest version, btw |
| 18:36:35 | alex_velea | :( |
| 18:36:37 | raptor | we will want you to use mercurial and create a clone to work out of |
| 18:36:50 | raptor | have you used mercurial before? |
| 18:37:01 | alex_velea | No |
| 18:37:09 | alex_velea | I did not work with big projects |
| 18:37:13 | alex_velea | Just problem solving |
| 18:37:37 | raptor | what version of xcode? I think we have an xcode 3 project, but not 4+ |
| 18:38:08 | alex_velea | 5.02 |
| 18:38:20 | alex_velea | 5.0.2 |
| 18:38:45 | raptor | that is sadly not supported with our build system yet |
| 18:39:06 | alex_velea | From what i saw .. most of the ip stuff it's in that file. |
| 18:39:21 | alex_velea | I did not found the class constructor yet but i'm working with it |
| 18:39:35 | alex_velea | Can't i just work with that file and upload it later? |
| 18:39:47 | alex_velea | On gci page |
| 18:40:13 | raptor | it'll be important for you to compile |
| 18:40:21 | raptor | how comfortable are you with command line? |
| 18:40:52 | alex_velea | bash or linux? |
| 18:40:59 | alex_velea | i know |some| bash |
| 18:41:04 | raptor | ok, good |
| 18:41:20 | raptor | so let's get you hooked up to compile on the command line |
| 18:41:23 | raptor | first |
| 18:41:41 | raptor | download and install mercurial: http://mercurial.selenic.com/downloads/ |
| 18:42:09 | raptor | then download and install cmake: http://www.cmake.org/files/v2.8/cmake-2.8.12.1-Darwin64-universal.dmg |
| 18:42:25 | raptor | let me knwo when you're done and we can check out the source code |
| 18:47:10 | alex_velea | I've installed mercurial |
| 18:47:30 | alex_velea | But it's not showing any sign of any app in applications |
| 18:47:35 | alex_velea | But i think it's ok |
| 18:47:41 | raptor | that's OK - it's a command line application |
| 18:48:01 | | Skybax has joined |
| 18:48:08 | | Skybax_ has joined |
| 18:48:18 | Skybax_ | Goodmorning IRC |
| 18:48:22 | raptor | Skybax_: you like to join twice |
| 18:48:29 | raptor | good morning! |
| 18:50:32 | alex_velea | Do i need to restart before using mercurial command lines? |
| 18:50:38 | raptor | no |
| 18:50:48 | raptor | also install cmake, above |
| 18:53:21 | Skybax_ | Why does it join me twice? |
| 18:54:06 | Skybax_ | >.> |
| 18:54:41 | alex_velea | maybe you have 2 tabs opened? |
| 18:55:37 | raptor | Skybax: ping |
| 18:55:40 | raptor | Skybax_: ping |
| 18:55:50 | raptor | did you get alerts from separate windows? |
| 18:58:34 | raptor | oh good, it works! |
| 18:58:58 | raptor | alex_velea: when you have cmake installed, let me know - I just confirmed you can compile just TNL on the command line |
| 18:59:21 | alex_velea | i installed cmake |
| 18:59:30 | alex_velea | And i cloned the site with the hg command |
| 18:59:30 | raptor | ok great |
| 18:59:34 | raptor | excellent |
| 18:59:35 | alex_velea | So i can know it works |
| 18:59:46 | raptor | good |
| 18:59:46 | alex_velea | added 8653 changesets with 34246 changes to 5166 files (+1 heads) updating to branch default 3345 files updated, 0 files merged, 0 files removed, 0 files unresolved |
| 18:59:52 | raptor | heh, yes |
| 18:59:52 | alex_velea | Where can i find these files? |
| 18:59:55 | raptor | ok |
| 19:00:07 | raptor | the clone operation should have created a directory for you - 'bitfighter'? |
| 19:00:21 | alex_velea | Yep |
| 19:00:23 | alex_velea | I got it |
| 19:00:28 | raptor | which URL did you clone? |
| 19:00:42 | alex_velea | The one from code.google |
| 19:00:52 | alex_velea | with this command |
| 19:00:52 | alex_velea | hg clone https://code.google.com/p/bitfighter/ |
| 19:01:02 | raptor | ok |
| 19:01:06 | raptor | let's do a little differently |
| 19:01:14 | raptor | I want you to go here: http://code.google.com/p/bitfighter/source/clones |
| 19:01:22 | raptor | and click 'create a clone' |
| 19:01:39 | raptor | it will create a server-side clone into which you can check-in your work |
| 19:02:02 | alex_velea | does the name / description matter? |
| 19:02:08 | raptor | not really |
| 19:02:12 | raptor | it will be yours |
| 19:02:33 | | Kiryx Quit (Quit: Leaving) |
| 19:02:49 | alex_velea | ok. got it |
| 19:02:58 | raptor | when you have the clone created, clone that URL instead |
| 19:04:31 | raptor | you can remove the first clone you made |
| 19:08:37 | alex_velea | Everything it's ok now |
| 19:08:47 | raptor | ok, you have your clone checked out? |
| 19:09:37 | alex_velea | Yep |
| 19:09:40 | alex_velea | Seems ok |
| 19:09:42 | raptor | ok good |
| 19:10:15 | raptor | now, in the terminal |
| 19:10:26 | alex_velea | I got a lot of kernels warnings .. and i don't think it's normal |
| 19:10:36 | raptor | go into the clone, then into the sub-directory of 'build' |
| 19:10:42 | raptor | oh? did you start building already? |
| 19:10:49 | alex_velea | No .. |
| 19:10:53 | alex_velea | That's the problem |
| 19:11:03 | raptor | ok, let's make sure you're building properly |
| 19:11:18 | raptor | so into the 'build' directory |
| 19:11:18 | alex_velea | now into osx? |
| 19:11:39 | raptor | I thought you were in a terminal in OSX, are you not? |
| 19:11:48 | alex_velea | I am |
| 19:11:52 | raptor | ok good |
| 19:11:55 | raptor | stay in the terminal |
| 19:11:57 | alex_velea | In the build forder it's a osx forlder inside |
| 19:12:01 | raptor | ahh... |
| 19:12:02 | raptor | no |
| 19:12:06 | raptor | not there, just 'build' |
| 19:12:19 | raptor | ok, here you only need to run this command once: |
| 19:12:32 | raptor | cmake -DCMAKE_BUILD_TYPE=Debug .. |
| 19:13:12 | alex_velea | i have mamp on my laptop |
| 19:13:12 | raptor | after that command completes, try and build TNL with the command: make tnl |
| 19:13:21 | alex_velea | Do i need to install mysql simple too? |
| 19:13:23 | raptor | i don't know what mamp is |
| 19:13:24 | raptor | no |
| 19:13:31 | raptor | ignore all the warnings |
| 19:13:33 | alex_velea | -- Could NOT find MYSQL (missing: MYSQL_LIBRARIES MYSQL_INCLUDE_DIR) CMake Warning at master/CMakeLists.txt:60 (message): MySQL was NOT found. 'master' will only be built with SQLite |
| 19:13:37 | raptor | you only need TNL |
| 19:13:38 | alex_velea | Ok then |
| 19:14:20 | raptor | try this command now: make tnl |
| 19:14:21 | alex_velea | done |
| 19:14:39 | raptor | did it build the 'libtnl.a' library? |
| 19:15:59 | alex_velea | i did not found that |
| 19:16:06 | alex_velea | Into the tnl folder of main folder |
| 19:16:22 | alex_velea | But my terminal says "Linking CXX static library libtnl.a" |
| 19:16:32 | raptor | oh good!, then it built |
| 19:16:39 | alex_velea | After that [100%] Built target tnl |
| 19:16:43 | alex_velea | If it helps .. |
| 19:16:45 | raptor | excellent |
| 19:17:00 | alex_velea | But i can't find the file |
| 19:17:07 | raptor | ok, so from now on, when you want to compile, you can just to 'make tnl' in the build directory to build your changes |
| 19:17:24 | raptor | the file is found under 'build/tnl/libtnl.a' |
| 19:17:26 | alex_velea | sounds good enought |
| 19:17:30 | alex_velea | thank you |
| 19:17:48 | raptor | you're welcome - i'm sorry we don't have a full project to compile on OSX... |
| 19:18:04 | raptor | but with this you should be able to edit the tnl/ code and compile to see if it works |
| 19:18:22 | alex_velea | I'm really shocked that you have a osx version of the game, to be honest |
| 19:18:35 | raptor | FYI, we consider this one of the hardest tasks, so you're brave! |
| 19:18:54 | alex_velea | Myeah .. |
| 19:19:56 | alex_velea | I will try to do my best. The project sounds very interesting .. and i kinda like it. But the ipv6 thing it's really messed up |
| 19:20:11 | raptor | yes, ipv6 would require some research |
| 19:21:22 | alex_velea | with the implementation |
| 19:21:29 | alex_velea | Should i overflow the functions? |
| 19:21:35 | alex_velea | to work with ipv6? |
| 19:21:42 | raptor | hmmm.... good question |
| 19:21:47 | raptor | what do you think Watusimoto? |
| 19:21:51 | alex_velea | overload* sorry |
| 19:22:22 | alex_velea | If i create new functions i would need to make changes everywhere |
| 19:22:40 | raptor | I think overloading is fine |
| 19:23:24 | raptor | honestly, we don't have much knowledge on ipv6 ourselves, so we'll let you do what you think is best most of the time :) |
| 19:25:58 | alex_velea | Ok .. that's not very inspiriting, honestly |
| 19:26:04 | alex_velea | I will try to do my best |
| 19:27:25 | raptor | because this is a difficult task, with research involved, we'll be more lenient |
| 19:30:44 | | LordDVG has joined |
| 19:39:03 | | Skybax_ Quit (Remote host closed the connection) |
| 19:39:04 | sam686 | tnl/tnlUPD.h and tnl/udp.cpp may be a good place to start, it appears there is some work, but not complete work, done with IPv6Protocol |
| 19:39:08 | Skybax | WHAT IN THE |
| 19:39:39 | Skybax | raptor when you pinged me it opened a second window lol |
| 19:40:02 | sam686 | its becasuse you are connected twice.. |
| 19:40:06 | Watusimoto | hi |
| 19:40:13 | Skybax | I was. I closed the other one |
| 19:40:13 | raptor | oh good - then you can track down your problem |
| 19:40:34 | raptor | hi Watusimoto |
| 19:40:40 | Watusimoto | what do I think? |
| 19:40:43 | Skybax | I need help making a Bot |
| 19:40:49 | Watusimoto | hi alex_velea |
| 19:41:05 | sam686 | or was |
| 19:42:05 | Watusimoto | so the question is should we create overridden functions that work with either ipv4 (current) or ipv6 (overridden)? |
| 19:42:55 | raptor | that's how i understood it |
| 19:42:56 | Watusimoto | I would start where sam686 suggested |
| 19:43:41 | Watusimoto | I don't know enough about how this stuff is architected; but I would think that the way tnl works, overriding is probably not the answer |
| 19:43:55 | | Invisible Quit (Ping timeout: 272 seconds) |
| 19:51:46 | alex_velea | Offtopic: for my own info. what does tnl stand for? |
| 19:52:02 | Johnaudi | torque |
| 19:52:26 | Johnaudi | torque namespace language or something |
| 19:53:00 | | Kiryx has joined |
| 19:54:46 | raptor | Torque Network Library |
| 19:54:54 | raptor | it was release as open source as opentnl |
| 19:55:01 | raptor | like in 2005? |
| 19:55:17 | raptor | they've released several different versions since, but we're still on this old version |
| 19:55:37 | raptor | here's reference: http://opentnl.sourceforge.net/doxydocs/ |
| 19:55:40 | Johnaudi | wow I think I broke my VB |
| 19:55:48 | Johnaudi | that indention thing deleted the file, wow |
| 19:55:49 | raptor | but we've changed the library quite a bit |
| 19:57:58 | sam686 | TNL = Torque Network Library, not torque namespace language |
| 19:59:16 | Johnaudi | lol sorry |
| 19:59:39 | raptor | it was a good guess :) |
| 19:59:42 | Johnaudi | raptor that thing's already indented at size 3 o.o |
| 19:59:48 | Johnaudi | it was close :p |
| 20:00:01 | sam686 | it says "Torque Network Library" on most .cpp .h file inside tnl/ |
| 20:00:53 | Watusimoto | oh right, I need to figure out how to fix the lineending issues |
| 20:01:23 | Johnaudi | 11-20-13 --- 8 52.rar 18.5 KB November 20 2013 17:53 UTC // contains them already line ended |
| 20:01:42 | Johnaudi | can you guys please just review it for now? I need to take the task before someone else takes it :p |
| 20:02:11 | sam686 | I had a weard problem with mixed line endings problem on .h file that would recompile almost everything on repeated "Build" (not rebuild) when I made no changes at all |
| 20:02:35 | Johnaudi | yeah how come you fixed it yesterday? |
| 20:02:53 | Watusimoto | Johnaudi: are you running tortoise? |
| 20:02:58 | Watusimoto | torgoisehg? |
| 20:03:05 | Johnaudi | yes |
| 20:03:22 | sam686 | changing and fixing line endings on visual C++ is in file > advanced save option |
| 20:03:59 | Watusimoto | in tortoise you can enable the EOL extension |
| 20:04:12 | Watusimoto | then in the config file, there should be an eol section |
| 20:04:17 | Watusimoto | add this: |
| 20:04:17 | raptor | Watusimoto: I'm sure that EOL extension never worked for you |
| 20:04:18 | Watusimoto | [eol] |
| 20:04:18 | Watusimoto | native=LF |
| 20:04:18 | Watusimoto | only-consistent=False |
| 20:04:29 | Watusimoto | well... something is working, no? |
| 20:04:29 | Johnaudi | I got the GUI vers |
| 20:04:33 | raptor | oh... did you change options? |
| 20:04:35 | sam686 | usually do UNIX (LF) line ending, as told by raptor |
| 20:04:36 | Watusimoto | so do i |
| 20:05:03 | Johnaudi | what does this do though? |
| 20:05:06 | Watusimoto | File>Settings>Edit File |
| 20:05:21 | raptor | ah, Johnaudi, welcome to the world of inconsistent line-endings! |
| 20:05:30 | Watusimoto | what does it do?\ |
| 20:05:43 | Johnaudi | lol |
| 20:06:07 | Watusimoto | http://mercurial.selenic.com/wiki/EolExtension |
| 20:06:12 | Johnaudi | ok sec |
| 20:06:13 | sam686 | Windows (CR LF) line ending takes 2 bytes for each line, others take only one byte |
| 20:06:22 | Watusimoto | ha, the first line of that wiki is: This is considered a feature of last resort. |
| 20:06:22 | raptor | basically every text file has a byte (or two) added to the end of a line so it knows there's a new line, follow? |
| 20:06:56 | sam686 | and sadly windows notepad only recognises windows (CR LF) line ending, other line endings get a mess in notepad: everything in one line |
| 20:06:57 | Johnaudi | http://pastie.org/8499192 |
| 20:07:00 | Johnaudi | raptor there |
| 20:07:06 | Johnaudi | ignore the whole thing I used those styling things |
| 20:07:11 | Johnaudi | on the bottom |
| 20:07:18 | sam686 | thankfully visual studio handles multiple line endings |
| 20:07:18 | Johnaudi | just take the top |
| 20:07:38 | Watusimoto | oh, and you will need a .hgeol file |
| 20:08:39 | Johnaudi | o.o |
| 20:08:45 | Watusimoto | luckily, .hgeol is part of the project, so you should haev it |
| 20:08:52 | Watusimoto | so don't worry about that |
| 20:08:58 | raptor | Watusimoto: I'm sure you had that extension on for over a year and kept committing wrong endings |
| 20:09:04 | raptor | I think sam686's solution is the key |
| 20:09:10 | Watusimoto | yes, but without the .hgeol file |
| 20:09:15 | raptor | ahhh |
| 20:09:17 | raptor | ok |
| 20:09:20 | Watusimoto | koda told me about that a few weeks ago |
| 20:09:41 | Watusimoto | do both my solution and sam686's |
| 20:09:50 | Watusimoto | you can't be too careful with this stuff |
| 20:10:07 | Watusimoto | raptor is very protective of his line endings :-) |
| 20:10:17 | sam686 | I think, in a past, Watusimoto's merge causes line ending to be changed to entirely windows (CR LF), I don't see it happen anymore in at least a past half-year |
| 20:10:24 | Johnaudi | realized that |
| 20:10:25 | Johnaudi | x.x |
| 20:10:32 | Johnaudi | but owell, he wants the best for the team |
| 20:10:35 | Johnaudi | I don't blame him :p |
| 20:10:35 | Watusimoto | I still don't think we've established who the cuprit was |
| 20:11:07 | Johnaudi | set this pastie to here |
| 20:11:07 | Johnaudi | http://www.google-melange.com/gci/task/view/google/gci2013/6603341224214528 |
| 20:11:38 | sam686 | sometimes copying from website and pasting into C++ causes line endings to be inconsistant (pasted CR LF line ending on a LF only line ending_ |
| 20:13:03 | | Kiryx Quit (Ping timeout: 272 seconds) |
| 20:15:28 | Johnaudi | just take the main edited part |
| 20:15:33 | Johnaudi | it has line endings there |
| 20:15:45 | Johnaudi | omg I only have 21 hrs left for this lol |
| 20:21:37 | sam686 | http://sam6.25u.com/upload/visual2008_tabs.mp4 it shows how to replace tabs into spaces |
| 20:21:55 | | raptor Quit (Ping timeout: 272 seconds) |
| 20:22:25 | | raptor has joined |
| 20:22:25 | | ChanServ sets mode +o |
| 20:22:42 | raptor | Network problems at work! I'll be intermittent for a while here... |
| 20:22:47 | raptor | (if you get this message) |
| 20:22:55 | sam686 | ok |
| 20:24:34 | raptor | Johnaudi: don't worry, we're very generous with extending if you've already shown progress on the task (which you have) |
| 20:25:09 | | raptor Quit (Client Quit) |
| 20:53:29 | | Kiryx has joined |
| 20:57:08 | tomek_bstok | Hey, what is the easiest way to get the current player name from the HighScores class ? |
| 20:59:15 | tomek_bstok | I have a different class just like HighScoresUserInterface which displays some stats, I would like to get the player name from the render() method |
| 20:59:45 | sam686 | getGame()->getPlayerName() ? |
| 21:00:20 | Watusimoto | hi tomek_bstok |
| 21:00:32 | tomek_bstok | hi Watusimoto |
| 21:00:44 | Watusimoto | did sam686's answer give you what you need? |
| 21:01:18 | | Guest33961 has joined |
| 21:01:29 | sam686 | but, if you are reading in PlayerStats, you can just use PlayerStats.name |
| 21:02:53 | tomek_bstok | hmm, i will try it |
| 21:05:43 | Guest33961 | hey guys, recently started a task. anything that would help me get started outside the wiki? |
| 21:06:25 | tomek_bstok | thanks sam686, it works |
| 21:06:42 | Watusimoto | hi Guest33961 |
| 21:06:52 | sam686 | which task you doing? |
| 21:06:54 | Watusimoto | what task are you working on? |
| 21:07:07 | Guest33961 | The star generator plugin |
| 21:07:10 | | fordcars has joined |
| 21:07:34 | sam686 | Have you got far enough to compile from source code? |
| 21:07:38 | fordcars | Wow people |
| 21:07:50 | Johnaudi | ah damn - I wanted raptor to accept my task :/ |
| 21:07:57 | Johnaudi | I still got 21 hours and I might not see him tomorrow |
| 21:08:05 | Johnaudi | 20hrs* |
| 21:08:15 | Guest33961 | nope, literally just started. very new to this development |
| 21:09:16 | sam686 | are you on windows or linux? |
| 21:10:03 | Watusimoto | Johnaudi: don't worry about the time |
| 21:10:08 | Guest33961 | Windows, I was gonna create a clone start poking around with it |
| 21:10:34 | Watusimoto | Guest33961: have you seen this? |
| 21:10:35 | Watusimoto | http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap#Coding_Standards |
| 21:10:45 | Watusimoto | we just created it this evening. very much a work in progress |
| 21:10:56 | Watusimoto | but might be helpful |
| 21:11:12 | Watusimoto | actually, for the plugin task, you probably don't need the bitfighter source |
| 21:11:20 | Johnaudi | can you accept the task now @watysimoto? |
| 21:11:29 | Johnaudi | watusimoto*^ |
| 21:11:35 | Guest33961 | read it, thanks for the heads up |
| 21:11:40 | Watusimoto | er... actually, you probably do |
| 21:12:01 | Watusimoto | because you'll probably want to use our latest source |
| 21:12:08 | Watusimoto | to have access to the latest lua stuff |
| 21:12:26 | fordcars | Wow Watusimoto that is actually really neat, the Wiki page |
| 21:12:49 | Watusimoto | thanks! raptor wrote most of it, I just did the coding standards at the end |
| 21:13:28 | fordcars | I am also glad that it's very simular to my style |
| 21:13:31 | | LordDVG Quit (Remote host closed the connection) |
| 21:13:57 | Johnaudi | cya guys |
| 21:14:00 | Watusimoto | it's similar to my style because I wrote it |
| 21:14:01 | | Johnaudi Quit (Quit: Page closed) |
| 21:14:46 | | tomek_bstok Quit (Remote host closed the connection) |
| 21:15:55 | fordcars | Cool! |
| 21:23:21 | | tomek_bstok has joined |
| 21:30:11 | | BFLogBot Commit: bc5932d76d4f | Author: watusimoto | Message: Use interval |
| 21:30:12 | | BFLogBot Commit: cdb77c57ec06 | Author: watusimoto | Message: Assign x,y in one statement |
| 21:30:14 | | BFLogBot Commit: 55c5724d17af | Author: watusimoto | Message: Warnings |
| 21:30:15 | | BFLogBot Commit: 2fe4f7d0368e | Author: watusimoto | Message: Merge |
| 21:31:33 | | Canseco Quit (Remote host closed the connection) |
| 21:38:23 | alex_velea | After the ip task, can i find a algorithm based task somewhere? |
| 21:38:52 | | Skybax_ has joined |
| 21:41:37 | | Guest33961 is now known as phillreeder |
| 21:42:11 | | phillreeder Quit () |
| 21:42:17 | Watusimoto | alex_velea: what do you mean? |
| 21:42:27 | | Skybax Quit (Ping timeout: 272 seconds) |
| 21:42:36 | | Skybax has joined |
| 21:43:27 | alex_velea | something that requires more of "the wait it works" rather than "it works and it's readable" |
| 21:43:56 | alex_velea | a code that needs to be optimized .. sth like that :) |
| 21:44:48 | | Skybax__ has joined |
| 21:45:41 | | Skybax_ Quit (Ping timeout: 248 seconds) |
| 21:46:46 | Watusimoto | you like optimization? |
| 21:47:58 | | Skybax Quit (Ping timeout: 246 seconds) |
| 21:49:17 | | phillreeder has joined |
| 21:50:01 | alex_velea | optimization in the way of the method .. finding a better method to do that. Don't get me wrong, but i mostly do algo problems all day long .. so i'm pretty good at it :) |
| 21:51:22 | | GEOFBOT has joined |
| 21:51:30 | GEOFBOT | hi |
| 21:51:38 | GEOFBOT | updated bitfighter-notifier to include custom install path |
| 21:51:38 | GEOFBOT | https://code.google.com/r/geofbot-bitfighter-tools/source/detail?r=83cbefefb31bf637f316474632b9184e69382f98 |
| 21:55:42 | | Iamtaz has joined |
| 22:00:13 | | darkknight has joined |
| 22:00:19 | Iamtaz | ok |
| 22:00:22 | Iamtaz | http://www.bitfighter.org/stats/gamereports.php |
| 22:00:28 | Iamtaz | http://www.bitfighter.org/stats/ |
| 22:00:41 | Iamtaz | the second tells u how many shots fired, what kind weapon, etc |
| 22:03:16 | darkknight | thanks |
| 22:03:33 | Watusimoto | alex_velea: I'm still not entierly clear what you are talking about, but I'm sure we'll be able to find soemthing good for you to do :-) |
| 22:05:29 | | grypoB has joined |
| 22:06:14 | alex_velea | thank you very much for help and your time. See you soon. I'm going to bed now. Good to all of you ^^ |
| 22:06:48 | Darrel | Watusimoto, I think alex_velea is involved with algorithmic programming (i.e. like the problems they solve for IOI and other coding olympics) |
| 22:07:05 | Darrel | so he means he would like some tasks which optimize code, speed etc |
| 22:07:34 | Watusimoto | I think my problem is that I need to read up on what algorighmic programming is |
| 22:07:54 | Watusimoto | good night alex_velea! |
| 22:08:16 | Watusimoto | and hi Darrel! |
| 22:08:38 | Darrel | :)) |
| 22:08:43 | | grypoB has left #bitfighter |
| 22:08:44 | Darrel | it is a pain |
| 22:08:55 | Darrel | I've tried it.. damn it takes a ton of practice to get the hang of |
| 22:09:03 | Darrel | and I still haven't gotten it :| |
| 22:09:51 | | darkknight Quit (Ping timeout: 250 seconds) |
| 22:18:15 | | raptor has joined |
| 22:18:15 | | ChanServ sets mode +o |
| 22:18:26 | raptor | oh my goodness our channel is full |
| 22:19:14 | Watusimoto | yes |
| 22:19:58 | phillreeder | alright, I'm all set with the source and build but I'm a little confused on how exactly plugins are run |
| 22:25:31 | Watusimoto | phillreeder: are you a renamed version of guestxxx? |
| 22:25:32 | phillreeder | nevermind, got it |
| 22:25:37 | phillreeder | and yes |
| 22:25:43 | Watusimoto | ok lua plugin. |
| 22:25:50 | Watusimoto | good, just trying to keep things straight |
| 22:25:56 | Watusimoto | it's getting kind of nuts in here! |
| 22:26:06 | raptor | hi phillreeder |
| 22:26:11 | phillreeder | hey there |
| 22:26:20 | raptor | I'll steer you in the right direction |
| 22:26:26 | raptor | what platform are you on? |
| 22:26:35 | phillreeder | oh I think I got it now, thanks though |
| 22:26:58 | raptor | ok |
| 22:26:59 | phillreeder | just took some searching |
| 22:29:46 | | Skybax has joined |
| 22:29:51 | | Skybax__ Quit (Ping timeout: 272 seconds) |
| 22:32:28 | raptor | Skybax: bot coding discussion can be brought here (more devs) :) |
| 22:33:20 | Skybax | Otay |
| 22:33:41 | raptor | I made repairbot from s_bot, but also wrote a lot of highly-specific algorithms for it |
| 22:33:50 | raptor | and removed a lot of unneeded stuff |
| 22:34:10 | raptor | I would probably start with merging ElizaBot with S_Bot |
| 22:34:36 | raptor | and then figure out how to make S_Bot do different modules... which, I think, thread or bobdaduck know how to do |
| 22:34:47 | Skybax | That seems easy enough... I just have to copy/paste the functions that make her talk |
| 22:34:53 | Skybax | Doesn't repairbot switch modules? |
| 22:34:55 | fordcars | Raptor, no one knows how to change module |
| 22:34:59 | | kaen has joined |
| 22:35:02 | fordcars | Except repair bot |
| 22:35:06 | fordcars | From raptor |
| 22:35:07 | raptor | fordcars: I promise I figured it out once... |
| 22:35:11 | raptor | i just forgot |
| 22:35:13 | fordcars | Yeah :P |
| 22:35:20 | raptor | and I thought thread, at least, knew... |
| 22:35:23 | fordcars | Well there is repair bot |
| 22:35:24 | | kaen Quit (Changing host) |
| 22:35:24 | | kaen has joined |
| 22:35:32 | kaen | hi guys! |
| 22:35:34 | raptor | All hail kaen! |
| 22:35:37 | kaen | back for good now :) |
| 22:35:38 | fordcars | thread and bob are more into levelgens |
| 22:35:41 | Skybax | Hi kaen! |
| 22:35:41 | fordcars | Hi! |
| 22:35:47 | kaen | hi Skybax :) |
| 22:35:50 | kaen | hi fordcars |
| 22:35:52 | kaen | et al. |
| 22:36:08 | Skybax | Wanna help me make an amazing bot?? lol |
| 22:36:10 | raptor | kaen: you are mentor now :) |
| 22:36:13 | kaen | wow lots of GCI'ers around! |
| 22:36:15 | tomek_bstok | hey raptor, can you check my task ? |
| 22:36:19 | kaen | cool \o/ |
| 22:36:28 | kaen | ready to pick up three days worth of slack :P |
| 22:36:47 | fordcars | Skybax, you ready^ |
| 22:37:01 | Skybax | Ready for what? |
| 22:37:09 | fordcars | To make YA BOT |
| 22:37:16 | Skybax | I was BORN READY |
| 22:37:22 | fordcars | If you want Eliza, go get the function |
| 22:37:32 | fordcars | Actually |
| 22:37:49 | Skybax | I was just gonna copy/paste the function from Eliza and then change the strings |
| 22:37:52 | fordcars | I already merged Eliza and Repair bot for Quartz |
| 22:38:07 | fordcars | S_bot is missing from the equation though |
| 22:38:12 | fordcars | Skybax, sure! |
| 22:38:20 | fordcars | But also copy the local vars |
| 22:38:24 | fordcars | *variable |
| 22:38:25 | fordcars | s |
| 22:38:28 | Skybax | Okay |
| 22:38:43 | Skybax | I'm mostly concerned about how to get the bot to use cloak the way I want it to |
| 22:39:03 | fordcars | Heh |
| 22:39:08 | fordcars | How do you want it to? |
| 22:39:22 | fordcars | When there is an enemy in a certain radius, use cloak? |
| 22:39:28 | fordcars | That would work |
| 22:39:45 | Skybax | Yes. And the radius should be outside the FOV of the player |
| 22:39:51 | Skybax | So the player can't see it coming |
| 22:39:54 | fordcars | Sure |
| 22:40:14 | Skybax | And then it should uncloak and fire when it's close to the player |
| 22:40:18 | Skybax | To assassinate |
| 22:40:19 | fordcars | yep |
| 22:40:42 | fordcars | When in a certain radius, kill |
| 22:41:14 | Skybax | Do you think it should be like a search and destroy bot? |
| 22:41:17 | Skybax | So it hunts down players? |
| 22:41:37 | Skybax | I don't think it would be very good at playing normal |
| 22:41:47 | raptor | tomek_bstok: looking |
| 22:42:26 | fordcars | it would be s_bot good |
| 22:42:45 | fordcars | It<s easier to be search and destroy, and cooler |
| 22:42:55 | fordcars | Just don<t implement s_bot |
| 22:43:01 | fordcars | *harder to make but better |
| 22:43:01 | Skybax | s_bot is really only good cause it's almost perfect with it's shield usage. A bot that doesn't use shield can't as easily penetrate a base |
| 22:43:09 | fordcars | yeah |
| 22:43:33 | tomek_bstok | raptor, i send a second patch, because i didn't commit first |
| 22:43:35 | Skybax | and Skybot wouldn't attack turrets and force fields while cloaked |
| 22:43:35 | phillreeder | for the polygon/star generator, is it cool if I define the polygons by n-points instead of sides so I can keep it consistent with stars? |
| 22:43:56 | phillreeder | oh wait they're the same thing |
| 22:44:05 | | Iamtaz Quit (Ping timeout: 250 seconds) |
| 22:44:05 | Skybax | So it's basically only good as a player killer |
| 22:44:11 | raptor | tomek_bstok: do you have a server-side clone set up (I don't remember) |
| 22:44:13 | raptor | ? |
| 22:44:32 | raptor | phillreeder: do what ever you want to design the algorithm |
| 22:45:11 | tomek_bstok | raptor, I don't think so (I'm not sure what you mean exactly) |
| 22:45:22 | Skybax | I think I found the function that makes repairbot have repair |
| 22:45:25 | | GEOFBOT Quit (Remote host closed the connection) |
| 22:45:29 | fordcars | Skybax, even better |
| 22:45:43 | fordcars | Sooo, where are you now^ |
| 22:45:45 | Skybax | Will it work if I just change everything that says "Repair" to "Cloak" ? xD |
| 22:45:52 | fordcars | Lol probably |
| 22:46:08 | fordcars | actually, if you change the request module and use module, it,ll work |
| 22:46:22 | fordcars | But It will use cloak next to neutral turrets and damaged stuff |
| 22:46:31 | fordcars | Expecting it to repair haha |
| 22:46:58 | Skybax | Well I want it to use cloak before it comes into contact with anything that will shoot at it |
| 22:47:06 | Skybax | Players and turrets |
| 22:47:41 | Skybax | But I don't want it to seek out damaged things and cloak next to them >.> |
| 22:48:47 | Skybax | lol the code says "check our loadout in case we've been blowed up" |
| 22:49:05 | Skybax | That makes me laugh |
| 22:49:23 | fordcars | Hahahaa |
| 22:49:29 | fordcars | Raptor's humour |
| 22:49:50 | raptor | :) |
| 22:50:05 | raptor | tomek_bstok: are you using mercurial? |
| 22:52:13 | tomek_bstok | raptor, yup |
| 22:55:07 | raptor | tomek_bstok: what we recommend, is that you create a 'server-side' clone here: http://code.google.com/p/bitfighter/source/clones |
| 22:55:24 | raptor | and then you commit to that, that way you can do incremental work |
| 22:55:30 | raptor | and save all of your code |
| 22:56:08 | | Skybax_ has joined |
| 22:56:23 | | Skybax Quit (Ping timeout: 245 seconds) |
| 22:56:26 | fordcars | Food time :) |
| 22:56:29 | fordcars | later! |
| 22:56:40 | Skybax_ | My internets are being super gay |
| 22:57:35 | raptor | tomek_bstok: we're reviewing it - so far looks good |
| 23:00:54 | phillreeder | hey raptor, for the plugin do you just want me to commit it to a server clone? |
| 23:00:59 | | fordcars Quit (Ping timeout: 250 seconds) |
| 23:01:22 | raptor | phillreeder: sure, that'd be great. Then you can paste the URL in the task |
| 23:01:48 | Skybax_ | So how to I get my bot to do what I want >.> |
| 23:06:30 | Skybax_ | Cause idk what I'm doing |
| 23:06:37 | | Skybax_ is now known as Skybax |
| 23:06:54 | Skybax | ._. |
| 23:12:17 | raptor | hi tomek_bstok |
| 23:12:43 | raptor | we finished reviewing and think it needs a little bit more work - we added a list of improvements to the task (but mostly easy things) |
| 23:12:58 | raptor | don't worry about the deadline, if you need more time, we'll grant it |
| 23:14:30 | tomek_bstok | thanks, i will work on it |
| 23:14:36 | raptor | thank you! |
| 23:14:51 | raptor | phillreeder: make sure you've tested your plugin in the bitfighter editor |
| 23:15:53 | phillreeder | will do, it'll be a while before I'm confident in it |
| 23:16:28 | | fordcars has joined |
| 23:16:59 | raptor | also tomek_bstok, Watusimoto may add a few more suggestions with regards to integrating into our code base |
| 23:17:15 | raptor | So far it looks like you've correctly integrated with the UI system well enough |
| 23:18:09 | Skybax | Hi Ford |
| 23:18:45 | fordcars | Hi |
| 23:19:06 | fordcars | How's your bot? |
| 23:19:09 | tomek_bstok | Ok :) Thanks raptor |
| 23:19:54 | raptor | ok BFLogBot |
| 23:19:55 | BFLogBot | Susie: When life gives you a lemon, make lemonade. Calvin: I say, when life gives you a lemon, wing it right back and add some lemons of your own! |
| 23:20:06 | raptor | !gci |
| 23:20:06 | BFLogBot | GCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started. |
| 23:20:08 | Skybax | It's the same as it was when you left lol |
| 23:20:12 | raptor | tada! |
| 23:20:59 | | tomek_bstok Quit (Quit: Wychodzi) |
| 23:21:23 | Skybax | Idk enough code to do it myself |
| 23:22:45 | phillreeder | raptor: the plugin stopped launching in the editor, is this indicative of an error in it? |
| 23:23:10 | raptor | phillreeder: press '/' (slash key) to see output in the console |
| 23:23:17 | raptor | it should give you errors |
| 23:23:23 | raptor | it might be CTRL + / |
| 23:23:37 | phillreeder | got it, I had changed some '.' to ':' to test it and forgot about em |
| 23:25:38 | fordcars | Skybax, you want me to do it? |
| 23:26:01 | fordcars | or you could learn lua, it's fairly simple. |
| 23:26:06 | Skybax | It would probably turn out better if someone who knew what they were doing took it over xD |
| 23:26:38 | Skybax | Unless you wanna give me step by step instructions on what to type and where to type it |
| 23:27:43 | | Kiryx Quit (Ping timeout: 246 seconds) |
| 23:30:45 | | Skybax_ has joined |
| 23:31:39 | | Skybax Quit (Ping timeout: 272 seconds) |
| 23:31:56 | | Skybax_ is now known as Skybax |
| 23:32:26 | Skybax | I'm not a good self-teacher |
| 23:33:08 | kaen | wow! |
| 23:33:14 | raptor | Skybax: I think you'd need to start with learning Lua itself, just to get used to it... |
| 23:33:15 | kaen | suddenly we have coding standards :) |
| 23:33:36 | raptor | haha kaen, I know! and I took me only 3 years to figure them out... |
| 23:33:49 | raptor | (and watusimoto 10 min. to write them) |
| 23:34:20 | Watusimoto | everyone LOVES coding standards |
| 23:34:28 | Watusimoto | (except those that need to follow them) |
| 23:34:36 | kaen | Watusimoto, did you know CMake can generate ST2 project files? |
| 23:34:46 | kaen | I just started using them two days ago, they works great |
| 23:34:49 | Watusimoto | really? |
| 23:34:53 | raptor | ST2? |
| 23:34:55 | kaen | yep |
| 23:34:57 | kaen | sublime text 2 |
| 23:34:59 | Skybax | I have basic coding knowledge, I just don't know all the terms used in Lua |
| 23:35:00 | raptor | ohhhh |
| 23:35:02 | raptor | no way |
| 23:35:02 | kaen | they work in ST3, as well |
| 23:35:08 | kaen | yeah I was blown away |
| 23:35:17 | Watusimoto | great |
| 23:35:21 | fordcars | Skybax, the terms are normally quite universal :) |
| 23:35:26 | kaen | Skybax, did you see my 019 levelgen tutorial? |
| 23:35:33 | raptor | Skybax: this is a simple tutorial: http://luatut.com/ |
| 23:35:36 | fordcars | for, while, if... |
| 23:35:44 | kaen | luatut is definitely better |
| 23:35:49 | Skybax | I've seen kaen's tut |
| 23:35:53 | fordcars | kaen tut^ |
| 23:35:55 | fordcars | ? |
| 23:35:56 | raptor | and kaen has written some good bitfighter + Lua stuff |
| 23:35:58 | kaen | :P |
| 23:36:03 | raptor | har har |
| 23:36:16 | fordcars | :PP |
| 23:36:26 | fordcars | When will 019 come out? |
| 23:36:31 | kaen | never! |
| 23:36:37 | fordcars | Hahahha |
| 23:36:40 | Skybax | Like I know what a function is and what variables are and strings and loops and all that stuff |
| 23:36:42 | kaen | it's a marketing ploy to keep you all hanging around. |
| 23:36:50 | Skybax | I just don't know how to combine them to make a robot |
| 23:36:57 | fordcars | ;) |
| 23:37:13 | fordcars | check out the Wiki!!!! It's alittle outdated but still a great source |
| 23:37:21 | fordcars | Check out Programming Robots |
| 23:37:36 | Skybax | But that involves self-teaching lol |
| 23:37:46 | kaen | _k's tutorials are getting pretty outdated :/ |
| 23:38:04 | fordcars | kaen, I am currently writing some kind of 018 levelgen IDE maker thing, I just wanted to know if it was worth making it for 018 or 019 |
| 23:38:06 | raptor | _k's tutorials should redirect - they can't possible work anymore |
| 23:38:10 | fordcars | they rock |
| 23:38:16 | phillreeder | Im done with the plugin except I don't know how to change the wall width, what's the property for that? |
| 23:38:19 | fordcars | raptor, they nearly all work |
| 23:38:21 | kaen | 019, fordcars |
| 23:38:41 | fordcars | poo I don't know the differences!!!! |
| 23:38:58 | fordcars | Is there a "Converting from 018a to 019" page or book? |
| 23:39:12 | raptor | yes - incessant log messages! |
| 23:39:35 | raptor | kaen: is there another plugin somewhere that shows as an example what phillreeder asked? |
| 23:39:59 | phillreeder | HA |
| 23:40:02 | phillreeder | got it hahahahaha |
| 23:40:09 | phillreeder | random guesses work wonders |
| 23:40:10 | kaen | :setWidth() :) |
| 23:40:23 | fordcars | kaen, plugins can do that now?? |
| 23:40:39 | kaen | most certainly :) |
| 23:40:44 | fordcars | Wicked |
| 23:40:48 | kaen | only levelgen's can't change walls |
| 23:40:52 | kaen | and only after main() |
| 23:41:12 | fordcars | So what are the major differences between 018a and 019 in levelgens^ |
| 23:41:14 | fordcars | ? |
| 23:42:28 | kaen | mostly deprecated functions and bugfixes |
| 23:42:33 | kaen | and Robot.new() |
| 23:42:41 | fordcars | YAY |
| 23:42:49 | fordcars | And getGLobalItems or simular? |
| 23:43:17 | fordcars | Instead of iterating through negative numbers |
| 23:43:25 | kaen | haha |
| 23:43:35 | kaen | hey does that negative numbers thing actually work? |
| 23:43:45 | kaen | I never really tried it ... |
| 23:44:16 | fordcars | Me neither :PPP |
| 23:45:26 | raptor | yes, it does |
| 23:45:33 | Skybax | So Ford are you gonna make my robot? lol |
| 23:45:44 | raptor | i wrote something that would go backwards from 0 to -1000 and pick out the objects i wanted |
| 23:47:28 | | Platskies has joined |
| 23:48:20 | fordcars | lol Skybax: sure I will if you want me too |
| 23:48:33 | Watusimoto | kaen: sam686: my solution to the work "issue" is to create a new class (or two) of guided missles that could be worm like but would be shot by turrets |
| 23:48:34 | Skybax | That would be cool xD |
| 23:49:19 | Watusimoto | that would solve the issue of where do they come from, and would let us fit them into a context (seekers) that already works well |
| 23:49:55 | Watusimoto | sorry work issue should be worm issue |
| 23:51:35 | fordcars | :P |
| 23:53:33 | | Darrel Quit (Quit: IRC client killed.) |
| 23:53:48 | Watusimoto | though, come to think of it, missiles might solve a couple of my work issues as well :-) |
| 23:54:43 | Skybax | Ford, do you want me to send you what I have so far or do you just want to start your own? |
| 23:56:54 | | BFLogBot Commit: 1361f25b21c5 | Author: watusimoto | Message: CR/LF -> LF |