#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-12-08

Timestamps are in GMT/BST.

00:00:05raptorthen you will pull in the right headers/linker libraries
00:00:08vs73nxyes im doing that right now, im saying if standard gl isnt detected it should use gles
00:00:28vs73nxor manual ovveride can be done.
00:00:33raptoroh cool
00:00:40raptorsounds good
00:09:05fordcars has joined
00:11:08Darrel is now known as Darrel[OFF]
00:18:14Flynnn has joined
00:41:49vs73nxok got nearly got gles detection working
00:42:10vs73nxjust need to make a module for detecting gles
00:43:38raptorI foudn this: https://bitbucket.org/sinbad/ogre/src/0bcc775bedc9b85954197dfcbe6f350c13ec914d/CMake/Packages/FindOpenGLES.cmake?at=default
00:43:51raptorit's a CMake module, it may work
00:44:10raptoryou can put modules in our cmake/Modules directory and the script will find them
00:46:07vs73nxok will give a try
00:50:37vs73nxadded cmake module but it is giving me linker errorrs on how it cant find opengl stuff
00:51:05raptoryou may need to isntall GLES headers on your system
00:52:00vs73nxi did all are errorrs relating to fixed function stuff
00:52:39vs73nxit isnt finding my gles headers
00:53:21raptorit could be that that GLES module isn't very smart...
00:53:33raptorI had to install a package called Mesa-libGLESv1_CM-devel to get the headers
00:55:46vs73nxthat package doesnt exist in ubuntu
00:56:17vs73nxi installed libgles2-mesa-dev
00:56:20raptoryeah, i'm using openSUSE - it would be something similar with 'gles' in the name
00:56:29raptoris there a libgles1?
00:56:35vs73nxi installed all gles headers
00:56:42vs73nxwill try again
00:57:08vs73nxnope all gles headers installed
00:58:26vs73nxfound another module at 'https://github.com/ironsteel/cegui/blob/master/cmake/FindOpenGLES.cmake', hope it works :)
00:59:22raptorthe trick is getting the find_library() call correct
00:59:31raptorat least that's what i had to do when i wrote the other moduels
00:59:34raptor*modules
01:01:44vs73nxthat one doesnt work either
01:03:22vs73nxor this one https://abf.rosalinux.ru/uxteam/KDM/blob/master/cmake/modules/FindOpenGLES.cmake
01:03:59raptormaybe you could model a new one off the FindModPlug.cmake module I created
01:04:18raptorand have it look up any variation on the libraries mentioned in those 3 failed ones..
01:04:54raptorI made that module to be pretty comprehensive it its search paths
01:07:43vs73nxok then i found a findOpenGLES.cmake file in a working setup of kdeworkspace... testing if it works, but if it doesnt i will roll my own
01:11:51vs73nxok this is getting stupid nothing is working
01:11:58vs73nxtaking a short break
01:25:26kumul Quit (Ping timeout: 240 seconds)
01:31:04Watusimotophooey... I buggered something up bad... and I am too sleepy to sort it out
01:31:13WatusimotoI hate going to bed when I've broken something...
01:31:18Watusimotooh well. Good night!
01:32:05fordcarsNight!
01:34:10fordcarskaen, are you around?
01:36:39Watusimoto Quit (Ping timeout: 252 seconds)
01:43:22amgine123raptor if made a poll i bet at least 90% of poeple would want global voice chat
01:45:32vs73nxyes i want global voice chat too
01:47:20vs73nxanyways here is a cmake module im trying, have anyone got any way of fixing it http://pastie.org/8536586
02:02:41amgine123raptor would you care if i did a broadcast of BF on twitch ?
02:04:09vs73nx Quit (Ping timeout: 252 seconds)
02:04:18Platskies has joined
02:12:01Kiryx Quit (Ping timeout: 246 seconds)
02:17:04Flynnn Quit (Quit: This computer has gone to sleep)
02:21:49raptorhi
02:22:03raptoramgine123: i don't know what that is
02:23:02Nothing_Muchraptor: it's basically a video streaming service
02:23:10Nothing_Muchyou can view stuff live on twitch
02:23:39raptorsure, then - i think players have streamed games before
02:25:40fordcarsraptor, do you know where the Server sends the Bitfighter Voice chat to clients^
02:25:42fordcars?
02:25:54raptorhmmm... yes
02:26:08raptorerr.. let me find it again..
02:26:23fordcarsHeh I have been looking for it for quite a while
02:26:43raptoryes, but you didn't rewrite the system once...
02:26:53fordcarsHaha nope
02:28:34raptorgameType.cpp around line 3737..
02:28:41raptorc2sVoiceChat
02:28:45raptorthat's client to server
02:28:52amgine123fordars write a global voice chat c++ code XD
02:29:04raptorin it, it calls s2cVoiceChat which id server to client
02:30:24fordcarsAhhhh sweet thanks!
02:41:25Nothing_Muchraptor: lol everybody streams games nowadays :)
02:43:38fordcarsAnybody want to this GLobal Voice chat?
02:49:52amgine123??
02:50:57amgine123im sending mass emails to advertise BF XD
03:01:40Nothing_Muchamgine123: how so? try not to do unsolicited emails
03:09:54Platskies Quit (Quit: Platskies)
03:12:09fordcarsHehe Global Voice Chat works
03:12:19Platskies has joined
03:12:30raptorshhh... don't tell people how easy it is to code
03:12:53fordcarsraptor, removing 16 characters isn't really coding
03:13:13fordcars;)
03:13:20raptorSHHHHH
03:13:28fordcarsHahahahaha
03:14:09sam686its server side check I bet, global voice chat only works on your own host/server
03:14:16fordcarsYeah
03:15:02fordcarsRemoved this: clientInfo->getTeamIndex() == sourceClientInfo->getTeamIndex()
03:15:44fordcarsOk, a little bit more than 16 characters
03:18:19vs73nx has joined
03:21:02amgine12330 lmao
03:21:18fordcarsWhat? Oh messages?
03:21:28amgine123characters
03:21:35fordcarsOh yeah mhaha
03:21:45amgine123space is a chatacter
03:22:11amgine123]im going to tell everyone rapttor xd
03:22:23amgine123ford try gc on my server
03:23:03fordcarsgc?
03:27:24amgine123GVC
03:27:33fordcarsWon't work :((((
03:27:50fordcarsIt's only the server that would work. I would have to give you my bitfighter.exe
03:28:07sam686or you can host
03:28:15fordcarsYep hosting right now
03:29:01amgine123i am
03:31:15raptorback later!
03:31:18raptor Quit ()
03:33:04amgine123aw f****
03:33:19fordcarsWhat??
03:33:21amgine123its all 4 lines not formatted
03:33:34fordcarsJust open it with another text editor
03:33:44amgine123im using notepad
03:33:53fordcarsNotepad++, Programmer's Notepad etc
03:34:03fordcarsNotepad often does that
03:34:17fordcarsTry Word I guess
03:34:34fordcarsBut that probrably won't work because of their format
03:34:48sam686you can't just edit the source code, you also need to compile it
03:34:59fordcarsSam, I think it's a levelgen
03:35:38amgine123it is
03:37:18sam686if its just levelgen, you might need to do /clearcache or restart, on each edit
03:37:36sam686levelgen you need to restart level or hosting/server
03:42:39Platskies Quit (Quit: Leaving)
03:44:22fordcarsamgine123, http://notepad-plus-plus.org/
03:44:32fordcarsThat will open the levelgen correctyl
04:04:38vs73nx Quit (Ping timeout: 240 seconds)
04:08:54Flynnn has joined
04:11:04vs73nx has joined
04:19:18sam686 Quit (Ping timeout: 245 seconds)
04:21:54sam686 has joined
04:21:54ChanServ sets mode +v
04:22:40vs73nxready for code to be reviewed for gci
04:22:59vs73nxif any mentors are on
04:37:15vs73nx Quit (Ping timeout: 250 seconds)
04:39:43Flynnn Quit (Quit: This computer has gone to sleep)
04:52:20vs73nx has joined
05:19:44raptor has joined
05:19:45ChanServ sets mode +o
05:22:22raptorvs73nx: hi, I'm looking at your changes now
05:22:44raptorwhere did you get the module?
05:26:46raptoralso, the module is looking for GLES2, we need GLES (1.1). It's probably the header GLES/gl.h, but not sure
05:38:18raptor Quit (Ping timeout: 250 seconds)
05:38:18raptor_ has joined
05:38:20raptor_ is now known as raptor
05:38:22raptor Quit (Changing host)
05:38:22raptor has joined
05:38:22ChanServ sets mode +o
05:39:36fordcarsHi
05:40:38raptorhi
05:46:24sam686do a /dlmap [press TAB] [TAB] [TAB] nothing happens, can't see what level available to download..
05:46:36raptorheh
05:58:36amgine123 Quit (Quit: Page closed)
06:02:42vs73nxok then... sorry for the delayed response i was busy making an iphone app ;)
06:02:57vs73nxi will make it find gles 1.1
06:03:50raptorhi, no worries
06:04:15raptori'm about to head to bed, I was going to post a comment on the task if you hadn't responded soon anyways
06:04:37raptorvs73nx: does it compile OK with GLES2?
06:04:43vs73nxno
06:04:53raptorok good - that's normal :)
06:05:00raptorwe haven't done the work for that yet
06:05:19raptorbut GLES 1 should compile
06:05:47sam686(f7d1b87ce12d) Minor performance improvement in findCentroid() how does that improve performace?
06:06:02sam686Point p1(polyPoints[i]); might be faster then Point p1 = polyPoints[i];
06:06:21vs73nxmight do that after gci, as a hobby project throughout the school holidays ;)
06:07:16raptorsam686: saves on construction costs
06:07:31raptorI figure construction cost is greater than reassignment
06:07:51raptoralso saves tiny bit of memory
06:07:59sam686theres no memory allocation penalty on local variables on C++ (memory holds in a stack)
06:08:11raptorah true
06:08:29raptorI don't really care one way or the other - it is practically trivial
06:10:13sam686however, Vector/vector calls another memory allocation on constructor that doesn't go that part of it in a memory stack space (resizable array), which can have a cost
06:10:50raptorinteresting
06:13:07sam686its part of why my VLD(Visual leak detector) always claims there one memory leak, at zap\main.cpp (line 1069)
06:13:44raptorI like that program - I gave it a try with an SDL2 bug, it was very nice
06:14:10sam686its because of os_exit somewhere without letting main() function exit
06:18:31raptorshutdown_bitfighter is called in a lot of places...
06:19:27raptorshutdownBitfighter
06:22:23sam686how about a throw (i_want_to_exit) and a try/catch(i_want_to_exit) on main() will that then do local variables destructor that way?
06:23:04sam686another more simpler way is in main() while(!quit) {idle()} when quit changes to true, it quits
06:23:32raptoryeah, that might be good - let main() exit gracefully
06:26:56vs73nxok this is getting stupid nothing iis working if anyone can help my FindOpenGL.txt is at http://pastie.org/8536881 and errorr message is at http://pastebin.com/Ukbgz3kG
06:27:15vs73nxiis* its not working so if
06:27:32vs73nxshould review my posts before i type
06:28:19sam686missing some opengl functions, at least that what it looks like to me
06:28:20raptoryeah, error message means it didn't find *any* gl header
06:28:26raptorso cmake failed
06:28:42Nothing_Muchwhat's happening?
06:28:48vs73nxyes see anything in the FindOpenGL thats wrong?
06:29:08raptorlooks like you're trying to narrow the location
06:29:26raptorgo into /usr/include
06:29:33raptorand see if GLES/gl.h actually exists
06:29:53vs73nxi found the headers in /usr/include but it isnt linking them
06:30:12raptorok, that means the library is bad
06:30:18raptorahh
06:30:31raptoradd /usr/lib64 to the FIND_LIBRARY area, too
06:30:52vs73nxooh problems with 64bit
06:30:59raptorand see if there is some library in /usr/lib or /usr/lib64 that is named something with 'GLESv1_CM'
06:31:00vs73nxmakes sense
06:31:37raptori have this on my system: /usr/lib64/libGLESv1_CM.so.1.1.0
06:32:08vs73nxnup no lib64 on my system and in the standard /usr/lib no gles folder
06:32:18vs73nxdamm ubuntu
06:32:34raptorso you need to find the library with that name somewhere...
06:32:42raptoror something similar, then add that folder
06:32:58raptorthat's why I put so many paths in my FindModPlug module
06:33:05vs73nxoh ok
06:35:41fordcarsDoes my server appear as 9999 ping to you guys?
06:35:46Flynnn has joined
06:35:50fordcarsThousand Miles High Club
06:36:40sam686no ping time out in server list to me
06:37:20fordcarsThanks :)
06:42:02vs73nxtried with this FindGLES.cmake still with the same error, its driving me crazy! http://pastie.org/8536896
06:43:37vs73nxits finding the headers but not the library
06:43:47raptortry more NAMES
06:44:03vs73nxok
06:44:11raptorlike add all the ones you can find in other cmake modules
06:44:22Skybax has joined
06:44:59raptorI've seen 'libgles_cm' and 'GLESv1_CM' and 'libGLESv1_CM'
06:45:07SkybaxHerro peebles!
06:45:15vs73nxk then ill try
06:45:42raptoryou may need to discover exactly what .so library was installed on your system, then use that file basename
06:45:56raptorhi Skybax
06:46:04raptor... with a lower-case B
06:46:08vs73nxalthough i checked and the library doesn't seem to even be installed on my system even though i installed through my package manager
06:46:18vs73nxbetter google some explanations...
06:47:19raptorit could be that they are combining both GLES1 and GLES2 into the same .so... which seems weird
06:47:25raptorthat would give a completely different name
06:52:23raptorok time for bed for me... good night!
06:53:10raptor Quit ()
06:54:08Flynnn Quit (Quit: This computer has gone to sleep)
06:54:59Flynnn has joined
07:09:10vs73nxahhh found it its at usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv1_CM.so
07:11:39Flynnn Quit (Quit: This computer has gone to sleep)
07:12:02Flynnn has joined
07:14:17fordcarsVoice Chat in bitfighter sometimes gets "retarted" and can't keep up, so it's late compared to the mic input
08:03:23fordcarsMy server just crashed for no reason :/ There was a guy on it, maybe that is why
08:18:54vs73nxthat was me ;)
08:19:08fordcars:P
08:19:29vs73nxcmake is being a bitch...
08:19:36fordcarsHaha
08:19:39vs73nxit isnt working...
08:20:29sam686there have been some server crash loading some specific level due to a problem on bot zone generation
08:20:36sam686check if all maps loads in server
08:22:09fordcarsAhh ok
08:23:08fordcarsAnyway, night!
08:23:15fordcars Quit (Quit: Page closed)
08:25:21vs73nxcmake is finding the right libary but it isnt linking...
08:26:28vs73nxahhh it isnt
08:29:31Skybax Quit (Ping timeout: 252 seconds)
08:50:10Darrel[OFF] is now known as Darrel
08:57:49Darrel Quit (Read error: Connection reset by peer)
08:59:01Kiryx has joined
09:01:37vs73nxOK this is stupid... will submit patch bit it doesn't build on my system... needs tweaking by someone with a better build environment.
09:01:51vs73nxi hate cmake...
09:59:38vs73nxYAY cmake is finally finding my gles libs. :)
10:00:45vs73nxbugger its finding my library but it isnt linking
10:11:09vs73nxgoing to bed hope mentors can give an extension
10:11:13vs73nx Quit (Quit: Leaving)
10:26:48Watusimoto has joined
11:16:03Flynnn Quit (Quit: This computer has gone to sleep)
11:32:56myxabrik has joined
11:32:57BFLogBot Commit: 3eb147b7d48c | Author: watusimoto | Message: Make error message appear a little more friendly, add error code to console. This depends on nice, helpful messages from pleiades.
11:32:58BFLogBot Commit: e0e5ad76ceaa | Author: watusimoto | Message: Cleanup
11:33:00BFLogBot Commit: 88d98e85eb93 | Author: watusimoto | Message: Add assert, just to be sure, more for documentation purposes than anything
11:33:01BFLogBot Commit: 616cc229301e | Author: watusimoto | Message: Var name and simplify logic
11:33:03BFLogBot Commit: 8401b43edb8c | Author: watusimoto | Message: Formatting
11:33:04BFLogBot Commit: 045c12530f4a | Author: watusimoto | Message: Remove nonsensical comment
11:33:06BFLogBot Commit: 0677065268f1 | Author: watusimoto | Message: Fix assert that is triggered when moving mouse during level loading... the connection between ClientGame and ServerGame does not exist until after the level is being hosted. The solution is to store the hosting phase directly on the ClientGame so it can get it without access to the ServerGame object. Also clean up some confusing code in main.cpp
11:33:09BFLogBot Commit: efaa1d1a1111 | Author: watusimoto | Message: Merge
11:33:11BFLogBot Commit: 0ff8afe921d2 | Author: watusimoto | Message: Formatting
11:38:32Platskies has joined
12:33:13koda has joined
13:09:30Kiryx Quit (Ping timeout: 246 seconds)
13:14:03myxabrikHello, I'm Alexander (https://www.google-melange.com/gci/task/view/google/gci2013/4918714122108928)
13:14:56myxabrikCan I get a bit more time for this task?
13:36:38Darrel has joined
13:50:00kumul has joined
13:55:30Kiryx has joined
14:03:50Platskies Quit (Quit: Gotta go)
14:15:57Watusimotohi myxabrik
14:16:02Watusimotoyes, I'll give you more time
14:16:17Watusimotobut for some reason the interface isn't giving me that option
14:16:36koda Quit (Quit: koda)
14:17:20Watusimotohow is it going?
14:22:57Darrel Quit (Read error: Connection reset by peer)
14:48:02myxabrikI'm having troubles with parsing level code in paste function. Function processLevelLoadLine looks quite monstrous and I'm trying to make it working with copy-paste.
14:59:24Watusimotoso you have the levelcode and you want to create some objects from it, right?
15:01:01WatusimotoI'd start with
15:01:02WatusimotoGame::parseLevelLine(const char *line, GridDatabase *database, const string &levelFileName)
15:01:57Watusimotoyou might need to refactor it a bit, but the function takes a line of levelcode, creates an object from it, and inserts it into the passed database
15:02:28WatusimotoI don't know if that is exactly what you want (it might be), or if you need to do something with the objects before inserting them
15:04:08Watusimotofilename looks like it might be completely unused, in which case we may be able to ignore/remove that parameter
15:10:38myxabrikAs far as I know, filename is used only in logging. Current processLevelLoadLine won't work: we need to get objects to modify their position after pasting.
15:11:43WatusimotoI see two possible solutions:
15:12:07Watusimoto1) Alter processLevelLoadLine to return the objects instead of adding them to the database
15:12:46Watusimoto2) Marking added items as being selected, so they can be identified after the processLevelLoadLine
15:12:49Darrel has joined
15:12:59WatusimotoI'm thinking 1) is probably better
15:15:16Watusimotoyou could add the item to the database inside of Game::parseLevelLine(), and alter all the inner functions to return the object instead of adding it to the database
15:15:31Watusimotothat wouldn't be too hard, and might be a nice solution
15:15:43Watusimotothen you could use that function to do your parsing for you
15:26:10myxabrikI've already moved object parsing into separate function, but string should be parsed in parseLevelLine before, which calls adds parsed object to game/applies rule.
15:26:59myxabrikIt seems to me, the best way is to refactor it, so it'll return parsed line, maybe in structure?
15:28:44myxabrikAlso, converting from c++ string to char array is pretty strange for me.
15:29:56Watusimotothat code you are looking at is ancient code, written without string()
15:30:30WatusimotoI wouldn't write it that way now, but that is the structure that came with the starting base of the game
15:31:51WatusimotoI'm not sure I understand the first line you wrote -- are you planning on having levelLines parsed in one place, then objects created in another?
15:34:15myxabrikBy parsing level lines I mean the part where Id is counted (BTW, I didn't understand the process) and parseString's output (Vector<string>) is converted to char array.
15:36:01myxabrikShould I refactor it to use strings?
15:38:35Watusimotoyou mean this line?
15:38:36Watusimotovoid Game::parseLevelLine(const char *line, GridDatabase *database, const string &levelFileName)
15:38:36Watusimoto{
15:38:36WatusimotoVector<string> args = parseString(string(line));
15:38:39Watusimoto^^^
15:41:03myxabrikNope, the whole Game::parseLevelLine.
15:42:19myxabrikI can't call this function because I won't get the object, but I need to convert Vector to argc & argv.
15:42:27Watusimotook, I'm totally confused :-)
15:42:44WatusimotoparseLevelLine takes a string and a database (ignornig filename for the moment)
15:43:02Watusimotofirst it breaks up string into a series of "words"
15:43:35Watusimotothen it passes those words to processLevelLoadLine(), which attempts to make sense of them
15:44:12Watusimotoso what are you refactoring?
15:46:03myxabrikprocessLevelLoadLine operates not only with objects, but with some level metadata too, so I moved object creation to separate function, which takes args and argv.
15:46:20Watusimotoah yes, ok, that makes sense
15:46:35Watusimotobecause half of what that function does is useless to you
15:47:01myxabrikNow I need to get them from parseString's result without runing processLevelLoadLine.
15:47:59myxabrikI can modify parseLevelLine to return them instead of calling processLevelLoadLine or
15:48:01Watusimotoyou only want the stuff that parses objects, not params like Team and Specials and all that
15:49:13myxabrikmodify my object creation function to take Vector of strings instead of argc and argv, but then I have either to convert them back or make all functions use Vector.
15:49:31WatusimotoI think you should take void Game::processLevelLoadLine() and have an outer function that does what it does today (more or less), and an inner function that deals only with objects
15:49:57Watusimotoand the clipboard code can call the inner function directly bypassing the outer function
15:50:09Watusimotoif that makes sense
15:50:17Watusimotoit sounds like that is what you are saying
15:50:41Watusimotonow I see why you want to use strings
15:51:35Watusimotoyou could convert everything to work with a Vector<string>; we already have parsing functions that will take a string and generate the vector
15:51:47Watusimotoso yes, that would be fine
15:54:17myxabrikThere is another point: I can't understand part of parseLevelLine where id is generated. Is it an object type or something like this?
15:56:18Watusimotono
15:56:27Watusimotoeach object can have a unique numerical id
15:56:39Watusimotothis id can be used by scripts to find a particluar object
15:57:01Watusimotoif the level does not specify an id, the game will generate one for the object
15:58:57myxabrikSo the code where ID is generated should be moved to processLevelLoadLine?
15:59:49myxabrikOr to the function, where only objects are parsed?
16:01:19myxabrikI looked through the code and now I understand it should be
16:01:55myxabrik... moved to getObjectFromLevelCode function.
16:04:03Watusimotogood question
16:04:25Watusimotowhen we import a list of objects from the clipboard, do we want to capture their ids?
16:04:34Watusimotothey could conflict with existing ids
16:04:39WatusimotoI'd say... no
16:04:45Watusimotowe don't care about the ids
16:04:58Watusimoto(though I may come to regret that decision!)
16:20:36BFLogBot Commit: 46573d7bd28f | Author: watusimoto | Message: Cleanup
16:20:37BFLogBot Commit: abccb9f31ec6 | Author: watusimoto | Message: Remove assertion
16:20:39BFLogBot Commit: 03f6f18b2471 | Author: watusimoto | Message: Trivial
16:20:40BFLogBot Commit: 29835d3e9bf3 | Author: watusimoto | Message: Move gServerGame into a new class, GameManager
16:20:42BFLogBot Commit: a7c470bf24b9 | Author: watusimoto | Message: Move gClientGame into GameManager
16:20:43BFLogBot Commit: 7955b8c40e2a | Author: watusimoto | Message: Formatting
16:20:46BFLogBot Commit: 3590b35d5b1a | Author: watusimoto | Message: Only show robot file when there is a file to show
16:20:47BFLogBot Commit: 4db1200f623f | Author: watusimoto | Message: Formatting
16:20:49BFLogBot Commit: f55b65fc6fa8 | Author: watusimoto | Message: Kind of kludgy fix to GamePair... will fix more later. Basically, the concept is now outdated with the dawn of GameManager. All tests passing.
16:23:26WatusimotoI'm stepping away for a while...
17:22:14kumul Quit (Ping timeout: 240 seconds)
18:30:06Watusimoto Quit (Ping timeout: 246 seconds)
18:59:09kumul has joined
19:01:43vs73nx has joined
19:02:21kumool has joined
19:04:34kumul Quit (Ping timeout: 246 seconds)
19:14:01Watusimoto has joined
19:18:59Nothing_MuchHi everyone
19:20:00kodapad has joined
19:21:16vs73nxhi
19:21:54vs73nxcmake sucks.. its finding the correct library and headers but it isnt linking
19:30:43Watusimotohi
19:31:01Watusimotoit's probably not a cmake problem
19:31:24Watusimotopaste your link errors on pastie or something and let me take a look
19:31:35kodapad Quit (Quit: K Thx Bai)
19:33:55vs73nxits so big it needs pastebin :)
19:33:57vs73nxhttp://pastebin.com/MtgJbFHn
19:35:01vs73nxi checked the OpenGLES library path and it is /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so and theOpenGLES headers location is correct as well
19:37:13Watusimotowhat platform are you using?
19:37:48Watusimotoand when did it last work?
19:38:43vs73nxubuntu 13:10. and it only works without gles compilation
19:39:41Watusimotowhen did you get the source?
19:40:06Watusimotowe had another student working on OpenGLES integration, and I wonder if he added a dependency that you might need
19:41:23Watusimotobut it looks like none of that made it into the main repo yet
19:41:27vs73nxdont hnow;. i downloaded all the development headers for OpenGLES 1 and it is linking those iibraries
19:41:45vs73nxhmmm yes better find another distro
19:42:03Watusimotobut you have built the game before, right?
19:42:17koda has joined
19:42:19Watusimotoit should work on ubuntu
19:42:44vs73nxyes i built it without OpenGLES
19:43:10vs73nxid deleted all my old build files and im hoping that it would work again
19:45:29Watusimotocan you build now without OpenGLES?
19:45:59WatusimotoI work on bitfighter on a windows system, so I am not totally familliar with building on Linux
19:46:21Watusimotoraptor or kaen are the experts, but I will try to hel[
19:46:23Watusimotohelp
19:46:52vs73nxit isnt linking the libraries with libGLESv1_CM.so.. its cmake not doing what i say...
19:49:10Watusimotoplease tell me if I'm wrong, but I think you can build bf with opengl or opengles
19:49:19Watusimotoit may be that opengles does not work yet
19:49:29Watusimoto(which is why we have a student working on it)
19:51:20vs73nxahh found it
19:51:39vs73nxit isnt linking it in cmakelists.txt in /zap
19:51:55vs73nxas a said before i hate cmake
19:52:35kaenhi vs73nx
19:52:39vs73nxhi
19:52:48kaenping me with any other cmake questions you have :)
19:54:08vs73nxok
19:55:35Watusimotovs73nx: kaen implemented our cmake build system, over my objections. But... I am now fully converted, and think it is a HUGE improvement over what we had previously
19:56:17Watusimotobut I also understand hatred when you are frustrated!
19:56:42vs73nxi agree it as a great tool that saves lots of time when it is working, but for a relative beginner at cmake, it can be hell on earth.
19:57:46vs73nxgot it to work ;)
19:57:50vs73nxyay
19:58:34vs73nxdoesnt run on my machine though
20:03:04Watusimotooh man
20:03:07Watusimotowhat happens?
20:03:23Watusimoto(compare cmake to make!)
20:03:35Watusimoto(ane then we can discuss hell on earth)
20:05:28vs73nxdoesnt run. it didnt because it linked to standard gl headers so i made a variables called ${GL_INCLUDE_DIR} and ${GL_LIBRARY} to used in the link process...
20:05:56vs73nxrerunning the build so im pretty sure that it would work...
20:07:42vs73nxgles works but without graphics...
20:14:46vs73nxWatusimoto: it compiled sucessfully and the executable works but the screen has no graphics but it has music... is this enough?
20:15:14Watusimotono
20:15:24Watusimotoit will be very hard to test without being able to see what is going on
20:15:33Watusimotounless you like writing tests :-)
20:16:04vs73nxso got any idea how i can tackle this?
20:16:08Watusimotowhat do you mean gles works without graphics? gles _is_ graphics!
20:16:21Watusimotokaen: do you have any ideas what the problem might be?
20:16:37vs73nxno picture only a bland black window
20:16:45vs73nx*blank
20:16:53Watusimoto(both!)
20:16:58Watusimoto(black and blank!)
20:17:17Watusimotowhy not link to the standard gl headers?
20:17:22WatusimotoI think that is what you should be using
20:17:27vs73nxwell just black
20:17:33WatusimotoI am really not sure that gles is supported at this time
20:18:03vs73nxok ill give it a try, might try to get gles fully working in my spare time :)
20:18:26WatusimotoI think gles will work in the future -- someone is working on it
20:18:44vs73nxok then
20:19:30vs73nxlinked to standard headers gives same error
20:20:24Watusimotobuilds, but screen is blank?
20:20:51Watusimotodid you modify the cmake stuff trying to build with gles?
20:20:58vs73nxyes i did
20:21:10Watusimototry unmodifying it
20:21:15vs73nxit links to gles libs and to gles headers as well
20:21:23vs73nxdid that and it worked
20:22:19Watusimotoso it is working now?
20:27:01vs73nxyes it works without gles
20:27:52Watusimotook, great!
20:28:07vs73nxbut when i force gles it doesnt
20:28:11BFLogBot Commit: 3064a79c8b96 | Author: watusimoto | Message: Make tests more flexible -- GamePair can now create and connect any number of ClientGames to the ServerGame it creates. Modified several tests to use multiple ClientGames to test multi-client functionality. Still some weirdness, but its definitely usable.
20:30:44Watusimotowell, don;t force gles
20:30:48Watusimoto:-)
20:31:24vs73nxi need to do -DFORCE_GLES for it to build on my system because my system has standard gles headers
20:31:38vs73nx*-DUSE_GLES=false
20:31:47vs73nx*-DUSE_GLES=true
20:31:50vs73nxdoh
20:34:41vs73nxneed to leave, will upload changes to repo...
20:36:01vs73nxWatusimoto: when reviewing my gci task please check ALL changes to the repo that i did i did them over many commits.
20:36:10vs73nxand with that bai
20:36:12vs73nx Quit (Quit: Leaving)
20:38:27vs73nx has joined
20:38:36vs73nx Quit (Read error: Connection reset by peer)
21:17:24fordcars has joined
21:20:19myxabrik Quit (Ping timeout: 250 seconds)
21:27:00Little_Apple has joined
21:35:15BFLogBot Commit: 68cc56306967 | Author: watusimoto | Message: Whitespace
21:35:16BFLogBot Commit: dfc88590a79a | Author: watusimoto | Message: Move hostingPhase over to GameManager, which makes more sense
21:42:17Flynnn has joined
21:52:32raptor has joined
21:52:33ChanServ sets mode +o
21:52:39raptor enters the room
21:53:00Little_Appleraptor: idea!
21:53:05raptorwhoa!
21:53:09raptorI was clobbered!
21:53:13raptorhello!
21:53:25Little_Applepleiades level server!
21:54:13raptorhmmm... interesting
21:54:24Little_Applebasically like sam test but with good maps!
21:54:32raptorhahaha
21:54:46Little_Appleand you'll be able to rate maps all in one spot without having to hunt them down in other servers!
21:55:18raptorhmmm....
21:55:38raptormaybe it could auto-update all the levels each day..
21:55:41Little_Appleyes!
21:55:58Little_Applewhat do you think?
21:56:13raptorhmmm...
21:56:29raptorI think it's a good idea
21:56:39Little_Appleyey!
21:57:02raptorlet me start writing some magic to build it - I'd have to figure out how to force the server to reboot on a daily basis..
21:57:20Little_Applealrighty
21:59:10raptorhi Watusimoto, did vs73nx get things sorted?
21:59:16Watusimotoidea!
21:59:25Watusimotoremove "!" key from LittleApple's keyboard!
21:59:48Watusimotoraptor: hi, yes, I think so
21:59:50Little_Apple!!!!!
22:04:18Watusimotoactually, I like the idea of the top pleiades levels on a server
22:05:57raptorwhat the heck is gagalagaflagadoo
22:06:45Little_Applea great name thats what it is
22:08:22raptorI was hoping even a semi-playable map would win this contest... but it's looking like no
22:09:13raptorargh php and semicolons
22:09:28Little_Applei just hope olive oil loses.
22:09:39Little_Applei dont see how in the world it got 4 votes last round.
22:09:49raptorI hope it wins! (when compared to joe's hair day)
22:10:23Little_Applei think people took it as a "bad map contest"
22:16:18Little_Appleoh, something else regarding pleiades
22:16:35raptorso i'm writing the pleiades scrape-script...
22:16:36fordcarsHowdy!
22:16:40raptorwhoudl I get all maps?
22:16:43raptor*should
22:16:56Little_Appleis the map gallery forum still worth keeping up?
22:17:17fordcarsLittla_Apple, what's your idea??
22:17:22fordcarsLittle_Apple:
22:17:32Little_Applepleiades server!
22:17:39fordcarson Bitfighter?
22:17:43Little_Appleyes!
22:17:46fordcarsAhhh sweet
22:18:36fordcarsraptor, do you have the restart the bitfighter server when a level gets added? I don't think so?
22:19:02raptori don't think so, either, but it needs to rescan the leveldir
22:19:30fordcarsOkokok
22:19:41raptorso i'm not sure how to do that automatically
22:19:41fordcarsMaybe /leveldir
22:19:47fordcarsor something uhg
22:19:52raptor*automatically is the key
22:20:24fordcarsMaybe /leveldir each bla bla bla or between rounds
22:23:14fordcarsWe need to find a way to make commands from command lines
22:28:56Watusimotomaybe we need a way to send an external signal to the server to tell it to rescan
22:29:13raptori don't remember - did we allow levelgen to send commands?
22:29:16raptorfor 019?
22:32:34Watusimotosend commands?
22:32:43Watusimotoyou mean like /commands?
22:32:46raptoryes
22:32:55raptori think it was asked for, but i don't remember doing it..
22:33:16Watusimotowouldn't we just provide an api to do whatever the /command would do?
22:33:21raptoryes
22:33:25raptormaybe that was the reason
22:33:26Watusimotoit seems a bit like interpreting levelcode
22:33:50raptori'm just brainstorming of ways to auto-update the level list on the pleiades server
22:33:56Watusimotoso I found an interesting situation that kaen needs to provide an error message for:
22:34:01WatusimotoI have a level that I added to the database
22:34:16Watusimotosomewhere along the line, it was deleted (I think -- it's not in the db now)
22:34:23Watusimotobut the level itself still thinks its in the database
22:34:30Watusimotoso you can rate it
22:34:32raptorremove the database id line
22:34:34raptorah
22:34:53Watusimotoand you get a non-useful message back from pleiades
22:35:03Watusimotobut trying to figure what to do in this case
22:35:15Watusimotoprobably at the beginning we can determine it is not in the database
22:35:51Watusimotobut we don;t want to alter the file itself
22:36:00Watusimotoso this seems to possibly get messy
22:37:08WatusimotoI'll need to figure out what do to in this case
22:37:27Watusimotoat least I fixed it so it no longer crashes
22:37:57raptorif the file has a database id, but it is not found in the database (guaranteed to not be found), I think the ID should be removed - but I don't know how/when
22:38:19raptorbecause we can delete levels from the online interface
22:40:34WatusimotoI think the only time levels should be altered is in the editor
22:41:19raptorwell then we have race conditions as part of our system
22:41:59raptormaybe when a level loads in the editor, with an ID, it goes and checks to make sure it is found
22:42:45fordcarsraptor, hire a guy to do /leveldir each 10 minutes ;)
22:43:50fordcarsAhhh I keep getting a levelgen error since 018a and I have no idea what to do
22:43:59fordcarsCompairing a number with nil
22:44:53fordcarshttp://pastie.org/8538352 If anybody is interested
22:48:19raptorgetting mad at semicolons
22:48:29raptorwhy does a scripting language require semicolons??
22:49:22fordcarsraptor, I love them!
22:49:29fordcarsI absolutely love them!
22:49:53Nothing_Muchwhoa, just got a new microphone
22:54:40Nothing_Muchthe quality using the echo is pretty bad
23:03:27fordcarsThe Turbo and Shield sound sometimes plays double, not a big problem though
23:03:53Little_Appleare you kidding me? THATS A HUGE PROBLEM
23:03:58Little_AppleTHAT NEEDS A PATCH ASAP
23:05:01raptorwrite a bug please!
23:05:40fordcarsbrb
23:05:47fordcarsTime to eat yo!
23:07:51Little_Appledont eat me!
23:08:43Nothing_Muchyikes
23:08:51Nothing_Muchmicrophone is like
23:09:01Little_Appleim off
23:09:03Little_Apple Quit (Quit: Page closed)
23:09:11Nothing_Much2004 quality maybe lol
23:10:23fordcars Quit (Ping timeout: 250 seconds)
23:15:26raptorkaen: are pleiades dates in UTC?
23:28:55Skybax has joined
23:29:24raptorwhy is ZOMG BROWNIEZ!!!1!!!1! on pleiades?
23:29:32raptorand downloaded 31 times??
23:30:04raptormust be a test level... can I delete?
23:36:34Watusimotodelete away!
23:36:43raptorexport script working!
23:36:49raptorshould I constrain the levels?
23:36:55Watusimotobut remember, these sorts of cleanups are what is causing the grief I am experiencing!!
23:36:59Watusimotowhat do you mean constrain?
23:37:04raptor'highest rated levels'
23:37:07Watusimotoyes
23:37:13raptorbecasue that matches 5
23:37:19Watusimototop 10 or 20, I'd say
23:37:23raptorand... 1 is the brownies...
23:37:26Watusimotoha
23:37:32Watusimotothe masses have spoken
23:37:42SkybaxNO
23:37:55Skybaxraptor don't delete my level! lol
23:38:28Watusimotook, so if a level gets a really crap rating, you can get back to 0 by reuploading it
23:38:37Watusimotowell, I guess there is no getting around that...
23:38:54raptoropen a bug - kaen has a tracker on github somewhere
23:39:09Watusimotowe need some alien level fingerprinting tech
23:39:26fordcars has joined
23:39:51SkybaxHi fordcars!
23:40:57SkybaxZOMG BROWNIES is a beautiful thing!
23:41:02Nothing_Much Quit (Remote host closed the connection)
23:41:14raptoryeah, if you're a bat!
23:41:29SkybaxDo you have something against bats?
23:41:46raptorno, i even made a level called 'Bats' once...
23:42:00SkybaxWe have two bat houses lol
23:42:06fordcarsHi!
23:43:34Nothing_Much has joined
23:44:29SkybaxFord, I want "ZOMG BROWNIES is a beautiful thing!" to be added to the random every 60 seconds list lol
23:45:12Nothing_Muchwut
23:45:16Nothing_MuchWhat'd I miss?
23:45:30SkybaxGuano
23:46:04Watusimotonothing much!
23:46:11Watusimotoha ha! I love that joke!!!!!!!
23:46:19SkybaxHahaha xD
23:46:33Watusimotoit never gets old!
23:47:28Nothing_Muchhahaha
23:47:33BFLogBot Commit: 7d304cabf1ad | Author: watusimoto | Message: Fix level rating-related crash
23:47:34BFLogBot Commit: 0ee200bcd9af | Author: watusimoto | Message: (Possible) fix for levels that have been deleted from Pleiades but still have the LevelDatabaseId line in them
23:47:35Watusimotowarning... am going to try to update the master server...
23:47:36BFLogBot Commit: f1f69ddb4cc1 | Author: watusimoto | Message: Remove duplicate success message
23:47:43Nothing_Muchyou can press tab to highlight or ping me :)
23:47:45raptorwaiT
23:47:47raptorWAIT
23:47:52raptori'm tinkering in there...
23:47:56raptorwhat did you do Watusimoto?
23:48:06Watusimotowhat did I do?
23:48:12Watusimotoon the server, you mean?
23:48:15raptoryou want to update master?
23:48:16raptoryes
23:48:24WatusimotoI did nothing -- I'm not even logged in
23:48:39Watusimotoyes, i want to update the master
23:48:47raptorok, give me 1 min please
23:48:50Watusimotono worries
23:48:57Nothing_MuchSkybax: do you happen to have a microphone?
23:49:02SkybaxI do
23:49:21SkybaxWhy?
23:49:57Nothing_MuchYou can like, talk to people through bitfighter :O
23:50:00raptorladies and gentlemen Pleiades is ONLINE!
23:50:02SkybaxI know lol
23:50:13SkybaxI talked to Fordcars yesterday
23:50:16raptorok Watusimoto, you may now do your master stuff
23:50:22Nothing_Muchnice
23:50:24Watusimotook
23:50:28Nothing_MuchWhat's pleiades?
23:50:41SkybaxThe level database
23:50:57Skybaxbitfighter.org/pleiades
23:51:31SkybaxThree of my levels are in the top rated :3 lol
23:51:41raptorI put all levels on it for now
23:52:02Nothing_MuchAh cool
23:52:20raptordoing some sanity tests..
23:52:34SkybaxI don't think many people use it... hardly any levels have ratings
23:52:46Watusimotogive it time
23:53:05Watusimotoupdate underway!
23:53:20SkybaxKk I g2g to work.. seeya guize
23:54:10Watusimotoraptor: what do you make of this?
23:54:13Watusimotoadded 80 changesets with 235 changes to 95 files
23:54:14Watusimoto95 files updated, 0 files merged, 0 files removed, 0 files unresolved
23:54:14Watusimoto==> Running CMake
23:54:14Watusimoto./update_recompile_restart_master.sh: line 20: cmake: command not found
23:54:14Watusimoto==> Recompiling master
23:54:14Watusimotomake: /usr/bin/cmake: Command not found
23:54:16Watusimotomake: *** [cmake_check_build_system] Error 127
23:54:18Watusimoto==> Compile error. FIX YOUR CODE.
23:54:20WatusimotoOld master binary is still in place and running,
23:54:22Watusimotothere is no need to restart at this time.
23:54:22raptoroh haha
23:54:28raptoruse cmake28
23:54:38Watusimotoshould I update the sh file?
23:54:40raptorcentos shipped with an old version
23:54:43raptorsure
23:54:51Watusimotoor can we upgrade cmake?
23:54:58raptorit is upgraded
23:55:07Watusimotoso... cmake28, eh?
23:55:13raptorit's just that the normal 'cmake' command on the system goes to cmake 2.6
23:55:29Watusimotowe probably need to add that to the building bf on centos instructions
23:55:35raptorwell...
23:55:38raptoractually
23:55:43raptorwe require 2.8 or greater
23:55:54raptorand centos doesn't ship with that so... instructions are probably broke
23:57:28Watusimotohow do you install cmake28? yum install cmake28?
23:58:09raptorits already installed
23:58:23WatusimotoI know, but if I want to tell someone else how to do it... http://linuxtoolkit.blogspot.com/2013/07/july-22-2013-installing-cmake-28-on.html
23:58:26raptorlet me just soft-link cmake28 for you so you don't have to do anything
23:58:33Skybax Quit (Ping timeout: 252 seconds)
23:58:49raptorok soft-link created
23:59:52raptoryou don't need to adjust a script Watusimoto
23:59:56Darrel Quit (Quit: IRC client killed.)

Index Search ←Prev date Next date→

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