Timestamps are in GMT/BST.
| 00:12:52 | bobdaduck | Does anyone here take "we'd really appreciate it" as payment for fixing my levelgens? |
| 00:14:12 | raptor | hi bobdaduck |
| 00:14:25 | raptor | I can probably take a look |
| 00:14:34 | raptor | but not if it's too hairy... |
| 00:14:42 | bobdaduck | The level is actually running fine |
| 00:14:50 | bobdaduck | but the whip isn't being created for some reason |
| 00:14:52 | bobdaduck | and I can't find it. |
| 00:18:03 | raptor | you have 8 nested blocks in zoneSwords! |
| 00:18:33 | bobdaduck | uh |
| 00:18:36 | bobdaduck | maybe? |
| 00:18:41 | bobdaduck | probably? |
| 00:18:42 | bobdaduck | xD |
| 00:19:29 | raptor | first thing.. |
| 00:19:45 | raptor | game = GameInfo() |
| 00:19:50 | raptor | does not belong in onTick |
| 00:19:56 | bobdaduck | lol |
| 00:19:59 | bobdaduck | that's the exp code |
| 00:20:01 | raptor | you should only need to call that once in main() |
| 00:20:06 | raptor | what? |
| 00:20:18 | bobdaduck | that's used *only* in the player stats system |
| 00:20:21 | bobdaduck | nothing to do with swords |
| 00:20:31 | raptor | i know |
| 00:20:37 | raptor | that's just a random thing I saw |
| 00:20:39 | raptor | FYI |
| 00:20:41 | raptor | ok |
| 00:20:43 | raptor | laoded now |
| 00:20:44 | bobdaduck | xD |
| 00:20:46 | raptor | what do I do? |
| 00:20:59 | bobdaduck | repair plus turbo after dying once. |
| 00:21:04 | bobdaduck | but |
| 00:21:06 | bobdaduck | nothing happens. |
| 00:22:11 | raptor | ok well, what ever you did was max out the object limit in under a second |
| 00:22:14 | bobdaduck | there's no errors, the code just isn't working |
| 00:22:18 | bobdaduck | wait what? |
| 00:22:18 | bobdaduck | xD |
| 00:22:29 | raptor | yeah... are you creating a whip every tick??? |
| 00:22:39 | bobdaduck | I should hope not |
| 00:22:47 | bobdaduck | Did you get an error? I don't get any errors... |
| 00:23:46 | raptor | no errors except for the fact that you're maxing out the object limit |
| 00:24:37 | bobdaduck | Well maybe that hints at what the problem is... xD |
| 00:24:49 | bobdaduck | how do you know its maxed out? |
| 00:25:03 | raptor | this line: registeredZoneWhips[playerName] = {} |
| 00:25:18 | raptor | when you call that on onTick it resets that player every time |
| 00:25:36 | raptor | let's see what happens when wrapping that with a ~= nil check |
| 00:26:28 | bobdaduck | I would think it gives the same error I was struggling with the past couple days? |
| 00:26:32 | raptor | oh wow, the object limit has gone so high that my ship has now disappeared |
| 00:26:39 | bobdaduck | xD |
| 00:26:48 | bobdaduck | this was with the nil check? xD |
| 00:28:10 | sam686 | creating objects every tick will overload going over 1024 objects, once ship die screen goes blank until somehow the objects is deleted.. |
| 00:28:43 | raptor | hi sam686 |
| 00:28:44 | bobdaduck | just the object graphics usually |
| 00:28:49 | bobdaduck | Hi sam |
| 00:29:08 | raptor | ok the nil check around that line removes the object overload |
| 00:29:58 | raptor | oh look, there's the whip! |
| 00:30:04 | raptor | it's near the center of the map |
| 00:30:37 | bobdaduck | thecrap |
| 00:30:37 | bobdaduck | xD |
| 00:49:19 | raptor | oh hey it works |
| 00:51:43 | raptor | also there's a memory leak in your script somewhere I think.. |
| 00:52:01 | raptor | like you're creating and storing a new array or array value over and over somewhere.. |
| 00:52:15 | raptor | but besides that - I think you've just about got the hang of arrays! |
| 00:56:51 | bobdaduck | how would I find a memory leak? |
| 00:57:25 | raptor | they're usually not easy.. |
| 00:57:43 | raptor | and I'm not sure how to do it with Lua |
| 01:00:12 | bobdaduck | lol going over the whip doesn't hurt you yet |
| 01:00:19 | bobdaduck | BUT IT DOES GIVE YOU TONS OF GOLD |
| 01:09:22 | raptor | also, all the zones are created at 0,0 so the first little while they snap back really fast... |
| 01:10:37 | | koda has joined |
| 01:11:17 | raptor | CMake BUILT FOR OSX |
| 01:11:20 | raptor | !! |
| 01:17:39 | sam686 | tt |
| 01:21:19 | | BFLogBot Commit: 82f723b98acd | Author: buckyballreaction | Message: OSX can use CMake to compile now. This is still primitive and doesn't create a .app. The binary is not output to a useful place where it can load the frameworks and resources yet. But it compiles! |
| 01:21:42 | raptor | ok kaen. CMake will properly produce a binary on OSX now |
| 01:22:16 | raptor | tada! |
| 01:22:39 | raptor | now I just have to parse koda's work to figure out how to build the .app, then the DMG... |
| 01:29:15 | koda | yay |
| 01:29:28 | raptor | hi koda |
| 01:29:32 | koda | hi raptor |
| 01:30:02 | koda | don't follow my work, it's a hack! |
| 01:30:03 | raptor | it took me all afternoon and night, but CMake is on its way to building properly on OSX |
| 01:30:13 | raptor | don't worry :) |
| 01:30:17 | raptor | I plan on improving it |
| 01:30:44 | koda | you should use OSX bundle facilities from cmake, will save you a lot of time and troubleshooting |
| 01:30:54 | koda | if you improved it share it back :p |
| 01:30:58 | raptor | yes, I plan to.. |
| 01:31:15 | raptor | ok |
| 01:37:37 | | sam686 Quit (Ping timeout: 245 seconds) |
| 01:41:00 | raptor | well, off to bed |
| 01:41:03 | raptor | good night all! |
| 01:41:15 | | raptor Quit () |
| 01:46:55 | | bobdaduck Quit (Remote host closed the connection) |
| 08:05:26 | | raptor has joined |
| 08:05:27 | | ChanServ sets mode +o raptor |
| 08:30:59 | | Nothing_Much Quit (Quit: Nothing_Much) |
| 08:38:22 | raptor | good morning! |
| 08:38:39 | raptor | koda: which CMakeLists.txt has the actual packaging stuff? |
| 08:39:05 | raptor | (in your hedgewars project) |
| 08:41:30 | raptor | wait, i think i found something under hedgewars/CMakeLists.txt.. |
| 08:42:38 | kaen | morning |
| 08:42:42 | kaen | good work, raptor ! |
| 08:42:43 | raptor | hmm.. nope |
| 08:42:45 | raptor | hi kaen |
| 08:42:49 | raptor | norming! |
| 08:42:53 | raptor | uh morning! |
| 08:42:53 | kaen | hehe |
| 08:45:30 | raptor | ok, i cannot tell what's going on, time to pretend I never saw this CMakeLists... |
| 08:54:01 | koda | :D |
| 08:54:17 | koda | i think it's under cmake_modules/cpackconfig or somth |
| 08:54:18 | kaen | okay, it chokes trying to find SDL2 |
| 08:58:39 | kaen | but I think that means that it's found openAL at least? |
| 09:07:06 | raptor | did you update to latest? |
| 09:07:40 | raptor | koda: thanks! |
| 09:09:12 | raptor | cmake can launch NSIS?? |
| 09:09:14 | raptor | that's cool! |
| 09:12:15 | | Nothing_Much has joined |
| 09:12:19 | kaen | yes |
| 09:12:42 | kaen | is SDL2 supposed to be /System/Library/Frameworks like OpenAL? |
| 09:12:46 | kaen | because it is not... |
| 09:13:10 | koda | yes nsis is for windows only though |
| 09:18:52 | kaen | ah, got it to find sdl |
| 09:19:07 | kaen | missing speex, vorbis, and ogg |
| 09:25:34 | raptor | kaen: all missing frameworks are in the lib/ directory |
| 09:25:42 | kaen | found almost all of them |
| 09:25:50 | kaen | case-sensitivity problems |
| 09:25:56 | kaen | but now I can't find zlib |
| 09:25:59 | kaen | nor openGL |
| 09:26:13 | raptor | the main CMakeLists sets up the search paths properly (or it should) |
| 09:26:24 | raptor | zlib and openGL are system frameworks |
| 09:26:38 | raptor | zlib might even just be a .dylib (osx dynamic library) |
| 09:29:02 | kaen | okay, got it to find zlib |
| 09:29:08 | kaen | just gl left now |
| 09:29:45 | raptor | should be in /System/Library/Frameworks |
| 09:30:14 | kaen | confirmed |
| 09:33:35 | raptor | do the cmake modules not find them? |
| 09:33:50 | kaen | indeed |
| 09:33:54 | kaen | in fact |
| 09:34:00 | kaen | it finds the library, but not the headers |
| 09:34:20 | raptor | what |
| 09:34:34 | raptor | because I made it so each module searches several paths |
| 09:34:48 | kaen | wait, you included an opengl module? |
| 09:34:53 | raptor | oh wait... |
| 09:34:57 | raptor | no, but |
| 09:35:13 | kaen | ok, I'm overriding the find_paths btw |
| 09:35:16 | raptor | there is some CMake variable you set up to make it search the standard places for frameworks |
| 09:35:42 | kaen | SET(CMAKE_FIND_ROOT_PATH ${CMAKE_SOURCE_DIR} /usr/i686-apple-darwin11/usr/System /usr/i686-apple-darwin11/usr) |
| 09:35:47 | kaen | is what I've got so far |
| 09:36:01 | raptor | in the toolchain file? |
| 09:36:04 | kaen | yes |
| 09:36:21 | kaen | the first is local libs, the second is system frameworks, the third is dylibs |
| 09:36:59 | raptor | and that didn't pick up the OpenGL.framework? |
| 09:37:08 | raptor | the system frameworks path, that is |
| 09:37:38 | kaen | OH! |
| 09:37:40 | raptor | i'm thinking instead of /usr/System |
| 09:37:40 | kaen | derp |
| 09:37:44 | raptor | it should be... |
| 09:37:45 | raptor | ? |
| 09:37:46 | kaen | I got too crazy with my find path |
| 09:37:54 | kaen | -- Build files have been written to: /home/bitfighter/build/bitfighter/build |
| 09:37:55 | kaen | :) |
| 09:38:06 | raptor | so fixed it seems? |
| 09:38:17 | kaen | it would seem... |
| 09:38:19 | kaen | however |
| 09:38:27 | kaen | lua-vec immediately throws an include error ._. |
| 09:38:37 | raptor | what |
| 09:38:41 | raptor | which? |
| 09:39:34 | kaen | http://pastie.org/7969305 |
| 09:40:33 | raptor | oh lovely |
| 09:41:07 | | Nothing_Much Quit (Remote host closed the connection) |
| 09:42:19 | kaen | okay... so the stdarg that lua-vec is including is (correctly?) the cross environment stdarg |
| 09:42:38 | kaen | but then that stdarg includes the real gcc stdarg to actually do stuff... |
| 09:43:19 | kaen | which is in direct conflict with set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |
| 09:45:00 | raptor | that's messed up |
| 09:45:26 | | Nothing_Much has joined |
| 09:54:28 | | SolumnMushroom has joined |
| 09:54:42 | SolumnMushroom | Hello all |
| 09:56:56 | kaen | greetings |
| 10:04:23 | Nothing_Much | Hi there |
| 10:08:50 | kaen | seriously, bubblegum wars might be the best map ever |
| 10:16:45 | raptor | ok, if a caulk gun with silicone in it explodes backwards |
| 10:16:54 | raptor | is there any way to save the silicone? |
| 10:20:01 | kaen | I don't know... |
| 10:20:09 | raptor | i think i hate caulk tubes |
| 10:20:19 | raptor | and I seem to relearn this lesson frequently |
| 10:20:21 | kaen | but I do know that I have 92 instances of stdarg.h on this build server... |
| 10:20:27 | raptor | ! |
| 10:45:21 | | koda Quit (Ping timeout: 276 seconds) |
| 11:05:00 | kaen | tomcrypt builds and links |
| 11:05:03 | kaen | now for tnl... |
| 11:05:06 | raptor | yay! |
| 11:05:36 | raptor | silicone is *really* good at not washing off of your hands.. |
| 11:27:36 | raptor | oh neat |
| 11:27:49 | raptor | cmake let me compile on OSX with normal 'make' too |
| 11:30:42 | kaen | HAH! |
| 11:30:44 | kaen | it's building ntl |
| 11:30:45 | kaen | tnl |
| 11:31:01 | kaen | now luavec |
| 11:31:03 | kaen | now... alure? |
| 11:31:24 | kaen | zap... |
| 11:31:48 | raptor | ntl! |
| 11:31:58 | raptor | oh boy oh boy |
| 11:33:27 | kaen | most intense compilation ever... |
| 11:33:32 | raptor | heh |
| 11:33:54 | kaen | pointobject.cpp |
| 11:34:10 | kaen | servergame |
| 11:34:25 | raptor | just wait until it hits Directory.mm |
| 11:34:33 | kaen | what's that? |
| 11:34:51 | raptor | it's the mac Obj-c class that handles the native directory function |
| 11:35:31 | kaen | just hit it |
| 11:35:32 | kaen | did fine |
| 11:35:35 | raptor | phoew! |
| 11:35:46 | kaen | onto the client files |
| 11:37:59 | kaen | ../exe/bitfighter: Mach-O executable i386 |
| 11:38:18 | raptor | there's gotta be a way to install a real X11 desktop on top of OSX... something that uses Ctrl+C for copying.. |
| 11:38:22 | raptor | it linked? |
| 11:38:24 | kaen | it linked. |
| 11:38:28 | raptor | woot! |
| 11:38:32 | raptor | I have a set up ready to test |
| 11:38:38 | raptor | if you want to give it to me.. |
| 11:38:40 | kaen | do you just need the exe? |
| 11:38:58 | raptor | yes, I have a bundle with all the resources set up that I can plop it into |
| 11:39:08 | raptor | I don't have bundle building set up yet... |
| 11:39:18 | raptor | with CMake, I mean |
| 11:41:02 | kaen | http://198.23.227.119:8010/bitfighter_osx.tar.gz |
| 11:41:08 | raptor | testing.. |
| 11:45:03 | raptor | success! |
| 11:45:53 | kaen | you're joking |
| 11:46:10 | kaen | lol I can't even believe that worked |
| 11:46:12 | raptor | there are two differences to the linked binary |
| 11:46:21 | raptor | maybe more... let me get them.. |
| 11:46:26 | kaen | okay |
| 11:47:02 | raptor | huh, maybe only one.. |
| 11:47:08 | raptor | I'm comparing with the native cmake build |
| 11:47:41 | raptor | yep - your xcompile build links in /usr/lib/libgcc_s.1.dylib |
| 11:47:44 | kaen | as an aside, check out this gnarly cmake command: http://pastie.org/7969921 |
| 11:47:46 | raptor | and the native build does not |
| 11:47:57 | kaen | ok |
| 11:48:19 | raptor | ha! wow |
| 11:48:26 | kaen | so I should link dynamically against gcc? |
| 11:48:59 | kaen | I had to specify all of the system include directories for some reason... |
| 11:49:06 | raptor | http://pastie.org/pastes/7969926/text |
| 11:49:10 | raptor | that's the linked list |
| 11:49:26 | raptor | the libgcc one there doesn't show up in the linked list for the native build |
| 11:49:32 | raptor | let me check the old Xcode build.. |
| 11:49:38 | raptor | honestly, I'm not sure it matters |
| 11:50:05 | kaen | hmm me either |
| 11:50:13 | raptor | yeah, forget it |
| 11:50:15 | raptor | it compiles! |
| 11:50:23 | kaen | I'll tuck it away in my list of things to remember if we find problems though |
| 11:51:04 | raptor | so the next question... can you build for ppc? :) |
| 11:51:24 | kaen | hehe |
| 11:51:31 | raptor | or actually, building for x86_64 would be more beneficial to anyone who'd want to actually test |
| 11:51:41 | kaen | ostensibly, yes |
| 11:51:51 | kaen | this things claims it can build universal binaries |
| 11:52:25 | raptor | well.. in reality what would be most worth it is if I can get CMake to build a .app |
| 11:52:58 | raptor | so all of the frameworks are FAT binaries |
| 11:53:06 | raptor | they have ppc, i386, x86_64 compiled in |
| 11:53:17 | raptor | so you should have everything you need if you have the proper system libs |
| 11:53:24 | raptor | (and cross compiler) |
| 11:57:23 | kaen | okay, so fat binaries are not of interest? |
| 11:57:35 | kaen | because it looks like it'd be easier to do multiple single-arch binaries |
| 11:57:46 | raptor | yeah, i think that would be better for the build bot |
| 11:57:53 | raptor | for release I can do the FAT ones |
| 11:58:07 | kaen | I have to build a separate toolchain for each arch x_x |
| 11:58:15 | raptor | oh man |
| 11:58:17 | raptor | well... |
| 11:58:18 | raptor | eh |
| 11:58:20 | | kaen shrugs |
| 11:58:26 | kaen | I've got the hang of it now :) |
| 11:58:29 | raptor | it's not like really have anyone that does testing on OSX.. |
| 11:58:41 | kaen | trrue |
| 12:03:11 | kaen | raptor, if we rename Ogg.framework to ogg.framework etc, then I won't have to add a bunch of find modules to our ./cmake dir (to add the lowercase names) |
| 12:03:22 | kaen | will the real OSX tolerate that? |
| 12:03:32 | raptor | uhh |
| 12:03:44 | raptor | so tell me what the problem actually is? |
| 12:03:55 | kaen | I misworded it above actually |
| 12:04:07 | kaen | the cmake find modules on my system only look for ogg.framework etc. |
| 12:04:16 | kaen | while the directory names in the project are Ogg.framework |
| 12:04:50 | raptor | oh |
| 12:04:52 | raptor | uh |
| 12:04:55 | kaen | to correct that we either have to rename .framework directories or add more FindXXX modules into our tree with the added names to look for |
| 12:04:59 | raptor | no no |
| 12:05:02 | raptor | instead |
| 12:05:12 | raptor | edit the FindOGG.cmake |
| 12:05:17 | raptor | in our modules directory |
| 12:05:30 | raptor | in the 'FIND_LIBRARY' part |
| 12:05:42 | raptor | add 'Ogg' after 'ogg libogg' |
| 12:05:44 | kaen | maybe ogg was a bad example |
| 12:06:07 | kaen | I had to do this for a handful of the libs that we didn't already include find modules for |
| 12:06:37 | kaen | oh, nevermind |
| 12:06:54 | kaen | you added the modules already :) |
| 12:06:56 | raptor | i guess cmake knows to do a case-insensitive search on OSX |
| 12:07:30 | kaen | that's okay, I'll just adjust the files then |
| 12:07:51 | raptor | what specifically do you need to adjust? |
| 12:08:00 | kaen | - NAMES vorbis libvorbis |
| 12:08:00 | kaen | + NAMES vorbis libvorbis Vorbis |
| 12:08:02 | kaen | etc. |
| 12:08:06 | raptor | ah ok |
| 12:08:37 | raptor | ah yes - on OSX cmake does a case-insensitive lookup.. |
| 12:08:47 | raptor | so that should be fine, just edit the ones in place |
| 12:27:48 | raptor | taking off for a bit.. back later |
| 12:27:51 | | raptor Quit () |
| 12:28:27 | kaen | later |
| 12:33:29 | | BFLogBot Commit: 8861d9e99592 | Author: kaen | Message: Add toolchain file for darwin11 cross compilation |
| 12:35:53 | | BFBuildBot Quit (Quit: buildmaster reconfigured: bot disconnecting) |
| 12:36:00 | | BFBuildBot has joined |
| 12:39:10 | | BFBuildBot Quit (Remote host closed the connection) |
| 12:39:23 | | BFBuildBot has joined |
| 12:44:59 | | BFLogBot Commit: 44a1cc4c1143 | Author: kaen | Message: use absolute paths for darwin toolchain (so the location doesn't have to be in your path) |
| 12:47:27 | BFBuildBot | build containing revision(s) [44a1cc4] on bitfighter-osx-i386-cross is complete: Success [build successful] Build details are at http://198.23.227.119:8010/builders/bitfighter-osx-i386-cross/builds/2 |
| 12:48:58 | kaen | \o/ |
| 13:35:03 | | SolumnMushroom Quit (Quit: Leaving) |
| 14:03:20 | | Darrel has joined |
| 14:08:08 | | Bob_____ has joined |
| 14:10:45 | | Bob_____ Quit (Client Quit) |
| 14:14:09 | | sam686 has joined |
| 14:14:11 | | ChanServ sets mode +v sam686 |
| 14:20:31 | | LordDVG has joined |
| 14:48:27 | | koda has joined |
| 15:42:12 | | Darrel Quit (Quit: Closed IRC client) |
| 15:43:59 | | LordDVG Quit (Ping timeout: 248 seconds) |
| 16:43:15 | | koda Quit (Quit: koda) |
| 18:01:04 | | raptor has joined |
| 18:01:04 | | ChanServ sets mode +o raptor |
| 18:11:11 | kaen | raptor, mac osx builder is online :) |
| 18:11:47 | kaen | I got the cmake bundler working 90% on my cross environment, but there's some wonkiness with the cmake platform detection so it does everything except build the package. |
| 18:39:06 | raptor | great! |
| 18:39:22 | raptor | can you send me your work? |
| 18:39:32 | raptor | a diff would be fine |
| 18:40:56 | kaen | well, there's actually not a lot to it: http://pastie.org/7971636 |
| 18:41:34 | kaen | which is based on this page: http://www.cmake.org/Wiki/BundleUtilitiesExample |
| 18:41:57 | kaen | oops, ignore line 4 of that paste... |
| 18:42:24 | kaen | I just put that in zap/CML |
| 20:09:40 | | kaen Quit (Ping timeout: 248 seconds) |
| 21:25:03 | | fordcars has joined |
| 21:30:53 | fordcars | night guys |
| 21:35:07 | | fordcars Quit (Ping timeout: 250 seconds) |
| 21:35:13 | | kaen has joined |
| 23:07:47 | | raptor Quit () |
| 23:44:40 | | bobdaduck has joined |
| 23:48:54 | bobdaduck | sup dudes |
| 23:54:54 | kaen | trying to make this TOTALLY LEGITIMATE copy of OSX to run... |
| 23:55:31 | kaen | stupid prepositions |
| 23:58:55 | bobdaduck | xD |
| 23:59:37 | bobdaduck | "graph the vectors and show a diagram of the sum of the vectors using tail-to-tail method" <2, 3> <6, -4> |
| 23:59:44 | bobdaduck | Can you explain what that actually means to me? |
| 23:59:50 | bobdaduck | Its my sisters homework and its been too long |