#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-11-21

Timestamps are in GMT/BST.

00:00:02GEOFBOTadding defualt install path check
00:00:03GEOFBOThttps://code.google.com/r/geofbot-bitfighter-tools/source/detail?r=748322b928aca48df2d611f1b7de37a818a1db5e
00:00:08GEOFBOTcode is a little messy but it works
00:00:12GEOFBOT(for me at least)
00:04:21GEOFBOTnevermind, i have abetter idea of implmeneting it
00:08:42fordcars has joined
00:12:06GEOFBOThere is a better way of implementing default path searching for bitfighter notifier
00:12:07GEOFBOThttps://code.google.com/r/geofbot-bitfighter-tools/source/detail?r=47873138f4485827e7eb1899f013a72a8ca3d893
00:13:48raptorhi GEOFBOT
00:13:55raptordid that last iteration find it on your system?
00:14:10raptorif you installed in 'program files'
00:15:11GEOFBOTmine was installed in program files (x86)
00:15:15GEOFBOTand it found it
00:15:27raptoroh good
00:15:50raptorwhat if you start the game from the notifier, then exit the notifier - will the game exit?
00:16:06raptorI'm actually unfamiliar with the workies of subprocess.Popen
00:16:08GEOFBOTno
00:16:09raptor*workings
00:16:17raptoreven better!
00:18:14Flynnn Quit (Quit: This computer has gone to sleep)
00:25:04raptorok GEOFBOT, we have one more idea that I think would be good to implement
00:26:21raptorand that is a commandline argument for the executable, like so: bitfighter_notifier.exe -exepath "c:\some weird\not-standard\path\bitfighter.exe"
00:26:39raptorthink you can do that, too?
00:27:07GEOFBOTsure
00:28:14raptorit would probably be useful for all three platforms, actually, and maybe could be done in the main() area, or thereabouts
00:45:18Watusimoto Quit (Ping timeout: 246 seconds)
00:52:48raptorI'm headed home - I'll be back later!
00:53:31raptor Quit ()
00:59:30Flynnn has joined
01:01:58Nothing_Much has joined
01:09:27Nothing_MuchIs it possible to make a .deb package for Bitfighter when compiling from source? (018a)
01:09:37fordcarsuh
01:09:52fordcarshttp://ubuntuforums.org/showthread.php?t=2683
01:10:25fordcarsI guess the best way would be to ask raptor :)
01:14:31Nothing_Muchfordcars: Well there's checkinstall, but that only applies to make stuff I think, BF uses cmake now
01:15:01Nothing_MuchOh 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:33Nothing_Muchfordcars: Curious, does the RPi use Armhf or just Armel
01:16:42fordcarsI have no idea, but I think it is Arml
01:17:48Nothing_MuchAhh
01:18:32Nothing_MuchI 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:48Nothing_MuchSpeaking of CPUs, fordcars are you gettin' a new PC or Mac soon?
01:23:55fordcarsHehe I wish! We got a new MacMini but I can rarely use it :( It's always in use
01:24:26Nothing_MuchOh man that sucks
01:25:16Nothing_MuchI'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:47Nothing_Much*from where I live
01:48:21Kiryx Quit (Ping timeout: 248 seconds)
02:00:31fordcarsNothing, sure :P
02:07:26Nothing_Muchfordcars: Press tab to highlight anybody's name :)
02:18:42taslem has joined
02:19:06taslem is now known as Guest81359
02:22:57Guest81359 Quit (Ping timeout: 250 seconds)
02:32:45raptor has joined
02:32:45ChanServ sets mode +o
02:32:52raptorhowdy folks!
02:35:48Nothing_MuchHowdy
02:36:54sam686This levelgen creates a million memory leaks http://sam6.25u.com/upload/text1311/131121_02-36-31.txt
02:37:57sam686My VLC (visual leak detector) is still taking more then 3 minutes dumping all those memory leaks..
02:38:21sam686make that more then 5 minutes.
02:39:30raptoroh yes, it sure does - you have to do +
02:39:44sam686what +?
02:39:59raptorsorry my kids are near...
02:40:10raptorthat will leak because addItem was never called
02:40:11raptorback in a b it
02:40:38sam686would that mean someone could upload a levelgen that can memory leak that way?
02:44:17fordcarslevelgens can easily crash the game though
02:44:26fordcarsTry an infinite while loop :)
02:45:11sam686This levelgen crashes bitfighter http://sam6.25u.com/upload/text1311/131121_02-44-57.txt
02:47:31sam686Even with the loop removed it still crashes, probably with memory heap corruption
02:49:37raptor0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
02:49:49raptoraach
02:49:51fordcarshi
02:49:59raptorsam686: was that a crash or an assert?
02:50:13fordcarsraptor, fell asleep on your keyboard^
02:50:40sam686its some internal visual C++ memory heap corruption inside bitfighter.exe, not a TNLAssert
02:50:53raptorok, that's bad
02:51:18raptorI did a lot of work to make it so there were no memory leaks between c++ and Lua
02:51:27raptorincluding with the editor plugins
02:51:34raptorso that leak
02:51:46raptoris it coming from Lua object creation or c++ object creation?
02:51:57raptorand does it go away when you switch levels?
02:52:00sam686in BfObject::lua_removeFromGame settings removeFromGame(true) to (false) solves the crash, but then we are back to some more memory leak
02:52:37raptoryeah we don't want to do that..
02:54:35sam686At one time I Solved the LUA memory leak with revision 01414236b4ed
02:55:58Little_Apple has joined
02:56:02raptorlooking...
02:56:09Little_Appleparty night?
02:57:09raptorsam686: many more were added since, because we rearchitected a lot of the Lua system
02:57:27raptorand i solved all of them in june-july
02:58:27raptorluawrapper was also updated and added object caching for speed
03:00:11Little_Appleparty night!
03:00:42Flynnn Quit (Quit: Leaving)
03:01:50sam686it just seems like the problem keeps coming back..
03:02:27raptordoes the leak still exist after you change levels?
03:03:09sam686it doesn't leak, it only leaks when running my above levelgen, or crash in a case of my second levelgen
03:03:40raptori don't understand - if you change to a different level, does the leak go away from the first levelgen you posted?
03:04:03sam686no it doesn't as those leak is leaked at running my lua main()
03:04:11Skybax_ Quit (Read error: Connection reset by peer)
03:04:21sam686leaks stays leaked until program exit
03:04:49raptorok, then that is a problem... are the leaked objects Lua-based or c++ based?
03:04:51sam686but if a server meant to run continously, it could eventually use gigabytes of memory from those leaked memory
03:05:18Skybax_ has joined
03:05:23sam686LUA created TestItem.new() but never added to game, and it leaked
03:05:53raptorok, then the solution is to clear them at the end of a level
03:05:59raptorin Lua
03:06:11raptorit may be resolved with my sandbox changes I've been working on
03:06:22sam686ok
03:06:34raptorso I'm worried more about the crashing...
03:06:50raptorI will add an 019 issue with your levelgens to make sure it is fixed
03:07:20sam686The 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:02sam686Caused by when we delete objects on removed
03:08:16raptoris some memory not being set to NULL?
03:09:01sam686its almost like LUA have their own reference count, and we are not incrementing on added to game / decrementing on remove from game
03:09:38sam686but then, it appears LUA never deletes any objects (TestItem ResourceItem) it appears
03:10:12raptoradded issue: https://code.google.com/p/bitfighter/issues/detail?id=308
03:11:33sam686Not 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:01raptorinteresting
03:13:09raptorif you find a solution to the crash, make sure it doesn't add further leak, including with editor plugins
03:24:12kylebirnbaum has joined
03:25:03kylebirnbaumdoes anyone here know the in's and out's of UIChat.cpp
03:26:48kylebirnbaumhow can i save the entered text to another variable, or what is the variable for the entered text?
03:30:33Little_Apple Quit (Ping timeout: 250 seconds)
03:30:41sam686ChatUserInterface::onKeyDown / onTextInput is the input of the keyboard stuff
03:32:21kylebirnbaumbut 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:40sam686issueChat is where it graps whatever is in mLineEditor.c_str()
03:34:42raptorhi kylebirnbaum
03:35:43sam686but 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:04fordcarsI think he means the actual var holding the actual string being sent to server
03:36:32raptorno I think he's looking for the client-side message storing
03:36:34sam686nervermind, maybe the /mute can be moved to QueryServersUserInterface
03:37:14raptorkylebirnbaum: you are working on the scrolling widget for a UI?
03:38:00sam686the UI keyboard inputting and submitting chat (issueChat) is client side, up until inside the c2mSendChat thats in master server side.
03:38:42kylebirnbaumno, im doing the 'press up to recall previous commands'
03:38:49raptorohhhhh
03:38:52raptormy bad, sorry
03:39:03raptori think everything you want is in the LineEditor class
03:39:41sam686There also commands while in game hosting or joined a server (press / or G or T)
03:39:44raptorspecifically, take a look at LineEditor::handleKey
03:40:29raptoryou may need to implement your own buffer for past commands, maybe a vector<string> as a private member on the class
03:44:38raptorback in a bit...
04:09:02GEOFBOT Quit (Read error: Connection reset by peer)
04:13:00Nothing_Much_ has joined
04:13:28Nothing_Much Quit (Ping timeout: 245 seconds)
04:22:35destroyerimo has joined
04:22:51kumul has joined
04:23:37Nothing_Much_ Quit (Remote host closed the connection)
04:25:10Nothing_Much has joined
04:32:28amgine123zzz'
04:36:51fordcars Quit (Ping timeout: 250 seconds)
05:01:24kumul Quit (Quit: Leaving)
05:14:10Nothing_Much Quit (Read error: Connection reset by peer)
05:14:15Nothing_Much_ has joined
05:16:25kylebirnbaum Quit (Quit: Page closed)
05:28:43Platskies has joined
05:42:35destroyerimo Quit (Ping timeout: 240 seconds)
05:57:11amgine123bye
05:57:15amgine123 Quit (Quit: Page closed)
06:15:05sam686 has left #bitfighter
06:27:43Platskies Quit (Quit: Leaving)
06:29:43Nothing_Much_ Quit (Ping timeout: 272 seconds)
06:33:39Nothing_Much has joined
06:39:45HylianSavior Quit (Read error: Connection reset by peer)
06:40:05Kiryx has joined
07:31:25raptor Quit ()
08:19:25Invisible has joined
08:24:40koda has joined
08:35:19BFLogBot Commit: 439c4a007abd | Author: buckyballreaction | Message: New badge! Last-Second Win in a CTF game
08:39:36Darrel has joined
08:42:38Skybax_ Quit (Ping timeout: 245 seconds)
08:42:38Skybax Quit (Ping timeout: 245 seconds)
08:49:13LordDVG has joined
09:01:06grypoB has joined
09:01:34grypoB Quit (Client Quit)
09:18:28Invisible Quit (Ping timeout: 245 seconds)
10:00:08Platskies has joined
10:13:31LordDVG Quit (Remote host closed the connection)
10:34:21Invisible has joined
11:10:04Invisible Quit (Ping timeout: 264 seconds)
12:05:14Platskies Quit (Read error: Connection reset by peer)
12:07:57Platskies has joined
12:26:44Platskies Quit (Quit: Gotta go)
12:26:50Watusimoto has joined
12:52:45Watusimoto Quit (Ping timeout: 265 seconds)
13:11:30destroyerimo has joined
13:12:38Johnaudi has joined
13:12:46JohnaudiHi guys
13:12:53JohnaudiAnd hi Darrel
13:13:48Johnaudi Quit (Client Quit)
13:14:50Johnaudi has joined
13:15:26JohnaudiLooks like you're one of those who will win the trip in gf
13:15:34JohnaudiGci*
13:15:55LordDVG has joined
13:16:32Johnaudi has left #bitfighter
13:28:57destroyerimo_ has joined
13:30:59watusimoto has joined
13:30:59ChanServ sets mode +o
13:32:13destroyerimo Quit (Ping timeout: 245 seconds)
13:41:31Invisible has joined
13:41:59grypoB has joined
13:43:44grypoBHi, 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:45Invisible Quit (Ping timeout: 248 seconds)
14:09:20watusimoto Quit (Quit: Leaving.)
14:09:36watusimoto has joined
14:09:36ChanServ sets mode +o
14:12:07grypoBhi 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:22watusimotohi grypoB
14:12:43watusimotoI'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:53watusimotowhat time zone are you in?
14:13:05grypoBCET
14:13:06watusimotoor, better, what time is it there?
14:13:13watusimotothat's europe, right?
14:13:15grypoB15:13
14:13:19watusimotoperfect
14:13:19grypoByep
14:13:23watusimotothat's where I am too
14:13:37Watusimoto_ has joined
14:13:40watusimotoso I can take a look this evening
14:13:53grypoBok, i'll wait
14:13:55watusimotoI'm in luxembourg -- where are you located?
14:14:32grypoBswiss
14:14:40grypoB*switzerland
14:14:53watusimotoswitzerland is one of my favorite places to visit
14:15:01watusimotoI love mountains
14:15:22grypoBthe skiing season has began !
14:15:27watusimotolucky
14:15:41watusimotowe just got our first snow here in luxembourg, but there's no skiing
14:16:08Invisible has joined
14:17:12watusimotoI've been to the Bern area a few times for skiing and hiking
14:18:44grypoBit's nice there, but my favorite spot for hiking is the "four kanton lac"
14:19:30watusimotoI don't know it -- most of my trips have been to Austria or France
14:21:54grypoBthat reminds me i' have never been to luxembourg.
14:22:39watusimotoit is in some ways similar -- a small relatively wealthy country with many languages
14:22:57grypoB^^
14:23:16grypoBbut it's mostly french right ?
14:23:24watusimotono
14:23:37watusimotoluxembourgish is the native language, and that's very close to german
14:23:53watusimotobut almost everyone speaks french also
14:24:35watusimotoso the three "national" languages are luxmebougish, german, and french
14:24:44watusimotobut english is also widely spoken
14:24:48grypoBoh, ok
14:25:05grypoBenglish as in nearly every country
14:25:16watusimotoyes, but in some places more than others
14:25:57watusimotoin scandanivia, english is nearly 100% I think
14:26:11watusimotobut less so in france
14:26:22watusimotoand italy
14:26:31grypoBfor france it is more a problem of quality i think
14:26:35watusimoto:-)
14:27:05watusimotonative enlgihs speakers rarely do well with french, either
14:27:22grypoBi think 90% of the french learn it as their first foreign languge
14:27:38watusimotomaybe now
14:27:47grypoBthat's true
14:28:35grypoB Quit (Quit: Page closed)
14:49:43Invisible Quit (Ping timeout: 265 seconds)
14:50:41Watusimoto_ Quit (Ping timeout: 272 seconds)
15:31:00LordDVG Quit (Remote host closed the connection)
16:04:53destroyerimo_ Quit (Ping timeout: 272 seconds)
16:21:04Invisible has joined
16:47:21sam686 has joined
16:47:21ChanServ sets mode +v
16:48:42raptor has joined
16:48:42ChanServ sets mode +o
16:49:06raptorgood day!
16:53:38raptorwatusimoto: i finished the last badge! it's a hard one to get, too...
16:56:53Johnaudi has joined
16:56:57Johnaudihey guys
16:57:12Johnaudioh and I watusimoto, never saw you here before
16:57:31watusimotohi
16:57:42watusimotohi Johnaudi: just checking the project out
16:57:53Johnaudiproject as in the task?
16:57:55watusimotoraptor: it looks like a good badge
16:58:04watusimotoJohnaudi: just trying to figure out what bitfighter is
16:58:10Johnaudiohh okay
16:58:17Johnaudianyways - raptor have you checked the task yet?
16:58:25watusimotojust kidding -- actually, I'm the founder of the project
16:58:51Johnaudimakes more sense, because they always tell me you're the one able to explain the codes for me
16:58:53raptorheh
16:58:54watusimotoI've just been really busy the past couple of days
16:59:23Johnauditake not pressure, gci si for 48 days after all
16:59:33watusimotoyes
16:59:39watusimotowhat are you working on?
16:59:53Johnaudianywho, raptor did you check my task? I wana pick the music widget one
16:59:57Johnaudihmmm let me send you the link
17:00:23Johnaudihttp://www.google-melange.com/gci/task/view/google/gci2013/6603341224214528
17:00:27Johnaudibrb eating
17:00:36watusimotoraptor: I just can't seem to finish that task I'm working on
17:00:51raptorwatusimoto: which one? because I can't seem to finish mine either...
17:00:52watusimotoI keep either falling asleep or try some new approach that doesn't work
17:01:08watusimotothe "frame" issue
17:01:15raptoroh yuk
17:01:18watusimotothe one where the old level pops up for an instant
17:02:07watusimotowhoa... I made a lot of typos in that task description
17:02:46watusimotoyuk indeed. I want to finish it tonight, but I already dozed off here at work once, which is not a good omen
17:03:54raptori 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:33watusimotoI hear you!
17:06:53raptorsomeone claimed the ipv6 task 2 days ago
17:07:04watusimotoI saw that
17:07:07raptorhowever that suicidal person has not shown up yet...
17:07:25raptori'm not even sure I can be an effective mentor for that task...
17:07:34watusimotonone of us can
17:07:38koda Quit (Ping timeout: 245 seconds)
17:07:47raptoroh rats! koda was here!
17:07:51watusimotosam686 is probably our best bet
17:07:57watusimotobye koda
17:08:04Johnaudimost of the task are hard to understand :p
17:08:22Johnaudigood thing you guys list your iRC everywhere
17:08:43watusimotoyou understand your task?
17:08:55Johnaudiyup I finished it and waiting moderation since yesterday
17:09:01sam686hi
17:09:08watusimotohi sam686
17:09:18raptoroh Johnaudi, with just a cursory look on that task, can you make sure to set your indentation to 3 spaces?
17:09:42Johnaudioh, sorry for that - should i upload it again or just from now on?
17:10:06raptorlet me look -
17:10:42raptorI 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:33Johnaudiah give me sec
17:12:11JohnaudiI've lost the files x.x
17:12:57raptorJohnaudi: you are working in a clone, yes?
17:13:07Johnaudiwell - not really
17:13:17JohnaudiI'm just using diff of the clone
17:13:21raptorah...
17:13:40Invisible Quit (Ping timeout: 264 seconds)
17:13:42Johnaudicould we pass that one for now?
17:13:49JohnaudiI'll set indention for future task from now on
17:14:05raptorwell - did you lose the code entirely?
17:14:53sam686What I do is copy a Tab, find and replace (ctrl+F and quick replace mode), and replace Tab with 3 spaces
17:15:08watusimotoor it is probably easy to fix in sublimetext
17:15:18sam686you can't exactly directly type in a tab, but you can copy and paste a tab
17:15:19raptorI 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:00Johnaudicould you beautify it though?
17:16:03kumul has joined
17:16:07watusimotoformatting is especially important -- not just here, but when you work with any existing codebase
17:16:15Johnaudiyeah I know
17:16:16watusimotomaintainers tend to be very picky about that
17:16:25Johnaudiwe use styling all the time on graal
17:16:56watusimotoin my last job we would argue for hours about the formatting
17:17:13Johnaudiyeah, after all it's all about opinion
17:18:21raptori 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:43watusimototabs???
17:18:47sam686but 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:01watusimotoI didn't know anyone still used tabs
17:19:18raptoreclipse + java
17:19:24watusimotoit's more than opinion -- well formatted code, consistely formatted code, makes it easier to spot errors
17:19:45watusimotoas to which precise standard to pick... well, that I guess is somewhat opinion
17:20:04sam686the problem is when using mixed tabs and spaces, how far tabs indent depends on which editor you using..
17:20:37raptoreclipse + 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:45JohnaudiI use tabs <-
17:21:06Johnaudispaces are obligatory on bukkit
17:21:19sam686some linux users don't use IDE at all when editing source code
17:21:32raptorthose crazy linux users...
17:24:44sam686As usual I see myself using tabs, and easily see tabs as really far ident in turtoiseHG diff
17:25:20Johnaudihttp://pastie.org/8498813
17:25:21Johnaudiindented
17:26:22raptorwatusimoto, how can he get his IDE set up for unix line endings?
17:26:28raptorhe's on visual studio
17:26:28sam686thers 52 tabs there in that pastie, looks like diff creating their own TABS as well, between filename and date
17:26:56JohnaudiI guess
17:27:01Johnaudianyways I'll be afk
17:27:26Johnaudiraptor/watusimoto could you check it out?
17:30:24raptorJohnaudi: there are still formatting issues and that diff says the entire file was changed (probably because of line endings)
17:30:42raptorI'm sorry it's a bit painful to get set up properly - but it's worth it, I promise!
17:30:44Johnaudiweird, I did set indention to size 3
17:30:51Johnaudiand re-intented
17:31:04Johnaudiah guess I didn't save
17:31:16watusimotothe 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:42watusimotoI need to head out, but I can send the tortoise specifics from home (where I have it all configured)
17:32:07watusimotoremember to save!
17:32:17watusimotook, back later
17:32:18watusimotolater!
17:32:23raptorbye
17:32:31Johnaudisee ya
17:34:04Johnaudiraptor can you http://prettyprinter.de/ ?
17:34:07Darrel Quit (Quit: Leaving)
17:34:46raptori'm not sure what i'm supposed to do..
17:36:27watusimoto Quit (Ping timeout: 246 seconds)
17:37:43tomek_bstok has joined
17:40:33sam686 Quit (Ping timeout: 245 seconds)
17:41:34sam686 has joined
17:41:34ChanServ sets mode +v
17:42:33raptorJohnaudi: 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:54raptorthen adjust the indentation of just the lines you've changed
17:56:48Canseco has joined
18:05:23HylianSavior has joined
18:17:45Invisible has joined
18:27:19Johnaudisec
18:27:51alex_velea has joined
18:29:26Johnaudidone http://pastie.org/8498968
18:33:05raptorJohnaudi: can you get me just the diff?
18:33:09raptorhi alex_velea
18:33:29raptorfeel free to ask questions here, in the main channel, so any developer can see it
18:33:45Darrel has joined
18:34:03alex_veleaSorry for that :)
18:34:14alex_veleaI need to work with a project to implement ipv6
18:34:24alex_veleaI found the file that contain most of that code
18:34:27raptorah yes
18:34:35alex_veleaIt's in /ntt/
18:34:45Watusimoto has joined
18:34:45alex_veleaLet me find it exaclty
18:35:02raptorfirst - what OS are you using and how did you download the source code?
18:35:57alex_veleait's in /tnl/udp.cpp
18:36:13alex_veleaI downloaded it from the download section
18:36:17raptorah ok
18:36:18alex_veleaFrom some google site
18:36:21alex_veleaI'm using OSX
18:36:24raptorok
18:36:34alex_veleaAnd the game it's not working on the latest version, btw
18:36:35alex_velea:(
18:36:37raptorwe will want you to use mercurial and create a clone to work out of
18:36:50raptorhave you used mercurial before?
18:37:01alex_veleaNo
18:37:09alex_veleaI did not work with big projects
18:37:13alex_veleaJust problem solving
18:37:37raptorwhat version of xcode? I think we have an xcode 3 project, but not 4+
18:38:08alex_velea5.02
18:38:20alex_velea5.0.2
18:38:45raptorthat is sadly not supported with our build system yet
18:39:06alex_veleaFrom what i saw .. most of the ip stuff it's in that file.
18:39:21alex_veleaI did not found the class constructor yet but i'm working with it
18:39:35alex_veleaCan't i just work with that file and upload it later?
18:39:47alex_veleaOn gci page
18:40:13raptorit'll be important for you to compile
18:40:21raptorhow comfortable are you with command line?
18:40:52alex_veleabash or linux?
18:40:59alex_veleai know |some| bash
18:41:04raptorok, good
18:41:20raptorso let's get you hooked up to compile on the command line
18:41:23raptorfirst
18:41:41raptordownload and install mercurial: http://mercurial.selenic.com/downloads/
18:42:09raptorthen download and install cmake: http://www.cmake.org/files/v2.8/cmake-2.8.12.1-Darwin64-universal.dmg
18:42:25raptorlet me knwo when you're done and we can check out the source code
18:47:10alex_veleaI've installed mercurial
18:47:30alex_veleaBut it's not showing any sign of any app in applications
18:47:35alex_veleaBut i think it's ok
18:47:41raptorthat's OK - it's a command line application
18:48:01Skybax has joined
18:48:08Skybax_ has joined
18:48:18Skybax_Goodmorning IRC
18:48:22raptorSkybax_: you like to join twice
18:48:29raptorgood morning!
18:50:32alex_veleaDo i need to restart before using mercurial command lines?
18:50:38raptorno
18:50:48raptoralso install cmake, above
18:53:21Skybax_Why does it join me twice?
18:54:06Skybax_>.>
18:54:41alex_veleamaybe you have 2 tabs opened?
18:55:37raptorSkybax: ping
18:55:40raptorSkybax_: ping
18:55:50raptordid you get alerts from separate windows?
18:58:34raptoroh good, it works!
18:58:58raptoralex_velea: when you have cmake installed, let me know - I just confirmed you can compile just TNL on the command line
18:59:21alex_veleai installed cmake
18:59:30alex_veleaAnd i cloned the site with the hg command
18:59:30raptorok great
18:59:34raptorexcellent
18:59:35alex_veleaSo i can know it works
18:59:46raptorgood
18:59:46alex_veleaadded 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:52raptorheh, yes
18:59:52alex_veleaWhere can i find these files?
18:59:55raptorok
19:00:07raptorthe clone operation should have created a directory for you - 'bitfighter'?
19:00:21alex_veleaYep
19:00:23alex_veleaI got it
19:00:28raptorwhich URL did you clone?
19:00:42alex_veleaThe one from code.google
19:00:52alex_veleawith this command
19:00:52alex_veleahg clone https://code.google.com/p/bitfighter/
19:01:02raptorok
19:01:06raptorlet's do a little differently
19:01:14raptorI want you to go here: http://code.google.com/p/bitfighter/source/clones
19:01:22raptorand click 'create a clone'
19:01:39raptorit will create a server-side clone into which you can check-in your work
19:02:02alex_veleadoes the name / description matter?
19:02:08raptornot really
19:02:12raptorit will be yours
19:02:33Kiryx Quit (Quit: Leaving)
19:02:49alex_veleaok. got it
19:02:58raptorwhen you have the clone created, clone that URL instead
19:04:31raptoryou can remove the first clone you made
19:08:37alex_veleaEverything it's ok now
19:08:47raptorok, you have your clone checked out?
19:09:37alex_veleaYep
19:09:40alex_veleaSeems ok
19:09:42raptorok good
19:10:15raptornow, in the terminal
19:10:26alex_veleaI got a lot of kernels warnings .. and i don't think it's normal
19:10:36raptorgo into the clone, then into the sub-directory of 'build'
19:10:42raptoroh? did you start building already?
19:10:49alex_veleaNo ..
19:10:53alex_veleaThat's the problem
19:11:03raptorok, let's make sure you're building properly
19:11:18raptorso into the 'build' directory
19:11:18alex_veleanow into osx?
19:11:39raptorI thought you were in a terminal in OSX, are you not?
19:11:48alex_veleaI am
19:11:52raptorok good
19:11:55raptorstay in the terminal
19:11:57alex_veleaIn the build forder it's a osx forlder inside
19:12:01raptorahh...
19:12:02raptorno
19:12:06raptornot there, just 'build'
19:12:19raptorok, here you only need to run this command once:
19:12:32raptorcmake -DCMAKE_BUILD_TYPE=Debug ..
19:13:12alex_veleai have mamp on my laptop
19:13:12raptorafter that command completes, try and build TNL with the command: make tnl
19:13:21alex_veleaDo i need to install mysql simple too?
19:13:23raptori don't know what mamp is
19:13:24raptorno
19:13:31raptorignore all the warnings
19:13:33alex_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:37raptoryou only need TNL
19:13:38alex_veleaOk then
19:14:20raptortry this command now: make tnl
19:14:21alex_veleadone
19:14:39raptordid it build the 'libtnl.a' library?
19:15:59alex_veleai did not found that
19:16:06alex_veleaInto the tnl folder of main folder
19:16:22alex_veleaBut my terminal says "Linking CXX static library libtnl.a"
19:16:32raptoroh good!, then it built
19:16:39alex_veleaAfter that [100%] Built target tnl
19:16:43alex_veleaIf it helps ..
19:16:45raptorexcellent
19:17:00alex_veleaBut i can't find the file
19:17:07raptorok, 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:24raptorthe file is found under 'build/tnl/libtnl.a'
19:17:26alex_veleasounds good enought
19:17:30alex_veleathank you
19:17:48raptoryou're welcome - i'm sorry we don't have a full project to compile on OSX...
19:18:04raptorbut with this you should be able to edit the tnl/ code and compile to see if it works
19:18:22alex_veleaI'm really shocked that you have a osx version of the game, to be honest
19:18:35raptorFYI, we consider this one of the hardest tasks, so you're brave!
19:18:54alex_veleaMyeah ..
19:19:56alex_veleaI 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:11raptoryes, ipv6 would require some research
19:21:22alex_veleawith the implementation
19:21:29alex_veleaShould i overflow the functions?
19:21:35alex_veleato work with ipv6?
19:21:42raptorhmmm.... good question
19:21:47raptorwhat do you think Watusimoto?
19:21:51alex_veleaoverload* sorry
19:22:22alex_veleaIf i create new functions i would need to make changes everywhere
19:22:40raptorI think overloading is fine
19:23:24raptorhonestly, 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:58alex_veleaOk .. that's not very inspiriting, honestly
19:26:04alex_veleaI will try to do my best
19:27:25raptorbecause this is a difficult task, with research involved, we'll be more lenient
19:30:44LordDVG has joined
19:39:03Skybax_ Quit (Remote host closed the connection)
19:39:04sam686tnl/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:08SkybaxWHAT IN THE
19:39:39Skybaxraptor when you pinged me it opened a second window lol
19:40:02sam686its becasuse you are connected twice..
19:40:06Watusimotohi
19:40:13SkybaxI was. I closed the other one
19:40:13raptoroh good - then you can track down your problem
19:40:34raptorhi Watusimoto
19:40:40Watusimotowhat do I think?
19:40:43SkybaxI need help making a Bot
19:40:49Watusimotohi alex_velea
19:41:05sam686or was
19:42:05Watusimotoso the question is should we create overridden functions that work with either ipv4 (current) or ipv6 (overridden)?
19:42:55raptorthat's how i understood it
19:42:56WatusimotoI would start where sam686 suggested
19:43:41WatusimotoI 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:55Invisible Quit (Ping timeout: 272 seconds)
19:51:46alex_veleaOfftopic: for my own info. what does tnl stand for?
19:52:02Johnauditorque
19:52:26Johnauditorque namespace language or something
19:53:00Kiryx has joined
19:54:46raptorTorque Network Library
19:54:54raptorit was release as open source as opentnl
19:55:01raptorlike in 2005?
19:55:17raptorthey've released several different versions since, but we're still on this old version
19:55:37raptorhere's reference: http://opentnl.sourceforge.net/doxydocs/
19:55:40Johnaudiwow I think I broke my VB
19:55:48Johnaudithat indention thing deleted the file, wow
19:55:49raptorbut we've changed the library quite a bit
19:57:58sam686TNL = Torque Network Library, not torque namespace language
19:59:16Johnaudilol sorry
19:59:39raptorit was a good guess :)
19:59:42Johnaudiraptor that thing's already indented at size 3 o.o
19:59:48Johnaudiit was close :p
20:00:01sam686it says "Torque Network Library" on most .cpp .h file inside tnl/
20:00:53Watusimotooh right, I need to figure out how to fix the lineending issues
20:01:23Johnaudi11-20-13 --- 8 52.rar 18.5 KB November 20 2013 17:53 UTC // contains them already line ended
20:01:42Johnaudican you guys please just review it for now? I need to take the task before someone else takes it :p
20:02:11sam686I 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:35Johnaudiyeah how come you fixed it yesterday?
20:02:53WatusimotoJohnaudi: are you running tortoise?
20:02:58Watusimototorgoisehg?
20:03:05Johnaudiyes
20:03:22sam686changing and fixing line endings on visual C++ is in file > advanced save option
20:03:59Watusimotoin tortoise you can enable the EOL extension
20:04:12Watusimotothen in the config file, there should be an eol section
20:04:17Watusimotoadd this:
20:04:17raptorWatusimoto: I'm sure that EOL extension never worked for you
20:04:18Watusimoto[eol]
20:04:18Watusimotonative=LF
20:04:18Watusimotoonly-consistent=False
20:04:29Watusimotowell... something is working, no?
20:04:29JohnaudiI got the GUI vers
20:04:33raptoroh... did you change options?
20:04:35sam686usually do UNIX (LF) line ending, as told by raptor
20:04:36Watusimotoso do i
20:05:03Johnaudiwhat does this do though?
20:05:06WatusimotoFile>Settings>Edit File
20:05:21raptorah, Johnaudi, welcome to the world of inconsistent line-endings!
20:05:30Watusimotowhat does it do?\
20:05:43Johnaudilol
20:06:07Watusimotohttp://mercurial.selenic.com/wiki/EolExtension
20:06:12Johnaudiok sec
20:06:13sam686Windows (CR LF) line ending takes 2 bytes for each line, others take only one byte
20:06:22Watusimotoha, the first line of that wiki is: This is considered a feature of last resort.
20:06:22raptorbasically 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:56sam686and sadly windows notepad only recognises windows (CR LF) line ending, other line endings get a mess in notepad: everything in one line
20:06:57Johnaudihttp://pastie.org/8499192
20:07:00Johnaudiraptor there
20:07:06Johnaudiignore the whole thing I used those styling things
20:07:11Johnaudion the bottom
20:07:18sam686thankfully visual studio handles multiple line endings
20:07:18Johnaudijust take the top
20:07:38Watusimotooh, and you will need a .hgeol file
20:08:39Johnaudio.o
20:08:45Watusimotoluckily, .hgeol is part of the project, so you should haev it
20:08:52Watusimotoso don't worry about that
20:08:58raptorWatusimoto: I'm sure you had that extension on for over a year and kept committing wrong endings
20:09:04raptorI think sam686's solution is the key
20:09:10Watusimotoyes, but without the .hgeol file
20:09:15raptorahhh
20:09:17raptorok
20:09:20Watusimotokoda told me about that a few weeks ago
20:09:41Watusimotodo both my solution and sam686's
20:09:50Watusimotoyou can't be too careful with this stuff
20:10:07Watusimotoraptor is very protective of his line endings :-)
20:10:17sam686I 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:24Johnaudirealized that
20:10:25Johnaudix.x
20:10:32Johnaudibut owell, he wants the best for the team
20:10:35JohnaudiI don't blame him :p
20:10:35WatusimotoI still don't think we've established who the cuprit was
20:11:07Johnaudiset this pastie to here
20:11:07Johnaudihttp://www.google-melange.com/gci/task/view/google/gci2013/6603341224214528
20:11:38sam686sometimes 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:03Kiryx Quit (Ping timeout: 272 seconds)
20:15:28Johnaudijust take the main edited part
20:15:33Johnaudiit has line endings there
20:15:45Johnaudiomg I only have 21 hrs left for this lol
20:21:37sam686http://sam6.25u.com/upload/visual2008_tabs.mp4 it shows how to replace tabs into spaces
20:21:55raptor Quit (Ping timeout: 272 seconds)
20:22:25raptor has joined
20:22:25ChanServ sets mode +o
20:22:42raptorNetwork problems at work! I'll be intermittent for a while here...
20:22:47raptor(if you get this message)
20:22:55sam686ok
20:24:34raptorJohnaudi: don't worry, we're very generous with extending if you've already shown progress on the task (which you have)
20:25:09raptor Quit (Client Quit)
20:53:29Kiryx has joined
20:57:08tomek_bstokHey, what is the easiest way to get the current player name from the HighScores class ?
20:59:15tomek_bstokI 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:45sam686getGame()->getPlayerName() ?
21:00:20Watusimotohi tomek_bstok
21:00:32tomek_bstokhi Watusimoto
21:00:44Watusimotodid sam686's answer give you what you need?
21:01:18Guest33961 has joined
21:01:29sam686but, if you are reading in PlayerStats, you can just use PlayerStats.name
21:02:53tomek_bstokhmm, i will try it
21:05:43Guest33961hey guys, recently started a task. anything that would help me get started outside the wiki?
21:06:25tomek_bstokthanks sam686, it works
21:06:42Watusimotohi Guest33961
21:06:52sam686which task you doing?
21:06:54Watusimotowhat task are you working on?
21:07:07Guest33961The star generator plugin
21:07:10fordcars has joined
21:07:34sam686Have you got far enough to compile from source code?
21:07:38fordcarsWow people
21:07:50Johnaudiah damn - I wanted raptor to accept my task :/
21:07:57JohnaudiI still got 21 hours and I might not see him tomorrow
21:08:05Johnaudi20hrs*
21:08:15Guest33961nope, literally just started. very new to this development
21:09:16sam686are you on windows or linux?
21:10:03WatusimotoJohnaudi: don't worry about the time
21:10:08Guest33961Windows, I was gonna create a clone start poking around with it
21:10:34WatusimotoGuest33961: have you seen this?
21:10:35Watusimotohttp://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap#Coding_Standards
21:10:45Watusimotowe just created it this evening. very much a work in progress
21:10:56Watusimotobut might be helpful
21:11:12Watusimotoactually, for the plugin task, you probably don't need the bitfighter source
21:11:20Johnaudican you accept the task now @watysimoto?
21:11:29Johnaudiwatusimoto*^
21:11:35Guest33961read it, thanks for the heads up
21:11:40Watusimotoer... actually, you probably do
21:12:01Watusimotobecause you'll probably want to use our latest source
21:12:08Watusimototo have access to the latest lua stuff
21:12:26fordcarsWow Watusimoto that is actually really neat, the Wiki page
21:12:49Watusimotothanks! raptor wrote most of it, I just did the coding standards at the end
21:13:28fordcarsI am also glad that it's very simular to my style
21:13:31LordDVG Quit (Remote host closed the connection)
21:13:57Johnaudicya guys
21:14:00Watusimotoit's similar to my style because I wrote it
21:14:01Johnaudi Quit (Quit: Page closed)
21:14:46tomek_bstok Quit (Remote host closed the connection)
21:15:55fordcarsCool!
21:23:21tomek_bstok has joined
21:30:11BFLogBot Commit: bc5932d76d4f | Author: watusimoto | Message: Use interval
21:30:12BFLogBot Commit: cdb77c57ec06 | Author: watusimoto | Message: Assign x,y in one statement
21:30:14BFLogBot Commit: 55c5724d17af | Author: watusimoto | Message: Warnings
21:30:15BFLogBot Commit: 2fe4f7d0368e | Author: watusimoto | Message: Merge
21:31:33Canseco Quit (Remote host closed the connection)
21:38:23alex_veleaAfter the ip task, can i find a algorithm based task somewhere?
21:38:52Skybax_ has joined
21:41:37Guest33961 is now known as phillreeder
21:42:11phillreeder Quit ()
21:42:17Watusimotoalex_velea: what do you mean?
21:42:27Skybax Quit (Ping timeout: 272 seconds)
21:42:36Skybax has joined
21:43:27alex_veleasomething that requires more of "the wait it works" rather than "it works and it's readable"
21:43:56alex_veleaa code that needs to be optimized .. sth like that :)
21:44:48Skybax__ has joined
21:45:41Skybax_ Quit (Ping timeout: 248 seconds)
21:46:46Watusimotoyou like optimization?
21:47:58Skybax Quit (Ping timeout: 246 seconds)
21:49:17phillreeder has joined
21:50:01alex_veleaoptimization 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:22GEOFBOT has joined
21:51:30GEOFBOThi
21:51:38GEOFBOTupdated bitfighter-notifier to include custom install path
21:51:38GEOFBOThttps://code.google.com/r/geofbot-bitfighter-tools/source/detail?r=83cbefefb31bf637f316474632b9184e69382f98
21:55:42Iamtaz has joined
22:00:13darkknight has joined
22:00:19Iamtazok
22:00:22Iamtazhttp://www.bitfighter.org/stats/gamereports.php
22:00:28Iamtazhttp://www.bitfighter.org/stats/
22:00:41Iamtazthe second tells u how many shots fired, what kind weapon, etc
22:03:16darkknightthanks
22:03:33Watusimotoalex_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:29grypoB has joined
22:06:14alex_veleathank you very much for help and your time. See you soon. I'm going to bed now. Good to all of you ^^
22:06:48DarrelWatusimoto, I think alex_velea is involved with algorithmic programming (i.e. like the problems they solve for IOI and other coding olympics)
22:07:05Darrelso he means he would like some tasks which optimize code, speed etc
22:07:34WatusimotoI think my problem is that I need to read up on what algorighmic programming is
22:07:54Watusimotogood night alex_velea!
22:08:16Watusimotoand hi Darrel!
22:08:38Darrel:))
22:08:43grypoB has left #bitfighter
22:08:44Darrelit is a pain
22:08:55DarrelI've tried it.. damn it takes a ton of practice to get the hang of
22:09:03Darreland I still haven't gotten it :|
22:09:51darkknight Quit (Ping timeout: 250 seconds)
22:18:15raptor has joined
22:18:15ChanServ sets mode +o
22:18:26raptoroh my goodness our channel is full
22:19:14Watusimotoyes
22:19:58phillreederalright, I'm all set with the source and build but I'm a little confused on how exactly plugins are run
22:25:31Watusimotophillreeder: are you a renamed version of guestxxx?
22:25:32phillreedernevermind, got it
22:25:37phillreederand yes
22:25:43Watusimotook lua plugin.
22:25:50Watusimotogood, just trying to keep things straight
22:25:56Watusimotoit's getting kind of nuts in here!
22:26:06raptorhi phillreeder
22:26:11phillreederhey there
22:26:20raptorI'll steer you in the right direction
22:26:26raptorwhat platform are you on?
22:26:35phillreederoh I think I got it now, thanks though
22:26:58raptorok
22:26:59phillreederjust took some searching
22:29:46Skybax has joined
22:29:51Skybax__ Quit (Ping timeout: 272 seconds)
22:32:28raptorSkybax: bot coding discussion can be brought here (more devs) :)
22:33:20SkybaxOtay
22:33:41raptorI made repairbot from s_bot, but also wrote a lot of highly-specific algorithms for it
22:33:50raptorand removed a lot of unneeded stuff
22:34:10raptorI would probably start with merging ElizaBot with S_Bot
22:34:36raptorand then figure out how to make S_Bot do different modules... which, I think, thread or bobdaduck know how to do
22:34:47SkybaxThat seems easy enough... I just have to copy/paste the functions that make her talk
22:34:53SkybaxDoesn't repairbot switch modules?
22:34:55fordcarsRaptor, no one knows how to change module
22:34:59kaen has joined
22:35:02fordcarsExcept repair bot
22:35:06fordcarsFrom raptor
22:35:07raptorfordcars: I promise I figured it out once...
22:35:11raptori just forgot
22:35:13fordcarsYeah :P
22:35:20raptorand I thought thread, at least, knew...
22:35:23fordcarsWell there is repair bot
22:35:24kaen Quit (Changing host)
22:35:24kaen has joined
22:35:32kaenhi guys!
22:35:34raptorAll hail kaen!
22:35:37kaenback for good now :)
22:35:38fordcarsthread and bob are more into levelgens
22:35:41SkybaxHi kaen!
22:35:41fordcarsHi!
22:35:47kaenhi Skybax :)
22:35:50kaenhi fordcars
22:35:52kaenet al.
22:36:08SkybaxWanna help me make an amazing bot?? lol
22:36:10raptorkaen: you are mentor now :)
22:36:13kaenwow lots of GCI'ers around!
22:36:15tomek_bstokhey raptor, can you check my task ?
22:36:19kaencool \o/
22:36:28kaenready to pick up three days worth of slack :P
22:36:47fordcarsSkybax, you ready^
22:37:01SkybaxReady for what?
22:37:09fordcarsTo make YA BOT
22:37:16SkybaxI was BORN READY
22:37:22fordcarsIf you want Eliza, go get the function
22:37:32fordcarsActually
22:37:49SkybaxI was just gonna copy/paste the function from Eliza and then change the strings
22:37:52fordcarsI already merged Eliza and Repair bot for Quartz
22:38:07fordcarsS_bot is missing from the equation though
22:38:12fordcarsSkybax, sure!
22:38:20fordcarsBut also copy the local vars
22:38:24fordcars*variable
22:38:25fordcarss
22:38:28SkybaxOkay
22:38:43SkybaxI'm mostly concerned about how to get the bot to use cloak the way I want it to
22:39:03fordcarsHeh
22:39:08fordcarsHow do you want it to?
22:39:22fordcarsWhen there is an enemy in a certain radius, use cloak?
22:39:28fordcarsThat would work
22:39:45SkybaxYes. And the radius should be outside the FOV of the player
22:39:51SkybaxSo the player can't see it coming
22:39:54fordcarsSure
22:40:14SkybaxAnd then it should uncloak and fire when it's close to the player
22:40:18SkybaxTo assassinate
22:40:19fordcarsyep
22:40:42fordcarsWhen in a certain radius, kill
22:41:14SkybaxDo you think it should be like a search and destroy bot?
22:41:17SkybaxSo it hunts down players?
22:41:37SkybaxI don't think it would be very good at playing normal
22:41:47raptortomek_bstok: looking
22:42:26fordcarsit would be s_bot good
22:42:45fordcarsIt<s easier to be search and destroy, and cooler
22:42:55fordcarsJust don<t implement s_bot
22:43:01fordcars*harder to make but better
22:43:01Skybaxs_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:09fordcarsyeah
22:43:33tomek_bstokraptor, i send a second patch, because i didn't commit first
22:43:35Skybaxand Skybot wouldn't attack turrets and force fields while cloaked
22:43:35phillreederfor 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:56phillreederoh wait they're the same thing
22:44:05Iamtaz Quit (Ping timeout: 250 seconds)
22:44:05SkybaxSo it's basically only good as a player killer
22:44:11raptortomek_bstok: do you have a server-side clone set up (I don't remember)
22:44:13raptor?
22:44:32raptorphillreeder: do what ever you want to design the algorithm
22:45:11tomek_bstokraptor, I don't think so (I'm not sure what you mean exactly)
22:45:22SkybaxI think I found the function that makes repairbot have repair
22:45:25GEOFBOT Quit (Remote host closed the connection)
22:45:29fordcarsSkybax, even better
22:45:43fordcarsSooo, where are you now^
22:45:45SkybaxWill it work if I just change everything that says "Repair" to "Cloak" ? xD
22:45:52fordcarsLol probably
22:46:08fordcarsactually, if you change the request module and use module, it,ll work
22:46:22fordcarsBut It will use cloak next to neutral turrets and damaged stuff
22:46:31fordcarsExpecting it to repair haha
22:46:58SkybaxWell I want it to use cloak before it comes into contact with anything that will shoot at it
22:47:06SkybaxPlayers and turrets
22:47:41SkybaxBut I don't want it to seek out damaged things and cloak next to them >.>
22:48:47Skybaxlol the code says "check our loadout in case we've been blowed up"
22:49:05SkybaxThat makes me laugh
22:49:23fordcarsHahahaa
22:49:29fordcarsRaptor's humour
22:49:50raptor:)
22:50:05raptortomek_bstok: are you using mercurial?
22:52:13tomek_bstokraptor, yup
22:55:07raptortomek_bstok: what we recommend, is that you create a 'server-side' clone here: http://code.google.com/p/bitfighter/source/clones
22:55:24raptorand then you commit to that, that way you can do incremental work
22:55:30raptorand save all of your code
22:56:08Skybax_ has joined
22:56:23Skybax Quit (Ping timeout: 245 seconds)
22:56:26fordcarsFood time :)
22:56:29fordcarslater!
22:56:40Skybax_My internets are being super gay
22:57:35raptortomek_bstok: we're reviewing it - so far looks good
23:00:54phillreederhey raptor, for the plugin do you just want me to commit it to a server clone?
23:00:59fordcars Quit (Ping timeout: 250 seconds)
23:01:22raptorphillreeder: sure, that'd be great. Then you can paste the URL in the task
23:01:48Skybax_So how to I get my bot to do what I want >.>
23:06:30Skybax_Cause idk what I'm doing
23:06:37Skybax_ is now known as Skybax
23:06:54Skybax._.
23:12:17raptorhi tomek_bstok
23:12:43raptorwe 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:58raptordon't worry about the deadline, if you need more time, we'll grant it
23:14:30tomek_bstokthanks, i will work on it
23:14:36raptorthank you!
23:14:51raptorphillreeder: make sure you've tested your plugin in the bitfighter editor
23:15:53phillreederwill do, it'll be a while before I'm confident in it
23:16:28fordcars has joined
23:16:59raptoralso tomek_bstok, Watusimoto may add a few more suggestions with regards to integrating into our code base
23:17:15raptorSo far it looks like you've correctly integrated with the UI system well enough
23:18:09SkybaxHi Ford
23:18:45fordcarsHi
23:19:06fordcarsHow's your bot?
23:19:09tomek_bstokOk :) Thanks raptor
23:19:54raptorok BFLogBot
23:19:55BFLogBotSusie: 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:06raptor!gci
23:20:06BFLogBotGCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started.
23:20:08SkybaxIt's the same as it was when you left lol
23:20:12raptortada!
23:20:59tomek_bstok Quit (Quit: Wychodzi)
23:21:23SkybaxIdk enough code to do it myself
23:22:45phillreederraptor: the plugin stopped launching in the editor, is this indicative of an error in it?
23:23:10raptorphillreeder: press '/' (slash key) to see output in the console
23:23:17raptorit should give you errors
23:23:23raptorit might be CTRL + /
23:23:37phillreedergot it, I had changed some '.' to ':' to test it and forgot about em
23:25:38fordcarsSkybax, you want me to do it?
23:26:01fordcarsor you could learn lua, it's fairly simple.
23:26:06SkybaxIt would probably turn out better if someone who knew what they were doing took it over xD
23:26:38SkybaxUnless you wanna give me step by step instructions on what to type and where to type it
23:27:43Kiryx Quit (Ping timeout: 246 seconds)
23:30:45Skybax_ has joined
23:31:39Skybax Quit (Ping timeout: 272 seconds)
23:31:56Skybax_ is now known as Skybax
23:32:26SkybaxI'm not a good self-teacher
23:33:08kaenwow!
23:33:14raptorSkybax: I think you'd need to start with learning Lua itself, just to get used to it...
23:33:15kaensuddenly we have coding standards :)
23:33:36raptorhaha kaen, I know! and I took me only 3 years to figure them out...
23:33:49raptor(and watusimoto 10 min. to write them)
23:34:20Watusimotoeveryone LOVES coding standards
23:34:28Watusimoto(except those that need to follow them)
23:34:36kaenWatusimoto, did you know CMake can generate ST2 project files?
23:34:46kaenI just started using them two days ago, they works great
23:34:49Watusimotoreally?
23:34:53raptorST2?
23:34:55kaenyep
23:34:57kaensublime text 2
23:34:59SkybaxI have basic coding knowledge, I just don't know all the terms used in Lua
23:35:00raptorohhhh
23:35:02raptorno way
23:35:02kaenthey work in ST3, as well
23:35:08kaenyeah I was blown away
23:35:17Watusimotogreat
23:35:21fordcarsSkybax, the terms are normally quite universal :)
23:35:26kaenSkybax, did you see my 019 levelgen tutorial?
23:35:33raptorSkybax: this is a simple tutorial: http://luatut.com/
23:35:36fordcarsfor, while, if...
23:35:44kaenluatut is definitely better
23:35:49SkybaxI've seen kaen's tut
23:35:53fordcarskaen tut^
23:35:55fordcars?
23:35:56raptorand kaen has written some good bitfighter + Lua stuff
23:35:58kaen:P
23:36:03raptorhar har
23:36:16fordcars:PP
23:36:26fordcarsWhen will 019 come out?
23:36:31kaennever!
23:36:37fordcarsHahahha
23:36:40SkybaxLike I know what a function is and what variables are and strings and loops and all that stuff
23:36:42kaenit's a marketing ploy to keep you all hanging around.
23:36:50SkybaxI just don't know how to combine them to make a robot
23:36:57fordcars;)
23:37:13fordcarscheck out the Wiki!!!! It's alittle outdated but still a great source
23:37:21fordcarsCheck out Programming Robots
23:37:36SkybaxBut that involves self-teaching lol
23:37:46kaen_k's tutorials are getting pretty outdated :/
23:38:04fordcarskaen, 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:06raptor_k's tutorials should redirect - they can't possible work anymore
23:38:10fordcarsthey rock
23:38:16phillreederIm done with the plugin except I don't know how to change the wall width, what's the property for that?
23:38:19fordcarsraptor, they nearly all work
23:38:21kaen019, fordcars
23:38:41fordcarspoo I don't know the differences!!!!
23:38:58fordcarsIs there a "Converting from 018a to 019" page or book?
23:39:12raptoryes - incessant log messages!
23:39:35raptorkaen: is there another plugin somewhere that shows as an example what phillreeder asked?
23:39:59phillreederHA
23:40:02phillreedergot it hahahahaha
23:40:09phillreederrandom guesses work wonders
23:40:10kaen:setWidth() :)
23:40:23fordcarskaen, plugins can do that now??
23:40:39kaenmost certainly :)
23:40:44fordcarsWicked
23:40:48kaenonly levelgen's can't change walls
23:40:52kaenand only after main()
23:41:12fordcarsSo what are the major differences between 018a and 019 in levelgens^
23:41:14fordcars?
23:42:28kaenmostly deprecated functions and bugfixes
23:42:33kaenand Robot.new()
23:42:41fordcarsYAY
23:42:49fordcarsAnd getGLobalItems or simular?
23:43:17fordcarsInstead of iterating through negative numbers
23:43:25kaenhaha
23:43:35kaenhey does that negative numbers thing actually work?
23:43:45kaenI never really tried it ...
23:44:16fordcarsMe neither :PPP
23:45:26raptoryes, it does
23:45:33SkybaxSo Ford are you gonna make my robot? lol
23:45:44raptori wrote something that would go backwards from 0 to -1000 and pick out the objects i wanted
23:47:28Platskies has joined
23:48:20fordcarslol Skybax: sure I will if you want me too
23:48:33Watusimotokaen: 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:34SkybaxThat would be cool xD
23:49:19Watusimotothat 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:55Watusimotosorry work issue should be worm issue
23:51:35fordcars:P
23:53:33Darrel Quit (Quit: IRC client killed.)
23:53:48Watusimotothough, come to think of it, missiles might solve a couple of my work issues as well :-)
23:54:43SkybaxFord, do you want me to send you what I have so far or do you just want to start your own?
23:56:54BFLogBot Commit: 1361f25b21c5 | Author: watusimoto | Message: CR/LF -> LF

Index Search ←Prev date Next date→

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