#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-01-04

Timestamps are in GMT/BST.

00:00:12Watusimotothat one starts c. 1:20
00:01:29Watusimotoso what was the first bug? the kill streaks with mines?
00:02:10ZapgamerKilling teammates with mines gets you kill streaks
00:02:36Zapgamerin any gamemode that involves teams
00:02:47WatusimotoI'm not sure if that one is a bug or not
00:03:10kumul has joined
00:04:17raptorteleporter wall hack is not new
00:04:26Watusimotoit's new to me :-)
00:04:45WatusimotoI'm not sure how to prevent it, besides pushing teleporters further from walls
00:06:20fordcars has joined
00:07:00raptordon't worry about it
00:07:11raptorit's the only way people have been able to solve old, broken dungeons...
00:13:47WatusimotoI'm not terribly worried about it
00:18:09raptorwhat do you think about the mine bug?
00:26:53Zapgamer Quit (Quit: Page closed)
00:31:38Flynnn has joined
00:31:38Flynnn Quit (Client Quit)
00:31:45Flynnn has joined
00:31:45Flynnn Quit (Client Quit)
00:31:51Flynnn has joined
00:38:15BFLogBot Commit: fe8a9461d068 | Author: buckyballreaction | Message: Clean up MOTD processing on the master
01:19:35WatusimotoI think the mine bug is not really a bug, more of a quirk
01:20:03raptorheh, ok
01:26:39Watusimotogood night all
01:26:43raptornight
01:32:43Watusimoto Quit (Ping timeout: 272 seconds)
02:24:32kumul Quit (Quit: Leaving)
02:35:03BFLogBot Commit: 41c99e9f12bd | Author: buckyballreaction | Message: Fix viewing enemy mines when idle
02:38:19fordcars Quit (Ping timeout: 272 seconds)
02:54:12koda Quit (Quit: koda)
03:11:05BFLogBot Commit: 4f41db1f7dbc | Author: buckyballreaction | Message: Fix removal of Robot lines when saving in editor
03:46:01yomanurock has joined
03:46:24yomanurockhi raptor!
03:46:33raptorhi
03:46:50raptorI only have a minute or two, then i'll be back in about an hour...
03:49:52yomanurockk
03:49:55yomanurockbye
04:07:54fordcars has joined
04:19:13yomanurock has left #bitfighter
04:29:02Skybax Quit (Ping timeout: 252 seconds)
04:30:04Skybax has joined
04:30:35SkybaxHi Ford!
04:34:36fordcarsHi!
04:39:43yomanurock has joined
04:40:00yomanurockcan anyone tell me how to use parseLevelLine()?
04:40:51fordcarsraptor, what is the NeutralTeamIndex again?
04:41:57yomanurockraptor, are you there?
04:42:42fordcarsOh I got it nm
04:45:29yomanurockfordcars, can you tell me how to use Game::parseLevelLine?
04:45:39fordcarsI have no idea :(
04:46:10fordcarsSorry :( Maybe you can get sam686 to help you
04:48:05yomanurockis he available right now?
04:48:14fordcarsUh, I guess not :/
04:48:23fordcarsI don't know
04:48:59yomanurockis raptor there, then?
04:49:08fordcarsI don't know :/
04:49:24yomanurocki need to use it in a vci task
04:49:31yomanurock^^ i mean gci
04:49:35fordcars:P
04:50:33yomanurocki just need to know what params to pass
04:51:37Skybax_ has joined
04:51:42yomanurockto be more precise, i need to know what to pass for *database and const string &levelfilename
04:51:58fordcarsHmm
04:52:10yomanurockSkybax, do you know what params to pass to parseLevelLine?
04:53:03yomanurock(i am passing const char *line as a line of levelcode)
04:54:23Skybax Quit (Ping timeout: 272 seconds)
04:55:33yomanurockfordcars, are you still there?
04:55:49fordcarsYes?
04:56:18fordcarsI don't know, but maybe it is only the item to parse?
04:56:30fordcars*line
04:56:49yomanurockmaybe
05:00:24yomanurockI'm done!
05:01:00fordcarsYay!
05:01:13yomanurockfordcars, could u tell me how to commit and generate the changeset required?
05:01:28yomanurock(I'm new to mercurial, i use svn)
05:01:55fordcarsUh
05:02:05fordcarsIt would be hg push I beleive
05:02:17fordcarshg push -u
05:02:20yomanurocknothg commit?
05:04:28yomanurock has left #bitfighter
05:04:49fordcarsNope
05:05:15fordcarsYes, but that is only if it got approved and only watusimoto, raptor, kaen and sam can do that I think
05:11:17Skybax_ is now known as Skybax
05:12:51SkybaxI had a tuna sandwich for dinner
05:15:24raptorhi
05:16:55raptorto commit: hg commit -u username
05:17:02raptorto push: hg push
05:17:08raptorok good night!
05:17:12raptor Quit ()
05:23:10fordcarsOh po
05:23:14fordcarsGARGH
05:23:18fordcarsCOME BACK RAPTOR
05:24:02fordcarsThe bot's team index is somehow return -3
05:25:56fordcarsOh comon
05:26:12fordcarsOk, the bot's team index is Neutral during the main()
05:27:26yomanurock has joined
05:27:54yomanurocki commited my changes and pushed them to my server side clone.
05:28:09yomanurocknow how do i generate the required patch
05:28:13yomanurock>
05:28:14yomanurock?
05:28:49yomanurock(required for gci that is)
05:29:02SkybaxI know nothing about anything that you're doing
05:30:48yomanurocki was doing the gci task at http://www.google-melange.com/gci/task/view/google/gci2013/4918714122108928
05:30:56yomanurocki am done with the task
05:31:10yomanurockbut i am confused with what to submit
05:31:13yomanurock?
05:31:40fordcarsyomanurock, I think you are done
05:32:00yomanurocki am
05:32:08yomanurockbut i don't know what to submit
05:32:31fordcarshttps://code.google.com/p/bitfighter/source/clones
05:32:37fordcarsYou already submitted!
05:33:36yomanurocki pushed my changes
05:33:49yomanurockbut, what do i submit on the task page?
05:35:01yomanurockdo i give a link to the change i made?
05:35:46yomanurock has left #bitfighter
05:37:39SkybaxJust wave your hands in the air, dance around the room, and yell "Avocadoes!" over and over again
05:48:05Nothing_MuchSkybax: wut
05:52:13fordcarsOh I think you have to contact watusimoto or raptor when they get back :/
05:53:25Nothing_Muchfordcars: who what? what for?
06:10:48fordcarsFor GCI1
06:10:52fordcars*!
06:12:06Nothing_MuchAh
06:32:11Skybax Quit (Ping timeout: 272 seconds)
06:33:26Skybax has joined
06:37:22fordcarshi
06:37:32SkybaxHi
06:44:21Nothing_MuchHello
06:47:19SkybaxHallo
06:50:45Nothing_MuchHooloo
06:52:11Skybax Quit (Ping timeout: 272 seconds)
06:52:53Nothing_Muchgoodbye
06:52:55Nothing_Much:(
06:52:59Skybax has joined
06:53:08fordcarsHello!
06:53:21Skybaxlol
06:53:24SkybaxYou guys are funny
06:53:49Nothing_MuchHurrrr
06:53:58SkybaxMy computer likes to disengage from my wifi every now and then.. I have to reengage it
06:54:19SkybaxThat's why I blink out all the time
06:54:58Nothing_Muchwell poo
06:58:52Nothing_Muchfordcars: How did you find the GJ profile of Bitfighter? :O
06:59:28fordcarsUh, I didn't check it out yet since it is done!
07:00:17fordcarsOh sweet!
07:00:25fordcarsGuess who voted Bitfighter :)
07:01:30Nothing_Muchyou lol
07:01:36Nothing_Muchbut it's now hidden from public view
07:01:42Nothing_Muchwhich was what it was supposed to be in the first place
07:01:43Nothing_Muchoh well
07:06:36Nothing_Muchhopefully wat can finish it soon enough
07:09:03vs73nx has joined
07:12:40fordcarsPoo it is late and Skybax's bot still doesn't work. He'll kick my... Anyway, night!
07:12:42fordcars:P
07:12:59fordcarsjk :P
07:13:02fordcars Quit (Quit: Page closed)
07:13:07Nothing_Muchhaha
07:13:14Nothing_Muchg'night fordcars
07:26:46SkybaxHeh
07:31:10SkybaxLast night he told me he was finishing it... and then earlier he said "four more hours" x)
07:31:26SkybaxIt must be bigger of a project than he realizes
07:31:52Nothing_MuchSkybax: is fordcars making a bot for you?
07:32:27Nothing_Muchor did you do some work yourself?
07:35:52vs73nx Quit (Ping timeout: 246 seconds)
07:36:15Skybax Quit (Ping timeout: 272 seconds)
08:07:12vs73nx has joined
08:17:14destroyerimo has joined
08:22:35vs73nx_ has joined
08:23:09vs73nx Quit (Ping timeout: 252 seconds)
08:25:01destroyerimo Quit (Ping timeout: 272 seconds)
08:26:06Nothing_Much Quit (Remote host closed the connection)
08:28:23Nothing_Much has joined
08:31:31vs73nx_ Quit (Ping timeout: 246 seconds)
08:33:53Nothing_Much Quit (Ping timeout: 272 seconds)
08:34:11vs73nx has joined
08:36:46Nothing_Much has joined
08:37:00Nothing_Much Quit (Remote host closed the connection)
08:50:03Darrel[OFF] is now known as Darrel
08:57:31vs73nx Quit (Ping timeout: 260 seconds)
09:10:09oskopek Quit (*.net *.split)
09:10:12LaunchDirector Quit (*.net *.split)
09:10:19Darrel Quit (*.net *.split)
09:10:21ChanServ Quit (*.net *.split)
09:10:21Flynnn Quit (*.net *.split)
09:28:48Flynnn has joined
09:28:48LaunchDirector has joined
09:31:37oskopek has joined
09:31:52Darrel has joined
09:45:51vs73nx has joined
09:51:25vs73nx Quit (Ping timeout: 272 seconds)
09:53:24vs73nx has joined
09:53:24ChanServ has joined
09:53:24asimov.freenode.net sets mode +o
09:56:29Nothing_Much has joined
09:57:05Nothing_Muchfreenode's having a bad day today :(
09:58:03Watusimoto has joined
10:00:41Nothing_Much Quit (Remote host closed the connection)
10:04:32Nothing_Much has joined
10:04:58vs73nxagreed
10:19:36vs73nx Quit (Remote host closed the connection)
10:25:33LordDVG has joined
10:26:42vs73nx has joined
10:35:09Flynnn Quit (Quit: This computer has gone to sleep)
10:41:43Watusimoto Quit (Ping timeout: 272 seconds)
10:47:16Flynnn has joined
11:46:01koda has joined
11:51:23LordDVG Quit (Ping timeout: 272 seconds)
11:51:54LordDVG has joined
11:54:45vs73nx Quit (Read error: Connection reset by peer)
12:24:12Flynnn Quit (Quit: This computer has gone to sleep)
12:32:02Flynnn has joined
12:34:18Flynnn Quit (Client Quit)
12:35:21Flynnn has joined
12:38:39Flynnn Quit (Client Quit)
12:54:27koda Quit (Ping timeout: 272 seconds)
13:07:06Darrel Quit (Ping timeout: 246 seconds)
13:08:36yomanurock has joined
13:08:43yomanurock has left #bitfighter
13:36:23Canseco has joined
13:57:36Darrel has joined
14:14:39kumul has joined
14:29:15ChanServ Quit (*.net *.split)
14:29:50ChanServ has joined
14:29:50asimov.freenode.net sets mode +o
14:50:58YoshiSmb has joined
15:02:58yomanurock has joined
15:07:33yomanurock Quit (Ping timeout: 272 seconds)
15:10:34Canseco Quit (Remote host closed the connection)
15:31:58raptor has joined
15:31:58ChanServ sets mode +o
15:32:15YoshiSmb Quit (Ping timeout: 272 seconds)
15:32:40raptorgood morning!
15:34:57oskopekmorning
16:02:52sam686Oh so ClanServ couldn't stay here forever? ChanServ has quit IRC: NETSPLIT *.net *.split
16:05:20Darrel1 has joined
16:05:28Darrel Quit (Disconnected by services)
16:05:34Darrel1 is now known as Darrel
16:07:48raptorHi Darrel, I'm looking at your code now
16:08:00Darrelalright, thanks
16:08:46raptorI'm not very familiar with Windows APIs, and I see you changed some of the winsock-related includes
16:08:51raptorwhat OS do you use?
16:09:35YoshiSmb has joined
16:09:36Darrelwindows 7
16:10:54Darrelabout the winsock includes. old winsock.h was conflicting with ws2tcpip.h (which is required for what I had to do)
16:11:08Darreland I noticed that other people doing this upgrade had also switched to winsock2.h
16:11:34raptorok... do you know if that affects windows xp?
16:11:59Darrel"winsock2.h was designed to replace winsock.h, not extend it. Everything that is defined in winsock.h is also defined in winsock2.h."
16:12:09Darrelso I doubt that.
16:12:49Darrelif I'm not misunderstanding something, winsock 2 is actually windows 95+
16:13:05Darrelso yeah, goes back 20 years, should be fine, lol
16:13:16raptorheh, ok
16:13:38raptorI see 2 problems with your code right away (1 is trivial):
16:15:17yomanurock has joined
16:15:26yomanurockhi raptor
16:15:46raptor1. our code uses 3 spaces for indentation, not tabs see our code guidelines at:
16:15:48raptor!gci
16:15:48BFLogBotGCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started.
16:16:06raptor2. compile error on Linux: std::memset doesn't exist (remove 'std'?)
16:16:08raptorhi yomanurock
16:16:10Darreloh crap, damn Visual Studio.... I thought I fixed the 3 spaces...
16:16:39yomanurockraptor, could you review my gci task?
16:18:27raptorhi yomanurock - i can probably review bits of it since watusimoto knows more of what you're doing
16:18:29sam686One way to change tab into spaces in visual studio: highlight/select TAB and copy (ctrl+c), edit, find and replace, quick replace, replace TAB (paste a tab, ctrl+v) with 3 spaces
16:18:43yomanurockits at http://www.google-melange.com/gci/task/view/google/gci2013/4918714122108928
16:18:49raptorthanks
16:22:05YoshiSmbhello everybody!
16:22:25yomanurockhi YoshiSmb!
16:22:48Darrelok, tabs fixed. now about the linux problem. as for the other problem, can you please tell me if adding <string.h> fixes it?
16:23:02raptorDarrel: no
16:23:08raptori think you just need to remove std::
16:23:16raptormemset isn't part of std
16:23:42Darrellet me check if that doesn't break on windows
16:25:33Darrelok, yes, fine here.
16:27:12Darrelpushed both changes to my clone. too bad my linux VM is too limited on space, so I can't test there myself..
16:29:15raptorok, i'll check
16:29:21yomanurockwhen might watasimotu be online?
16:29:55Darrelhe usually shows up about 1 hour from now, 19 pm for me.
16:29:58raptori'm not sure.. probably within a couple of hours
16:32:33raptorDarrel: it compiles now, but I get a warning: udp.cpp:755:67: warning: NULL used in arithmetic
16:32:49yomanurockk, thx:)
16:33:00Darrelthat was expected
16:33:08Darrelwasn't sure if I should go with 0 though.
16:33:41Darrelthat's the if statement, right?
16:33:50Darrelyep, it is
16:33:53raptorlooks liek yes
16:34:07Darrellast NULL to 0 should fix the warning
16:35:19raptornow the real test... if network stuff still works in-game :)
16:35:41Darrelfingers crossed.. lol
16:36:41raptorcompiling... compiling...
16:38:04raptorDarrel: looks like it isn't working :(
16:38:15Darrelreally?
16:38:17Darrelhmm
16:38:19raptorany DNS name (e.g. bitfighter.org) isn't being resolved
16:39:15Darreli'll see what I've missed
16:40:01Darrelbtw, how do you check for any DNS name?
16:40:12Darrelcause that was a problem for me, didn't really know how to test it
16:41:33raptoron the command line, do this: bitfighter -master bitfighter.org:25955
16:41:42raptorthat will force the address lookup
16:42:02raptorthen just start game and go to the main menu, it will attempt to connect to the master server at bitfighter.org
16:42:03raptorand fail
16:42:15sam686or while in a server browser /connect bitfighter.org:28001 or whatever listed thats running on bitfighter.org
16:43:06Darrelah yes, I'll try to second option
16:43:28Darrelwith the*
16:43:47Darrelfirst one doesn't really work on windows
16:50:16raptorgood thinking sam686
16:55:32raptoryomanurock: I've just briefly browsed your code
16:55:42raptorI have two concerns:
16:56:04raptor1. are those new editor functions used anywhere?
16:57:23raptor2. It looks like large parts of processLevelLoadLine (and family) have had some serious logic changes - like "GridSize" handling is different and I'm not even finding the old "LevelFormat" line
17:00:21sam686it will help if you fix compile errors yourself, like having Game::parseLevelLine_objects in game.cpp also needs that same function placed in game.h somewhere inside Game class.
17:02:11YoshiSmb Quit (Ping timeout: 272 seconds)
17:04:02Flynnn has joined
17:04:03yomanurockk thx but how do i regenerate the chageset>
17:04:06yomanurock?
17:04:17raptorwhat do you mean 'regenerate' ?
17:04:31raptoryou did everything right - we can pull from your clone
17:04:45sam686something with HG? or compiling?
17:05:16yomanurockk, so i add the new functions in game.h and then push again?
17:05:25sam686if its HG, just make a new commit (when ready) and push
17:06:02raptoryomanurock: yes, make your changes then push them and we can slurp them in
17:06:53yomanurockk, so all i have to do (that is the changes) is that i need to add all the new functions in game.h right?
17:07:14raptorthe end goal is to get the task to work
17:07:17yomanurock(and the refactor of processLevelLoadLine was given to me by watasimotu)
17:07:24sam686yes, and make sure it compiles without errors
17:07:49yomanurockso to to the last bit (compiling) i follow the GCI student bootstrap again?
17:07:54raptorso a good test would be - open a notepad (or similar program), open the bitfighter editor
17:08:08raptorthen copy objects in the editor, and paste them in the notepad
17:08:41raptorand in reverse - copy from notepad and paste in editor
17:09:26yomanurockhow do i open the bit fighter editor?
17:09:35raptorit's on the main menu
17:09:42raptorstart game -> select EDITOR
17:12:02sam686Watusimoto wanted to make 'paste' not change GameType/teams parameters, which kindof make things a little harder, with the changes to game.cpp level loading...
17:13:52yomanurocksorry?
17:17:41sam686I can test it, if you pushed your game.h changes to your clone..
17:19:13yomanurocki can't find bitfighter in my exe directory (running fedora linux)
17:19:28raptorprobably because the compile failed
17:20:35yomanurockno errors during compilation and also, i couldn't find it even before i made the changes (when i first followed the student bootstrap page)
17:20:40sam686make (while in a build directory, after you did cmake .. stuff) (I forgot the debug flag to input into cmake thouth)
17:21:01yomanurockdone all that
17:21:31sam686unless you running some graphical C++ developer that can build and run those commands for you...
17:21:53raptorif it isn't in the exe directory after running 'make' then that means the compile failed
17:22:14raptoror cmake failed because of missing dependencies
17:22:27yomanurockbut then it wasn't even then when i first bootstrapped it
17:22:33yomanurock(and make-d)
17:22:36sam686look at compile errors, and try to fix it.
17:23:08sam686if make does nothing, the problem is probably cmake. (make should take a good 30 seconds compiling)
17:23:26yomanurockk got the problem, i forgot to make it again after the changes were done (i caked)
17:23:41yomanurock^^cmaked (stupid autocorrect)
17:23:51yomanurockjust pushed the changes
17:23:58yomanurockcould you test them for me?
17:24:42sam686got the changes, now compiling..
17:25:18sam686and... compiler errors
17:25:40yomanurockcould you paste them to me (using paste or something)?
17:25:44sam686http://sam6.25u.com/upload/text1401/140104_17-25-33.txt
17:26:21sam686the same error repeats itself for each .cpp file including the same game.h file with the error
17:26:42raptoryomanurock: you need to verify your changes work before telling us to verify
17:27:06yomanurockrookie mistake, forgot to put semicolons after pasting my function declarations :(
17:27:33yomanurocksorry, raptor
17:27:37sam686but thats not the only error..
17:28:16raptornot too worry - we're a big, complex project
17:28:52sam686http://sam6.25u.com/upload/text1401/140104_17-28-28.txt (with the semicolon fix on game.h)
17:29:04sam686still some errors
17:29:20yomanurockdo i need to fix the warnings?
17:29:27yomanurockor just the errors?
17:29:48sam686you don't need to fix the warnings, mostly the warnings that isn't from your changes
17:30:11yomanurockk
17:31:42yomanurockwhy does it say getDatabase() not found, other functions use it right?
17:32:40sam686most likely the compiler get comfused and panics with a lot of errors after the first error in that same .cpp file
17:35:13yomanurockfixed most of the errors (if not all)
17:35:17yomanurockpushing now
17:35:18yomanurockdone
17:35:24yomanurockcould you test?
17:36:09raptordid you do a recompile to verify?
17:36:19yomanurockyes
17:36:19raptorand the bitfighter binary exists in the exe folder?
17:36:22yomanurockseems fine
17:37:13raptoryou can tell if it works if the 'make' command ends with: Linking CXX executable ../../exe/bitfighter
17:37:16yomanurockno, can't find the bit fighter binary in the exe folder
17:37:25raptorthat means the compile failed
17:37:38yomanurockbut the make gives me only 3 lines of output which seems fishy
17:37:50sam686what does that line say?
17:37:51raptordo this: make bitfighter
17:37:54yomanurockmaybe some prob with my comp
17:37:57raptorand paste what it says
17:38:36yomanurockwait a second
17:38:45yomanurockmight have to disconnect and reconnect
17:38:55yomanurocki am on my iPad right now
17:38:58yomanurock has left #bitfighter
17:39:50yomanurock has joined
17:39:56yomanurockhi raptor
17:40:00yomanurockhi sam686
17:40:06sam686hi
17:40:10yomanurockfine
17:40:43yomanurockthe output after exec-ing 'make bitfighter' is ..
17:41:03yomanurockhttp://pastie.org/8600819
17:41:41sam686new errors.. http://sam6.25u.com/upload/text1401/140104_17-40-41.txt when I compile your changes..
17:42:02yomanurockim using my old laptop with fedora on it
17:42:17yomanurockso it doesnt have many things
17:42:29yomanurocklike ZLIP
17:42:35yomanurockand other stuff
17:42:44yomanurock^^ZLIB
17:44:28yomanurockis there some other library i need to include?
17:44:42yomanurockcuz there are a lot of identifier not found errors
17:44:52yomanurock(even in the other functions)
17:45:58sam686apt-get install libsdl1.2-dev zlib1g-dev libpng12-dev libopenal-dev libvorbis-dev libspeex-dev libmodplug-dev cmake build-essential mercurial
17:46:07raptor!gci
17:46:07BFLogBotGCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started.
17:46:11sam686I think thats most of whats needed to build bitfighter
17:47:12yomanurockbut are there some other libs to be included?
17:47:26yomanurock(lots of identifier not found warnings)
17:47:32yomanurock^^errors
17:47:42sam686one of them is mysql, but thats not required to build bitfighter
17:47:56raptoryes they are mentioned on the bootstrap page
17:48:17raptorspecifically this line: "Linux users, you will have to install dependencies found here: http://bitfighter.org/wiki/index.php/Building_Bitfighter#Detailed_Instructions"
17:49:30sam686run cmake .. again and make if it starts compiling hundreds of files, it should build (if no .cpp errors)
17:49:40yomanurockanyways, can you help me fix this warning --
17:50:56yomanurockhttp://pastie.org/8600850
17:51:00raptoryomanurock: you cannot continue until you've siccessfully completed the bootstrap
17:51:07yomanurockk
17:51:21yomanurockinstalling dependencies now
17:52:06yomanurockare the dependencies available if im using yum?
17:52:16raptoryes
17:52:25raptorlet me see
17:52:41sam686umm. string str = ...; char str[100] = str.c_str(); // duplicate 'str' name?
17:53:11raptoryomanurock: what fedora version?
17:53:21yomanurock17 -- beefy miracle
17:57:03yomanurockk, most of it installs exept for all the development headers and libspeex
17:57:24sam686to install packages its either apt-get install, or yum install, or something else, depending on which linux distribution it is.
17:57:24raptori don't think that distro has sdl2 available, which is required for this task
17:57:52yomanurocki installed sdl2 from source earlier and it works
17:58:14sam686if cmake finds sdl2, you are fine..
17:58:21yomanurockit does
17:59:26sam686if you have trouble with make doing nothing ,do a cmake and paste its output for us to see whats wrong
18:00:38yomanurockcmake cant find the dependencies though according to yum they are installed and running
18:01:07yomanurockhttp://pastie.org/8600885
18:01:20yomanurockcould you please test my code for me?
18:01:29yomanurockim in India and its night at the time
18:01:40sam686you might need to install packages with -dev part, which is a separate package
18:01:49yomanurocki dont have more than about half an hour or so
18:02:04yomanurock(and gci ends in about a day)
18:02:25Skybax has joined
18:02:59sam686I don't see any more of your pushed changes sincs.. 5 hours ago? looks like your timezone/clock might be wrong.
18:03:58yomanurockmy laptop time might be wrong (and i live in India so theres a timezone difference)
18:06:14yomanurockanyways, can we get back to the errors?
18:06:40yomanurocki was asking if you could help me with there --
18:06:42yomanurockhttp://pastie.org/8600850
18:07:01sam686thats a duplicate 'str' variable
18:07:17sam686the compiler can get confused into which is which..
18:07:34yomanurockah got it!
18:08:48yomanurocki fixed all of the errors in my functions
18:09:01yomanurockas for the other identifier not found errors...
18:09:06yomanurocki dont know
18:09:51yomanurockmaybe theres a problem in the #include statements
18:10:03yomanurockjust pushed
18:10:07yomanurockcould you check??
18:10:09yomanurock?
18:10:09raptoryomanurock: you cannot continue until you bootstrap
18:10:27raptorinstall the development headers of the packages: yum install Mesa-devel libmodplug-devel libpng-devel libvorbis-devel openal-soft-devel speex-devel
18:10:34sam686you really need to compile, and fix your missing packages, probably the missing png(something)-dev zlib(something)-dev
18:10:41raptorthen re-run cmake and paste the new output
18:10:59yomanurockk
18:11:39yomanurockno package mesa-devel available
18:11:51yomanurockas for the other packages, they are installing
18:11:57raptorok
18:12:06raptoryou need opengl headers
18:12:18raptortry libMesa-devel
18:12:35sam686fewer errors, but there still compile errors http://sam6.25u.com/upload/text1401/140104_18-11-59.txt
18:12:37LordDVG Quit (Remote host closed the connection)
18:12:55raptoror lowercase: mesa-devel
18:13:14raptoror this: libGL-devel
18:14:25yomanurockinstalling libGL...
18:14:34sam686I would get rid of the char str1[100], and put in str.c_str() for anything needing const char*
18:14:48DarrelAlrighty, I think it is fixed now. Committed and pushed to my fork. /connect bitfighter.org etc works. There might be some bugs that I haven't managed to test though... and hopefully nothing will break compiling on other OSes
18:14:59Darreland I made sure to double check spaces :)
18:16:54yomanurockfinally, cmake works!!
18:16:56yomanurock:)
18:17:28DarrelI hate cmake, to be honest... after getting used to waf, cmake is so weird, heh
18:19:19yomanurocknow can i proceed?
18:20:00raptoryes! :)
18:20:11raptornow, do 'make bitfighter'
18:20:12sam686after doing cmake, try make, is it still does nothing, there is still cmake problem
18:20:21raptorand start pasting errors
18:20:39raptorDarrel: i will check
18:20:59raptorcmake does have problems, yes, however it is very nice because we are cross-platform
18:21:16yomanurockhttp://pastie.org/8600938
18:21:42raptorah ha!
18:21:45raptorthen cmake didn't work
18:21:55sam686paste the cmake outputs? not just make
18:21:56raptoryou are in the 'build' directory?
18:22:04yomanurockcmake gives me -- http://pastie.org/8600942
18:22:35raptorok, clean out cmake like so: rm CMake* -r
18:22:50raptorthen rerun the cmake command and paste the output
18:22:52yomanurockin the build dir?
18:22:56raptoryes
18:23:46yomanurocknow it gives --
18:24:00yomanurockhttp://pastie.org/8600952
18:24:07sam686cmake outputs very little unless you clear/delete CMakeCache.txt
18:24:11raptorcould not find SDL
18:24:25yomanurockbut i built it from source
18:24:30yomanurockand the libs work
18:24:31Flynnn Quit (Quit: This computer has gone to sleep)
18:24:52sam686I think its looking for SDL1 insteado of SDL2? dont' know
18:24:54raptoryes but if it's not on the system paths, cmake doesn't know where it is
18:25:01raptorsam686: it defaults to SDL2
18:25:40yomanurockah ha!
18:25:47yomanurockSDL's not in my path
18:25:52sam686if the error could be a little more clearer, Could NOT find SDL or SDL2
18:26:09yomanurockbut how do i find where SDL is installed to add it to the path?
18:26:19raptoryomanurock: let me get you that..
18:26:50yomanurockk
18:27:30raptoryomanurock: you do something like this: cmake -DCMAKE_BUILD_TYPE=Debug -DSDL2_SEARCH_PATHS="path/to/lib;path/to/header" ..
18:27:48raptorreplace path/to/whatever with your libs/headers
18:28:02yomanurocksorry?
18:28:25yomanurockthere is no path/to/whatever in the line you gave
18:28:39raptorof course not, you need to provide it
18:29:06yomanurockcan i just add it to my system path variable?
18:29:48raptoryou probably can with runnign 'make install' in your SDL2 source
18:29:58sam686cmake/Modules/FindSDL2.cmake have some paths already defined into SDL2_SEARCH_PATHS
18:30:02raptorthat should install the libraries and headers into your system - but you need to be root
18:31:45kumul Quit (Ping timeout: 272 seconds)
18:32:44sam686'su root' then 'make install' then 'exit', or just do 'sudo make install'
18:32:49raptorDarrel: testing...
18:33:09yomanurocki have installed sdl2
18:33:24yomanurockbut how do i get cmake to find it
18:33:38yomanurockits located in /usr/local/lib
18:33:54sam686run cmake again (make sure you are no longer root)
18:34:18raptorbut headers need to be installed, too
18:34:23raptorDarrel: so far it works!
18:34:53Darrelwoohoo
18:34:59raptorone last check...
18:35:04raptormemory leaks.. :)
18:35:17yomanurockstill could not find sdl
18:36:43raptorare the development headers installed?
18:37:05yomanurockyes
18:37:25raptoroh oops
18:37:26yomanurock(i tried implementing some SDL header files in a .cpp file and it worked)
18:37:28raptoryou need this:
18:37:41raptorcmake -DCMAKE_BUILD_TYPE=Debug -DUSE_SDL2=1 ..
18:38:02raptorforgot that on Linux, you need to explicitly say to use SDL2
18:38:15sam686exactly as I thought, it doesn't automatically use SDL2
18:38:25yomanurockyes finally it found SDL
18:38:27yomanurockwhoo
18:38:28yomanurock!
18:38:30yomanurock:)
18:38:36sam686why not search for both SDL and SDL2?
18:39:01raptorDarrel: passed! The last thing you need to do to comply with coding standards is to remove the whitespace in front of the opening parenthesis on the if statement
18:39:10raptorthen I'll mark your task as complete
18:39:24yomanurockcompiling
18:39:41raptorsam686: that's a good idea - I actually used to do that but then it was changed with a GCI task
18:39:44Darrelif( instead of if (, right?
18:39:50raptorDarrel: correct
18:39:54Darrelalright
18:40:35Darreldone
18:40:51yomanurocki get one error while building
18:41:14Darrelactually I got another whitespace to fix
18:41:25yomanurocksays -- ‘setGridSize’ was not declared in this scope
18:41:38yomanurocki dont quite get the error
18:41:42yomanurockcould you help?
18:42:41yomanurocksam686 are you there?
18:43:05sam686use mLegacyGridSize = ?
18:43:10raptorDarrel: got it, i'll check you off
18:43:27Darrelthanks a lot
18:45:16raptordone
18:46:26sam686there is no setGridSize function, not sure where you got that from...
18:46:59raptoractually yomanurock that refactor messed up a lot of the gridsize logic, as well as removed the LevelFormat parameter
18:47:00Darrelit's been a pleasure working with you guys, thanks for the help and the patience! :)
18:47:11raptorI think I'd start the refactor from scratch..
18:47:22raptorDarrel: you're welcome
18:47:30yomanurockworks now
18:47:37yomanurockmade some changes
18:47:50yomanurockand my codes compiling now
18:48:09yomanurockand hopefully its working
18:48:21yomanurockjust a few warnings
18:48:35yomanurock2 errors!
18:48:36yomanurockdamn
19:00:46Watusimoto has joined
19:06:13yomanurockfixed most errors
19:06:35yomanurockim pushing now
19:07:47yomanurockand its my bedtime now
19:07:49yomanurockso bye
19:07:53yomanurock has left #bitfighter
19:35:30LordDVG has joined
19:35:32amginea has joined
19:35:41amgineahelo
19:35:47amgineaanything new
19:36:17amginea1ideas
19:36:39amgineaIdeas
19:36:43amginea1ideas
19:36:51amgineawow fail
19:36:55amgineanew keybaord
19:37:05amginea!ideas
19:37:05BFLogBotTo enter a feature request: http://tinyurl.com/bfnewfeature -- To view all feature requests: http://tinyurl.com/bffeatures
19:42:41Watusimoto Quit (Ping timeout: 272 seconds)
19:53:20Skybaxraptor, what do you think about my idea for how ranks could be displayed?
19:56:25amgineahi sky
19:58:52SkybaxHi
20:01:29amgineaanything new
20:01:48amgineabtw skybax did you ever see te BF tee shirt thing i was working on
20:02:04LordDVG Quit (Remote host closed the connection)
20:33:01SkybaxYeah I did
20:33:04SkybaxI was there when you made it lol
20:41:08yekimnator has joined
20:41:09yekimnatorhi
20:41:22yekimnator Quit (Client Quit)
20:42:13Nothing_Muchhel
20:42:15Nothing_Muchlo
21:00:12raptorSkybax: I didn't understand your idea as 'how they are displayed' but as 'what to display'
21:01:16SkybaxWell I had already mentioned how I thought they could be displayed lol but maybe you didn't see it. I didn't want to post another comment on there and say the same thing
21:02:01raptorah, on the scoreboard
21:02:06raptorthat is a possibility
21:02:32raptorwe have already attempted to put them by the players name, or elsewhere around the ship - all of it made everything too noisy
21:06:45SkybaxI don't think it should be around the ship at all
21:07:12SkybaxJust on a scoreboard and whenever the player types, kills someone, or is killed
21:07:57raptorok
21:08:04raptorI agree that's a good idea
21:25:24amgineauh ratpro sensor is broken againt cloak
21:28:20amginearaptor your server lacks level change
21:41:46Flynnn has joined
22:20:26Flynnn Quit (Quit: This computer has gone to sleep)
22:24:10Watusimoto has joined
22:25:30Watusimotohi
22:26:41oskopekhi
22:31:10oskopekWatusimoto: I'm hitting something strange here.. I'm casting DatabaseObject pointers to BfObject*, and using getSerialNumber() to compare them.. the problem is, in the editor, when I "create a new object" it has the serial number of the last one for a couple of "moves", and then gets it's own.. do you have any idea why? or am I doing something wrong?
22:32:04Watusimotoremind me which project you are working on...
22:32:23oskopekundo/redo
22:32:49Watusimotohow are you creating the new objects?
22:33:21oskopekin the editor gui
22:36:10oskopekI think it's because I'm not saving the undo state as often as I want, probably my fault
22:36:27Watusimotook. so you create, say, two objects, then when you examine them they both have the same serial number?
22:36:49WatusimotoDarrel: thanks!!
22:37:04Watusimotolooks like you got your task wrapped up already!
22:37:30Darrelyep, and raptor was being very helpful :)
22:38:03Watusimotohe usually is
22:38:32oskopekWatusimoto: it was my fault, I was confused by the debug output.. now I'm saving undo states too often :) nvm, I'll fix it, sorry for the stupid question
22:38:49Darrelyou guys should have pulled out more tasks, a pretty solid project like bitfighter sure has a lot to be done on :) and it's fun
22:39:00Darreltoo bad I gave it a shot almost at the end of GCI
22:40:06Watusimotooskopek: no problem! I like questions that you can answer yourself! Actually, quite often, just the act of asking a question leads you to an answer.
22:41:02WatusimotoDarrel: we didn't have a ton of projects (it's surprisingly hard to think of good ones), but some of them were quite hard, especially for a program like gci
22:41:47oskopekWatusimoto: exactly my case
22:42:05Darreli think most organizations this year had tasks relatively harder compared to last year, that's true
22:51:07raptorhello
22:55:10WatusimotoDarrel: did you do many projects this year?
22:56:45Darrel15 so far, if I'm not mistaken
22:56:59Darrelso yeah, I think I did a bit
22:57:11Watusimotowow. mostly pysoy projects?
22:57:22Darrelmost PySoy tasks are awfully research intensive.. and most of the stuff we are doing like totally lacks documentation so it is a challenge
22:57:23Darrelyeah
22:57:33Darrelpysoy only, actually. and one with you guys
22:58:17WatusimotoI've never really understood pysoy... what is the project supposed to do?
22:58:54raptora game engine, I think
22:59:41Darrelyeah
22:59:46Darrelwell, it's complex
22:59:47Watusimotois it used by any downstream projects?
22:59:58Darrelbut essentially it is being developed as 3d engine for python
23:00:06Darrelnot yet, it is too young to be used in games
23:00:20Darrelwe are working on basic stuff like rendering, client APIs, networking
23:00:25Darrelstuff like that
23:00:36Watusimotoso it's a pretty large-scale project
23:00:50Darrelit's been rewritten a dozen of times since it started in the 2005-2006s
23:00:58Darrellike, completely rewritten
23:01:09Darrelfrom weirdo language to more weirdo language, lol
23:01:30DarrelGenie is alright, but it is so poorly documented that it hurts
23:01:52Darrelpysoy is essentially the biggest project using it
23:02:56Darrelwell, genie is just different syntax for vala, genie being more pythonish, vala being c#-ish, so vala documentation comes in handy. and it also works easily with GTK and glib, etc.
23:03:34Darrelit is interesting.. but new students are usually easily scared, it is just so different from most things they've seen before
23:05:21Watusimotowhat's the appeal of working on a library that has been around so long, but isn't really being used (though i suppose I could ask what's the appeal of working on a game with such a small player base :-)
23:05:43Watusimotonot trying to say anything bad about the project there!
23:06:39raptorthe appeal is that they let us join GCI!
23:06:43Darrelwell, researching libsoy/pysoy and their commit histories, it is essentially a project for GCI and GSoC. I mean, Arc does have an idea in mind, but most of the time he is being the only real developer, with students helping here and there
23:07:06WatusimotoI see
23:07:11Darrelso developing it is slow.. like, real slow
23:07:45Darreltaking up work on it this year felt like just resuming from last year
23:08:19Darreland it really was like that, there was some gsoc work, but most of it was on the same stage of development
23:08:52Darrelsince most of the developers are being kinda inactive, and Arc is occupied with rugby and stuff like that
23:10:05Darrelto be completely honest, I don't even remember why I got involved with PySoy in the first place
23:11:20DarrelI think I was looking for android tasks.. and I saw some tasks for the pysoy android client (which is also in a quite fresh stage)
23:11:35Darreland I jumped in, not knowing what I'm getting myself into, lol
23:19:46Watusimoto!gci
23:19:46BFLogBotGCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started.
23:24:07Watusimotodo you work on pysoy outside of gci/gsoc?
23:24:34Darreloccasionally, yes
23:24:39raptoron a completely unrelated note - it looks like the MOTD was broken in the 019 client
23:24:52raptorI also added a section for it in the forums header. how does it look?
23:25:02Darrellast year after gci I worked a bit on the android client. but as the weather started warming up, I started getting lazy, heh
23:26:09Watusimotowell, there is more to life than programming. or so I hear
23:26:30Watusimotoraptor: it looks good, though it's not terribly visible
23:26:52Watusimotomaybe the background could be a different color
23:27:01Darrelthere are such rumors, yes. :P
23:27:02Watusimotodarker gray or even black?
23:27:07raptoryes please, need ideas on that
23:27:38Watusimotoor the text could be red, purple, or gold
23:28:13Watusimotoyeah, so where's my motd in the game?
23:28:21raptorexaxtly
23:28:30raptorworks in 018
23:28:33Watusimotohmmm
23:28:46raptori opened a bug on it with maybe a clue
23:29:41raptorafter some debugging, i found that it is arriving in the client
23:31:41Watusimotoas for the contest, when you say another round, you mean round 3, or a round 4?
23:33:31raptorround 3
23:33:55raptora 'round' in my usage means: level submission + criticism
23:43:03Watusimotoso originally round 3 would start at midnight tomorrow, and you are essentially asking "do you really want to do it". right?
23:43:21raptoryes, instead of just accepting final revisions for voting
23:43:28raptorso either:
23:43:40raptor1. accept final revisions, stop contest, start voting
23:43:55raptoror 2. do another criticism round with these revisions
23:45:34WatusimotoI'll ask any local constest entrants I know and will give you their opinion tomorrow
23:45:56Watusimotonot that that would be the deciding factor
23:46:46raptorheh, ok
23:52:46Flynnn has joined
23:58:34Flynnn Quit (Quit: This computer has gone to sleep)
23:59:50Flynnn has joined

Index Search ←Prev date Next date→

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