Timestamps are in GMT/BST.
| 00:00:22 | kaen | Quartz, yeah that's right |
| 00:00:26 | kaen | just tested it |
| 00:00:28 | martin_bede | it took a while to compile it |
| 00:00:30 | Quartz | But where in the level line? |
| 00:00:35 | kaen | at the end |
| 00:00:45 | kaen | Turret 1 -0.2 -2 0 W=Seeker |
| 00:00:54 | Quartz | Why is that not working for me. Gahhh |
| 00:00:58 | Quartz | Alright I'll give it another shot anyway |
| 00:01:07 | kaen | Quartz probably not in the 018 release |
| 00:01:18 | kaen | I think it has to be on a patched server like the contest server |
| 00:01:19 | Quartz | Just checked I am |
| 00:01:24 | sam686 | "W=Heat Seeker" ? (with quotes) |
| 00:01:26 | Watusimoto | so this line crashes, right? ::: mOwner->setVert(dest, 1) |
| 00:01:32 | martin_bede | yes |
| 00:01:33 | Watusimoto | and mOwner is not NULL |
| 00:01:38 | martin_bede | yes |
| 00:01:40 | Watusimoto | dest can;t be null |
| 00:01:43 | kaen | sam686, no it's just seeker. and no quotes. |
| 00:01:45 | Watusimoto | 1 isn;t null |
| 00:01:46 | Quartz | ..okay randomly it just worked |
| 00:01:52 | kaen | oh good :) |
| 00:01:56 | Watusimoto | so what's left to crash? |
| 00:02:08 | Quartz | Is it Burst or Burster, I forget |
| 00:02:13 | kaen | Burst |
| 00:02:16 | Quartz | Cool |
| 00:02:35 | kaen | Quartz, http://bitfighter.org/luadocs/group___weapon_enum.html |
| 00:02:38 | martin_bede | i don't know. this bug is like a curse. i don't even know how it was introduced |
| 00:02:38 | Watusimoto | ok, try this |
| 00:02:43 | kaen | there's the list |
| 00:02:59 | Watusimoto | well, it is odd that it affects only you |
| 00:03:07 | Watusimoto | I don;t get it, raptor doesn;t get it |
| 00:03:17 | | bobdaduck has joined |
| 00:03:20 | Watusimoto | and none of the relevant code has been touched for a while |
| 00:03:30 | Watusimoto | so I would suggest testing the following: |
| 00:03:35 | Watusimoto | 1) do a clean rebuild |
| 00:03:43 | martin_bede | already done |
| 00:03:53 | Watusimoto | 2) checkout a fresh copy of the code in the repo, and try that |
| 00:04:02 | Watusimoto | in a idfferent folder |
| 00:04:36 | martin_bede | i'm sure that would work, but all of our work would be lost then |
| 00:04:47 | Watusimoto | not at all |
| 00:04:48 | | bobdaduck Quit (Client Quit) |
| 00:04:57 | Watusimoto | if you do it in a different folder, nothing is lost |
| 00:05:03 | Watusimoto | then you can compare the two code bases |
| 00:06:05 | Watusimoto | and, if it comes to that, you can use diff to move your changes from the broken code base to the working one |
| 00:06:29 | Watusimoto | or if the fresh checkout is broken, we can try something different |
| 00:07:02 | martin_bede | i had to manually merge once, probably i did something wrong and it showed now |
| 00:07:04 | | qwebirc373743 has joined |
| 00:07:08 | qwebirc373743 | sorry i crashed |
| 00:07:15 | | qwebirc373743 has left |
| 00:08:12 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 00:08:37 | | Quartz Quit (Ping timeout: 245 seconds) |
| 00:10:35 | | Watusimoto Quit (Read error: Connection reset by peer) |
| 00:11:56 | | Watusimoto has joined |
| 00:13:50 | martin_bede | Watusimoto: fixed it :D |
| 00:14:01 | Watusimoto | hoe |
| 00:14:04 | Watusimoto | how |
| 00:14:35 | martin_bede | i put back the init in the teleporter's constructor |
| 00:14:51 | martin_bede | somehow i got lost when i tried adding the destinaton paramter |
| 00:14:59 | martin_bede | it* |
| 00:15:02 | Watusimoto | ha! |
| 00:15:31 | Watusimoto | I figured something like that had happened, but of course I had no idea where to look |
| 00:15:37 | Watusimoto | hence the clean codebase |
| 00:15:53 | Watusimoto | but I alwo was beginning to think your cpu was broken :-) |
| 00:16:53 | martin_bede | :) |
| 00:17:56 | martin_bede | so what should i pass to a wallitem in lua? |
| 00:18:21 | martin_bede | i get a couldn't validate params currently |
| 00:18:37 | martin_bede | using the following |
| 00:18:37 | martin_bede | local j = WallItem.new(100,100, 111,111); |
| 00:19:17 | Watusimoto | let me see... I would think that would work |
| 00:19:38 | martin_bede | but it wants a geom and an int |
| 00:22:15 | martin_bede | if i add another number i get a segfault |
| 00:22:18 | martin_bede | is that progress? |
| 00:22:49 | martin_bede | probably there is something wrong with the constructor |
| 00:23:57 | Watusimoto | oh right, it needs a width |
| 00:24:05 | Watusimoto | so yes, that's progress |
| 00:25:06 | Watusimoto | martin_bede: I am falling asleep... so I'm going to go in about 3 mins... if you need anything else tonight, speak now |
| 00:25:34 | martin_bede | okay, i would like some suggestions for fixing that then |
| 00:25:38 | martin_bede | WallItem |
| 00:25:47 | Watusimoto | let me see your constructor |
| 00:26:13 | martin_bede | http://pastebin.com/HBaxvKYJ |
| 00:27:27 | martin_bede | i think setPos(getPointOrXY(L, 1)); should be replaced with something like setNewGeometry(geomPolyLine); |
| 00:27:33 | martin_bede | but i dopn't know waht exactly |
| 00:27:46 | | YoshiSmb has joined |
| 00:27:50 | martin_bede | don't; what* |
| 00:27:58 | Watusimoto | my guess is the setPos is the problem |
| 00:29:12 | Watusimoto | geomPolyLine is just an enum; that method won't help |
| 00:29:18 | | YoshiSmb Quit (Client Quit) |
| 00:29:35 | Watusimoto | so when I get stuck, I look at processArguments |
| 00:29:47 | Watusimoto | because that is doing something simlar, with args from a level file |
| 00:30:10 | Watusimoto | that calls readGeom() |
| 00:30:57 | Watusimoto | which calls PolylineGeometry::readGeom |
| 00:31:11 | Watusimoto | which calls static void readPolyBounds |
| 00:31:22 | Watusimoto | (does anything do any work around here, or just call something else?!?) |
| 00:31:42 | Watusimoto | so I think you need this: |
| 00:31:44 | Watusimoto | void PolylineGeometry::setGeom(const Vector<Point> &points) |
| 00:32:10 | Watusimoto | I think you need to get the points from Lua into a vector |
| 00:32:15 | Watusimoto | then pass them to this method somehow |
| 00:32:27 | martin_bede | thanks |
| 00:32:54 | Watusimoto | then call onPointsChanged(); |
| 00:33:17 | Watusimoto | oh look |
| 00:33:18 | Watusimoto | S32 WallItem::setGeom(lua_State *L) |
| 00:33:55 | martin_bede | it does this? |
| 00:34:14 | Watusimoto | somehting similar |
| 00:34:24 | Watusimoto | tracing that through to where work is done, I find this: |
| 00:34:26 | Watusimoto | Vector<Point> points = getPointsOrXYs(L, stackIndex); |
| 00:34:26 | Watusimoto | GeomObject::setGeom(points); |
| 00:34:26 | Watusimoto | onPointsChanged(); |
| 00:34:38 | Watusimoto | which looks like exactly what you need |
| 00:35:03 | Watusimoto | so I think you should monkey with that a bit |
| 00:35:10 | martin_bede | but first i have to remove the width from L |
| 00:35:31 | Watusimoto | yes, you probably do |
| 00:35:51 | Watusimoto | it will be the last(?) item on the stack |
| 00:36:08 | martin_bede | it is |
| 00:36:10 | Watusimoto | which has an index of -1 |
| 00:36:30 | Watusimoto | so you;ll do lua_getInt(L,-1) or something |
| 00:37:00 | Watusimoto | then you'll need to remove it from the stack using (maybe) lua_pop |
| 00:37:15 | Watusimoto | not sure if that's the right method, but something similar; easy to google |
| 00:37:27 | Watusimoto | then you should be set |
| 00:45:02 | | raptor checks the logs |
| 00:45:08 | | raptor runs away screaming |
| 00:45:17 | raptor | ok, i do not want to read... anything i miss? |
| 00:51:55 | martin_bede | i didn't notice anything very important |
| 00:58:58 | martin_bede | raptor: Watusimoto told me to look at processArguments when I'm stuck, but it's not implemented yet even there, what am i supposed to do? |
| 00:59:42 | martin_bede | i'm talking about the Zone class |
| 01:00:00 | raptor | processArguments might be part of the parent class |
| 01:00:27 | raptor | follow the parents up until you find a class that has it |
| 01:00:43 | martin_bede | there is a processArguments there, but it leads to unimplemented methods |
| 01:00:48 | martin_bede | that's what i meant |
| 01:00:54 | martin_bede | so it uses unimplemented stuff |
| 01:01:33 | martin_bede | readGeom() just throws an error |
| 01:02:36 | martin_bede | TNLAssert(false, "Not implemented"); |
| 01:04:58 | raptor | ok, let me look... |
| 01:06:27 | raptor | Zone.cpp:85 |
| 01:06:30 | raptor | i see Zone::processArguments(S32 argc2, const char **argv2, Game *game) |
| 01:07:52 | martin_bede | i noticed it too, but it calls readGeom |
| 01:09:55 | martin_bede | nevermind, it's implemented for poligons |
| 01:11:18 | raptor | basic geometry is determined by what type of geom object it is |
| 01:11:24 | raptor | like point or line or polygon |
| 01:11:43 | raptor | Watusimoto: you are asleep now, yes? |
| 01:13:34 | | YoshiSmb has joined |
| 01:13:46 | martin_bede | he went to sleep a few minutes ago |
| 01:15:15 | | YoshiSmb Quit (Client Quit) |
| 01:27:36 | Watusimoto | yes |
| 01:27:39 | Watusimoto | I mean no |
| 01:27:43 | Watusimoto | or rather yes |
| 01:27:59 | Watusimoto | so... |
| 01:28:03 | Watusimoto | goodnight! |
| 01:28:13 | martin_bede | just a sec |
| 01:28:13 | | Fordcars has joined |
| 01:28:21 | Watusimoto | yes? |
| 01:29:00 | martin_bede | this zone thing, any easy way? |
| 01:29:36 | Watusimoto | yes |
| 01:29:41 | Watusimoto | just like loadoutZone |
| 01:29:48 | Watusimoto | zone is the parent of loadoutZone |
| 01:30:00 | martin_bede | ok thanks, bye |
| 01:30:15 | Watusimoto | night |
| 01:34:08 | raptor | night |
| 01:35:00 | | Watusimoto Quit (Ping timeout: 255 seconds) |
| 01:40:00 | | -moorcock.freenode.net- *** Looking up your hostname... |
| 01:40:00 | | -moorcock.freenode.net- *** Checking Ident |
| 01:40:11 | | -moorcock.freenode.net- *** No Ident response |
| 01:40:28 | | -moorcock.freenode.net- *** Couldn't look up your hostname |
| 01:40:36 | | BFLogBot has joined |
| 01:40:36 | | Topic is 'Bitfighter 018 released! | http://www.bitfighter.org/downloads | Welcome GCI students! Please introduce yourself and feel free to ask any questions.' |
| 01:40:37 | | Set by raptor!~raptor@unaffiliated/greenmachine on Thu Dec 06 10:11:09 GMT 2012 |
| 01:40:37 | | -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. |
| 01:40:51 | martin_bede | my clone contains every change, a link is on the task page |
| 01:41:44 | martin_bede | i think we tested/fixed everything with Watusimoto |
| 01:42:29 | martin_bede | there are 2 missing parts but those are intentional, written about in the code (comments) and were discussed with him |
| 01:44:05 | martin_bede | bye |
| 01:44:15 | | martin_bede Quit (Quit: Bye) |
| 01:47:17 | raptor | hi Fordcars myfault! |
| 01:47:22 | raptor | they should be gone now... |
| 01:47:38 | Fordcars | oh ok sorry! |
| 01:51:18 | Fordcars | hey did you get a notification app to work on mac yet? |
| 01:52:34 | | raptor Quit () |
| 02:13:59 | Fordcars | ok.... |
| 02:34:33 | | raptor has joined |
| 02:34:33 | | ChanServ sets mode +o raptor |
| 02:35:07 | raptor | sorry Fordcars, internet problems... no, no notifier for mac yet... |
| 02:35:12 | raptor | be back later.. |
| 02:47:54 | | Nothing_Much Quit (Ping timeout: 255 seconds) |
| 03:04:48 | | Nothing_Much has joined |
| 03:13:20 | Nothing_Much | How's the Desura application for this game going so far? |
| 03:19:22 | kaen | Haven't asked watu and I think he's sleeping now |
| 03:21:50 | raptor | hi |
| 03:22:09 | raptor | i think he submitted it, but it requires some stuff - like screenshots, video, etc.. |
| 03:22:24 | raptor | so it isn't approved or anything, by a long shot |
| 03:27:24 | raptor | now to see if the latest commits compile... |
| 03:28:55 | raptor | hey kaen, I'm thinking your cmake system is probably ready to be added to bitfighter - was there anything left to do on it? |
| 03:32:04 | kaen | I have to round up the requisite find modules and use them. |
| 03:32:22 | kaen | I've already fixed the logging issue, but after a good once over they'll be ready. |
| 03:33:44 | kaen | is there some sort of global for a client's local ClientGame? |
| 03:34:07 | Nothing_Much | Yeah I know, he said that he already submitted an application, I was wondering if there was a status update |
| 03:34:54 | kaen | oh, gClientGames looks promising |
| 03:37:56 | Fordcars | ok thanks |
| 03:38:11 | raptor | kaen: gClientGame... |
| 03:38:12 | raptor | but |
| 03:38:27 | raptor | i know watusimoto has sworn in his wrath to get rid of the global Game objects |
| 03:38:41 | raptor | but he also keeps using them in things... |
| 03:38:58 | kaen | I'm glad he's sworn such a thing |
| 03:39:29 | Fordcars | I think I might have managed to download the .json on bitfighter.org with XMLhttpRequest |
| 03:39:32 | raptor | you'll find three ways to grab the Game object: gWhateverGame global, mGame object member, getGame() method |
| 03:39:46 | raptor | all used in various ways all over the place.. |
| 03:39:57 | kaen | awesome \o/ |
| 03:41:14 | | BFLogBot Commit: 4d186156b2cf | Author: buckyballreaction | Message: Ability to run anonymous master connections with a callback is more or less complete. This paves the way for being able to start bitfighter without requiring a master connection. We can then move the UINameEntry screen to another location.. |
| 03:42:20 | raptor | ^^ that was my last week's work... |
| 03:42:39 | raptor | i know i know.. it's not much |
| 03:45:22 | raptor | be back later |
| 03:49:43 | kaen | Fordcars, you do that every time you go on the website ^^ |
| 03:50:04 | Fordcars | lolololololololololol nah dude! |
| 03:50:11 | kaen | ... |
| 03:50:19 | kaen | no really |
| 03:50:22 | kaen | it uses XHRs |
| 03:50:37 | kaen | that's how it auto-updates |
| 03:50:51 | Fordcars | I was working on a notifcatipons app thing that would say how many players are on Bitfighter etc |
| 03:51:32 | kaen | good news! |
| 03:51:42 | kaen | there are already three of them :) |
| 03:51:42 | Fordcars | To go on bitfighter.org, I use something called.... wait for it.... a web browser 0.o |
| 03:51:59 | Fordcars | Yah I was working for aMac dashboard app |
| 03:52:04 | kaen | oh good |
| 03:52:06 | Fordcars | *yeah |
| 03:52:11 | kaen | that's the only one there isn't :) |
| 03:52:15 | Fordcars | lol yeah |
| 03:52:43 | kaen | there's a python one that might work but I don't know a thing about mac or how to fill its deps |
| 03:53:06 | kaen | I'm working on using GL shaders in bitfighter... |
| 03:53:09 | kaen | don't tell wat |
| 03:53:12 | Fordcars | lol ok |
| 03:53:36 | Fordcars | gl shaders? was that only for 3d graphics? |
| 03:53:50 | kaen | nope |
| 03:53:54 | Fordcars | ah ok |
| 03:54:02 | kaen | you can do all sorts of things with shaders |
| 03:54:09 | Fordcars | yeah |
| 03:54:11 | kaen | imo the 2d effects are cooler since they're less costly |
| 03:54:23 | Fordcars | yeah |
| 04:24:50 | raptor | kaen: speakest thou of shaders?? |
| 04:25:07 | raptor | does this mean you're working on porting to GLES 2? |
| 04:38:59 | kaen | uh... |
| 04:39:00 | kaen | nope. |
| 04:39:14 | kaen | sorry :< |
| 04:39:16 | raptor | efficiency project? |
| 04:39:19 | kaen | nope |
| 04:39:22 | kaen | eye candy |
| 04:39:23 | kaen | I'm lame. |
| 04:39:26 | raptor | or... yes that.. |
| 04:39:31 | raptor | :) |
| 04:39:47 | kaen | I have high hopes for it |
| 04:39:53 | kaen | the shader framework is compact and super easy to use |
| 04:40:02 | kaen | I put in some xmacros... |
| 04:40:06 | raptor | noooooo |
| 04:40:25 | kaen | they're a workable solution to a legitimate problem |
| 04:40:37 | kaen | the downside is small compared to the gains |
| 04:41:02 | raptor | are you using GLSL? |
| 04:41:05 | kaen | yeah |
| 04:41:06 | kaen | but |
| 04:41:12 | raptor | so we'd need openGL 2.0.. |
| 04:41:20 | kaen | I'm using extension testing and runtime function lookup via sdl |
| 04:41:24 | kaen | no we don't! |
| 04:41:33 | kaen | because it can intelligently disable itself at runtime |
| 04:41:38 | kaen | or even be ifdef'd out |
| 04:41:38 | raptor | ahh |
| 04:41:41 | raptor | cool |
| 04:41:44 | kaen | I've done it with 0 external libs |
| 04:41:52 | kaen | didn't even have to touch the linker flags |
| 04:42:30 | raptor | WOW |
| 04:42:31 | raptor | cool |
| 04:42:35 | kaen | it's also got some nice hooks for an options interface |
| 04:42:36 | raptor | so now the question is... |
| 04:42:42 | raptor | what eye candy? |
| 04:42:46 | raptor | or maybe i should be patient.. |
| 04:42:50 | kaen | anything you can dream of |
| 04:42:55 | kaen | but yeah be patient |
| 04:42:58 | kaen | today was productive |
| 04:43:10 | raptor | heh, ok |
| 04:43:20 | kaen | it's literally day one of me working with glsl, matrix operations, 3d processing, and a few other things |
| 04:43:43 | raptor | to be honest, i have little knowledge of how shaders actually work... i've been reading up on it since you've mentioned it |
| 04:44:05 | kaen | they're pretty straight forward |
| 04:44:06 | raptor | i just knew that they run directly on the GPU |
| 04:44:17 | kaen | it's hard finding information about it for a consistent version |
| 04:44:25 | raptor | they're already part of the rendering pipeline, right? |
| 04:44:31 | kaen | oh yeah |
| 04:44:39 | kaen | they replace parts of the pipeline |
| 04:44:40 | raptor | it's just that now you can program them directly with GLSL |
| 04:44:51 | raptor | if i understand right enough.. |
| 04:44:56 | kaen | yes |
| 04:44:58 | kaen | specific parts |
| 04:45:12 | kaen | the vertex and fragment shaders in the version I'm targeting right now |
| 04:45:26 | kaen | which lets you move vertices and change pixel colors |
| 04:45:40 | kaen | based on inputs from userspace and default rendering pipeline behavior |
| 04:46:14 | raptor | right now we have all the vertices with GL ES 1 |
| 04:46:30 | raptor | so now, you directly alter them at the next step? |
| 04:46:44 | kaen | I can, but for now I just pass through |
| 04:47:03 | raptor | ok so |
| 04:47:03 | kaen | I'm mostly interested in the fragment shader, which will i.e. let me draw a procedural foggy cloud for explosions |
| 04:47:07 | kaen | instead of dots |
| 04:47:12 | raptor | ooooo |
| 04:47:33 | kaen | glsl has builtin noise functions |
| 04:47:37 | kaen | it's so beautiful |
| 04:47:39 | raptor | so instead of doing the math for that on the CPU (in our program), you can let the hardware do it? |
| 04:47:42 | kaen | yes |
| 04:47:50 | raptor | great! i'm starting to understand.. |
| 04:48:09 | kaen | also consider, specialized hardware for vector and matrix operations |
| 04:48:11 | raptor | so theoretically, we could *increase* eye candy, yet *decrease* CPU? |
| 04:48:14 | kaen | you get access to that in glsl |
| 04:48:17 | kaen | yes. |
| 04:49:14 | raptor | sweet! |
| 04:49:36 | raptor | things are making so much more sense now... like all those weird options in games to turn on different features |
| 04:49:44 | kaen | exactly! |
| 04:51:04 | kaen | in fact it's all up and running and ready for expansion right now... except I can't translate game points to "window space" |
| 04:51:18 | kaen | and we really need that to do anything interesting... |
| 04:51:36 | Fordcars | geez kaen did you get like an OpenGL training???? |
| 04:51:43 | kaen | no |
| 04:51:44 | kaen | I read |
| 04:51:45 | kaen | and read |
| 04:51:54 | kaen | and when my eyes hurt I went for a walk |
| 04:51:57 | kaen | and came home and read. |
| 04:52:01 | sam686 | Such opengl fragment shaders isn't very useful without textures.. |
| 04:52:01 | Fordcars | wow |
| 04:52:02 | kaen | and then programed |
| 04:52:10 | kaen | sam686, true |
| 04:52:21 | kaen | but if we only need them for shaders, it's really moot |
| 04:52:24 | Fordcars | but we won't put textures, right? |
| 04:52:35 | kaen | we won't need to package textures |
| 04:52:36 | raptor | read and read, walk, read... that's what i did when converting to SDL! |
| 04:52:46 | Fordcars | lets keep it vector |
| 04:52:50 | kaen | we can render to textures and manipulate those |
| 04:53:00 | Fordcars | wow ok |
| 04:53:05 | kaen | the data never leaves the gpu, it's also very speedy |
| 04:53:11 | kaen | I test on a 64mb video card... |
| 04:53:46 | | YoshiSmb has joined |
| 04:53:58 | sam686 | what about my Radeon 9200 128 MB that only has Opengl 1.4? it doesn't have fragment shaders or anything on Opengl 2.0 or later.. |
| 04:54:08 | raptor | hi sam686 |
| 04:54:24 | raptor | kaen will do sneaky stuff, sam686, to not turn that on... |
| 04:54:27 | Fordcars | ok so it like renders a texture (ex: smoke) and then you can manipulate it? |
| 04:54:36 | kaen | if it really doesn't (my earlier model does support it...) it'll automatically disable itself |
| 04:54:41 | kaen | Fordcars, exactly |
| 04:55:02 | kaen | I have Radeon 4100 |
| 04:55:06 | Fordcars | nice whoa dude I actually understood something in less than an hour1!!! |
| 04:55:29 | kaen | what's the output of glxinfo for you, sam? |
| 04:55:36 | kaen | rather: |
| 04:55:42 | kaen | glxinfo | grep shader_ |
| 04:56:16 | sam686 | texture... like smoke? http://www.youtube.com/watch?v=U4z4lwCRSu4 (been a long time since I made that video) |
| 04:57:06 | kaen | heh sure if you wanted |
| 04:57:09 | kaen | that's really common |
| 04:58:29 | Fordcars | I still only have 32mb vram on my "coding" computer |
| 04:58:34 | Fordcars | :/ |
| 04:59:23 | kaen | I dream about getting a computer with an expensive video card some day |
| 04:59:31 | kaen | playing games at maximum graphics settings... |
| 04:59:58 | Fordcars | with 12 cores |
| 05:00:09 | Fordcars | and a huge 42 inch hd screen |
| 05:00:17 | Fordcars | yeah |
| 05:00:21 | raptor | every time you get a computer with an expensive video card... you want another one in a month |
| 05:00:38 | raptor | ok maybe 6 months.. |
| 05:01:17 | Fordcars | yep. But I have had the same one for like 7 years lol |
| 05:01:53 | Fordcars | The graphics in the games these days are so intense |
| 05:05:29 | | YoshiSmb has left |
| 05:11:41 | raptor | looks like nvidia has a whole host of non-standard shaders you can use.. |
| 05:18:09 | | amgine1234567890 has joined |
| 05:18:32 | amgine1234567890 | werid was anythign chaged with BF it was working for me but now when i try to run it it comes up full screen and gets frozen |
| 05:18:43 | amgine1234567890 | at the menu screen |
| 05:20:39 | amgine1234567890 | yeah this is the third time now =p |
| 05:20:44 | raptor | sam686: can you connect to master with normal 018? |
| 05:20:44 | amgine1234567890 | ive tried running BF |
| 05:20:59 | raptor | amgine1234567890: i recently updated the master server.. maybe i broke something |
| 05:21:33 | amgine1234567890 | the BF i have (which was the first release BF 18) gets frozen at the menu screen where you login and is in full screen whne i try to run it |
| 05:22:41 | raptor | kaen or Fordcars, can either of you start 018 and connect to master like normal? |
| 05:23:49 | amgine1234567890 | however i have the original BF 18 release so i may be out of date so im not compatible anymore |
| 05:24:03 | Fordcars | ok |
| 05:24:09 | raptor | no... we take care to make sure everyone is still compatible |
| 05:24:21 | raptor | or at least.. we try really hard.. |
| 05:24:25 | amgine1234567890 | *please not work for fordcars please not work for fordcars* |
| 05:24:36 | Fordcars | hey :/ |
| 05:24:45 | Fordcars | brbrbrbrbrbrbrbrbrb |
| 05:24:51 | amgine1234567890 | what im hoping its not my version XD |
| 05:25:26 | amgine1234567890 | please not work please not work please not work |
| 05:25:33 | amgine1234567890 | sorry spamming =p |
| 05:25:42 | amgine1234567890 | *bans amgine for 60 seconds* |
| 05:26:35 | amgine1234567890 | *waits* |
| 05:26:56 | amgine1234567890 | i keeps freezing for me |
| 05:27:10 | amgine1234567890 | can somon else try it other then me |
| 05:27:19 | raptor | amgine, there are 4 of us in playing right now |
| 05:27:21 | raptor | including Fordcars |
| 05:27:25 | amgine1234567890 | ... |
| 05:27:32 | amgine1234567890 | what happened to my version =p |
| 05:27:55 | amgine1234567890 | can you give me the newest working zip build |
| 05:30:06 | amgine1234567890 | *tries exctracting and replaceing all files from my zip* |
| 05:30:47 | amgine1234567890 | let me try somthing |
| 05:30:52 | | amgine1234567890 Quit (Quit: Page closed) |
| 05:42:04 | | amgine1234567890 has joined |
| 05:42:07 | amgine1234567890 | nope i cant get it working |
| 05:42:31 | amgine1234567890 | oddly enough BF is set to run in windowed in hte ini but it automaticly runs full screen |
| 05:42:47 | amgine1234567890 | correction full screen strached |
| 05:52:17 | amgine1234567890 | note commit chage whne score is set to 1000000000 or greater to read Unlim |
| 06:04:48 | | Fordcars Quit (Quit: This computer has gone to sleep) |
| 06:25:07 | | amgine1234567890 Quit (Quit: Page closed) |
| 06:33:27 | | raptor has left |
| 06:45:43 | | Darrel has joined |
| 06:55:56 | | martin_bede has joined |
| 06:56:13 | martin_bede | hi |
| 07:54:48 | | mayanks43 has joined |
| 09:42:35 | | Watusimoto has joined |
| 09:46:25 | martin_bede | hi Watusimoto |
| 09:47:00 | Watusimoto | hi |
| 09:51:50 | Watusimoto | how'd it go last night? |
| 09:53:08 | martin_bede | it's completed, i think |
| 09:53:15 | Watusimoto | excellet |
| 10:01:10 | martin_bede | when will you have time to review it? i can't claim a task after 18:00 and i would like to do all of these parameterizing tasks |
| 10:04:38 | Watusimoto | I'm looking at another task at the moment... I'll try to get to it in about 1/2 hour |
| 10:04:54 | Watusimoto | the review should be pretty quick, as I know what I'm looking for |
| 10:08:18 | martin_bede | great, thanks |
| 10:10:16 | Watusimoto | so everything worked except teleporter and turret, right? |
| 10:11:52 | martin_bede | yes |
| 10:12:19 | martin_bede | they kinda work but not too logically |
| 10:13:16 | martin_bede | i didn't check zone much though, couldn't figure out what to logprint |
| 10:13:44 | martin_bede | anyway i did it they way you recommended, so there shouldn't be a problem |
| 10:15:21 | | LordDVG has joined |
| 10:21:11 | Watusimoto | martin_bede: where is your code? |
| 10:22:11 | martin_bede | in the clone |
| 10:22:21 | martin_bede | a link was posted to the task page |
| 10:23:31 | Watusimoto | odd; I didn't get the usual email |
| 10:24:30 | Watusimoto | can you make a diff from the main codebase? that will make it easier to review |
| 10:25:06 | martin_bede | hg diff <linktomain>? |
| 10:25:23 | Watusimoto | probably :-) |
| 10:32:09 | martin_bede | nope that doesn't work. i also tried outgoing, but that just prints the commits to be pushed |
| 10:35:22 | Watusimoto | hg diff -r <your head changeset id> -r <other dev changeset id> . ??? well, there is the brute force way... download another copy of the codebase and diff the whole thing... |
| 10:35:35 | Watusimoto | That from here: http://stackoverflow.com/questions/3559154/how-can-i-see-a-list-of-all-files-that-are-different-between-two-hg-repositories |
| 10:42:37 | martin_bede | just did the second |
| 10:42:53 | martin_bede | for 10 mins i wondered why output to text file doesn't work |
| 10:42:59 | martin_bede | i was looking at the wrong dir |
| 10:43:06 | | LordDVG Quit (Remote host closed the connection) |
| 10:44:04 | martin_bede | https://docs.google.com/file/d/0B9bwI2wcChsIWUswVi1hb3B0REk/edit |
| 10:44:10 | martin_bede | couldn't upload it to task page |
| 10:44:15 | martin_bede | so i uploaded it there |
| 10:45:29 | Watusimoto | I don't have access to that... but... please use pastebin/pastie if you can! |
| 10:45:39 | Watusimoto | they're so much easier to deal with |
| 10:45:47 | martin_bede | okay, but it's a quite large file |
| 10:45:58 | Watusimoto | it's all text, right? |
| 10:46:01 | martin_bede | yep |
| 10:46:05 | Watusimoto | then no problem! |
| 10:46:17 | Watusimoto | but it shouldn't be thaaat large, right? |
| 10:46:29 | martin_bede | it shouldn't be, but it is |
| 10:46:32 | Watusimoto | it only has your edits in it, I hope |
| 10:46:39 | martin_bede | somehow other people's commits got in |
| 10:46:41 | martin_bede | too |
| 10:46:49 | Watusimoto | well, let's have a look |
| 10:47:01 | Watusimoto | maybe you need to update your codebase |
| 10:47:16 | Watusimoto | to get others' edits out |
| 10:47:28 | martin_bede | http://pastebin.com/tiUCWKKe |
| 10:48:14 | martin_bede | the code is the latest revision in both repos |
| 10:48:32 | Watusimoto | ok, first off, that's not too big for pastie/whatver, so don't worry about that |
| 10:50:01 | Watusimoto | do you know when you made your copy of the repo (the one you were working off)? |
| 10:50:09 | Watusimoto | ie. do you know the parent version? |
| 10:50:33 | Watusimoto | because you could try making the diff off of that |
| 10:50:48 | Watusimoto | you have my work from last night in there :-) |
| 10:51:14 | martin_bede | i don't really know that, how can i figure that out? |
| 10:51:29 | martin_bede | (the parent ver) |
| 10:53:00 | Watusimoto | not sure. (I struggle with these tools too!) |
| 10:53:08 | Watusimoto | I'm looking at your google code repo |
| 10:53:26 | Watusimoto | it seems to have at least fairly recent changes from me in it |
| 10:53:59 | Watusimoto | alright, let me try something |
| 10:57:27 | | BFLogBot Commit: 4e2e85b73bf1 | Author: watusimoto | Message: Only reorder if we have args that require it |
| 10:57:28 | | BFLogBot Commit: f5055a22deed | Author: watusimoto | Message: Minor |
| 10:57:30 | | BFLogBot Commit: 07d24265b35a | Author: watusimoto | Message: Comment |
| 10:57:31 | | BFLogBot Commit: 4a83d05a4578 | Author: watusimoto | Message: Rename luavec macro to make code more readable |
| 10:57:33 | | BFLogBot Commit: 904d8657464e | Author: watusimoto | Message: Mitsov announce patch |
| 10:57:34 | | BFLogBot Commit: a22ba9555f27 | Author: watusimoto | Message: Comments |
| 10:57:36 | | BFLogBot Commit: 70cdfe0ad762 | Author: watusimoto | Message: Merge |
| 10:59:48 | Watusimoto | ok, this patch isn't going to work |
| 11:00:16 | Watusimoto | I tried importing it, to see if it would be smart enough to ignore the stuff that has already been changed, bit instead it duplicated all my and raptor's edits |
| 11:00:23 | Watusimoto | so let's try something else |
| 11:01:22 | Watusimoto | what if you diffed your codebase and this version? |
| 11:01:23 | Watusimoto | d846e3c285a0 |
| 11:01:39 | Watusimoto | that's the latest of my edits you have in your codebase |
| 11:02:50 | Watusimoto | you took that version, and merged it with your tree |
| 11:03:26 | Watusimoto | therefore, it stands to reason that any differences between that version and your tree are the edits you've made |
| 11:03:30 | Watusimoto | if you look here: |
| 11:03:31 | Watusimoto | https://code.google.com/r/bmartin9x-bitfighter/source/list |
| 11:03:58 | Watusimoto | what we basically want is the sum of that left-most vertical line, which is all your edits |
| 11:05:24 | martin_bede | okay, i've solved this |
| 11:05:45 | martin_bede | the rdiff extension did just what we wanted the first time |
| 11:07:09 | martin_bede | Watusimoto: but the diff is inverted |
| 11:07:30 | martin_bede | is that a problem or is it just for reviewing? |
| 11:08:40 | Watusimoto | no |
| 11:08:57 | Watusimoto | though you could perhaps get it "the right way" |
| 11:08:57 | Watusimoto | by reversing your diff parameters |
| 11:09:23 | martin_bede | there is only one parameter, the url |
| 11:09:27 | Watusimoto | but I can deal with the backwards diff if need be |
| 11:09:52 | martin_bede | but if i clone the official repo and then run this, i can get the normal cset |
| 11:09:58 | martin_bede | it takes quite a while though |
| 11:10:27 | Watusimoto | would it be easir just to swap the +s and -s? |
| 11:10:36 | Watusimoto | I think that's all that would need to be done to invert it |
| 11:11:20 | martin_bede | i'm not sure that would result in a valid changeset |
| 11:11:22 | martin_bede | http://pastebin.com/HCqttYXe |
| 11:11:26 | martin_bede | here is the inverted one |
| 11:12:19 | martin_bede | i'm cloning the official repo now, so the normal diff should be available later too |
| 11:19:51 | martin_bede | Watusimoto: here's the not-inverted changeset: http://pastebin.com/Fc1RtEFN |
| 11:20:17 | Watusimoto | great -- how did you do that? |
| 11:20:46 | Watusimoto | and what does this mean: |
| 11:20:47 | Watusimoto | / I've got no idea why this works and getInt(L, 2) doesn't. |
| 11:20:47 | Watusimoto | + //mSpawnTime = S32(getInt(L, 3) * 1000); |
| 11:20:47 | Watusimoto | + //mTimer.reset(mSpawnTime); |
| 11:20:58 | martin_bede | what line is that? |
| 11:21:04 | Watusimoto | it's in core |
| 11:21:12 | martin_bede | i used the same extension |
| 11:21:17 | Watusimoto | from here |
| 11:21:18 | Watusimoto | +++ b/zap/CoreGame.cpp Sun Jan 13 12:05:03 2013 +0100 |
| 11:21:34 | Watusimoto | line 279 |
| 11:22:03 | martin_bede | i pasted that there for refernce |
| 11:22:04 | Watusimoto | I'm trynig to understand if this is code that should be included but didn't work, or if it's just something you discarded |
| 11:22:11 | Watusimoto | so you could delete it? |
| 11:22:13 | martin_bede | it's discarded |
| 11:22:20 | martin_bede | yes, i'll remove it |
| 11:22:23 | Watusimoto | ok |
| 11:22:24 | Watusimoto | good |
| 11:23:45 | martin_bede | there are two places where that comment is legit though |
| 11:25:18 | Watusimoto | what do you mean by "legit" |
| 11:25:38 | martin_bede | i intended to left them there |
| 11:26:30 | martin_bede | because that may be a bug in other code |
| 11:27:15 | Watusimoto | I see you added @luafunc comments to document constructor params |
| 11:27:17 | Watusimoto | that's good |
| 11:27:32 | Watusimoto | would you please change them to @luaconst? |
| 11:27:47 | martin_bede | okay |
| 11:27:48 | Watusimoto | that way our document generation can differentiate them from standard function sigs |
| 11:27:59 | Watusimoto | but good that you did that |
| 11:30:48 | Watusimoto | actually, have you made that @luaconst change yet? |
| 11:30:55 | Watusimoto | becaue I can do it easily in the diff |
| 11:33:37 | martin_bede | i did |
| 11:34:21 | Watusimoto | :-) |
| 11:34:28 | Watusimoto | ok, in asteroid, you have that comment again: |
| 11:34:28 | Watusimoto | / I've got no idea why this works and getInt(L, 2) doesn't. |
| 11:34:42 | martin_bede | yep |
| 11:34:44 | Watusimoto | what does that mean? |
| 11:34:57 | martin_bede | look at the next line |
| 11:35:07 | Watusimoto | does it mean you expected to use L,2, but that failed |
| 11:35:12 | martin_bede | yes |
| 11:35:15 | Watusimoto | and that L,3 worked for reasons you're not sure about? |
| 11:35:18 | martin_bede | yes |
| 11:35:29 | Watusimoto | it's because geom occupied 2 slots |
| 11:35:34 | Watusimoto | x,y |
| 11:35:41 | Watusimoto | but it does reveal a problem |
| 11:35:51 | Watusimoto | in that point(x,y) would only occupy one slot |
| 11:36:00 | Watusimoto | so that's something I need to figure out |
| 11:36:30 | Watusimoto | because getInt(L, 3) wouldn't work if geom were just a point instead of 2 ints |
| 11:36:46 | Watusimoto | (or 2 nums) |
| 11:37:36 | Watusimoto | ok, I'll accept the code |
| 11:37:42 | martin_bede | awesome |
| 11:38:01 | Watusimoto | You've revealed a number of weaknesses that I had not considered before |
| 11:38:11 | Watusimoto | so I'm not terribly happy about it, but that's not your problem |
| 11:38:28 | Watusimoto | you're going to do the other paramerization task? |
| 11:38:30 | martin_bede | maybe later it will be :) |
| 11:38:33 | martin_bede | yes |
| 11:38:38 | Watusimoto | ok |
| 11:38:40 | Watusimoto | good |
| 11:38:44 | Watusimoto | take a look at this first |
| 11:38:45 | Watusimoto | + // I've got no idea why this works and getInt(L, 2) doesn't XXXXX what if geom is a point, not an x,y pair? |
| 11:38:45 | Watusimoto | + mSpawnTime = S32(getInt(L, 3) * 1000); |
| 11:39:11 | Watusimoto | if you are tempted to write that comment again, just make it L,2 for the moment, even if it doesn't work |
| 11:39:18 | Watusimoto | I've got to figure a way to make it work |
| 11:39:29 | Watusimoto | because, as I said, it will fail |
| 11:39:43 | martin_bede | okay |
| 11:39:45 | Watusimoto | unless we require that the ints be in a table rather than just bare numbers |
| 11:40:03 | Watusimoto | local s = Spawn.new({100,200}, 4) |
| 11:40:14 | Watusimoto | then the 4 would always be arg 2 |
| 11:40:31 | Watusimoto | in fact, when doing your testing, test that way, and that will avoid the problem |
| 11:40:49 | Watusimoto | then getInt(L,2) will always work |
| 11:41:16 | Watusimoto | and I can decide whether to require that, or if there is a way to let (100,200,4) work |
| 11:41:42 | Watusimoto | but even as I'm writing this, I think that syntax should be eliminaetd |
| 11:41:47 | Watusimoto | because it's very sloppy |
| 11:42:06 | Watusimoto | in fact... |
| 11:42:57 | Watusimoto | Spawn.new(point.new(100,200), 4) would have the best performance, as creating a point requires no object creation/garbage collection, whereas {100,200} does |
| 11:43:44 | Watusimoto | something for me to ponder |
| 11:44:05 | Watusimoto | but, bottom line, don't test with Spawn.new(100,200,4) syntax |
| 11:44:32 | Watusimoto | only with Spawn.new({100,200}, 4) or with points |
| 11:44:36 | martin_bede | alright |
| 11:44:41 | Watusimoto | fingers are tired |
| 11:45:11 | Watusimoto | I'll accept your work, and apply your patch to the codebase |
| 11:56:20 | Watusimoto | you should be good to go |
| 12:13:42 | | BFLogBot Commit: 3c5c35adc075 | Author: watusimoto | Message: Parameterize Core Lua constructor |
| 12:13:44 | | BFLogBot Commit: 609ff75480ce | Author: watusimoto | Message: Parameterize a few more lua objects |
| 12:13:45 | | BFLogBot Commit: d4ccfc5ed339 | Author: watusimoto | Message: Final part of Martin's paramaterization work |
| 12:13:47 | | BFLogBot Commit: 759a152f3a03 | Author: watusimoto | Message: Fix parameterization to work with points instead of raw coords |
| 12:14:36 | Watusimoto | martin, if you would, please move the @luaconst items after the @luaclass documentation item; I'll take care of the stuff that's already in, you just do it for your new code |
| 12:14:54 | martin_bede | okay |
| 12:15:02 | martin_bede | what's that last commit? |
| 12:15:26 | martin_bede | i'm having a problem probably fixed by that |
| 12:15:42 | Watusimoto | just what we discussed -- using {100,200} instead of 100,200 |
| 12:16:13 | Watusimoto | it removes those two comments... well, have a look, you'll see |
| 12:16:46 | Watusimoto | Actually, pleaes put the @luaconst items up by the constructor itelf... that will make it easier to keep up to date |
| 12:17:26 | Watusimoto | as will be illustrated by my next commit |
| 12:17:45 | | BFLogBot Commit: 4e8db1703470 | Author: watusimoto | Message: Shuffle documentation around |
| 12:26:12 | | BFLogBot Commit: 9e9324157bfa | Author: watusimoto | Message: WARNING: THIS CHECKIN MIGHT BREAK SOME SCRIPTS!!! No longer allow list of bare numbers in place of a point -- this was bad practice and created problems with new parameterization code. Please specify actual points for geometry from here on out! |
| 12:26:14 | | BFLogBot Commit: 76d160a528cd | Author: watusimoto | Message: Typo |
| 12:26:20 | Watusimoto | martin_bede: this next checkin will affect your testing, but make your code easier to write |
| 12:26:29 | Watusimoto | (last checkin) |
| 12:27:22 | martin_bede | okay |
| 12:34:20 | martin_bede | this new thing disabled coordinate setting everywhere |
| 12:34:40 | martin_bede | despite that i use lines like this: |
| 12:34:41 | martin_bede | local a = Spawn.new({10,10}); |
| 12:35:10 | martin_bede | everything has got a coordinate of 0,0 basically |
| 12:36:21 | martin_bede | Watusimoto: is the line i posted here wrong or the new code? |
| 12:45:26 | Watusimoto | try local a = Spawn.new(point.new(10,10)) |
| 12:45:47 | martin_bede | that results in invalid params error |
| 12:45:48 | Watusimoto | I'm trying to figure out if my latest change broke anything, and if so, what |
| 12:45:57 | Watusimoto | ok, hold on a minute |
| 12:49:53 | Watusimoto | did you do speedzone as part of your last batch of things? |
| 12:50:10 | martin_bede | yes |
| 12:50:22 | martin_bede | why? |
| 12:50:26 | Watusimoto | maybe I botched the merge |
| 12:50:31 | Watusimoto | the L check was in the wrong place |
| 12:50:38 | Watusimoto | and the game crashed |
| 12:53:29 | martin_bede | it's the same here too, strange. i remember editing it |
| 12:54:26 | Watusimoto | I've fixed it here, so it will get in the repo in a couple of minutes |
| 12:56:16 | martin_bede | okay. anything about the 0,0 problem? |
| 13:02:52 | Watusimoto | ok, I see the error now |
| 13:03:05 | Watusimoto | (those other issues made things crash ebfore I got to my test level!) |
| 13:03:33 | | BFLogBot Commit: 28f35a8273f5 | Author: watusimoto | Message: Parameterization fixes: move L checks to outer block, make sure SpyBug runs intialize even if L is NULL |
| 13:11:06 | Watusimoto | ok, I see why it is crashing, in code, but why? |
| 13:11:31 | | mayanks43 Quit (Quit: Leaving.) |
| 13:13:07 | martin_bede | crashing? |
| 13:15:40 | Watusimoto | well, not working |
| 13:15:40 | | BFLogBot Commit: f861b40434f5 | Author: watusimoto | Message: Fix geom checking code |
| 13:15:45 | Watusimoto | ok, the fix is in |
| 13:15:49 | Watusimoto | this code works for me now |
| 13:15:50 | Watusimoto | local f = ResourceItem.new(point.new(400,100)) |
| 13:15:50 | Watusimoto | levelgen:addItem(f) |
| 13:16:01 | Watusimoto | but it didn't before that fix |
| 13:19:33 | Watusimoto | martin: where you specifially need a point in a signature (like for resource item), use PT instead of GEOM |
| 13:19:52 | Watusimoto | I think GEOM is becoming more trouble than it's worth |
| 13:20:48 | martin_bede | okay |
| 13:24:36 | Watusimoto | I need to think about how to handle other geometries |
| 13:27:16 | Watusimoto | maybe for zones, PT3 for 3+ points? or POLY or ... something |
| 13:30:39 | Watusimoto | I'm heading out for a while in a few minutes, just so you know |
| 13:31:37 | Watusimoto | maybe PT, LINE, POLY for 1, 2, 3+ points |
| 13:35:32 | martin_bede | i'm almost ready with the second task. now changing GEOM to PT and moving luaconst lines |
| 13:37:56 | martin_bede | oh didn't see you're going |
| 13:38:27 | martin_bede | there are no items in the second task which require multiple points |
| 13:39:03 | martin_bede | will you be able to review it before 6:00? |
| 13:43:09 | Watusimoto | yeah, the line/poly idea wouldn't happen until after you are done anyway... just musing to myself |
| 13:43:18 | Watusimoto | maybe before 6 |
| 13:43:26 | Watusimoto | here it is 2:45 |
| 13:43:47 | Watusimoto | do you need me to approve so you can grab another task? |
| 13:44:11 | martin_bede | yes |
| 13:44:31 | martin_bede | i'm in Europe too |
| 13:45:15 | Watusimoto | well, I'll tell you what |
| 13:46:01 | Watusimoto | I'll take a look first thing when I get back. |
| 13:46:17 | Watusimoto | If you have a good patch (like the last one) ready when I get back it will go quickly |
| 13:46:26 | Watusimoto | it probably won't be later than 6ish |
| 13:46:27 | martin_bede | okay, thanks |
| 13:46:42 | martin_bede | i already submitted one just like that :D |
| 13:46:46 | Watusimoto | already |
| 13:46:48 | Watusimoto | ?? |
| 13:46:50 | martin_bede | yes |
| 13:46:58 | martin_bede | a few seconds ago |
| 13:47:08 | martin_bede | cset.diff |
| 13:47:43 | martin_bede | i've been working on this a while before actually claiming it, taking some risk |
| 13:50:18 | | LordDVG has joined |
| 13:51:23 | Watusimoto | tell you what |
| 13:51:35 | Watusimoto | I'll approve it now, but stick around this evening when I do a full review |
| 13:51:41 | Watusimoto | this will let you do something else this afternoon |
| 13:51:47 | Watusimoto | a quick look it looks fine |
| 13:51:52 | Watusimoto | how's that sound? |
| 13:54:18 | martin_bede | awesome |
| 13:55:12 | martin_bede | my next task will be the same too so i'll have to stick around no matter what |
| 13:55:48 | martin_bede | there is a parameterizing one left |
| 13:56:07 | Watusimoto | there is? |
| 13:56:11 | martin_bede | yes |
| 13:56:12 | Watusimoto | Oh, I see a part 3 |
| 13:56:15 | martin_bede | "group 2" |
| 13:56:19 | Watusimoto | I forgot whether I did 2 or 3 groups |
| 13:56:29 | Watusimoto | lucky you... a couple of easy tasks! |
| 13:56:48 | Watusimoto | Marked as closed |
| 13:56:58 | martin_bede | yea :D it took time to get up to speed though |
| 13:57:01 | martin_bede | thanks |
| 13:57:35 | Watusimoto | later |
| 14:01:54 | martin_bede | bye |
| 14:03:10 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 14:17:57 | | Watusimoto has joined |
| 15:15:40 | | LordDVG Quit (Remote host closed the connection) |
| 15:27:13 | | Darrel Quit (Quit: Leaving) |
| 15:31:08 | | Watusimoto Quit (Ping timeout: 260 seconds) |
| 16:48:52 | | Watusimoto has joined |
| 18:24:11 | martin_bede | Watusimoto: hi. for now i can use GEOM for classes that require more than a point, right? |
| 18:24:44 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 19:01:31 | | Watusimoto has joined |
| 19:19:39 | martin_bede | Watusimoto: hello. are you around? |
| 19:20:02 | Watusimoto | hi |
| 19:21:46 | | YoshiSmb has joined |
| 19:22:46 | YoshiSmb | hi |
| 19:23:21 | martin_bede | hi YoshiSmb |
| 19:24:49 | martin_bede | Watusimoto: how can i pass GEOM in the arguments? nothing seems to work |
| 19:25:18 | Watusimoto | you should be able to; I didn;t disable it yet because I haven;t foud a good successor yet |
| 19:25:38 | Watusimoto | well, actually, I may have misunderstood |
| 19:25:41 | Watusimoto | what do you want to do? |
| 19:26:07 | Watusimoto | (provide a short code snippet that illustrates, perhaps?) |
| 19:30:51 | martin_bede | http://pastebin.com/heXUhjNx |
| 19:31:05 | martin_bede | these all fail |
| 19:31:11 | martin_bede | i tried them one by one |
| 19:31:20 | martin_bede | what's the right way to do that? |
| 19:31:56 | Watusimoto | the first should work |
| 19:32:15 | Watusimoto | what error do you get? |
| 19:32:39 | martin_bede | Could not validate params, expected geom, int |
| 19:32:51 | Watusimoto | try this: |
| 19:33:09 | Watusimoto | local aj = WallItem.new({point.new(100,100), point.new(111,111)}, 5); |
| 19:33:27 | martin_bede | wait, i sent the wrong error |
| 19:34:13 | martin_bede | it expects point or geom |
| 19:34:20 | martin_bede | by it i mean BfObject::setGeom() |
| 19:34:42 | martin_bede | so not the constructor is throwing that, but a method it calls |
| 19:36:18 | Watusimoto | ok... do you have a stack trace? |
| 19:37:23 | martin_bede | this is everything: http://pastebin.com/Fa7rwt9k |
| 19:37:59 | | raptor has joined |
| 19:37:59 | | ChanServ sets mode +o raptor |
| 19:39:17 | | martin_bede Quit (Remote host closed the connection) |
| 19:40:13 | Watusimoto | try that line I posted above |
| 19:40:21 | Watusimoto | local aj = WallItem.new({point.new(100,100), point.new(111,111)}, 5); |
| 19:41:05 | Watusimoto | also, if you post your WallItem code, I can try to figure out what is going on here |
| 19:41:10 | Watusimoto | hi raptor |
| 19:41:32 | | YoshiSmb Quit (Ping timeout: 245 seconds) |
| 19:41:54 | | martin_bede has joined |
| 19:42:24 | | YoshiSmb has joined |
| 19:44:38 | martin_bede | Watusimoto: http://pastie.org/5679819 |
| 19:44:43 | martin_bede | that's the constructor |
| 19:45:52 | raptor | hi |
| 19:45:55 | martin_bede | hi |
| 19:46:02 | raptor | mmmm... cheese + crackers lunch |
| 19:46:24 | Watusimoto | why do you set the width before grabbing the geom? |
| 19:47:20 | martin_bede | because the value is lost after the pop |
| 19:47:47 | Watusimoto | why do I already have this code? |
| 19:47:48 | martin_bede | so i would have to create a variable |
| 19:48:02 | martin_bede | because it's not my current task |
| 19:48:05 | raptor | hey! dmitry claimed the mac notifier! |
| 19:48:07 | martin_bede | probably the first |
| 19:48:21 | martin_bede | it was tested, and it worked |
| 19:48:30 | Watusimoto | raptor: !! |
| 19:48:40 | Watusimoto | ok |
| 19:49:14 | Watusimoto | and why do you need to pop it? |
| 19:49:24 | Watusimoto | is that to clean things up for getGeom? |
| 19:49:30 | martin_bede | yes |
| 19:49:37 | Watusimoto | raptor: poor donny mitsov... |
| 19:49:45 | kaen | hello all |
| 19:49:55 | martin_bede | hey |
| 19:50:34 | kaen | raptor, I got the world -> screen space function working. I can start the fun parts now :} |
| 19:51:29 | kaen | but first I'll wrangle those cmake modules so we can get that put in. |
| 19:51:34 | Watusimoto | if you do something like that in other constructors, please try to comment why it is; I wrote this: |
| 19:51:35 | Watusimoto | setWidth(lua_tointeger(L, -1)); // Grab this before it gets popped |
| 19:51:36 | Watusimoto | lua_pop(L, 1); // Clean up stack for setGeom, which only expects points |
| 19:51:52 | martin_bede | ok |
| 19:51:54 | raptor | kaen: i can't wait! |
| 19:52:14 | raptor | haha Watusimoto i like your first new comment to donny... |
| 19:52:17 | Watusimoto | hi kaen |
| 19:52:17 | raptor | oh man |
| 19:52:21 | kaen | hi Watusimoto |
| 19:52:26 | Watusimoto | yes, well |
| 19:52:32 | Watusimoto | it sort of helped |
| 19:52:49 | Watusimoto | but he gave me a 1/2 meg diff for what I think is about 10 lines of code |
| 19:53:00 | raptor | wow... |
| 19:53:02 | raptor | uh |
| 19:53:04 | Watusimoto | and I'm not going to fish them out |
| 19:53:10 | raptor | do we know what system he is on? |
| 19:53:21 | Watusimoto | I've hand applied too many patches this week |
| 19:53:25 | Watusimoto | linux, I believe |
| 19:53:31 | Watusimoto | lots of .i and .o files |
| 19:54:00 | raptor | because the command i kept telling him 'hg diff' *only* shows differences to commit files and should produce a nice small patch |
| 19:54:31 | Watusimoto | well he's doing something else |
| 19:54:50 | Watusimoto | I have some sympathy -- you know I have epic struggles with these tools myself |
| 19:55:03 | Watusimoto | but still |
| 19:55:26 | Watusimoto | well, martin_bede and I had a fight with hg, but we won in the end |
| 19:55:43 | raptor | persistence! |
| 19:55:56 | Watusimoto | that is really the key to this whole endeavor |
| 19:55:59 | kaen | something like "hg add" without any parameters will add all of the files in at least the current directory. |
| 19:56:08 | kaen | it's an easy mistake to make |
| 19:56:14 | kaen | I think it actually recurses... |
| 19:56:17 | Watusimoto | I hope that';s not what he did |
| 19:56:21 | raptor | i hope that's not what he did |
| 19:56:31 | kaen | lol hive mind. |
| 19:56:53 | raptor | you will be assimilated |
| 19:57:03 | kaen | I just hope that's not what he did |
| 19:57:19 | kaen | :P |
| 19:59:15 | raptor | ok, the logs got huge again... and i don't wish to read them.. anything else I need to know? |
| 19:59:39 | martin_bede | Watusimoto: did you find any clues yet? |
| 20:00:02 | Watusimoto | well, I was mostly chatting... |
| 20:00:04 | Watusimoto | but |
| 20:00:07 | Watusimoto | this adds a wall for me |
| 20:00:08 | Watusimoto | local aj = WallItem.new({point.new(100,100), point.new(201,100)}, 20); |
| 20:00:08 | Watusimoto | levelgen:addItem(aj) |
| 20:00:45 | raptor | a commit with a WARNING... |
| 20:01:00 | Watusimoto | this generated an error for me |
| 20:01:01 | Watusimoto | local aj = WallItem.new(point.new(100,100), point.new(201,100), 20); |
| 20:01:01 | Watusimoto | levelgen:addItem(aj) |
| 20:01:30 | Watusimoto | so I think there is a bug in using multiple points, but enclosing them in a table looks good |
| 20:01:58 | | raptor gasps |
| 20:02:05 | raptor | you edited lua-vec! |
| 20:02:20 | Watusimoto | raptor, kaen, sam686 (if you're there)... just so you know I've unilateraly depreicated and then removed the functionality of specifying "loose" coordinates instead of points in lua methods |
| 20:02:41 | Watusimoto | this used to work: t = TestItem.new(10,20) |
| 20:02:45 | Watusimoto | now it has to be |
| 20:02:56 | Watusimoto | t = testItem.new(point.new(10,20)) |
| 20:02:59 | raptor | deprecated, then removed == break everything? |
| 20:03:09 | Watusimoto | not sure if it breaks anything |
| 20:03:15 | raptor | bot rewrite time! |
| 20:03:24 | Watusimoto | I haven;t tested yet, but there aern't too many things that use this |
| 20:03:31 | Watusimoto | I doubt it affects bots at all |
| 20:03:47 | Watusimoto | when I rewrote mazegen a whileback, I used the new syntax |
| 20:03:49 | Watusimoto | I think |
| 20:03:51 | raptor | oh yay your merge went smoothly |
| 20:03:59 | martin_bede | Watusimoto: forgot to try that, enclosing them works here too |
| 20:04:07 | Watusimoto | :-) |
| 20:09:04 | sam686 | I take that it won't affect my 6357.levelgen even if that levelgen doesn't ever use any of "Point |
| 20:09:49 | sam686 | levelgen that only uses levelgen:addLevelLine is mostly unaffected.. |
| 20:11:27 | raptor | addLevelLine is the workaround to everything! |
| 20:11:31 | raptor | hi sam686 |
| 20:13:00 | sam686 | Oh, and what will happen when I do levelgen:addLevelLine("Barrier 50 0 0 1 1 1 0") in a middle of a game? |
| 20:13:00 | Watusimoto | sam686: addLevelLine is completely unaffected, though I want to get rid of it a sometime in the future (not necessarily the near future) |
| 20:13:33 | Watusimoto | sam686: untested, but should work |
| 20:13:47 | Watusimoto | But better would be: |
| 20:14:38 | Watusimoto | levelgen:addItem(WallItem.new({point.new(0,0), point.new(1,1), point.new(1,0)}, 50)) |
| 20:15:16 | Watusimoto | currently you can, I think, add walls, but not modify or delete them |
| 20:17:25 | raptor | heh, donny's latest patch patches the hg store |
| 20:17:44 | kaen | lol |
| 20:18:12 | | YoshiSmb Quit (Ping timeout: 245 seconds) |
| 20:19:13 | raptor | and... i can't believe it... it's even harder to apply than the last one... |
| 20:19:17 | Watusimoto | tested this |
| 20:19:18 | Watusimoto | Timer:scheduleOnce(function() levelgen:addItem(WallItem.new({point.new(0,100), point.new(100,100), point.new(100,0)}, 50)) end, 3000) |
| 20:19:39 | Watusimoto | after 3 seconds, a wall does indeed get added. and here's the best part... it's invisible! |
| 20:19:47 | Watusimoto | but it impedes the ship |
| 20:19:50 | raptor | haha |
| 20:20:37 | Watusimoto | so raptor: there is how you can put a whole function into the timer |
| 20:21:44 | raptor | haha |
| 20:24:07 | kaen | really crazy that it's invisible. |
| 20:24:15 | raptor | serverside only! |
| 20:24:23 | kaen | since it actually does get added, and that function works in other contexts |
| 20:24:41 | kaen | maybe the fact that it's lambda changes it scope? |
| 20:25:02 | kaen | I'm pretty sure lua has closure though. |
| 20:25:30 | | BFLogBot Commit: 1586a8600579 | Author: watusimoto | Message: Add (unused so far) try/catch block |
| 20:25:31 | | BFLogBot Commit: fab6764b7732 | Author: watusimoto | Message: Make test chnage from GEOM to PT. Seems to be fine. |
| 20:25:33 | | BFLogBot Commit: a4a093117f17 | Author: watusimoto | Message: Import latest paramterization changes from Martin -- still needs fuller review |
| 20:25:34 | | BFLogBot Commit: 018852911434 | Author: watusimoto | Message: Comment |
| 20:25:36 | | BFLogBot Commit: 33f696664184 | Author: watusimoto | Message: Add try/catch around startLua |
| 20:25:37 | | BFLogBot Commit: 4a8d9795f9b0 | Author: watusimoto | Message: Formatting |
| 20:25:39 | | BFLogBot Commit: 26270079b909 | Author: watusimoto | Message: Much cleaner error handling, more consistent lua error messages, reduced code, fewer passed values, and, well, just plain nicer framework for running lua scripts |
| 20:25:57 | kaen | \o/ |
| 20:26:17 | Watusimoto | some of those things might be true |
| 20:34:38 | martin_bede | Watusimoto: the third task is almost complete now, but ForceFieldProjector has got the same problem as Turret had |
| 20:34:47 | martin_bede | it tries to position itself |
| 20:34:58 | martin_bede | so 7 is added to x every time |
| 20:35:21 | Watusimoto | yes |
| 20:35:31 | Watusimoto | mark it with a comment similar to what's in turret |
| 20:35:35 | martin_bede | okay |
| 20:35:51 | raptor | LuaScriptRunner.cpp:270 and LuaScriptRunner.cpp:358: |
| 20:35:58 | raptor | error: cannot pass objects of non-trivially-copyable type ‘const string {aka const class std::basic_string<char>}’ through ‘...’ |
| 20:36:04 | raptor | :) |
| 20:36:07 | raptor | yay vc++! |
| 20:36:41 | kaen | me too |
| 20:36:47 | kaen | I just confirming it... |
| 20:36:51 | kaen | I was just* |
| 20:38:14 | | DonnyMitsov has joined |
| 20:38:25 | Watusimoto | ah... what? |
| 20:38:31 | Watusimoto | hi DonnyMitsov |
| 20:39:04 | DonnyMitsov | hi can you help me with my repo problems |
| 20:39:08 | kaen | fixed it. |
| 20:39:14 | Watusimoto | yes |
| 20:39:30 | Watusimoto | can you first explain how you made the most recent diff? |
| 20:39:48 | Watusimoto | and then we can see (maybe) what went wrong and how to fix it |
| 20:40:09 | kaen | http://pastie.org/5679998 |
| 20:40:15 | kaen | raptor, can you verify? |
| 20:40:54 | DonnyMitsov | I cloned once my repo with the latest code and added the neccessary changes then i changed the name of the folder and cloned the repo again |
| 20:41:45 | DonnyMitsov | then I used the command: diff -crB donimicov-task01 donimicov-task > donimicov-task.patch |
| 20:42:04 | raptor | hello |
| 20:42:19 | raptor | kaen: verifying... yeah, that fixed it.. |
| 20:42:56 | raptor | kaen: you didn't add it to a clone? |
| 20:43:03 | raptor | if not, i'll jsut commit... |
| 20:43:06 | kaen | uh all of my clones are tied up |
| 20:43:11 | kaen | I'd have to make a new one |
| 20:43:16 | kaen | oh wait |
| 20:43:16 | raptor | nahh |
| 20:43:23 | kaen | I have a bugfix clone |
| 20:43:24 | kaen | derp |
| 20:43:25 | raptor | wait - you have bugfixes branch? |
| 20:43:29 | raptor | yes that |
| 20:43:32 | raptor | yay |
| 20:43:58 | kaen | that was a really good idea |
| 20:44:04 | kaen | so good I forgot I had it... |
| 20:44:08 | raptor | heh |
| 20:44:29 | Watusimoto | so DonnyMitsov, I'm thinking that one of your two repos has all these build files in them |
| 20:44:41 | Watusimoto | you said you ran make clean; did you do that on both repos? |
| 20:45:03 | Watusimoto | raptor: make clean will remove all the build files, right? including .i files? |
| 20:45:07 | DonnyMitsov | no I did on the 2 previous |
| 20:45:10 | raptor | DonnyMitsov: instead of using diff, can you instead run 'hg diff' ? |
| 20:45:15 | raptor | with 'hg' first |
| 20:45:21 | raptor | that will make a nice small diff |
| 20:45:44 | DonnyMitsov | I made a patch from those 2 I just recently downloaded |
| 20:46:23 | martin_bede | Watusimoto: did you test my last entry (the previous task)? |
| 20:46:25 | Watusimoto | try hg diff |
| 20:46:44 | Watusimoto | martin_bede: not yet fully |
| 20:46:50 | Watusimoto | a little here and there |
| 20:47:27 | | BFLogBot Commit: ecf4c8b9d228 | Author: kaen | Message: Pass char* to string formatting function. Fixes build errors on gcc |
| 20:47:28 | Watusimoto | you don't by chance have a test script that adds a bunch of these objects do you? |
| 20:47:32 | sam686 | umm. Now I am getting ***LEVELGEN ERROR*** (null) on newest changes on hg.. |
| 20:47:52 | kaen | ooh a little quick raptor... I'm still building in my bugfix clone |
| 20:48:02 | kaen | :x |
| 20:48:03 | raptor | oops... |
| 20:48:06 | Watusimoto | kaen: does that fix the issue raptor noted above? |
| 20:48:08 | kaen | I think it'll still work |
| 20:48:11 | kaen | Watusimoto, I think so |
| 20:48:17 | raptor | i usually like to build *first* then commit... :) |
| 20:48:21 | kaen | heh |
| 20:48:27 | martin_bede | i don't have. my test just creates them and prints some of their values |
| 20:48:44 | raptor | kaen: no worries, it built |
| 20:49:07 | kaen | I want your processor :< |
| 20:49:13 | kaen | still building here... |
| 20:49:17 | raptor | i've got a number-cruncher |
| 20:49:32 | raptor | i7 something |
| 20:49:35 | kaen | I've got a low-end consumer laptop |
| 20:49:39 | kaen | \o/ |
| 20:49:45 | raptor | hehe |
| 20:49:53 | raptor | the ones they sell by color! |
| 20:50:00 | kaen | I wish :< |
| 20:50:04 | kaen | mine's gray |
| 20:50:18 | kaen | I think I want to give it a paint job when my mobo comes |
| 20:50:37 | raptor | i have a 3 yearold that is handy with water colors... |
| 20:50:43 | kaen | heh |
| 20:51:05 | | Fordcars_ has joined |
| 20:51:08 | Fordcars_ | hi |
| 20:51:12 | kaen | hi Fordcars_ |
| 20:51:59 | Fordcars_ | quick question: for a dedicated server, is the command for bots -bots "totalbotsnumber" |
| 20:53:26 | kaen | I don't know if there's a command line parameter for it |
| 20:53:30 | raptor | Fordcars_: i think you edit the bitfighter.ini instead |
| 20:53:33 | kaen | but you should just set it in your bitfighter.ini |
| 20:53:35 | kaen | yes. |
| 20:53:37 | | martinb_android has joined |
| 20:53:45 | Fordcars_ | ok because in zap you could |
| 20:53:50 | Fordcars_ | thanks |
| 20:53:51 | kaen | ; MaxBots - The max number of bots allowed on this server. |
| 20:53:51 | kaen | ; BotsBalanceTeams - Enable bot auto-balancing in each level. |
| 20:53:51 | kaen | ; MinBalancedPlayers - The minimum number of players ensured in each map. Bots will be added up to this number. |
| 20:54:02 | | DonnyMitsov Quit (Ping timeout: 245 seconds) |
| 20:54:10 | raptor | donny come back! |
| 20:58:15 | | BFLogBot Commit: e0f29332ab20 | Author: watusimoto | Message: Reduce code duplication |
| 20:58:17 | | BFLogBot Commit: 13882576fa63 | Author: watusimoto | Message: Formatting |
| 20:58:18 | | BFLogBot Commit: 8a2ab180977e | Author: watusimoto | Message: Is const better? |
| 20:58:20 | | BFLogBot Commit: 71b1333ab7d6 | Author: watusimoto | Message: Merge |
| 21:02:15 | martin_bede | bye |
| 21:04:33 | | martin_bede Quit (Quit: Bye) |
| 21:06:53 | raptor | bye! |
| 21:28:24 | | BFLogBot Commit: e0febeaf010c | Author: watusimoto | Message: Fix bug: restore ability to pass a list of points to a wallItem constructor (and others requiring multi-point geoms) |
| 21:28:41 | Watusimoto | so quick design question |
| 21:28:55 | Watusimoto | currently, we specify the arguments a lua function can take like this: |
| 21:28:56 | Watusimoto | static LuaFunctionArgList constructorArgList = { {{ END }, { GEOM, INT, END }}, 2 }; |
| 21:29:21 | Watusimoto | in this case, there are two options; either an empty list, or a GEOM followed by an INT |
| 21:29:29 | Watusimoto | INT is obvious what that is |
| 21:29:37 | Watusimoto | GEOM is a little more nebulous |
| 21:30:25 | Watusimoto | it was designed to be a flexible placeholder, meaning a Point for a point item like a TestItem, a point pair for something like a TextItem, or a whole slew of points for something like a LoadoutZone |
| 21:30:41 | Watusimoto | for various reasons, I now think this was a bad idea, and am looking for alterntives |
| 21:30:56 | Watusimoto | POINT is the obvious replacement for testItem |
| 21:31:10 | Watusimoto | I'm thinking that LINE would mean two points |
| 21:31:16 | Watusimoto | and POLY would mean 3 or more points |
| 21:31:33 | Watusimoto | alternatives might be POINT, POINT2, POINT3+ |
| 21:31:51 | Watusimoto | well, that's my only alternative at this point |
| 21:32:06 | Watusimoto | what seems more intuitive when you read it? |
| 21:32:16 | Watusimoto | (or do you have no idea what the heck I'm talking about?) |
| 21:41:43 | Watusimoto | well, those are all good suggestions! |
| 21:50:04 | raptor | POINT, ... |
| 21:50:18 | raptor | one signature to rull them all |
| 21:50:25 | raptor | rule |
| 22:02:31 | kaen | okay raptor, I've added all cmake modules that are included in the 2.8 package |
| 22:02:53 | kaen | which is all of the libs except modplug and vorbis |
| 22:03:51 | kaen | for those two I've just used the switches from the Makefiles and crossed my fingers. It will work on at least every system it worked on before |
| 22:04:34 | kaen | I tested dedicated, master, and client builds, they all work. master still doesn't have config options though |
| 22:05:45 | | BFLogBot Commit: e5e44b878e64 | Author: sam8641 | Message: Faster getAngleDiff |
| 22:13:40 | Watusimoto | raptor: You may have misunderstood |
| 22:14:04 | Watusimoto | I meant I want to choose between POINT2 and LINE to mean a pair of points |
| 22:14:13 | kaen | LINE |
| 22:14:14 | Watusimoto | and between POINT3+ and POLY to mean 3 or more points |
| 22:14:22 | kaen | POINT2 makes me think 2d point at first |
| 22:14:33 | Watusimoto | these are 2d points :-) |
| 22:14:50 | kaen | yes, but then I'd think POINT3 is a 3d point |
| 22:15:06 | | raptor Quit (Ping timeout: 248 seconds) |
| 22:15:11 | Watusimoto | 3+d point |
| 22:15:14 | Watusimoto | could include time |
| 22:15:22 | kaen | maybe it's just the warped state my mind is in from hanging around in OGL for the last two days, but that just seems potentially misleading |
| 22:15:35 | Watusimoto | I agree; I like LINE better myself |
| 22:15:40 | kaen | well, a 4D point is just a 4D vector, which is a common graphics data structure. |
| 22:15:47 | kaen | better to be as unambiguous as possible |
| 22:15:53 | Watusimoto | fully agree |
| 22:27:42 | | BFLogBot Commit: 218cec954146 | Author: sam8641 | Message: Fixed getAngleDiff - uses FloatPi instead of 360. Fixes ship's flame blink wrong way once on ship rotation |
| 22:32:43 | Fordcars_ | haha I just got bored and made a Mac dedicated server app |
| 22:33:28 | sam686 | Why is 127.0.0.1:28000 listed on server list? can't connect to it. |
| 22:33:42 | sam686 | or 127.0.0.2 i meant |
| 22:33:52 | Fordcars_ | happenned to me too before |
| 22:34:09 | Fordcars_ | is it a test server? |
| 22:34:13 | sam686 | haha, /connect bitfighter.org:28000 |
| 22:34:38 | sam686 | I guess the master picked the wrong IP address for Contest Server maps... |
| 22:35:41 | kaen | lol awesome |
| 22:36:08 | Fordcars_ | lol |
| 22:50:53 | | YoshiSmb has joined |
| 22:52:18 | | BFLogBot Commit: f0b1868f6a5f | Author: watusimoto | Message: Documentation |
| 22:52:19 | | BFLogBot Commit: 7f0bfd14e513 | Author: watusimoto | Message: Remove some unused oglconsole code |
| 22:52:21 | | BFLogBot Commit: 5bb7a344d106 | Author: watusimoto | Message: Remove more unused code |
| 22:52:22 | | BFLogBot Commit: df6e12f1bad1 | Author: watusimoto | Message: Fix garbagy looking characters that I mistook for misrendered characters |
| 22:52:24 | | BFLogBot Commit: f68313672825 | Author: watusimoto | Message: Merge |
| 22:53:43 | Watusimoto | The buglist is getting smaller, finally |
| 23:03:10 | Fordcars_ | yay |
| 23:04:01 | Fordcars_ | why is there always Google [Bot] showing up? |
| 23:04:23 | Fordcars_ | "Google[Bot]" |
| 23:09:52 | | YoshiSmb Quit (Ping timeout: 245 seconds) |
| 23:11:59 | | raptor has joined |
| 23:12:02 | | ChanServ sets mode +o raptor |
| 23:13:53 | raptor | hi |
| 23:13:55 | raptor | i'm back... |
| 23:14:34 | raptor | is that localhost address the contest server? |
| 23:15:53 | raptor | that's better... |
| 23:16:59 | kaen | raptor, can you check the cmake stuff when you're free? |
| 23:17:13 | kaen | afaict it's good to go |
| 23:17:49 | kaen | (minus some stuff for the master) |
| 23:21:30 | raptor | ok |
| 23:22:28 | raptor | let me check it out... |
| 23:23:59 | raptor | kaen: which revison is the latest for your cmake stuff? |
| 23:24:07 | raptor | i'm pulling from https://code.google.com/r/bkconrad-kaen-bitfighter/ |
| 23:24:14 | raptor | which i think you have other stuff mixed in.. |
| 23:24:18 | kaen | uh oh |
| 23:24:24 | kaen | hold on |
| 23:24:31 | | Nothing_Much has left |
| 23:24:32 | kaen | I might have made a bad push somewhere |
| 23:25:27 | raptor | or even, if you want to just zip up the files and send them... |
| 23:26:28 | kaen | well, according to my hg diff it's exactly right... |
| 23:26:40 | kaen | oops |
| 23:26:50 | kaen | okay now I've pushed the rest I think... |
| 23:27:14 | raptor | that was the correct clone? |
| 23:27:34 | kaen | oh gosh... |
| 23:27:38 | kaen | yes that clone was correct |
| 23:28:01 | kaen | I think I might have just pushed my shader stuff somewhere @_@ |
| 23:28:49 | raptor | did you push to the correct one? |
| 23:28:52 | kaen | no I really think that clone is up to date |
| 23:28:57 | kaen | all should be well |
| 23:28:59 | raptor | ok |
| 23:29:15 | kaen | although I just pushed my shaders into my local cmake clone... |
| 23:29:26 | kaen | so I'll have to reclone ._. |
| 23:29:57 | kaen | or maybe I can tortoise my way out of this |
| 23:30:00 | raptor | heh |
| 23:30:03 | raptor | hg strip! |
| 23:31:31 | raptor | ok, just to verify, 76ef2ed4a931, is the latest commit on that one, correct? |
| 23:33:47 | kaen | yes |
| 23:34:17 | raptor | ok |
| 23:34:35 | raptor | what are your basic building optoins? |
| 23:34:59 | kaen | CMAKE_BUILD_TYPE is the only one you should care about |
| 23:35:04 | kaen | the rest are added by the find modules |
| 23:35:16 | kaen | your options are Release and Debug |
| 23:35:23 | kaen | (case sensitive for all I know) |
| 23:35:58 | raptor | where are the module? |
| 23:36:03 | raptor | *modules? |
| 23:36:04 | kaen | ./cmake/Modules |
| 23:36:19 | raptor | ah ha! |
| 23:36:20 | raptor | thanks |
| 23:36:24 | kaen | yep |
| 23:36:28 | kaen | did it not find them? |
| 23:36:44 | kaen | your killing me raptor. is it building for you? |
| 23:36:49 | kaen | you're* |
| 23:37:00 | raptor | i had old cruft lying around everywhere.... |
| 23:37:04 | raptor | i did an hg clean |
| 23:37:13 | raptor | ok, now it's nice and organized... |
| 23:37:54 | kaen | also, it makes C::B project files |
| 23:37:57 | kaen | they work like a charm |
| 23:38:01 | raptor | really?? |
| 23:38:04 | raptor | that's awesome! |
| 23:38:07 | kaen | yes |
| 23:38:16 | kaen | but the generator makes absolute paths :/ |
| 23:38:27 | raptor | yuk |
| 23:38:45 | kaen | but all you need is cmake |
| 23:39:10 | kaen | and you don't need to actually build or anything to just get the c::b file |
| 23:39:37 | kaen | cmake .. -G "CodeBlocks - Unix Makefiles" |
| 23:39:45 | kaen | if you want to try it |
| 23:41:34 | raptor | ok, so... i have questions... |
| 23:42:16 | raptor | #1 i see you added the subdirectory 'master' in the main CMakeLists |
| 23:42:24 | raptor | how did you make it NOT compile that? |
| 23:42:30 | raptor | when doing a normal release? |
| 23:42:45 | kaen | EXCLUDE_FROM_ALL |
| 23:42:53 | kaen | make master |
| 23:42:55 | kaen | will build it |
| 23:42:59 | raptor | ahhh |
| 23:43:03 | raptor | ok |
| 23:43:10 | raptor | i see it in the master/CMakeLists.. |
| 23:43:21 | kaen | yes |
| 23:43:39 | kaen | it's in mysql++ and the definition of bitfighterd as well |
| 23:43:59 | kaen | only bitfighter and its deps are in the default target |
| 23:44:24 | kaen | (referring to executable/lib names) |
| 23:44:40 | raptor | ok, next question.. |
| 23:46:35 | raptor | here are the dynamic library dependencies that you're binary requires that are extra from the stock 018 binary: http://pastie.org/5680569 |
| 23:46:55 | raptor | now i can forgive the ogg/vorbis ones |
| 23:47:16 | raptor | because ALURE might be compiled without dynamic loading |
| 23:47:24 | raptor | so that's three, but the other 4? |
| 23:47:36 | kaen | well, they all come from the find plugins |
| 23:47:55 | kaen | which fill variables, e.g. X11_LIBRARIES |
| 23:47:59 | raptor | maybe one or two have to do with your changes? |
| 23:48:00 | kaen | or OPENGL_LIBRARIES |
| 23:48:09 | kaen | maybe all of them |
| 23:48:21 | kaen | glu is like from findopengl.cmake |
| 23:48:26 | raptor | let me try extracting the cmake files and adding them to stock 018... |
| 23:49:14 | kaen | sm looks like it's part of X11 |
| 23:49:55 | kaen | same with ice |
| 23:50:23 | raptor | uuid, i *know* would mean another package to install on most distros |
| 23:50:36 | raptor | sorry if i'm a bit of a perfectionist.. |
| 23:50:41 | kaen | no problem |
| 23:50:51 | kaen | better to hammer it out than find out about this a month from now |
| 23:50:56 | kaen | and have to relearn it all... |
| 23:51:16 | kaen | anyway I did something with boost that I was unsure of |
| 23:51:32 | raptor | what was that? |
| 23:51:36 | kaen | I brought in the find module for it because tnl wanted to use its headers |
| 23:51:55 | raptor | really?? |
| 23:52:00 | raptor | huh - boost should not be part of tnl |
| 23:52:11 | kaen | let me look again |
| 23:52:19 | kaen | it sounds like I misinterpreted something |
| 23:53:54 | raptor | neat! you can do 'make help' |
| 23:54:14 | kaen | what really? |
| 23:54:17 | kaen | lol I didn't know that |
| 23:54:25 | raptor | yeah and it lists the targets |
| 23:54:35 | kaen | also I don't know what I was talking about with tnl and boost. it's bitfighter that's using boost |
| 23:54:42 | raptor | heh, yes |
| 23:54:59 | kaen | should I be statically linking there? |
| 23:55:08 | raptor | we don't need to inlcude boost libraries in anything because I made a conscious decision to use the header-only stuff |
| 23:55:16 | kaen | okay |
| 23:55:23 | raptor | and all needed headers are included in the tree |
| 23:55:36 | kaen | alright, so we don't really need to find it |
| 23:55:37 | kaen | but |
| 23:55:57 | kaen | cmake includes a module for it, and at the top gives an example for using header-only stuff |
| 23:56:01 | kaen | which I followed |
| 23:56:11 | raptor | ok |
| 23:56:14 | raptor | then that's probably fine |
| 23:56:19 | raptor | i wonder where libuuid came from.. |
| 23:56:23 | kaen | but, whence the other lib? |
| 23:56:25 | kaen | yes. |
| 23:59:53 | kaen | okay, so the only files that include the string "uuid" (insensitively) are not touched by my cmake stuff |