#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-11-20

Timestamps are in GMT/BST.

00:00:14Watusimotobitfighter_notifier.py
00:00:18Watusimotois the main deal
00:00:39BFLogBot raptor says don't forget to install the windows-specific python modules mentioned at the beginning of bitfighter_notifier.py
00:01:06Watusimotoand you'll need what our magic bot just told you
00:01:08GEOFBOTI see def rightClickEvent under the class for windows
00:01:21Watusimotook, you're still a step ahead of me :-)
00:01:22GEOFBOTkk
00:01:28Watusimotofirst thing to do is to make sure you can run it
00:01:37GEOFBOTill install the libs first
00:01:37Watusimotoyou probably are missing some dependencies
00:01:41Watusimotoyes, good
00:01:48Watusimotono sense working on it until you can run it
00:02:14WatusimotoI also apparently need to install some libraries
00:02:29BFLogBot hello
00:02:46Watusimotoah, look at this... nice and well documented
00:02:49Watusimotofrom the header
00:02:50WatusimotoYou need the following packages to run this:
00:02:50Watusimoto- pywin32 - http://sourceforge.net/projects/pywin32/files/pywin32/
00:02:50Watusimoto- systray - http://sourceforge.net/projects/pysystray/files/pysystray/
00:03:00BFLogBot hello
00:03:05GEOFBOThello
00:04:17GEOFBOTis python 3 ok?
00:04:38Watusimotodoes the magic logbot know which version of python this runs under?
00:05:04Watusimoto(never hurts to ask :-)
00:05:25BFLogBot raptor says both are supported... but untested
00:05:40Watusimotoit looks like you can use either
00:05:50GEOFBOTwindows uac is so annoying...
00:05:54Watusimotoindeed
00:06:12WatusimotoI'm trying python 2.7
00:07:57GEOFBOTmight have to update python
00:08:04GEOFBOTbecause the pywin32 build can't find 3.3.0
00:08:04Nothing_Much Quit (Read error: Connection reset by peer)
00:08:14GEOFBOTwhich is the version I have
00:08:32BFLogBot raptor is currently stuck in a c++ lab at school and must pretend to be absent from the channel
00:08:44GEOFBOTtrolollo
00:08:55GEOFBOToh wait, fail
00:09:00GEOFBOTI have the 32 bit versio of python
00:10:10Watusimotoyeah, I had the same problem
00:11:36Watusimotook, pywin32 installed
00:12:38GEOFBOTfrom systray import systray is causing an error on my side
00:12:50IAMTAZ Quit (Quit: Page closed)
00:12:54GEOFBOTapparently there isnt a module named systray in systray
00:14:29GEOFBOTbut then help("systray") tells me otherwise
00:15:27Watusimotook, I have it running
00:15:46Watusimotoso it for sure works with python 2.7
00:16:34GEOFBOTmaybe systray doesn't work with 3.3?
00:16:35GEOFBOThmmmmmm
00:17:03WatusimotoI can't say but it's a real possibility
00:17:28Watusimotopysystray hasn't been updated since 2005
00:17:40Watusimotoso I'd suggest trying with python 2.7
00:17:44GEOFBOTok
00:17:52GEOFBOTso annoying when you have two versions of python installed lol
00:17:55Watusimotoyes
00:18:08Watusimotoyou can uninstall 2.7 when you're finished
00:18:59GEOFBOTI already have it installed
00:19:07GEOFBOTbut systray installer cant detect it
00:19:09GEOFBOTfor some reason
00:19:27Watusimotoyou are using the correct 32/64 bit version?
00:19:43WatusimotoI had the same probelm when using the 64 bit versino, tried 32 bit and it worked
00:19:56GEOFBOTughhh
00:19:57GEOFBOTwow
00:19:59GEOFBOTepic fail again
00:20:03GEOFBOT:P
00:21:29Iamtaz_Excuse me, but is there a way to make a disable decorative only? I have a rotating speedzone for a clock hand
00:21:38Iamtaz_make a Speedzone
00:22:02Watusimotooh magic logbot, a note for the future, watusimoto needs write access to the tools repo. not needed immediately, tomorrow will suffice.
00:22:21WatusimotoI don't know what decorative only means!
00:22:37Iamtaz_you run over it and it doesn't move you1
00:23:05Watusimotohow do you make something decorative?
00:23:16Watusimoto(is this a feature I don't know about?)
00:23:59Iamtaz_uhh no. I mean: I put rotating speedzone in a clock level. I want players to be able to run over it without being moved
00:24:00Watusimotooh man, the notifier icon is ugly!
00:24:23WatusimotoIamtaz_: you want to make it decorative only... I don't think that's something we support
00:24:34WatusimotoGEOFBOT: progress?
00:25:04GEOFBOTI think switching to an irc client would be better than this web access
00:25:10Watusimotoha, yes
00:25:13GEOFBOTstill isntalling python
00:25:23WatusimotoI use quassel for irc, works pretty well
00:25:40GEOFBOTok
00:25:41BFLogBot raptor says the exact same credentials are used for the 'tools' and any other sub-repo, as the main one
00:26:17WatusimotoGEOFBOT: I am going to bed -- i have an early mornign tomorrow. I think it will work with 2.7 just fine. I have the notifier running here, and am abel to confirm that clicking on the icon does not launch bitfighter
00:26:27Watusimotoyour task is pretty simple (I hope)... make it so
00:26:33GEOFBOTok, bai
00:26:35GEOFBOTty for the help
00:26:45Watusimotono worries -- that's what we're here for :-)
00:28:37Watusimotolater, raptor may stop by, and may be able to offer assistance. he wrote the alerter, but is not a windows expert. you can also ask sam686 for help. He has no special knowledge of the notifier, but he's pretty smart. I fall somewhere in between... less smart but more knowledge of windows. I'll be back tomorrow.
00:28:52GEOFBOTok
00:28:56Watusimotogood night all!
00:29:00Geoffrey has joined
00:29:10GEOFBOTlol
00:29:12GEOFBOTquassel works
00:29:16GEOFBOT Quit (Quit: Page closed)
00:29:18Geoffrey is now known as GEOFBOT
00:29:42GEOFBOTim bakk
00:30:47Flynnn Quit (Quit: This computer has gone to sleep)
00:33:45talga Quit (Ping timeout: 245 seconds)
00:34:35Watusimoto Quit (Ping timeout: 245 seconds)
00:40:53GEOFBOTOK, the notifier runs now
00:41:25GEOFBOTI'm going to install bitfighter so the notifier will have something to run when I'm done
00:52:09GEOFBOTok everything is set up, im looking through the code
00:56:05kylebirnbaum has joined
00:57:33GEOFBOTI can't seem to find any docs on systray
00:58:10kylebirnbaumi have a question/problem is threre anyone here who can answer it
00:58:35GEOFBOTwhat task are you doing? just wondering
00:58:40GEOFBOTI'm trying out the notifier task
01:00:10kylebirnbaumoh, im trying to open build bitfighter but visual studio is giving me errors saying it cant find things, but i folllowed all the directions on the website. what do i do?
01:00:35sam686what is it not finding?
01:02:33sam686kylebirnbaum: what is it not finding, and did you open the solution? (build / bitfighter.sln)
01:03:56GEOFBOThow would I implement a click event with pysystray
01:04:01GEOFBOTthere is very little documentation
01:05:25sam686I haven't done much with python and haven't done any with alerter, others like raptor might help if he come here soon..
01:05:35GEOFBOTok, ty
01:11:41kylebirnbaumi opened the sln file but when i build it, it says 7 suceeded 1 skipped the one that is skipped is "Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32"
01:14:51talga has joined
01:15:37sam686you can let the ALL_BUILD skip, its ok
01:15:57sam686.. i think.
01:17:15sam686kylebirnbaum: can you still run fine? mine says "1 skipped" as well and are able to run.
01:18:21sam686it likely been built already, and you can make changes to source code if needed..
01:21:08GEOFBOTProgress? I found a property in systray.systray.App.on_double_click
01:24:41kylebirnbaumhow do i get it to run, i pressed ctrl+f5 and it didnt run?
01:25:33kylebirnbaumalso i get this error when i try to run it
01:25:34kylebirnbaumProject not selected to build for this solution configuration
01:26:05kylebirnbaumand cannot find ALL-BUILD and shows me the path
01:26:07sam686is bitfighter set as startup project? (right click bitfighter in solution explorer and set as startup project)
01:26:22kylebirnbaumno it is not
01:26:25kylebirnbaumill try
01:27:37kylebirnbaumTHANK YOU +sam686, it worked
01:27:43sam686good
01:38:48Nothing_Much has joined
01:40:05Iamtaz_ Quit (Ping timeout: 250 seconds)
01:42:13Nothing_Much_ has joined
01:42:20Nothing_Much_ Quit (Remote host closed the connection)
01:43:51Nothing_Much Quit (Ping timeout: 246 seconds)
01:45:33Nothing_Much has joined
01:50:09talga Quit (Ping timeout: 246 seconds)
01:57:08GEOFBOTYESSETH
01:57:13GEOFBOTsorry
01:57:16GEOFBOTa milestone!
01:58:57GEOFBOTwhen i double click the icon
01:59:03GEOFBOTit prints something to the console!
01:59:15GEOFBOTno i must-eth think of a way to launch bitfighter...
02:10:32Flynnn has joined
02:14:13Little_Apple has joined
02:15:22Little_Applehelp!
02:25:18GEOFBOT?
02:26:03Little_Appledid anything change with the master server recently?
02:27:57GEOFBOTI'm not sure, i'm a nooblet from GCI :-P
02:30:07sam686Little_Apple
02:30:10Little_Appleyes?
02:43:21kylebirnbaum Quit (Ping timeout: 250 seconds)
03:01:52raptor has joined
03:01:52ChanServ sets mode +o
03:02:07raptorgood evening!
03:04:43GEOFBOThi
03:05:10GEOFBOTwhen I double-click the notifier, it now launches bitfighter
03:05:16GEOFBOTbut bitfighter has to be in the path
03:06:55raptoroh WOW... you got lots done!
03:07:25GEOFBOTit took some searching thru the systray lib
03:07:29GEOFBOTbut i found a property
03:07:52GEOFBOTsimilar to on_quit
03:07:57GEOFBOTcalled on_double_click
03:08:14GEOFBOTso i rerouted it to self.launchExecutable
03:08:15raptoroh cool
03:08:22GEOFBOTmercurial is acting up tho
03:08:49raptorhow so?
03:08:51GEOFBOTwhen i do an hg push
03:08:56GEOFBOTit asks for username and password
03:09:02GEOFBOTso i put in geofbot and the google code password
03:09:06GEOFBOTbut then it says 404
03:09:06raptorah... yes - you do not have access to our main repo
03:09:09sam686you can't do a push on something you don't have permission to push to..
03:09:10raptoryep
03:09:14raptorok
03:09:14GEOFBOToh derp
03:09:22raptordo the following...
03:09:27sam686you can commit and make a "diff" though
03:09:53raptoryou can create a server-side clone: https://code.google.com/p/bitfighter/source/clones?repo=tools
03:10:10raptorcreate one there, then check it out, and pull over your revision from the mainline
03:10:15raptor(if that makes sense)
03:12:30Kiryx Quit (Ping timeout: 245 seconds)
03:15:49GEOFBOTok
03:15:58GEOFBOThere is the committ on my own clone
03:15:59GEOFBOThttps://code.google.com/r/geofbot-bitfighter-tools/source/detail?r=3428e3e8272391ac07b18b93131aae55e980c9f0
03:17:27raptorooo... looks good!
03:17:48raptorMight I add one idea - try making it so that if the executable isn't found, load a default place
03:17:57raptorlike the one in Program Files or some such
03:18:02GEOFBOTok
03:28:50HylianSavior Quit (Quit: Leaving)
03:29:23raptoractually... if your're really smart, GEOFBOT, you'd find away to find any default location on the various windows systems
03:29:31raptori say that because I have no idea how...
03:29:48raptorin know on 64bit windows there like a Program Files (x86) directory, or something
03:30:28sam686yes, (x86) Wonder why they call it x86 and x64
03:30:57sam686why not x32?
03:31:01Little_Apple Quit (Ping timeout: 250 seconds)
03:31:26raptormaybe this is the key?: http://stackoverflow.com/a/1283711
03:31:52raptorsam686: technically it's x86_64, but microsoft decided that was too cumbersome so they have been saying x64
03:33:42sam686I would just call it 64bit
03:33:51raptorthat's what OSX does
03:34:18sam686i know theres other CPU that is 64bit but not x86 (mips ARM and maybe others
03:34:40raptoryeah... linux has to be 'accurate'
03:34:59raptorwith x86_64 and ia64 and arm7el, etc
03:35:42sam686except a small part of bitfighter might need testing if ever going ARM/other cpus
03:36:16sam686windows ia64? mostly non existant..
03:37:11sam686I guess there is differences between open source vs not open, how easy it is to compile everything to other CPUs, including its drivers
03:37:38raptoryeah
03:38:03sam686but then again some hardware only exists on x86 (intel graphics drivers)
03:45:09Nothing_Muchsam686: that sounds like that to me, I was able to compile and run 2 games on this machine
03:45:22Nothing_Much(bitfighter being one of them)
03:45:34sam686what CPU you using?
03:45:47GEOFBOTbai, i'll be back tomorrow
03:45:51GEOFBOThopefully
03:45:56Nothing_MuchExynos5 big.LITTLE cpu from samsung apparently
03:46:02raptorbye GEOFBOT
03:46:08GEOFBOT Quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
03:46:19sam686never heard of that name..
03:46:40Nothing_Muchit's probably in your cell phone
03:46:45Nothing_Muchor smartphone :)
03:47:06Nothing_Muchit's an octacore processor
03:47:38Nothing_Muchwith an SGX 544 gpu, capable of GLES 1.1, 2.1, OGL 2.1, and OCL 1.1
03:48:09HylianSavior has joined
03:48:29HylianSavior Quit (Read error: Connection reset by peer)
03:48:34Nothing_Muchunfortunately no accelerated drivers exist on Linux yet, the games do run, but very sluggishly (bitfighter is playable though)
03:49:52sam686as usual linux mostly lacks drivers for very new stuff..
03:50:07Nothing_Muchand there's some errors with uh.. the resource folder not being found.
03:51:01raptor_ has joined
03:51:02raptor Quit (Disconnected by services)
03:51:03raptor_ is now known as raptor
03:51:05raptor Quit (Changing host)
03:51:05raptor has joined
03:51:05ChanServ sets mode +o
03:51:14Nothing_Muchactually the big.LITTLE arch is fairly new, but I'm not sure if Windows Phone actually adopted that yet
03:51:29sam686raptor what a mess of 6 lines of reconnect..
03:51:37raptorsorry!
03:57:17Flynnn Quit (Quit: This computer has gone to sleep)
03:57:32BFLogBot Commit: f75f9fbffaf9 | Author: buckyballreaction | Message: Remove host data from IRC users - it's just noisy in the logs
04:09:54Flynnn has joined
04:29:36destroyerimo has joined
04:43:21kumul Quit (Quit: Leaving)
04:51:46Flynnn Quit (Quit: This computer has gone to sleep)
04:53:30Flynnn has joined
04:54:29Flynnn Quit (Client Quit)
04:55:38Flynnn has joined
04:59:58-adams.freenode.net- *** Looking up your hostname...
04:59:58-adams.freenode.net- *** Checking Ident
04:59:58-adams.freenode.net- *** No Ident response
04:59:58-adams.freenode.net- *** Couldn't look up your hostname
05:00:04BFLogBot has joined
05:00:05-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
05:20:12HylianSavior has joined
05:20:25HylianSavior Quit (Read error: Connection reset by peer)
05:28:45raptorshould we disable asserts for bitfighter_test?
05:32:44sam686need sleel, later
05:32:54sam686sleep
05:33:09sam686 has left #bitfighter
05:37:15raptorme too
05:37:18raptor Quit ()
05:57:00Invisible has joined
06:15:39HylianSavior has joined
06:15:53HylianSavior Quit (Read error: Connection reset by peer)
06:27:05Invisible Quit (Ping timeout: 272 seconds)
07:34:08koda has joined
07:41:57Flynnn has left #bitfighter
07:42:09Flynnn has joined
08:09:06Kiryx has joined
08:09:39Kiryx has left #bitfighter
08:46:10Flynnn Quit (Quit: This computer has gone to sleep)
09:18:59destroyerimo Quit (Ping timeout: 272 seconds)
09:35:48Darrel has joined
09:50:14Platskies has joined
10:23:30Darrel Quit (Remote host closed the connection)
10:31:23Darrel has joined
10:53:27Darrel Quit (Read error: Connection reset by peer)
11:44:21Darrel has joined
11:54:39Darrel Quit (Remote host closed the connection)
12:02:43Darrel has joined
12:34:17alex_velea has joined
12:38:37Platskies Quit (Read error: Connection reset by peer)
13:15:53destroyerimo has joined
13:20:53Vlad_John has joined
13:22:26alex_velea Quit (Quit: Page closed)
13:22:52alex_velea has joined
13:22:58destroyerimohi
13:25:45alex_veleaHello
13:26:11destroyerimou new?
13:26:12alex_veleaI'm from cgi 2013 .. i need to work to implement IPV6 in bitfighter :)
13:26:14alex_veleaYep
13:26:16alex_veleaI'm new
13:26:30destroyerimooh welcome XD
13:26:32alex_veleaI download the source files from downloads?
13:26:44alex_veleathank you :)
13:27:05destroyerimosource files? the game?
13:27:09alex_veleaYep
13:27:18destroyerimoyea
13:29:18alex_veleaAnd i can't open the game .. the .dmg (i'm using a mac)
13:29:28alex_veleaAnyone reported the same problem?
13:30:16destroyerimoidk bout mac
13:30:21destroyerimoi m using windows
13:31:24destroyerimocheck the forums maybe
13:33:53Invisible has joined
13:46:05kodab has joined
13:48:53koda Quit (Ping timeout: 245 seconds)
14:11:28Johnaudi has joined
14:11:56Johnaudihi
14:12:47Johnaudihey darrel what you coding on bf?
14:16:04Darrelnothing yet, doing some stuff with pysoy now
14:17:55Johnaudihow old are you again?
14:18:05Johnaudiand do you have skype?
14:29:34Johnaudias soon as you're available contact me, I have to speak to you
14:32:33Dragma has joined
14:32:53Dragma Quit (Client Quit)
14:36:37Vlad_John Quit (Ping timeout: 250 seconds)
14:39:36DarrelI'm 17.. yeah, I have skype :)
14:41:06Johnaudimind if you add me? marina.bakker@live.com
14:41:44Darrelgive me a sec
14:47:05Johnauditake your time
14:49:37alex_velea Quit (Ping timeout: 250 seconds)
15:00:12Darrel has left #bitfighter
15:01:22Invisible Quit (Ping timeout: 246 seconds)
15:23:30tomek_bstok has joined
15:24:06tomek_bstok has left #bitfighter
15:24:36HylianSavior has joined
15:26:15sam686 has joined
15:26:15ChanServ sets mode +v
15:28:33Johnaudihey sam
15:28:37Johnaudiuploaded my work on gci
15:28:41Johnaudiabout the level thing
15:28:47Johnauditell me what you think :o
15:31:03sam686will look
15:31:12Johnaudihttp://www.google-melange.com/gci/task/view/google/gci2013/6603341224214528
15:37:17sam686I see you added getAvailLevels
15:38:04tomek_bstok has joined
15:38:07Johnaudiyup
15:38:22Johnaudiit scans the levels in the txt file
15:38:25Johnaudion each line
15:38:29Johnaudithen checks if the level exist
15:38:38Johnaudiif it does not exist it will exclude it from the array
15:38:44Johnaudithen return a list of existing arrays
15:39:10sam686don't forget to add getAvailLevels(string filename) in LevelSource.h
15:39:17sam686are you able to compile?
15:39:26JohnaudiI'm never able to compile
15:39:50Johnaudibut I did include a comment containing 'Don't forget to prototype this function' on the top of the getAvailLevels
15:39:55sam686what error you getting?
15:40:32Johnaudisame as the one I had yesterday
15:41:53sam686in project solution, did you right click "Set as staratup project"?
15:42:02sam686right click "Bitfighter"
15:42:14Johnaudithe project?
15:42:23sam686you need solution open
15:42:31Johnaudiit is
15:42:34sam686build/bitfighter.sln
15:42:56sam686did you try run? I forgot what errir it is..
15:43:14Johnaudierror is
15:43:17sam686whats the error again?
15:43:23JohnaudiUnable to start program 'C:
15:43:29JohnaudiALL_BUILD'
15:43:36JohnaudiThe system cannot find the file specified
15:43:58sam686you need to go to solution explorer window, right click "Bitfighter", and "Set as startup project"
15:44:22Johnaudiok it ran
15:44:31sam686good
15:44:36JohnaudiI can play and all
15:44:55Vlad_John has joined
15:45:08Johnaudiso it means it's working
15:45:10Johnaudiright?
15:45:18sam686That will be good way to test your changes yourself
15:45:21sam686yes it works
15:45:50Vlad_Johnhi all! I have a question about my task (http://www.google-melange.com/gci/task/view/google/gci2013/5580044596412416) What should be the extension of the file in which i am supposed to save the scrollbar widget?
15:45:52Johnaudithanks :D
15:46:37Johnaudiextension of the file?
15:47:05Vlad_Johnyes... i mean for exemple you have ,exe files.... .??? should it be?
15:47:14sam686ummm, wanting to save your work?
15:47:14Vlad_John.exe*
15:47:20Vlad_Johnyep
15:47:22sam686we need source code, not exe
15:47:46Vlad_Johni know, but since i am working in C== i was wondering if you need a header file or a .cpp file
15:47:48sam686there is a few ways, make a "diff", or if you changed only one file, just upload a txt file
15:47:59Vlad_Johnc++ *
15:48:26sam686mostly .cpp, but ideally both .cppand .h files, all changes you made
15:48:27Johnaudiyou can make a class called scrollbar and make them use it, but yet again the best way would be to make each a scroll
15:48:52Vlad_Johni was thinking of makisn a class
15:49:02Vlad_Johnmaking* ( damn keyboard ) :D
15:49:24sam686go ahead as a seperate if you think that would be easier
15:49:32sam686(separate class)
15:49:41Vlad_Johnokay thanks for help :D
15:50:02tomek_bstoksam686, can I have a question ?
15:50:09sam686ok
15:50:53tomek_bstoki want to work with "bitfighter: player stats screen" but i really don't know how to start
15:51:11sam686let me look..
15:52:50sam686You can take a look how zap/UIHighScores.cpp have,
15:53:47sam686you can use "PlayerStats" class in gameStats.h
15:55:42sam686basically just make a new class that displays PlayerStats like kills, deaths, and maybe others.
15:56:53tomek_bstokAnd where i must put this high scores ?
15:57:15tomek_bstokIn menu or in game?
15:57:58sam686umm, you should create a new class (UIPlayerStats as example name) and takes parts off from UIHighScores as some help
15:59:37tomek_bstoki see that the stats from UIHighScores are from your servers, right ?
16:00:30sam686yes
16:00:51sam686though, we could do the network transfer ourself if thats too hard for you
16:01:08sam686you can do the displaying of PlayerStats
16:01:58tomek_bstokso my task is only to make a "frags, "deaths" etc visible ?
16:02:38sam686yes, GameStats have kills, we don't call it frags
16:03:18tomek_bstokou, ok
16:03:22sam686PlayerStats, not gamestats i mean
16:03:42Johnaudisam my version is complete? so I can jump to another task
16:03:51Johnaudinot version, task*
16:04:12sam686not quite, I don't see your complete work
16:04:25sam686that one function does nothing if nothing is calling that function
16:04:57Johnaudiyeah but that's what the task wants
16:05:04Johnaudinot sure why you guys would need it
16:05:13sam686let me look...
16:05:31Johnaudi"We recently implemented a system of levelsources for obtaining levels. This task will require creating a new one that will read a list of levels from a text file, veryify their existence, and fed those to the game."
16:08:35sam686it still calls GameSettings::getLevelList (GameSettings.cpp line 629
16:09:21Vlad_John Quit (Ping timeout: 250 seconds)
16:10:25sam686There is GameSettings like 87 for startup command specifying..
16:11:02sam686you can add something like "levellistfile" or similar
16:11:26Johnaudiexplain?
16:12:07sam686the startup command is put into mCmdLineParams
16:13:13Johnaudiwhat is it supposed to do?
16:13:37sam686in getLevelList it uses mCmdLineParams for doing only those levels
16:14:04Johnaudiand?
16:14:31Johnaudithe func only scans levels specified in a certain txt file
16:14:59sam686maybe you could do something like mCmdLineParams[CmdLineParams::LEVEL_LIST] = getAvailLevels(mCmdLineParams[CmdLineParams::LEVEL_LIST_FILE][0]
16:15:21Johnaudio.o
16:15:34sam686that is you need to create one in command line stuff
16:15:52Johnaudiis this necessary?
16:16:26sam686otherside your work would be useless if nothing is calling your function
16:16:27Johnaudithe task says I should make a new function and somehow 'feed them to the game'
16:16:38Johnaudihm okay
16:16:50sam686ok, not sure if you need that step though..
16:16:53Johnaudilet me add it
16:17:00Johnaudiima add the cmd one
16:17:07sam686ok.
16:17:21Johnaudibecause the 'feed them to the game part' isn't probably initialized by me
16:17:29sam686don't forget to add LEVEL_LIST_FILE on GameSettings.h as well
16:17:35sam686or whatever you call it
16:19:09Johnaudiwhere toadd mCmdLineParams?
16:20:32sam686you can ad a Line I typed into the bottom of in function GameSettings::readCmdLineParams
16:21:08Johnaudiline?
16:21:11Johnaudioh nvm
16:21:47sam686line numbers will get a little off once you started adding more likes of code..
16:21:57sam686lines (not likes)
16:25:01Johnaudithe function is not static, is it safe to create a new levelsource for this function?
16:25:41sam686for the most part it is safe to create any new function, static or not static
16:26:18Johnaudiyeah but I mean it I do Levelsource Variable; Variable.getAvailLevels() is that okay?
16:27:07sam686for the most part yes
16:27:15Johnaudihmm looks like the class is abstract, I cannot create an object o,o
16:27:19sam686or you can move your function or make it static
16:27:30JohnaudiI'll make it static
16:28:08sam686any static function you can call directly, like LevelSource::getAvailLevels
16:29:07sam686but, making a function static only works if the function don't access any local function/variable in a same class
16:30:21JohnaudiLevelSource.getAvailLevels(...) works now
16:30:33Johnaudicompiling it to make sure it works
16:30:33sam686ok
16:32:17sam686you might need some string .c_str(), well at least I had to add 2 of them in your getAvailLevels "ifstream clv(cur_lev.c_str());" "ifstream levs(filename.c_str());"
16:33:05Johnaudiwhy
16:33:40sam686I get compile errors zap\levelsource.cpp(215) : error C2664: 'std::basic_ifstream<_Elem,_Traits>::basic_ifstream(const char *,std::ios_base::openmode,int)' : cannot convert parameter 1 from 'std::string' to 'const char *'
16:33:52Johnaudiah okay
16:34:58tomek_bstok Quit (Quit: Wychodzi)
16:36:16Johnaudi2> c:\users\audi\documents\gci\zap\levelsource.h(62) : see declaration of 'Zap::LevelSource' 2>c:\users\audi\documents\gci\zap\gamesettings.cpp(774): error C2228: left of '.getAvailLevels' must have class/struct/union
16:36:28Johnaudiwhat does that mean
16:37:08sam686something = LevelSource::getAvailLevels("blah")
16:37:15sam686try something like that
16:37:37sam686you can't do "." you need "::"
16:38:09sam686and you won't need to do something like LevelSource something;
16:38:44Johnaudiok
16:39:26Johnaudioh cool works
16:39:54Johnaudiah now I get some stack overflow errors
16:40:53sam686stack overflow for the most part happens when a function keeps calling its own function recursively
16:42:42Nothing_Much Quit (Remote host closed the connection)
16:43:20sam686Well if you look at whats added at the bottom of GameSettings::readCmdLineParams
16:43:36sam686mCmdLineParams[CmdLineParams::LEVEL_LIST_FILE][0] but what if mCmdLineParams[CmdLineParams::LEVEL_LIST_FILE].size() == 0? it will error
16:43:54Johnaudiwhat I put is
16:44:06JohnaudimCmdLineParams[CmdLineParams::LEVEL_LIST] = LevelSource::getAvailLevels(mCmdLineParams[CmdLineParams::LEVEL_LIST_FILE][0]);
16:44:20Johnaudithe thing you told me
16:44:22Johnaudi:i
16:44:38sam686another thing, is it build as "Debug" and not "Release" it can catch errors easier while running
16:44:47Johnaudiit's Debug
16:45:10sam686you may need to add if(CmdLineParams::LEVEL_LIST_FILE].size != 0)
16:45:24sam686size() (don't forget paranthesis)
16:46:17Johnaudiif(mCmdLineParams[CmdLineParams::LEVEL_LIST_FILE].size() != 0) { mCmdLineParams[CmdLineParams::LEVEL_LIST] = LevelSource::getAvailLevels(mCmdLineParams[CmdLineParams::LEVEL_LIST_FILE][0]); }
16:46:28sam686good
16:46:40Johnaudiworks great!!!
16:47:22Johnaudilet me update all of em
16:47:45sam686ok
16:50:04sam686to add start-up arguments, project, bitfighter properties, configuration, debugging, Command Arguments, -levellistfile "C:\some_text_file_levellist.txt"
16:50:24sam686or without visual C++, just cmd, do bitfighter.exe -levellistfile "C:\some_text_file_levellist.txt"
16:51:21Johnaudiokay great
16:51:29JohnaudiI've uploaded it in GCI as a rar file
16:51:32Johnaudihttp://www.google-melange.com/gci/task/view/google/gci2013/6603341224214528
16:51:35sam686or whatever you have your command named.
16:51:46sam686looking..
16:56:20sam686Johnaudi: looks like you missing one thing, command line won't work until you add something at GameSettings.cpp line 88
16:58:21sam686add { "levellistfile", ALL_REMAINING, LEVEL_LIST_FILE, 2, "<level list file>", "some help string", "Must do one Argument" },
17:04:45Johnaudiok sec
17:07:30Johnaudiuploaded
17:15:16Johnaudiis it ready-to-release?
17:15:36LordDVG has joined
17:15:55sam686testing it..
17:16:44Flynnn has joined
17:24:39sam686I have my own problem, build is acting like rebuild, it keeps building the entire thing instead of skipping them to save time, wasn't used to do it that way, no wonder its slow for me..
17:25:33Johnaudiyou on VB?
17:25:50Johnauditry to copy and paste the whole CPP and h files then relaunch it
17:25:51sam686yes I am on visual C++ 2008
17:26:25sam686I want it to only build just the files I made changes to, not everything..
17:26:56Johnaudiah then rightclick build?
17:27:12sam686but then that doesn't link them
17:27:27sam686maybe it fixed itself after changing line endings to .h files you gave to me..
17:27:44Johnaudiis it working now?
17:32:52kodab Quit (Ping timeout: 264 seconds)
17:33:05grypoB has joined
17:33:05sam686Johnaudi: the first problem I found is line 88 should be ONE_REQUIRED not ALL_REMAINING
17:33:27Johnaudiokay changing that
17:33:56Johnaudiany other probs?
17:34:13sam686the second problem is if(clv.is_open()) don't seem to be working on the level directory (if the level have just a bm.level and not the full path)
17:34:43Johnaudiwhat do you meamn
17:35:11sam686full path is something like "C:\something\levels\bm.level"
17:35:32Johnaudiah
17:35:40Johnaudiso you want to input a full path?
17:36:28Johnaudibut it's already as fullpath
17:37:01Johnaudioh wait I have an idea
17:37:05Flynnn Quit (Quit: This computer has gone to sleep)
17:37:07JohnaudiI'll make it scan where the txt is stored
17:37:09Johnaudiso it would work
17:37:24sam686I think its mostly good, except the level list having just "bm.level" it doesn't find it, like in a level folder
17:38:14raptor has joined
17:38:25raptorgood morning!
17:38:26ChanServ sets mode +o
17:38:34Johnaudihey raptor
17:38:45Johnaudi@sam how about placing the whole directory in the txt folder?
17:39:10sam686will try that
17:39:19Johnaudiraptor I'm almost done with this task you might need to check it lateron
17:39:36raptorhi, ok
17:39:41raptorlots of logs to read...
17:39:49raptoryou GCI folks have been busy!
17:40:31Johnaudiya!
17:40:39Johnaudibtw can you add in more bitfighter tasks?
17:41:36raptoryes, we plan on it - we just have to get together properly and brain storm again :)
17:42:02Johnaudiplease make it asap!
17:42:35Johnaudiand sam how did the file directory go?
17:45:03sam686except bitfighter doesn't like fullpath (checkName in config.cpp lone 2117) name="../../levels/C:\OTHER\Bitfighter\LEVELS\6357bitmatch.level"???
17:46:03sam686as a result it doesn't find the level it trying to load that went past the Johnaudi file exists list form txt file
17:46:51Johnaudiah
17:47:15Johnaudiso it's basically just readying the files inside the directory?
17:47:46sam686maybe Johnaudi can just remove the file exist part in its own function as the file exists appears to be checked anyway on "hosting" or starting server
17:48:32sam686for sure having "bm.level" in level.txt file works
17:48:48sam686(if the checking was removed
17:48:53raptorJohnaudi: I have a notification that you have code ready for review for the LevelSource stuff
17:49:17Johnaudinot now @raptor
17:49:18Johnaudijust a sec
17:49:23Johnaudifigured out tehre is a small error
17:49:23raptorok
17:49:28raptoralso
17:49:36Johnaudiand sam so I remove the other check?
17:49:53sam686I think so yes, or just comment it out..
17:49:54raptorI'm thinking that if you're going to work on Bitfighter a bunch, we should get you set up with a proper repository you can commit to
17:50:07JohnaudiVector<string> LevelSource::getAvailLevels(string filename) { Vector<string> levels; // The file should only include the list of levels on each line - feel free to edit it if you want to change the syntax ifstream levs(filename.c_str()); if (levs.is_open()) { string cur_lev; while (getline(levs, cur_lev)) { levels.push_back(cur_lev); } levs.close(); } else { // Error - file directory not found } return l
17:50:14JohnaudiI sure hope so raptor
17:50:24Johnaudithe community here is pretty helpful especially you and sam
17:50:54raptordo the following to create your own server-side clone: go here, log in, and do 'Create a clone': http://code.google.com/p/bitfighter/source/clones
17:51:43JohnaudiI already did - it's the last one on the list
17:51:53Johnaudiok let me last update it @sam and then raptor can check it
17:51:59sam686ok
17:52:19raptorthe one with 'chen...' ?
17:53:21Johnaudi'clone of b itf'
17:53:41Johnaudiand I uploaded it @raptor could you check GCI?
17:54:41raptorah ha, i see it
17:54:53raptorok
17:55:00raptorso, are you working off of your clone?
17:55:11Johnaudifor this task yes
17:55:16raptoroh good
17:55:22Johnaudibut from now on I'd probably start using clone
17:55:29sam686and I don't think we can get levelDir yet, until later on after readCmdLineParams (main.cpp)
17:55:34raptoryou can commit to your own clone as much as you want
17:55:52raptorand it'll be super easy for us to grab your code from the clone
17:56:35Johnaudithat'd be a later update sam?
17:56:35raptoralso Johnaudi, do you know how to make a diff?
17:56:44Johnaudidiff?
17:56:54Johnaudidifference?
17:56:59raptoryes, a difference file
17:57:00Johnaudibetween two codes?
17:57:07raptoryes
17:57:11Johnaudiuhm you used it yesterday right?
17:57:12sam686you can use command hg push https:(path to your clone) or in turtoiseHG clicking 2 green arrows icon and changing and saving the default path
17:57:20sam686or alternative path..
17:57:22raptoryour mercurial client should let you generate one
17:57:31raptora diff is much easier for us to grab the code
17:57:49raptorsam686: can you give him instructions on how to generate a diff with toirtoise?
17:57:57JohnaudiI'll figure it out
17:57:58Johnaudia sec
18:00:02Johnaudiwhat about the thing A B and C?
18:00:14grypoBHi, i'm nearly finished coding to associate a level with a music, but i still need two information : how from the UIGame can i send data to the UIManager ?
18:00:26raptorJohnaudi: is that a tortoise thing?
18:00:31Johnaudiya
18:00:33raptorhi grypoB
18:00:38raptorlet me check that...
18:00:39grypoBand how from the UIManager can i call the SoundSystem ?
18:00:45sam686in tortoiseHG, right click your commit and choose "diff" but it only does one commit..
18:00:53Johnaudiok realized how
18:01:05Johnaudithing added Vector<string> LevelSource::getAvailLevels(string filename) { Vector<string> levels; // The file should only include the list of levels on each line - feel free to edit it if you want to change the syntax ifstream levs(filename.c_str()); if (levs.is_open()) { string cur_lev; while (getline(levs, cur_lev)) { // ifstream clv(cur_lev.c_str()); // if (clv.is_open()) { levels.push_back(cur_lev); //
18:01:07sam686i mean choose "Export" then something
18:01:20Johnaudioh ok
18:01:20sam686export patch or copy patch
18:01:43sam686if you copy patch, use pastie or a website for pasting text
18:01:53raptorJohnaudi: use http://pastie.og/ to paste large bits of code - IRC chops it off and doesn't let us see it all
18:01:59sam686ORG not og
18:02:02raptoroops - http://pastie.org/
18:02:05raptorhaha, thanks sam686
18:02:06fordcars_win7 has joined
18:02:56raptorgrypoB: in most UI* classes you can do: getUIManager()
18:03:00Johnaudiwhat's added is
18:03:18grypoBok thanks
18:03:26raptorgrypoB: for instance follow the path of getUIManager()->playSoundEffect
18:03:55grypoBok
18:04:23raptorUI* classes are already client side and can just call the static SoundSystem methods
18:05:29Johnaudihttp://pastie.org/8496046#89
18:05:35Johnaudiadded line 88
18:05:57sam686good
18:06:21Johnaudihttp://pastie.org/8496049
18:06:22Johnaudiline 50 here
18:06:56grypoBraptor : would "SoundSystem::function();" work from the UIGame ?
18:07:03raptorgrypoB: yes
18:07:09grypoBnice
18:07:20raptoryou could do SoundSystem::triggerMusicChange() (or whatever)
18:07:21sam686We already have LevelDir, whats added by Johnaudi is reading level list from file
18:07:50raptorJohnaudi: if you give us a complete diff, we could see all your changes at once
18:08:15Johnaudihttp://pastie.org/8496057
18:08:18Johnaudihow can I do that?
18:08:39fordcars_win7Hi
18:08:46raptorthat's what sam686 was trying to explain: in tortoiseHG theres a way to export all the file changes
18:09:00raptoryoue export them as one 'diff' file
18:09:02sam686in tortoiseHG you need to commit first, or if not, just right click "Working Dir", and export, copy patch
18:09:11raptorsam686: really?
18:09:21raptorthere's no way to see changes to current?
18:09:26raptorI don't think he should commit first
18:09:39JohnaudiI copied patch and now?
18:09:39sam686I said "or IF NOT"
18:09:57sam686paste into pastie
18:09:58raptorah, thanks sam686 - I guess I need to read slower...
18:10:20raptorhi fordcars_win7
18:10:29raptorfordcars_win7: are you in GCI?
18:10:35Johnaudihttp://pastie.org/8496065
18:10:37Johnaudithere
18:10:48raptorBEAUTIFUL
18:10:49JohnaudiI set it as 'Diff'
18:11:50Johnaudioh I should use diff in the future then!
18:11:56raptoryes!
18:12:10raptorwe can see everything and automatically consume your changes
18:12:16raptorit's really nice
18:12:20sam686diffs finds everything you have changed..
18:12:39Johnaudilooks nice
18:13:01JohnaudiI gtg in around 5-6minutes
18:13:44fordcars_win7raptor, remember the stupid law that prohibits me from entering a contest outside of Quebec? Well yeah, I am not in CGI :P
18:13:50raptorah yes
18:14:14Johnaudiwow that's weird
18:14:56fordcars_win7:P Totally
18:15:01fordcars_win7Wow active IRC channel, the logs are huge!
18:15:11Johnaudinot just that though
18:15:13sam686well then how does fordcars enter the bitfighter level contest?
18:15:18JohnaudiSyria can't join either
18:15:29raptorJohnaudi: you're from Syria?
18:15:33Johnaudinope
18:15:37Johnaudibut it's next to my country
18:15:43raptorlebanon?
18:16:17raptormy wife did a 'study abroad' program around that area - she really misses it
18:16:25fordcars_win7sam686, hahahaha I mean legally entering an official contest with Terms and stuff ;)
18:16:47fordcars_win7Italy can't join either, dunno why
18:16:54Johnaudiyup
18:16:59Johnaudishe liked lebanon?
18:17:17sam686maybe they actually put restrictions on who can join GCI, but bitfighter forums don't
18:17:35fordcars_win7Maybe
18:18:02fordcars_win7I like CGI though, it looks really cool
18:18:40raptorshe spent 3 months in egypt, lebanon, and syria (and maybe israel). I think most time was in Egypt though
18:18:40raptorshe loves that area of the world
18:19:01Johnaudiyou guys should come visit
18:19:12Johnaudihoneymoons are great here
18:19:20raptorha
18:19:20Johnaudi*hint*
18:19:29Johnaudianyways
18:19:39Johnaudicould you check GCI?
18:19:40raptorshe really wants to, but that part of the world is a little chaotic right now (and we have 3 children...) :)
18:19:49Johnaudiit's not chaotic!
18:20:04Johnaudiyesterday only 2 terrorists just bomb suicided in lebanon
18:20:08Johnaudijust 2, that's an improvement!
18:20:25fordcars_win7Wow
18:20:26raptori'm glad you have a good attitude about it
18:20:44Johnaudiwe've seen worse =]
18:20:46Johnaudiand I'm still 15
18:21:10Johnaudiespecially when they start cutting off someone's head in public, that thing's disgusting but happens frequently
18:21:15fordcars_win7Yeah, there is a big movement going on in these countries
18:21:21raptor*shudder*
18:21:35fordcars_win7:,( must be quite hard sometimes
18:21:37raptorok, well - I'm glad your coding with us!
18:21:50fordcars_win7Anyway, later guys! See you tonight!
18:21:54JohnaudiI'm glad you guys are one of the mentors of GCI
18:21:56raptorbye fordcars_win7
18:21:57Johnaudi:D
18:22:06fordcars_win7Bye :)
18:22:09fordcars_win7 Quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
18:22:24Johnaudioh btw this is why I'm so desperate on flying over to the US
18:22:42Johnaudiand tickets here are so expensive
18:22:44sam686here in Sioux falls South Dakota United States theres been a few break-in into computer stores.. broken glass windows in a door..
18:22:46raptoroh? GCI is a good opportunity?
18:22:50sam686but no bombs..
18:23:01Johnaudilol
18:23:13Johnaudiyeah GCI is a nice opportunity
18:23:16Johnaudiespecially for my dad
18:23:22grypoBi think i'm done : http://pastie.org/8496106
18:23:27raptorwell, keep up the good work!
18:23:51raptorgrypoB: great! can you upload your diff to the GCI site?
18:24:06raptoralso grypoB, do you have a server-side clone you can commit to?
18:24:34grypoBi think so
18:24:52grypoBbut i don't know the command-line instruction (ubuntu)
18:25:09raptoroh
18:25:21raptorhere: hg diff > someDiffFile.diff
18:25:25Johnaudiraptor should I upload something else on the task? gci
18:25:32grypoBthaks
18:25:39grypoB*thanks
18:25:40raptorJohnaudi: I would upload the most recent diff
18:25:49JohnaudiI did
18:25:54Johnaudididn't I?
18:25:56raptoroh good
18:26:13raptoruhh... the notification system isn't so great with us mentors - we have to keep checking back
18:26:26JohnaudiI did like 30min ago
18:26:50raptor17:53 UTC?
18:26:59Johnaudiyup
18:27:02raptorok
18:27:03sam686if you haven't made changes after your latest diff, your fine for not needing to diff again
18:27:04Johnaudiit's called 8 50 I think
18:27:12Johnaudi8 52
18:27:16raptorgot it
18:27:50raptorgrypoB: you'll upload and set the task as needing review
18:28:10grypoBraptor : done
18:28:32raptorJohnaudi: can you actually upload the diff file itself, instead of the full source files?
18:28:38raptorgrypoB: thanks
18:28:43Johnaudisure
18:29:16JohnaudiI uploaded the one I gave you here
18:29:40raptorI'll review both of your tasks a bit later - I have to get back to work - feel free to grab others, though, including from other projects (I think GCI judges look for those who do a wide range of good work)
18:30:18Johnaudiuhmm
18:30:51raptorquestion? does the system not let you do other tasks simultaneously?
18:30:57grypoBthanks for your help
18:30:58grypoBno
18:31:05raptorit doesn't???
18:31:56grypoBbut we can still begin to code and claim the task afterwards (if nobody claimed it)
18:32:09raptorhmmm... ok. I did not know this
18:32:27raptorI will try to get to it as quick as I can
18:34:31Johnaudi Quit (Ping timeout: 250 seconds)
18:34:47Johnaudi has joined
18:34:53Johnaudioh sorry got dc'ed
18:34:56Johnaudididn't see the last msgs
18:35:12raptorJohnaudi: you can see latest logs here: http://bitfighter.org/irclogs/
18:36:40Johnaudioh I was saying
18:36:55Johnaudiif we unclaim a task and go to another task GCI will consider this as an uncompleted task
18:37:28raptorok, don't unclaim it
18:37:31Johnauditherefore we can only leave until the task is marked as completed, or else it will be considered as we didn't even work on it - or dropped the proj
18:37:40raptorI ask for a little patience in review though
18:37:59Johnauditake your time
18:38:17Johnaudijust to make sure will it be in the next 12 hrs?
18:39:06Johnaudiso I can pick a task in time :p
18:39:45raptorheh, you have a schedule? :)
18:40:11Johnaudioh and will you add new bitfighter tasks this week? the only one I'm possibly work on the music widget one
18:40:21Johnaudiuhm nope but I got school :p
18:40:42JohnaudiI've been in GCI for 2 days and completed 2 tasks
18:41:25Johnaudiokay guys see yaa~!
18:41:33raptorbye!
18:41:51grypoBraptor : i saw two mistakes so i sent an other .diff
18:41:59Johnaudi Quit (Quit: Page closed)
18:44:00raptorgrypoB: ok, great
18:44:08raptorfeel free to make as many changes as needed
18:50:07destroyerimo Quit (Ping timeout: 265 seconds)
18:54:24grypoBraptor : how can i try to compile the code to see if it works ?
18:54:50raptorgrypoB: go back to the 'build' directory, and just type 'make' again
18:54:53raptorwhen done
18:54:55Flynnn has joined
18:55:04raptorthe new binary will be in the 'exe' folder for you to test
18:56:02grypoBthere are no makefile
18:56:32grypoBso 'make' doesn't work
18:56:37raptoroh, have you compiled before?
18:57:00raptoron ubuntu, right?
18:57:03grypoByep
18:57:21grypoBi never compiled a code that big
18:57:37raptorohhh
18:57:39raptorok
18:57:51raptorfollow the steps here: https://gist.github.com/kaen/6393623/raw
18:58:09raptoryou can skip the 'checkout' step (since you've already done that)
18:58:20grypoBthanks a lot
18:58:36raptoryou're welcome
19:01:04Flynnn Quit (Quit: This computer has gone to sleep)
19:04:47Flynnn has joined
19:11:07Flynnn Quit (Quit: This computer has gone to sleep)
19:22:55Skybax has joined
19:22:56Skybax_ has joined
20:01:50amgine123 has joined
20:01:56amgine123sup
20:05:10Flynnn has joined
20:32:42Darrel has joined
20:34:41BFLogBot Commit: 3f1ddc9e1cb5 | Author: sam8641 | Message: Small change to avoid Assert "There has been a failure in previous UI queuing!"
20:41:02Nothing_Much has joined
20:52:00kaen_ has joined
20:53:46kaen_Only here for a minute :/
20:54:16kaen_My connection gave out but I'll have a new provider tomorrow
20:54:47kaen_From the logs it looks like we've had lots of gci activity
20:55:48kaen_Oh also while I've been offline I've managed to get bf to build as a shared library, solving the redundant compilation between client and test
20:56:13kaen_And also I wrote some python bindings for bitfighter
20:56:31Nothing_Muchkaen_: hope you get your connection fixed soon
20:56:36raptoroh hello
20:57:21raptorsam686: is that assert avoidance an actual bug fix, or just an assert avoidance?
20:57:24raptorhi kaen_
20:57:27raptorwelcome back!
20:57:36kaen_Me too. I feel really bad not being able to help with the gci guys :<
20:57:47raptorno worries
20:58:08kaen_Hi raptor, I'm just on my mobile to touch base
20:58:26sam686well.. We souldn't mess with empty UI anyway..
20:58:37kaen_Wish I could tether my phone :p
20:58:40sam686UI is empty while testing clientGame
20:59:30raptorkaen_: python bindings?
20:59:39raptoralso shared-lib yay!
20:59:39sam686plus there a disconnect being triggered on ClientGame destructor
21:01:00kaen_Yeah I got bored so I wrote python bindings for e.g. Running level gen code and taking screenshots
21:01:18kaen_Just a silly thing to occupy my time
21:02:38raptorheh
21:03:04raptorjust so you know I'm still hoping for thanksgiving release... I need to finish the stupid Lua sandbox stuff...
21:03:17sam686stupid?
21:03:25kaen_Anything I can help with?
21:03:36raptornot stupid - just one of those unfinished things bugging me
21:03:43kaen_While not actually helping, I mean:/
21:04:21raptorcan't code much?
21:04:28raptoror commit? (because of connectivity?)
21:04:40kaen_Right can't commit or pull
21:04:50kaen_Irc only :/
21:04:57sam686commit doesn't use internet, push does
21:05:13raptorerr, yes, that's what i meant... push...
21:05:24kaen_Right
21:05:29Kiryx has joined
21:06:04sam686is kaen internet on diap-up speeds?
21:06:33kaen_I'm on 3G right now on my phone
21:06:50Nothing_Muchdon't waste any more of your minutes!
21:06:50kaen_I ha be cable Internet (when it works)
21:07:02Nothing_Muchor data plan
21:07:04kaen_I have some metered data
21:07:18kaen_It's
21:07:33kaen_Ok I'll keep it under control :)
21:07:37tomek_bstok has joined
21:08:19Nothing_MuchI wish I could play with you guys, but I still need the 3D acceleration drivers (even though BF's 2D)
21:09:47kaen_2D acceleration is usually just fast bit blitting like for images
21:10:04sam686maybe perhaps disabling line smoothing speeds up software rendering?
21:10:17Nothing_Muchsam686: How would I go about doing that?
21:11:03sam686zap/videoSystem.cpp line 443 oh wait thats 019
21:11:30sam686if you see glEnable(GL_LINE_SMOOTH); you can comment it out and compile
21:11:52Nothing_MuchOh.. uh.. is that in a .c file?
21:12:00sam686videosystem.cpp line 449
21:12:01sam686yes
21:12:29sam686I once played with it and it speed up software rendering by almost twice as fast
21:12:37Nothing_MuchOh sweet
21:12:47sam686but have little speed effect when using hardware opengl
21:13:04Nothing_MuchI shall try that, because as far as I've seen, it's a little laggy, but playable, it gets choppy with this gpu
21:14:21Nothing_Muchsam686: The commenting out feature is like HTML right? Just have a # sign next to the line at the beginning of it?
21:14:29sam686My Radeon 6770 + intel i7 2600 goes 1000 FPS with line smoothing
21:14:37sam686on CPP, you can // for comment
21:14:43sam686C++
21:14:57Nothing_MuchAh okay
21:15:07Nothing_MuchUh whoa, that's software rendering right?
21:15:34sam686If your GPU griver missing opengl acceleration driver, it will just do software rendering
21:16:45kaen_ Quit (Quit: kaen_)
21:17:03Nothing_Muchsam686: I know, I was referring to your PC :P
21:17:20sam686mine is hardware rendering on Radeon 6770
21:17:34sam686which is why my opengl is super fast
21:17:54sam686line smoothing have next to no speed effect on rendering speed on my hardware opengl
21:18:23raptorNothing_Much: if you have software-only available, then turning off linesmooth should give you a speed boost
21:18:47Nothing_MuchWill do
21:19:11grypoB Quit (Ping timeout: 250 seconds)
21:19:24sam686seems the only way to turn off line smoothing is removing glEnable(GL_LINE_SMOOTH); // or commenting it out
21:22:51Nothing_MuchAlright got it
21:23:22raptorNothing_Much: how did you compile? did you compile the debug version?
21:23:32raptorthat will make a huge difference, too
21:23:47Nothing_MuchI meant I commented out the GL_LINE_SMOOTH thing ._.
21:23:51raptorok
21:23:54Nothing_MuchHow do I get the debug version?
21:24:05raptori mean, it'll be much faster if you don't compile debug
21:24:16Nothing_Muchoh
21:24:17raptorit depends on how you compiled
21:24:19amgine123hey rap rap raptor anything new?
21:24:41raptoryou used cmake but did you add the flag -DCMAKE_BUILD_TYPE=Debug ?
21:24:41talga has joined
21:24:42Invisible has joined
21:24:43sam686debug build can have slowdown, on windows much bigger debug slowdown then linux is what I am finding
21:24:43talga Quit (Client Quit)
21:25:00raptorif you did, you should recompile without that flag
21:25:38Nothing_Much--nodebug?
21:25:50raptorno...
21:26:11raptorwhen you run make next (after your comment change) run it like so: make VERBOSE=1
21:26:30raptorthen paste the output at pastie.org and we'll see if you did a debug compile or not
21:26:56sam686but again debug build don't have very much speed different unless doing hundreds of robots, or thousands of walls/objects
21:27:17raptorwell, asserts are enabled in debug..
21:30:02Nothing_Muchverbose means it's not building, just giving the output if it does compile right?
21:30:12raptorno it'll build
21:30:15raptorand be noisy
21:30:31Nothing_Muchoh, so it gives out more information about the build?
21:30:49KiryxHello. I have a problem with bitfighter's performance
21:31:00raptorhi Kiryx
21:31:11raptorwhat OS are you on and what are you trying to do?
21:31:14Kiryxit runs horribly slow right at the menu screen, is this a known issue ? (I'm on Ubuntu 12.04 LTS, pretty decent machine)
21:31:41sam686what graphics hardware you have?
21:31:45KiryxI'm on an integrated graphics card
21:31:45raptorok, this is an OpenGL game - do you have proper hardware support?
21:32:20raptordid you compile from source or install the ubuntu playdeb package?
21:32:28Kiryxcompiled from source
21:32:34sam686name of your integrated graphics?
21:32:39Kiryx1 sec
21:32:54sam686can run this in terminal (linux): lspci
21:34:05KiryxIntel's 2nd generation core processor family
21:34:20raptormaybe I made a mistake in removing the linesmooth option...
21:34:23Kiryxafair this it's something like sandy bridg, hd 2000
21:34:37raptorwe're looking for the exact graphics chipset name
21:34:50raptorlike intel 945gm or whatever
21:35:28sam686its an intel HD 2000 graphics?
21:36:23KiryxI believe so,yes. I can paste you the output of lspci -v somewhere if you want
21:36:35Kiryxit's not stated anywhere explicitly though
21:42:15sam686intel graphics like to now be just "HD 2000" now that intel graphics is integrated into intel CPU
21:43:01raptoroh interesting
21:43:06Kiryxhttp://pastebin.com/wmqzGJvJ
21:43:36KiryxHere's the output of lspci -v
21:43:39sam686what CPU do you have?
21:43:49Kiryxintel i3
21:44:25sam686cat /proc/cpuinfo says lots about CPU
21:45:09raptori think kaen had this problem once, something about old/bad Mesa drivers (software rendering)
21:45:17Kiryxhttp://pastebin.com/5F3a1knn
21:45:22KiryxHere's the cpuinfo
21:46:21sam686mine is model name : AMD FX(tm)-4100 Quad-Core Processor on my linux computer, on my other computer on Windows I have windows as i7-2600
21:46:54sam686not sure, maybe Kiryx might have outdated driver or outdated kernel?
21:47:41amgine123i have a old cpu
21:47:43sam686http://ark.intel.com/products/53434/ (intel i3-2330M)
21:48:37sam686the specs says HD 3000 graphics in this cpu
21:49:16amgine123i have this game for the gamecube its actully better then the movie ^_^ https://www.youtube.com/watch?v=4kF7cg964jA
21:49:16Nothing_MuchKiryx: Try glxinfo |grep OpenGL
21:49:34amgine123scared the crap out of me as a kid there are some scary parts
21:49:48amgine123later levels...
21:50:08Nothing_Muchraptor: apparently the paste can't be larger than 64kb
21:50:56sam686thats when I made my own paste http://sam6.25u.com/paste.php
21:51:29amgine123no limit on pastie size ?
21:51:35raptorNothing_Much: past just one line that has g++ command in it
21:51:41sam686more like the limit is 256MB on my paste
21:51:55sam6861000 times bigger then 64kb
21:51:56Kiryxhttp://pastebin.com/j2zvwC3d
21:52:01KiryxHere's the output of glxinfo
21:52:22Kiryxbtw, I might have misinformed you. I think I do have HD 3000 after all (Sorry)
21:53:17sam686try: glxgears (displays some animated gears)
21:53:29Nothing_Muchraptor: I have no idea what that is or what it looks like >.>
21:53:41sam686if its too slow there, something wrong with your opengl driver..
21:53:59Kiryxsam686: I get 60fps, nicely rendering
21:53:59raptorNothing_Much: just show me the first few pages, then
21:54:22raptorvsync!
21:54:31sam686start bitfighter, join or host game, and press F6, getting 60 fps or higher there?
21:54:39Nothing_Muchhttp://sam6.25u.com/upload/text1311/131120_21-54-13.txt
21:54:44Nothing_Muchraptor: ^
21:54:56raptoroh good, it's not the debug build
21:55:04Nothing_Muchand thanks sam686 for the paste link :)\
21:55:05raptorok Nothing_Much, you don't have to change anything else
21:55:11Nothing_Muchalright
21:55:31Nothing_Muchwell I'm having that same issue with the lack of sound and the lack of connecting to master
21:55:51Nothing_Muchit might be because I'm on armhf?
21:56:12sam686are you on version 018a?
21:56:59Kiryxsam686: I get around 3fps
21:57:36sam68660 fps on glxgears but only 3 fps on bitfighter?
21:57:41raptorNothing_Much: wait 30 seconds to connect to master (it will fail) then wait 30 more for it to try another address
21:58:08sam686it should say "Connecting to master" or something on a bottom left corner
21:59:34sam686Kiryx: Did you built it from source code? in Zap/VideoSystem.cpp try deleting a line glEnable(GL_LINE_SMOOTH); // or comment it out
21:59:50sam686not sure if that a problem..
22:01:20Kiryxsam686: Unfortunately it did not help
22:01:39Nothing_Muchsam686: 018a yeah
22:01:58Nothing_Muchand it keeps sending the challenge request
22:02:01raptorKiryx: what version are you compiling? source code from latest repository revision?
22:02:10raptorNothing_Much: open the bitfighter.ini
22:02:12KiryxI pulled it yesterday
22:02:31raptorNothing_Much: find the option: MasterServerAddressList
22:02:46raptorremove everything but 'bitfighter.org:25955'
22:02:59Flynnn Quit (Quit: This computer has gone to sleep)
22:03:15Nothing_Muchoh wait
22:03:17Nothing_Muchnow it's working
22:03:21Nothing_Muchsorry about that
22:03:28raptorNothing_Much: yay!
22:03:29Nothing_Muchbut the sounds aren't working
22:03:46raptorNothing_Much: you may have compiled without sound... let me look at your compile log
22:04:17raptorKiryx: OK - that's interesting - can you tell me what desktop environment you are using, and if you have compositing enabled?
22:05:29raptorNothing_Much: can you start the game from a terminal and tell me what it prints there when it starts up? maybe something about sound..
22:06:03Kiryxraptor: i3wm, compositing is not enabled for this window manager
22:06:32Kiryxit's a grid-like window manager, this could be the key actually
22:06:44Kiryxlet me switch to something regular and see if that helps
22:06:49raptoractually wait
22:07:20raptorSDL 1.2 had a problem with maximizing windows - can you make the game go full screen (ALT + ENTER) and see if that helps?
22:07:34Nothing_Muchhttp://sam6.25u.com/upload/text1311/131120_22-07-13.txt
22:07:38Nothing_Muchraptor: ^
22:07:43raptorah ha!!
22:08:09raptorNothing_Much: since you compiled from source, do the following in your 'exe' directory:
22:08:14raptor1. touch standalone.txt
22:08:28raptor2. for file in `ls -1 ../resource` ; do ln -s ../resource/$file ; done
22:08:49raptor(those are command line commands to run within the 'exe' dir)
22:09:51Kiryxraptor: It did not help
22:10:06raptorKiryx: which action did not help?
22:10:21Kiryxalt+enter was captured by the wm (which stands for something else)
22:10:30raptorah
22:10:36Kiryxbut going fulscreen did not resolve the lagging
22:10:39Kiryxlet me try other wm
22:10:41raptorok
22:11:06sam686There is VideoSystem.cpp line 148, something Kiryx can play with. Try setting some of SDL_GL_SetAttribute to 0 like SDL_GL_DEPTH_SIZE, 0 at the cost of spybug TAB not going to look nice
22:11:25sam686(thats only in editor though)
22:11:59Nothing_Muchraptor: thanks, works!
22:12:08Nothing_Muchand it fixed the joystick thing too
22:13:12sam686umm maybe all those SDL_GL_SetAttribute suppose to be moved to the very top of VideoSystem::init()?
22:13:20raptorNothing_Much: hooray!
22:13:58raptorjust so you know Nothing_Much, what those commands did was to make a standalone version of your game, self-contained in the exe directory
22:14:08raptorso your preference (bitfighter.ini) are now in that directory
22:16:25Flynnn has joined
22:19:10raptortwm is my favorite..
22:20:32raptorone step above 'failsafe'
22:26:21amgine123 Quit (Ping timeout: 250 seconds)
22:35:24Kiryx Quit (Read error: Connection reset by peer)
22:38:04Kiryx has joined
22:39:57KiryxHello again
22:40:03Kiryxit seems like it was the wm all along
22:40:08raptorit works?
22:40:27Kiryxwhich is weird as I was able to run other games in it
22:40:45KiryxI'm not sure whether any was OpenGL
22:40:45raptorhooray!
22:40:46Kiryxit works
22:40:55Kiryxthank you for your godlike patience :)
22:41:13raptorwe use SDL 1.2 as our game window framework and it has had problems with some lesser-known window managers
22:41:28raptorheh
22:41:42raptori'm glad it's running now
22:44:00GEOFBOT has joined
22:54:44grypoB has joined
22:56:42grypoBraptor : i submited a new diff for the gci, and now it does compile.
22:56:56raptorok great!
22:57:36grypoB Quit (Client Quit)
22:58:49GEOFBOThi
22:59:07LordDVG Quit (Remote host closed the connection)
22:59:34raptorhi GEOFBOT
23:02:48tomek_bstok Quit (Quit: Wychodzi)
23:04:35Invisible Quit (Ping timeout: 272 seconds)
23:06:21raptorwatusimoto should show up some time soon, I think..
23:09:59Darrel Quit (Quit: Leaving)
23:20:52Nothing_Much Quit (Read error: Operation timed out)
23:36:13Watusimoto has joined
23:37:00Watusimotohi all
23:38:27Watusimotoraptor: I think a better place (easier and less probelmeatic) place to demo the scrollbar would be in the UIQueryGames interface... there is less liklihood of colliding with other exisitng functions there than there is in doig something in game... unless you were referring tothe F5 chat
23:41:57raptorhi
23:42:05raptoryes, i was thinking of the master chat
23:42:21raptorbut feel free to adjust anything I suggest/say
23:43:38Watusimotono worries -- master chat is just as good
23:46:19amgine123 has joined
23:47:06amgine123sup
23:58:04GEOFBOTok, i think it works now
23:58:06GEOFBOTthe notifier

Index Search ←Prev date Next date→

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