Timestamps are in GMT/BST.
| 00:01:21 | Watusimoto | the previous crashing issue does seem to have disappeared |
| 00:01:27 | Watusimoto | I'd love to know what the cause of it was |
| 00:01:34 | Watusimoto | but I'll settle for having it gone |
| 00:02:17 | raptor | heh |
| 00:02:19 | raptor | me too! |
| 00:04:11 | | bobdaduck has joined |
| 00:04:29 | Watusimoto | I'm running 9 bots on an essentially empty level |
| 00:04:31 | Watusimoto | lots of shooting |
| 00:04:43 | Watusimoto | oh craaaaaaaaaaaap |
| 00:05:04 | raptor | ...doesn't bode well |
| 00:05:50 | Watusimoto | same problem |
| 00:06:01 | raptor | noooooooooooo |
| 00:06:26 | Watusimoto | it's almost like the cached values go stale after a while |
| 00:06:30 | | Nothing_Much has joined |
| 00:08:15 | Watusimoto | ok, I'm done for the night |
| 00:08:24 | Watusimoto | I think next stop is lua 5.2 |
| 00:08:32 | Watusimoto | where can I find your copy? |
| 00:08:40 | raptor | i can check it in before the night is up |
| 00:08:50 | raptor | well, actually |
| 00:08:55 | raptor | what would you like me to do? |
| 00:09:23 | Watusimoto | mmmmm |
| 00:09:34 | Watusimoto | I'm going to check in what I've got here |
| 00:10:05 | Watusimoto | not sure... |
| 00:10:13 | Watusimoto | zip file on sam;s server? |
| 00:10:51 | raptor | here yo ugo: http://sam6.25u.com/upload/lua-5.2.1-lua-vec.tar.gz |
| 00:10:56 | raptor | (have to run to dinner!) |
| 00:11:04 | Watusimoto | bye! |
| 00:11:24 | | kodaOne has joined |
| 00:11:30 | | kodaOne is now known as kodane |
| 00:11:42 | | kodane Quit (Client Quit) |
| 00:16:07 | | Wuzzy Quit (Quit: Wuzzy) |
| 00:16:30 | | Wuzzy has joined |
| 00:17:53 | | BFLogBot Commit: 6e5ec94d49c5 | Author: watusimoto | Message: Simplify the proxy -- with caching in place, count will always be 1 |
| 00:17:54 | | BFLogBot Commit: 1c4b3502a5d9 | Author: watusimoto | Message: Formatting |
| 00:17:56 | | BFLogBot Commit: 74a51163c509 | Author: watusimoto | Message: Whitespace |
| 00:17:58 | | BFLogBot Commit: 804a1a6cc946 | Author: watusimoto | Message: Break out some functionality into a function to let me focus on the problem at hand |
| 00:17:59 | | BFLogBot Commit: 2669bf060e83 | Author: watusimoto | Message: Comments |
| 00:18:01 | | BFLogBot Commit: 54928e3cf5f1 | Author: watusimoto | Message: Comments |
| 00:18:02 | | BFLogBot Commit: 78eec1bb2415 | Author: watusimoto | Message: Rearrange code to be a little easier to follow |
| 00:18:04 | | BFLogBot Commit: 95715bda8e99 | Author: watusimoto | Message: Comments, formatting, and comment out a block of code I think is unused |
| 00:18:05 | | BFLogBot Commit: f19415d337f4 | Author: watusimoto | Message: Insert an assert to test a hypothesis. Also: formatting/comments |
| 00:18:07 | | BFLogBot Commit: 36184f0029d2 | Author: watusimoto | Message: Try explicitly removing items from cache... no effect. |
| 00:18:08 | | BFLogBot Commit: 46f7d77ed3af | Author: watusimoto | Message: Formatting |
| 00:18:10 | | BFLogBot Commit: beb22e6cdf4f | Author: watusimoto | Message: Whitespace |
| 00:18:11 | | BFLogBot Commit: 03094e3a0f9a | Author: watusimoto | Message: Updates of LuaW to refelect the latest by the original author. Significantly streamlines things, but we still have our crashing problem. |
| 00:18:16 | | BFLogBot Commit: 88bc5c35f957 | Author: watusimoto | Message: Merge |
| 00:20:59 | bobdaduck | woahhhhhhh |
| 00:21:03 | bobdaduck | LOGBOT STOP SPAMMING |
| 00:24:55 | koda | <3 spam |
| 00:25:13 | bobdaduck | I have a beef with spam |
| 00:25:31 | bobdaduck | I tried to call spam out on it but he's too much a chicken |
| 00:29:57 | raptor | back! |
| 00:30:07 | raptor | whoa Watusimoto committed! |
| 00:30:13 | raptor | dare i update.. |
| 00:30:57 | bobdaduck | lol |
| 00:30:59 | raptor | forewarning Watusimoto, with the new Lua, there are lots of compile errors in bitfighter |
| 00:31:50 | Watusimoto | ok |
| 00:33:53 | raptor | oh, i forgot to include the patch that was against the virgin 5.2.1 sources |
| 00:36:04 | raptor | here that is again: http://sam6.25u.com/upload/Lua-5.2.1_lua-vec_rev2.patch |
| 00:36:14 | raptor | (if you want to see the differences compared to the original) |
| 00:54:10 | Watusimoto | raptor, if you would, try your 5 second crash level with the latest... send me an email to let me know how rapidly it crashes. it took significantly longer to crash my test levels |
| 00:54:13 | Watusimoto | night! |
| 00:54:24 | raptor | testing... |
| 00:55:13 | raptor | got an assert: |
| 00:55:24 | raptor | luaW_push<Zap::Turret> (L=0xcac0a0, obj=0x112a020) at LuaWrapper.h:357 |
| 00:55:26 | raptor | 357 TNLAssert(proxy == luaW_toProxy<T>(L, -1), "Cached object is not the one we expect!"); |
| 00:55:50 | raptor | but the bots lasted about 10 seconds first... which seems like it'd be about to crash then |
| 00:59:44 | | Little_Apple has joined |
| 00:59:47 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 00:59:48 | Little_Apple | hello |
| 01:00:19 | bobdaduck | So. |
| 01:00:22 | bobdaduck | It has come to this. |
| 01:01:47 | Little_Apple | did i miss something? |
| 01:02:03 | bobdaduck | http://xkcd.com/1022/ |
| 01:03:20 | raptor | e-mail sent |
| 01:03:29 | raptor | ok, back later |
| 01:05:37 | Little_Apple | it worked. |
| 01:06:17 | bobdaduck | What did? |
| 01:07:20 | Little_Apple | ithascometothis |
| 01:11:36 | | raptor Quit () |
| 01:40:03 | | Lamp89 has joined |
| 01:40:03 | | Lamp89 Quit (Changing host) |
| 01:40:04 | | Lamp89 has joined |
| 01:40:23 | Lamp89 | Little Apple = troll. |
| 01:40:47 | Nothing_Much | how so? |
| 01:41:03 | Lamp89 | Do you even play the game with him?!?!?!?! |
| 01:41:11 | Lamp89 | Or are you just blind? |
| 01:41:36 | Lamp89 | He always is a troll |
| 01:41:42 | Lamp89 | and always was |
| 01:41:46 | Lamp89 | i think |
| 01:41:52 | Lamp89 | but he IS a troll |
| 01:42:41 | | Lamp89 Quit (Remote host closed the connection) |
| 01:42:52 | Nothing_Much | derp |
| 01:42:54 | Nothing_Much | welp |
| 01:43:03 | Nothing_Much | if so then he'd ha- oh hey it's little apple |
| 01:48:07 | | koda Quit (Quit: koda) |
| 01:51:18 | bobdaduck | lol |
| 02:33:43 | | raptor has joined |
| 02:33:43 | | ChanServ sets mode +o raptor |
| 02:34:18 | raptor | hi hi |
| 02:34:20 | raptor | ok |
| 02:34:21 | raptor | so |
| 02:36:18 | bobdaduck | So |
| 02:36:24 | bobdaduck | We could implement temporary/rotating badges |
| 02:36:28 | bobdaduck | and tie ship shapes to them! |
| 02:36:50 | bobdaduck | Then |
| 02:37:00 | bobdaduck | the "most games played" badge is a super valuable resource |
| 02:37:07 | bobdaduck | and everyone will be online ALL THE TIME. |
| 02:38:20 | raptor | heh... that's... not a bad idea actually |
| 02:38:43 | raptor | ok bobdaduck |
| 02:38:46 | raptor | i have a quest for you |
| 02:38:53 | bobdaduck | A quest! |
| 02:38:56 | bobdaduck | FOR EXP AND GOLD? |
| 02:39:05 | raptor | find me a version of bitfighter that had your multiple point select in the editor |
| 02:39:42 | raptor | we have at least these: http://bitfighter.org/releases |
| 02:39:51 | raptor | i'd start with 015a |
| 02:39:52 | bobdaduck | oh boy |
| 02:40:08 | raptor | because that would be before we rewrote the editor (almost from scratch) |
| 02:41:03 | bobdaduck | bitfighter 013 |
| 02:41:10 | raptor | you sure? |
| 02:41:10 | bobdaduck | contains multiple point selection and moving. |
| 02:41:15 | bobdaduck | How much exp and gold do I get! |
| 02:42:17 | raptor | 1g |
| 02:42:28 | raptor | how do i use multiple point selection again? |
| 02:42:55 | bobdaduck | Shift select more than just one point on a wall |
| 02:43:04 | bobdaduck | hold shift and drag one point and it drags multiple. |
| 02:43:13 | raptor | oh WOW, that's cool! |
| 02:43:25 | bobdaduck | Literally the most useful level editing feature possible |
| 02:43:30 | bobdaduck | has not been in the game for FOREVER. |
| 02:46:49 | | bobdaduck Quit (Quit: Page closed) |
| 03:06:00 | | Little_Apple Quit (Quit: Page closed) |
| 03:07:58 | | bobdaduck has joined |
| 03:08:19 | bobdaduck | Kaen: I figured out the problem with my headphones |
| 03:08:57 | bobdaduck | The battery was too low! That's why it was fine after I turned it on but then the quality degraded after a few seconds |
| 03:09:25 | | Nothing_Much Quit (Ping timeout: 245 seconds) |
| 03:22:41 | | Nothing_Much has joined |
| 03:42:50 | raptor | i think i pinpointed the vertex code... |
| 03:42:57 | raptor | for multiple select.. |
| 03:53:50 | kaen | most recent reminder that I hate javascript: 1 << 31 >> 31 == -1 |
| 03:54:53 | raptor | woo! |
| 03:54:57 | raptor | lovely! |
| 03:55:31 | raptor | because it evaluates the second shift first? |
| 03:55:49 | raptor | no that's not it |
| 03:57:01 | raptor | or maybe it's signed... |
| 03:57:10 | raptor | and makes a guess |
| 04:06:12 | kaen | yeah, the right bitshift is signed |
| 04:06:25 | kaen | so once that 1 makes it to the end, it sticks |
| 04:07:21 | kaen | in fact both of those shifts are signed technically although it only really matters for the right one |
| 04:07:33 | kaen | but the left bitshift will return a signed int |
| 04:07:59 | kaen | whereas >>> (triple shift) will return an unsigned int |
| 04:08:16 | kaen | (not sure if you knew js has internal signed/unsigned types) |
| 04:08:39 | raptor | i didn't |
| 04:08:43 | kaen | yeah |
| 04:08:50 | kaen | some ops return signed, others unsigned |
| 04:08:56 | raptor | i prefer to not know much about JS... only out of necessity |
| 04:08:59 | kaen | and you can 'cast' them |
| 04:09:14 | kaen | ... I'm writing a binary network lib for nodejs |
| 04:09:41 | kaen | so maybe that counts as necessity? |
| 04:10:03 | kaen | I'm actually really proud of it. you only write one function and the lib knows how to pack *and* unpack your object |
| 04:10:11 | kaen | and you can use logic in it a la openTNL |
| 04:10:15 | | Nothing_Much Quit (Ping timeout: 255 seconds) |
| 04:10:40 | kaen | and using it over a websocket means you don't have to use stupid json encoding |
| 04:11:15 | kaen | so it's really like a difference of 1kbps for two integers via json, or like five bytes with the WS overhead |
| 04:11:28 | kaen | using my method. |
| 04:12:03 | kaen | (1kbps is the actual rate I measured socket.io at) |
| 05:19:40 | | Nothing_Much has joined |
| 05:40:57 | | raptor Quit (Ping timeout: 256 seconds) |
| 05:43:34 | | bobdaduck Quit (Quit: Page closed) |
| 05:46:12 | | Wuzzy Quit (Quit: Wuzzy) |
| 05:55:10 | | CrazyLinuxNerd Quit (Quit: Leaving) |
| 06:43:44 | | kodaws has joined |
| 07:05:19 | | Darrel has joined |
| 10:04:03 | | watusimoto has joined |
| 10:04:04 | | ChanServ sets mode +o watusimoto |
| 10:23:34 | | watusimoto Quit (Quit: Leaving.) |
| 12:05:00 | | Watusimoto has joined |
| 12:50:17 | | Watusimoto Quit (Ping timeout: 248 seconds) |
| 13:46:10 | | sam686 has left |
| 15:21:21 | | raptor has joined |
| 15:21:21 | | ChanServ sets mode +o raptor |
| 15:34:48 | | raptor Quit () |
| 15:45:44 | | bobdaduck has joined |
| 16:00:19 | | BFLogBot Commit: fdbedf3a1a5d | Author: buckyballreaction | Message: Fix multiple vertex selection in Editor. This fixes issue #191 |
| 16:00:48 | bobdaduck | ^.^ |
| 16:03:55 | | raptor has joined |
| 16:03:56 | | ChanServ sets mode +o raptor |
| 16:04:02 | raptor | yes bobdaduck, that was for you... |
| 16:04:07 | bobdaduck | Saw that |
| 16:04:09 | bobdaduck | :D |
| 16:04:28 | bobdaduck | Was it hard? |
| 16:05:03 | raptor | it was a simple fix, but hard to track down - the Editor is very complex |
| 16:05:30 | bobdaduck | Well cool |
| 16:05:35 | bobdaduck | I can start making levels again! |
| 16:05:52 | raptor | question is: do you need a build with that fix? |
| 16:07:04 | bobdaduck | I want it as soon as possible |
| 16:07:17 | bobdaduck | Though would it be buggy if I played the normal game with it? |
| 16:07:22 | raptor | are you using stock 018 right now? or a different build? |
| 16:07:26 | bobdaduck | stock 018 |
| 16:08:30 | raptor | would a zip file work OK for you? |
| 16:08:50 | bobdaduck | Probably, not right now though I'm at work. |
| 16:08:55 | bobdaduck | Forum PM would work |
| 16:10:06 | bobdaduck | The reason I proposed changing seekers to do area damage |
| 16:10:27 | bobdaduck | Is because you can shoot them down, rendering them completely ineffective for anything ever. |
| 16:11:12 | bobdaduck | If they did area damage, then even if you shot them close to you they'd still do something. |
| 16:23:39 | bobdaduck | Would it be difficult to make a weapon that slows someone if it hits them? |
| 16:24:03 | raptor | bobdaduck: http://sam6.25u.com/upload/bitfighter-018-eacc478090d9-and_editor_vertex_fix.zip |
| 16:24:13 | raptor | there's your new bitfighter with the fix |
| 16:24:15 | bobdaduck | I'm at work... |
| 16:24:22 | raptor | ok |
| 16:24:26 | raptor | save the linky |
| 16:25:03 | raptor | a weapon that alters velocity on a semi-permanent basis would be completely new code, so non-trivial |
| 16:25:19 | bobdaduck | okay' |
| 16:25:22 | raptor | and with that, i'm off to school! |
| 16:25:30 | bobdaduck | GLHF |
| 16:26:09 | raptor | don't choke on that... |
| 16:26:12 | | raptor Quit () |
| 16:41:45 | | Darrel Quit (Read error: Connection reset by peer) |
| 16:41:47 | | Darrel_ has joined |
| 16:50:36 | bobdaduck | Who is this Darrel guy. |
| 16:50:41 | bobdaduck | Hey Darrel! |
| 16:50:43 | bobdaduck | Who are you |
| 16:58:49 | | watusimoto has joined |
| 16:58:49 | | ChanServ sets mode +o watusimoto |
| 16:59:07 | bobdaduck | Mornin, wat |
| 17:05:52 | | raptor has joined |
| 17:05:53 | | ChanServ sets mode +o raptor |
| 17:07:26 | bobdaduck | Mornin, rapto |
| 17:07:41 | raptor | hi |
| 17:07:59 | raptor | watusimoto: desura actually responded to my questions! |
| 17:08:04 | raptor | (finally) |
| 17:08:12 | watusimoto | hey there |
| 17:08:18 | raptor | hi hi |
| 17:08:19 | watusimoto | hi bobda |
| 17:08:23 | bobdaduck | Did they give you what you need? |
| 17:08:25 | watusimoto | what did they say? |
| 17:08:53 | raptor | they said that they do guarantee the libs on the system and that their 'stock' libs that they provide are from Ubunto 10.x (the LTS one) |
| 17:09:18 | raptor | if the libs are not found, they push them to the desura client |
| 17:09:39 | watusimoto | good as long as the user is compatible with ubuntu |
| 17:09:50 | watusimoto | so.... what do we (i.e. you) need to do? |
| 17:10:42 | raptor | he said for our two missing libraries, we need to distribute them |
| 17:10:47 | raptor | (speex, modplug) |
| 17:10:50 | raptor | but |
| 17:11:08 | raptor | now that i know what distro their from, i'm going to try and submit them to him again |
| 17:11:12 | raptor | *they're |
| 17:11:18 | watusimoto | does that mean stick them in the archive? |
| 17:11:26 | raptor | we'd have to do that now, yes |
| 17:11:30 | watusimoto | it would be better if he would add ours to their collection |
| 17:11:36 | raptor | correct |
| 17:11:39 | watusimoto | which is what it sounds like you are aiming for |
| 17:11:41 | raptor | which i'm going to try and attempt |
| 17:11:44 | watusimoto | good |
| 17:11:45 | watusimoto | ok |
| 17:11:56 | watusimoto | it would be nice to not have to create a special desura package |
| 17:12:09 | raptor | yes, i agree |
| 17:12:32 | watusimoto | they did express willingness before to add the missing libs to their collection, so probably worth a try |
| 17:12:54 | raptor | if we can get them to supply those two libraries, then all I'll need to do is convert a DEB to a desura folder (which can be scripted) |
| 17:13:11 | watusimoto | yes, that would be good |
| 17:13:28 | watusimoto | though we could also script slipping in those two files, if need be |
| 17:13:35 | watusimoto | but better not to |
| 17:14:08 | watusimoto | btw, I'm going to be completely offline from saturday for a week or so |
| 17:14:20 | raptor | ok |
| 17:14:42 | watusimoto | we'll need to decide what to do about the lua thing if it's not working in the next day or two |
| 17:14:50 | raptor | sigh... |
| 17:14:55 | watusimoto | roll back for the moment, or leave things broken in the repo |
| 17:14:55 | bobdaduck | mmmmm |
| 17:15:01 | raptor | will you attempt 5.2? |
| 17:15:06 | watusimoto | I may |
| 17:15:11 | watusimoto | yes probably |
| 17:15:21 | watusimoto | though I keep coming back to the idea that it can't be that |
| 17:15:28 | bobdaduck | Desura has 13,440 site visitors per day, supposedly |
| 17:15:29 | raptor | it seems to me that maybe Lua is garbage collecting the proxy for some reason... |
| 17:15:36 | watusimoto | because why didn't the pre-caching version crash? |
| 17:15:54 | watusimoto | I disabled garbage collection, confirmed with a breakpoint in the collector, and that wasn't the issue |
| 17:16:18 | raptor | last night's test showed that it is going 'stale' somehow, correct? |
| 17:16:21 | raptor | (the proxy) |
| 17:16:22 | watusimoto | I am now pretty sure we're not double-deleting anything relevant |
| 17:16:41 | watusimoto | probably |
| 17:17:15 | watusimoto | we are expereienceing a constellation of symptoms; the particualr symptom seems randomly selected, but the constellation is pretty stable |
| 17:17:16 | bobdaduck | Which is quite a few potential new players |
| 17:20:52 | bobdaduck | What's the worst case scenario for this lua bug? |
| 17:21:19 | watusimoto | the other thing I should try to do is to simplify the bot to get a minimal bot that reproduces the bug |
| 17:22:18 | raptor | easy |
| 17:22:27 | raptor | just use get:getVel() in idle() |
| 17:22:32 | raptor | bot:getVel() |
| 17:23:19 | watusimoto | would that work? |
| 17:23:31 | raptor | it works with orbitbot |
| 17:23:46 | raptor | orbotbot runs fine until i add that line in idle() |
| 17:24:29 | raptor | well, technically: local v = bot:getVel() |
| 17:31:53 | raptor | i'm going to use the build service to build for Ubuntu 10.04 LTS directly |
| 17:34:37 | watusimoto | good |
| 17:40:07 | | kodaws Quit (Ping timeout: 272 seconds) |
| 17:43:43 | bobdaduck | Darrel is a gci guy right? |
| 17:52:24 | watusimoto | yes |
| 17:53:35 | bobdaduck | And nothingmuch is a gci guy too? |
| 17:54:17 | watusimoto | no |
| 17:54:21 | watusimoto | laters! |
| 17:54:30 | bobdaduck | bye |
| 17:56:39 | | raptor Quit (Ping timeout: 252 seconds) |
| 17:58:39 | bobdaduck | Can we implement kill streaks again? |
| 17:59:00 | | watusimoto Quit (Ping timeout: 260 seconds) |
| 18:32:35 | kaen | damn it watu and raptor are both on |
| 18:32:45 | kaen | why haven't they bisected this crash yet!?! |
| 18:32:50 | bobdaduck | lol |
| 18:32:53 | kaen | both off.. |
| 18:33:14 | bobdaduck | Deficit spending. |
| 18:33:17 | kaen | I mean it's a technical term to find out *exactly* which version of the prog will/will not crash like that. |
| 18:33:19 | bobdaduck | That's why. |
| 18:33:39 | kaen | and allows you to see the exact code which differs between the last working and first broken build |
| 18:34:49 | kaen | and you only have to check at most log(n)/log(2) versions, if you use binary search |
| 18:35:10 | kaen | where n is the known range of commits over which the bug was introduced |
| 18:35:18 | kaen | .... |
| 18:35:24 | kaen | guess I know what I'm doing today |
| 18:35:37 | kaen | bobdaduck, do you know how to make that crash happen that they're talking about? |
| 18:36:07 | bobdaduck | It sounds like robots |
| 18:36:13 | bobdaduck | And some change in lua |
| 18:36:26 | bobdaduck | Resulted in certain random functions breaking robots. |
| 18:36:36 | bobdaduck | [10:22] <@raptor> just use get:getVel() in idle() |
| 18:36:39 | kaen | I keep telling them we should document bugs for real... |
| 18:36:44 | kaen | oh okay, thanks |
| 18:36:49 | bobdaduck | If you put that code in a bot it should crash it... |
| 18:36:56 | kaen | that's all I need! |
| 18:37:07 | bobdaduck | He's talking about specifically putting it into orbitbot |
| 18:37:14 | kaen | okay |
| 18:37:16 | bobdaduck | but a bunch of other functions are causing crashes too |
| 18:37:18 | bobdaduck | *shrug* |
| 18:41:59 | kaen | okay, I'm not getting a crash, but a lua error: |
| 18:42:11 | kaen | Fatal error running Lua code: attempt to index a nil value. Possibly out of memory? Shutting down Bitfighter. |
| 18:42:21 | kaen | it's not actually shutting down though. |
| 18:42:26 | kaen | does sound like it's right, bobdaduck? |
| 18:42:41 | kaen | if you don't know, I understand :) |
| 18:44:43 | bobdaduck | I've asked both of them |
| 18:44:45 | bobdaduck | like five times |
| 18:44:46 | bobdaduck | what the bug is |
| 18:44:54 | bobdaduck | And they haven't acknowledged me once |
| 18:45:01 | bobdaduck | so, uh, I have no idea what the bug is. |
| 18:45:02 | bobdaduck | xD |
| 18:45:44 | bobdaduck | It also sounds like the problem keeps jumping or spreading to different areas |
| 18:46:05 | bobdaduck | So they're having troubles tracking it down |
| 18:46:36 | bobdaduck | [10:22] <@raptor> just use get:getVel() in idle() [10:22] <@raptor> bot:getVel() [10:23] <@watusimoto> would that work? [10:23] <@raptor> it works with orbitbot [10:23] <@raptor> orbotbot runs fine until i add that line in idle() [10:24] <@raptor> well, technically: local v = bot:getVel() |
| 18:46:53 | bobdaduck | Maybe try local v = bot:getvel() |
| 18:46:58 | bobdaduck | make sure the code is right? |
| 18:47:22 | bobdaduck | The bug causes robots to run fine for about 10 seconds and then they all leave or crash or shutdown or whatever |
| 18:47:48 | bobdaduck | So if the robot outright didn't run maybe you just coded it wrong? |
| 18:47:57 | bobdaduck | Anyway I'm headed to lunch |
| 18:47:57 | bobdaduck | seeya |
| 18:48:06 | bobdaduck | Luck |
| 18:48:08 | | bobdaduck Quit (Quit: Page closed) |
| 18:51:41 | kaen | when you review the logs, bobdaduck, know that there is no such thing as luck |
| 18:52:05 | kaen | only confidence, resourcefulness, and perseverance |
| 19:08:26 | | raptor has joined |
| 19:08:26 | | ChanServ sets mode +o raptor |
| 19:08:30 | raptor | kaen kaen |
| 19:08:58 | raptor | (by the way that's cool about your network lib.. a good packer/unpacker is needed in JS) |
| 19:09:01 | raptor | also |
| 19:09:46 | raptor | i only found out yesterday(?) that watusimoto hadn't narrowed the Lua bug down to a specific revision; accordingly, I did so |
| 19:10:00 | kaen | excellent! |
| 19:10:18 | raptor | the revision that broke bots is this one: a017da940b3c |
| 19:10:41 | raptor | it was the revision that watusimoto implemented userdata caching for proxy objects |
| 19:11:14 | raptor | as an attemped solution, he updated LuaW to include the upstream caching that had since been implemented |
| 19:11:20 | raptor | but it still fails |
| 19:12:27 | raptor | i also ported our version of lua-vec to Lua 5.2.1 (old was 5.1.4) and he is probably going to try to update our Lua and try again... because nothing else is working |
| 19:13:30 | kaen | good grief. |
| 19:14:13 | raptor | so the temporary solution would be to revert LuaW to the revision just before.. |
| 19:14:32 | kaen | well at least there's a fallback |
| 19:14:38 | raptor | for whatever reason caching of the Lua/c++ proxy objects is breaking everything because those proxy objects are somehow going 'stale' |
| 19:14:52 | kaen | has that actually been tested with a current revision? |
| 19:15:01 | raptor | yes, last night |
| 19:15:04 | kaen | oh |
| 19:15:15 | kaen | so, the cache entry points to garbage? |
| 19:15:52 | raptor | an assert was added to check: |
| 19:15:53 | raptor | TNLAssert(proxy == luaW_toProxy<T>(L, -1), "Cached |
| 19:15:55 | raptor | object is not the one we expect!"); |
| 19:17:27 | raptor | you can easily dupe by loading the 'ctf' level, adding 20 bots, wait 10 seconds or so... |
| 19:18:16 | kaen | yes, I've been able to dupe it very easily |
| 19:18:21 | kaen | ... unfortunately :< |
| 19:19:07 | raptor | yeah... honestly i haven't had enough time to understand LuaW as much as watusimoto, so i haven't attempted a thorough investigation of my own |
| 19:19:23 | raptor | i've just been suggesting/providing support... sort of :) |
| 19:25:47 | raptor | ok, i'm off to work! later |
| 19:26:05 | kaen | bb |
| 19:26:14 | | raptor Quit () |
| 19:34:46 | | LordDVG has joined |
| 19:46:36 | | kaen Quit (Remote host closed the connection) |
| 19:47:18 | | kaen has joined |
| 19:59:36 | | Watusimoto has joined |
| 20:28:02 | | bobdaduck has joined |
| 20:31:15 | bobdaduck | Kaen there is totally such thing as luck. |
| 20:31:22 | bobdaduck | There is only luck in life |
| 20:32:12 | bobdaduck | as in, "I'm lucky I learned this in fourth grade!" or "I'm lucky I have friends" |
| 20:32:41 | bobdaduck | confidence, perseverance and whatnot, 'sall just side effects of luck. |
| 20:32:56 | bobdaduck | /dumb philosophy |
| 20:38:39 | | raptor has joined |
| 20:38:39 | | ChanServ sets mode +o raptor |
| 20:38:55 | raptor | sent desura the libs :) |
| 20:41:33 | bobdaduck | yay |
| 20:46:04 | | Nothing_Much Quit (Remote host closed the connection) |
| 20:50:03 | Watusimoto | good! |
| 20:50:46 | | Nothing_Much has joined |
| 20:51:00 | Watusimoto | any concerns that bf.org will need to be restarted in my absence? |
| 20:51:22 | raptor | well... you couldn't actually do much the last couple times it went down, could you? |
| 20:51:37 | Watusimoto | no |
| 20:51:46 | raptor | then no.. :) |
| 20:51:49 | Watusimoto | :-) |
| 20:54:39 | Watusimoto | just copied the lua src folder into my bf dev folder... |
| 20:54:49 | raptor | dun dun dun |
| 20:55:26 | Watusimoto | building... |
| 20:56:01 | Watusimoto | there's a couple of errors |
| 20:56:04 | bobdaduck | praying... |
| 20:56:12 | bobdaduck | that's not too bad? |
| 20:56:12 | raptor | buidling by itself? |
| 20:56:22 | Watusimoto | 1792 before I killed it |
| 20:56:23 | raptor | or already compiling bitfighter with its headers? |
| 20:56:56 | raptor | so there were a couple new compilation units that i had to add to the makefile for linux |
| 20:56:57 | Watusimoto | I just copied the files and hit build |
| 20:56:57 | kaen | *a couple thousand |
| 20:57:18 | Watusimoto | let's start with compiling lua itself, if i can |
| 20:57:29 | Watusimoto | I can't as it's not a separate project |
| 20:57:54 | raptor | did you replace the other Lua and just use the same vc++ project? |
| 20:58:06 | Watusimoto | or maybe I can |
| 20:58:13 | Watusimoto | I just overwrote the files |
| 20:58:33 | raptor | you're missing some headers + .c files then |
| 20:58:38 | raptor | there were new ones |
| 20:58:38 | Watusimoto | maybe I should have deleted them all first... |
| 20:58:40 | | kodapad has joined |
| 20:58:50 | Watusimoto | they would have been copied over |
| 20:59:05 | Watusimoto | unless they weren;t in the src folder |
| 20:59:46 | raptor | i recommend removing everything in the src/ folder first (except for your project file, if it's there) |
| 20:59:52 | raptor | then copying in all the new fiels |
| 20:59:55 | raptor | *files |
| 20:59:56 | Watusimoto | ok |
| 21:02:38 | kodapad | Hi |
| 21:03:04 | raptor | hi kodapad |
| 21:07:48 | Watusimoto | what are pax headers? |
| 21:11:50 | Watusimoto | doesn't matter anymore |
| 21:12:13 | raptor | pax? |
| 21:17:34 | kaen | ooph -- clang built most of bitfighter really, really, fast until it got to the actual bitfighter source |
| 21:17:41 | kaen | and now it's just crawling... |
| 21:18:41 | raptor | oh yeah... |
| 21:18:48 | raptor | clang will build fine |
| 21:19:02 | kaen | "fine" |
| 21:19:05 | raptor | :) |
| 21:19:14 | raptor | well... it seems to have a lot more warnings.. |
| 21:19:18 | kaen | oh yes |
| 21:19:23 | kaen | by far |
| 21:22:44 | bobdaduck | What's clang? |
| 21:22:50 | Watusimoto | several people mentioned that at fosdem |
| 21:23:08 | Watusimoto | someone said google built with clang in development, but with gcc for production |
| 21:23:59 | raptor | clang is apple's answer to gpl'd gcc, right? |
| 21:24:06 | Watusimoto | not sure |
| 21:24:14 | Watusimoto | but I am sure I am having some build problems with luavec |
| 21:24:17 | Watusimoto | just building that |
| 21:24:22 | raptor | as far as i know it compiles c/c++ into intermediate bytecode like python compilers |
| 21:24:47 | raptor | Watusimoto: really?? |
| 21:24:49 | Watusimoto | one of the altered lines is this: |
| 21:24:51 | Watusimoto | ((io)->value_).vec[0]=(x); ((io)->value_).vec[1]=(y); ((io)->tt_=(((4) | (1 << 6)))); |
| 21:25:03 | raptor | oh yes, that was a beauty |
| 21:25:07 | Watusimoto | it objects to value_ and tt_ |
| 21:25:16 | raptor | uhhh |
| 21:25:19 | Watusimoto | this code is so impossible to read |
| 21:25:21 | raptor | that's old... |
| 21:25:30 | raptor | i wonder if i gave you the wrong source.. |
| 21:25:42 | Watusimoto | old? |
| 21:25:42 | | LordDVG Quit (Remote host closed the connection) |
| 21:25:53 | raptor | yeah - stop where you are... you're on your way to redoing my work! |
| 21:26:01 | Watusimoto | From this file |
| 21:26:02 | Watusimoto | ** $Id: lapi.c,v 2.164 2012/06/08 15:14:04 roberto Exp $ |
| 21:26:15 | Watusimoto | I'm not leaving this couch! |
| 21:26:49 | Watusimoto | every variable in this f'n package is like one or two letters long |
| 21:27:43 | kaen | clang is an llvm frontend. google (and others) build with it in debug because it's sometimes faster and usually gives more useful error messages |
| 21:27:50 | kaen | but gcc makes faster executables |
| 21:27:55 | raptor | ok compiled |
| 21:28:07 | raptor | yeah i heard llvm is really nice for debugging |
| 21:28:09 | Watusimoto | it's like their repo has a space limitation on it so they have to compress the srource |
| 21:28:33 | Watusimoto | or maybe they like assembler so they want to make their c look like that |
| 21:29:28 | raptor | ok, compiled lua 5.2.1 with lua-vec |
| 21:29:36 | raptor | let me see about adapting to vc++ |
| 21:30:23 | Watusimoto | do I have the wrong source? |
| 21:30:44 | Watusimoto | and/or should I check in what I've got? |
| 21:30:46 | raptor | you might... |
| 21:30:52 | raptor | no checking in... |
| 21:30:54 | raptor | ok |
| 21:31:13 | raptor | i made *sure* that this is the proper lua-vec patched Lua 5.2.1 source: http://sam6.25u.com/upload/lua-5.2.1_lua-vec_try2.tar.gz |
| 21:31:32 | raptor | compiles cleanly on my machine (no warnings!) |
| 21:31:42 | bobdaduck | I'm just happy that multiple point barrier moving works now |
| 21:31:49 | bobdaduck | Bitfighter can die happy |
| 21:33:18 | bobdaduck | (which works like a charm raptor, good job) |
| 21:33:39 | Watusimoto | better |
| 21:33:43 | Watusimoto | 2 warnings, 1 error |
| 21:34:01 | Watusimoto | let me make sure I have all the headers in the project |
| 21:34:31 | raptor | bobdaduck: you're welcome :) |
| 21:34:38 | Watusimoto | ok, down to one error |
| 21:34:47 | raptor | that's waay better! |
| 21:34:51 | Watusimoto | do you get this? |
| 21:35:07 | Watusimoto | error C2129: static function 'void PrintFunction(const Proto *,int)' declared but not defined |
| 21:35:14 | raptor | uhhh... |
| 21:35:33 | raptor | that looks like a cross-platform problem... |
| 21:35:36 | Watusimoto | wait, it;s static |
| 21:35:41 | raptor | i've seen it before |
| 21:35:54 | Watusimoto | I'm looking at the definition |
| 21:35:56 | raptor | with libmodplug or something |
| 21:35:58 | raptor | i think the solution is to define it yourself |
| 21:36:01 | raptor | for windows |
| 21:36:20 | Watusimoto | ah, defined in here #ifndef _MSC_VER |
| 21:36:36 | Watusimoto | so I need to rewrite it outside that ifdef? |
| 21:38:00 | raptor | maybe... ? |
| 21:38:18 | raptor | i'm seeing if that was added by my patch.. |
| 21:38:44 | Watusimoto | I'm thinking no |
| 21:38:54 | raptor | it was! |
| 21:39:03 | raptor | it was added as part of bitfighter additions, too |
| 21:39:07 | Watusimoto | the only place it's referenced is here: |
| 21:39:07 | Watusimoto | #define luaU_print PrintFunction |
| 21:39:15 | Watusimoto | and the only place luaU_print is referenced is |
| 21:39:32 | Watusimoto | wait |
| 21:39:41 | raptor | there's an ifdef in luac.c |
| 21:39:46 | raptor | that wraps the main() thingy |
| 21:40:28 | Watusimoto | it's called by pmain |
| 21:41:36 | Watusimoto | which is referenced twice; once in main, which we won;t be running, and once in a different main that's ifdefed out |
| 21:41:49 | Watusimoto | so it will never be called from bitfighter |
| 21:41:58 | Watusimoto | only if we compiled a standalone lua |
| 21:42:14 | raptor | foudn the problem |
| 21:42:24 | raptor | luac.c |
| 21:42:38 | Watusimoto | so I resolve it by ifdefing out the forward declaration |
| 21:42:44 | raptor | move the final #endif to just around the main() function |
| 21:42:57 | raptor | for somereason my merge put it at the end instead of just around main() |
| 21:43:57 | Watusimoto | meaining only main() is ifdefed out |
| 21:44:09 | raptor | is supposed to be ifdef'd out, yes |
| 21:44:18 | Watusimoto | but only that, not the code that follows |
| 21:44:34 | raptor | looks like it shoudl be in its own class |
| 21:44:40 | raptor | checking original sources... |
| 21:44:40 | Watusimoto | well, whatever... it builds not |
| 21:44:41 | Watusimoto | now |
| 21:44:43 | Watusimoto | rather |
| 21:44:52 | Watusimoto | no warnings or errors |
| 21:45:04 | | Darrel_ Quit (Quit: Closed IRC client) |
| 21:45:51 | raptor | looks like that print.c class was moved into luac.c in upstream |
| 21:45:56 | raptor | so, i'll fix my patch |
| 21:46:36 | Watusimoto | as you wish... if I can make it work, it will be in the project |
| 21:46:54 | Watusimoto | now how badly will it break? |
| 21:47:11 | raptor | will what break? |
| 21:54:42 | raptor | ok Watusimoto, here is try 3 sources: http://sam6.25u.com/upload/lua-5.2.1_lua-vec_bitfighter.tar.gz |
| 21:55:00 | raptor | inside are lua tests + my own quick lua-vec test + my patch (already applied) |
| 21:55:09 | raptor | and it should reflect the change needed to compile on Windows |
| 21:55:34 | Watusimoto | what files do I need from here? tests? everything? |
| 21:55:53 | raptor | it's basically the same as before with that Windows fix |
| 21:56:01 | raptor | and some tests that you *could* run if wanted |
| 21:56:12 | raptor | i mostly posted it for archive purposes |
| 21:56:48 | Watusimoto | ok |
| 21:56:55 | Watusimoto | well, I already copied it over |
| 21:57:07 | Watusimoto | lame |
| 21:57:18 | Watusimoto | the only thing that changes was a terminal blank line was deleted |
| 21:57:31 | raptor | ha |
| 21:58:29 | Watusimoto | so... only 4033 errors to fix |
| 21:58:42 | raptor | in zap/ ? |
| 21:58:53 | Watusimoto | yes |
| 21:59:00 | raptor | sounds about right... |
| 21:59:20 | raptor | i attempted to do the Lunar header... but gave up quickly enough :) |
| 22:01:09 | Watusimoto | lua 5.2 has goto statements! |
| 22:01:45 | Watusimoto | and bitwise operators! |
| 22:01:58 | raptor | heh, yes |
| 22:02:35 | raptor | i hear once a scripting language gets bitwise operators, its finally growed up... |
| 22:02:47 | Watusimoto | not if they have 1-index arrays |
| 22:03:00 | raptor | ok ok, surly adolescent |
| 22:03:53 | Watusimoto | a mutant zombie baby |
| 22:06:19 | Watusimoto | this is alot of the errors: |
| 22:06:20 | Watusimoto | http://lua-users.org/lists/lua-l/2011-07/msg00708.html |
| 22:06:59 | | kodapad Quit (Quit: K Thx Bai) |
| 22:08:15 | raptor | yay case |
| 22:12:19 | Watusimoto | that one fix alone got me down to 5 errors |
| 22:12:24 | raptor | WOW |
| 22:12:37 | raptor | that's not as bad as i thought it'd be... |
| 22:12:41 | Watusimoto | yeah... I almost don't believe it |
| 22:12:58 | bobdaduck | They're fake |
| 22:13:27 | bobdaduck | There's probably like thousands of errors behind each one. |
| 22:19:25 | | kaen Quit (Read error: Connection reset by peer) |
| 22:34:13 | | Fordcars has joined |
| 22:39:19 | Watusimoto | good tip: find another project that was ported and look at the patch to see how things are done |
| 22:42:06 | raptor | i wholeheartedly agree |
| 22:43:01 | bobdaduck | I 1/4th heartedly disagree! |
| 22:46:05 | raptor | based on Opti's new bot's responses, within what degree of acuracy do you think we can pinpoint his age? |
| 22:46:32 | Fordcars | opti's? |
| 22:46:42 | bobdaduck | rofl |
| 22:46:43 | raptor | hi Fordcars |
| 22:47:07 | bobdaduck | With pretty good accuracy: 12. |
| 22:47:23 | raptor | haha, he even changed the conjugates... |
| 22:48:44 | raptor | bobdaduck: do you understand LA's post?: http://bitfighter.org/forums/viewtopic.php?f=4&t=1749 |
| 22:48:52 | bobdaduck | yes |
| 22:49:23 | raptor | was that another feature that disappeared with the editor, or does that not apply (because polywalls are new..) |
| 22:49:38 | bobdaduck | Its pretty simple. Some recent editor change made it so that when moving points on a loadout/goalzone, you could hold space to have it snap to points just on the outside of a wall. |
| 22:49:50 | bobdaduck | Polywalls do not have that functionality, and he's asking why. |
| 22:49:57 | raptor | ahh, ok |
| 22:50:13 | raptor | would it make sense to add that? |
| 22:50:16 | bobdaduck | Change my title to "translator" |
| 22:50:38 | bobdaduck | Quartz needed it for serpentine but it wasn't there so he figured out some crazy workaround... |
| 22:50:49 | raptor | so it does make sense.. |
| 22:50:51 | Fordcars | hehe I got my Raspberry Pi working! |
| 22:51:24 | Nothing_Much | nice |
| 22:51:28 | Nothing_Much | how's it runnin'? |
| 22:52:38 | Fordcars | good |
| 22:52:51 | Fordcars | trying to learn Python now. It's fairly easy |
| 22:52:57 | Fordcars | but I'm stuck ;/ |
| 23:07:21 | | Fordcars Quit (Ping timeout: 248 seconds) |
| 23:11:04 | raptor | OK Watusimoto I published both Linux branch releases on desura that are now based on Ubuntu 10.04 LTS; I didn't put in those two dependent libraries |
| 23:11:17 | raptor | hopefully i won't need to.. |
| 23:11:24 | Watusimoto | ok, fantastic |
| 23:11:31 | raptor | how is the Lua coming? |
| 23:12:34 | Watusimoto | getting a link error in luavec itself |
| 23:12:44 | raptor | booo |
| 23:13:09 | raptor | you mean linking against luavec with bitfighter? |
| 23:13:09 | Watusimoto | did you do anything with luaopen_gcvec? |
| 23:13:13 | Watusimoto | yes |
| 23:13:28 | raptor | nope, i didn't really touch the gcvec stuff other than to get it to compile |
| 23:25:28 | | Fordcars has joined |
| 23:25:44 | Fordcars | ahhh my internet was bugging, as always |
| 23:27:01 | | bobdaduck Quit (Quit: Page closed) |
| 23:28:06 | | Fordcars Quit (Client Quit) |
| 23:31:04 | Watusimoto | built!! |
| 23:31:09 | raptor | YES |
| 23:32:04 | | Fordcars has joined |
| 23:33:14 | | Fordcars Quit (Client Quit) |
| 23:33:26 | Watusimoto | let's see if it runs |
| 23:33:39 | raptor | k a boom! |
| 23:35:48 | raptor | Nothing_Much: you registered! |
| 23:35:50 | raptor | yay |
| 23:37:21 | Nothing_Much | I've been registered for a while :D |
| 23:38:17 | Watusimoto | bf closes as soon as it starts |
| 23:39:01 | Watusimoto | but it starts! |
| 23:39:14 | raptor | that's great! |
| 23:44:50 | Watusimoto | well, actually, it doesn't start |
| 23:44:54 | Watusimoto | it just prints this |
| 23:44:55 | Watusimoto | bitfighter_d.exe: C API - attempt to push a signaling NaN |
| 23:45:01 | Watusimoto | whatever that means |
| 23:45:20 | raptor | lua error |
| 23:45:39 | raptor | in lua_pushnumber |
| 23:55:10 | Watusimoto | it's called from checkVersion |
| 23:59:55 | Watusimoto | nothing in google about this |