Timestamps are in GMT/BST.
00:20:14 | | Flynnn Quit (Quit: This computer has gone to sleep) |
00:21:47 | | Imtaz has joined |
00:29:13 | Nothing_Much | level editor keeps losing my keyboard :( |
00:36:28 | | Imtaz Quit (Ping timeout: 245 seconds) |
00:38:21 | | Platskies Quit (Quit: Sleep time…) |
00:38:56 | | Tazinator has joined |
00:40:19 | | Platskies has joined |
00:40:26 | | Platskies Quit (Client Quit) |
01:21:35 | | spasitel Quit (Remote host closed the connection) |
01:23:41 | | safoshkina has joined |
01:25:05 | Tazinator | question |
01:25:26 | Tazinator | I don't understand levelgen, can't wrap my head on it |
01:26:26 | Tazinator | I tried a bit at making Random maps in AOE2 so im not totally clueless, but in that game, it was more like |
01:26:47 | Tazinator | idk but it was easier |
01:27:30 | Tazinator | wait nvm |
01:41:22 | raptor | Tazinator: start here: http://bitfighter.org/wiki/index.php/Levelgen_Tutorial_01 |
01:41:33 | raptor | and thank kaen for writing a good tutorial :) |
01:47:40 | Tazinator | blaaa im too dumb for this! |
01:47:52 | Tazinator | actually thank you though, i have read it before and not understood |
01:48:30 | Tazinator | I just want to make items generate at a specific coordinate, after a random generator chooses which item at the start of the level |
01:48:50 | | Flynnn has joined |
01:54:24 | Tazinator | the simplest stuff |
01:54:36 | Tazinator | (I am readin it) |
02:03:44 | kaen | Tazinator: that's #4 |
02:04:17 | kaen | which happens to be the last one I've written so far :) |
02:11:20 | Tazinator | setpos |
02:11:41 | raptor | case-sensitive! |
02:11:43 | raptor | setPos |
02:11:56 | Tazinator | uh oh |
02:11:59 | Tazinator | i crashed Bitfighter :D |
02:12:25 | Tazinator | function main() local myTextItem = EnergyItem.new() bf:addItem(myTextItem) myTextItem:setPos(0,0) end |
02:13:09 | Tazinator | hmm maybe the coords go in the first parenthesis |
02:14:14 | Tazinator | ok so commas inside parenthesis = big nono |
02:14:46 | Tazinator | is there a safe way to run this code? |
02:14:53 | Tazinator | i keep having to reopen |
02:16:07 | raptor | bitfighter shouldn't crash |
02:16:13 | raptor | the application actually exits? |
02:16:48 | Tazinator | well it doesnt crash |
02:16:53 | Tazinator | exit crash |
02:17:03 | raptor | what does that mean? |
02:17:08 | Tazinator | it gives me a beachball of death |
02:17:18 | Tazinator | but i just saw kaens code and am going to try it |
02:17:28 | kaen | I didn't test that code at all |
02:17:29 | Tazinator | for the record, function main() local myTextItem = EnergyItem.new() bf:addItem(myTextItem) end works fine |
02:17:47 | kaen | you have to do myTextItem:setPos(point.new(0,0)) |
02:17:52 | kaen | I think |
02:18:18 | kaen | more importantly |
02:18:28 | kaen | what, specifically, didn't you understand about the tutorials? |
02:18:32 | kaen | I have to rewrite those parts :) |
02:19:01 | Tazinator | You never explained how to write coordinates |
02:19:16 | Tazinator | so I experimented with numbers inside the parenthesis |
02:19:40 | Tazinator | raptor: I can get you a crash report now if you need one |
02:19:51 | Tazinator | raptor: i just force quit |
02:20:03 | kaen | oh! you're right |
02:20:55 | Tazinator | sooo how do I tell an item not to regenerate |
02:21:10 | Tazinator | or how long before it regens? Energyitem regenerates |
02:21:11 | Tazinator | :D |
02:21:48 | Tazinator | and.. if i want to put a comment in, i put ----- above and below right? |
02:22:37 | kaen | you put -- to the left of it |
02:22:46 | Tazinator | ahh. |
02:22:55 | Tazinator | and how do I signify a comment has ended? |
02:23:05 | Tazinator | do I make a new line or put -- on the right? |
02:23:43 | Tazinator | --This is a comment-- |
02:23:47 | kaen | new line |
02:23:52 | | koda Quit (Quit: koda) |
02:23:57 | kaen | you can make a block comment with --[[ and ]]-- |
02:24:39 | kaen | Tazinator: meet your new best friend: http://bitfighter.org/luadocs/annotated.html |
02:24:40 | kaen | :) |
02:24:42 | Tazinator | Im guessing block comments can run over many lines |
02:24:45 | kaen | yes |
02:24:56 | Tazinator | until the program see ]]-- |
02:25:14 | kaen | right |
02:25:28 | Tazinator | got it |
02:25:36 | kaen | so, to make a repairitem not regenerate, you'd do: |
02:25:43 | kaen | local item = RepairItem.new() |
02:25:47 | kaen | item:setRegenTime(0) |
02:25:52 | kaen | bf:addItem(item) |
02:25:53 | Tazinator | ooh |
02:26:17 | Tazinator | now I will ask, why does this have |
02:26:18 | Tazinator | bf:addItem(RepairItem.new(point.new(20, 50))) |
02:26:25 | Tazinator | ))) at the end |
02:26:38 | kaen | because you have to close your parentheses |
02:26:54 | kaen | it's a new point passed into a new repairitem passed into bf:addItem |
02:27:13 | Tazinator | okok |
02:27:19 | kaen | like in math, the thing inside of the most parentheses happens first |
02:27:35 | kaen | hmm, that's a bad way to put it, but I think you get what I mean |
02:27:57 | Tazinator | I want to make four repair items, each at a diff coordinate. Can I just list four different coordinates |
02:28:07 | Tazinator | and say bf:addItem(RepairItem.new |
02:28:08 | Tazinator | once |
02:28:31 | kaen | nope, you need a for loop |
02:28:34 | kaen | or |
02:28:38 | kaen | list it four times |
02:28:47 | Tazinator | listing it four times is messy. |
02:29:05 | kaen | not if you already know the coordinates :P |
02:29:19 | kaen | a for loop is at least three lines, possibly four with initialization logic |
02:29:52 | Tazinator | bahhhh |
02:29:57 | Tazinator | I thought it would be more like |
02:30:00 | raptor | i'm concerned that the OSX port hard crashes with that levelgen.. |
02:30:03 | kaen | a for loops is definitely the "correct" way to do it, though |
02:30:15 | Tazinator | bf:addItem(RepairItem.new(point.new(0, -1020)(0, 1020)) |
02:30:37 | kaen | think about it this way |
02:30:39 | Tazinator | raptor: |
02:30:42 | Tazinator | let me crash it really fast |
02:30:56 | raptor | Linux doesn't |
02:31:20 | kaen | every time lua runs RepairItem.new(), it's creating a new repair item. so you need to call new once for each individual repairitem. |
02:32:03 | Tazinator | blaah I forgot how the code looked |
02:32:06 | Tazinator | when I creashed it |
02:32:20 | Tazinator | I have it but it's unorganized. Does it matter if it's all in the same line? |
02:32:27 | raptor | that's fine |
02:33:09 | Tazinator | OK I got beachball again |
02:33:30 | Tazinator | this time i didnt forcequit |
02:33:33 | Tazinator | it crashed |
02:34:24 | Tazinator | http://pastebin.com/hBjsjSTw |
02:34:42 | Tazinator | theres the crash report, courtesy of.. crash report? |
02:34:58 | raptor | thanks! |
02:35:04 | Tazinator | if you need system details i have those too |
02:35:24 | Tazinator | system config, whatever it calls itself |
02:35:36 | raptor | that's the same crash with that Lua plugin |
02:35:50 | raptor | I'm beginning to think it's a completely unrelated issue |
02:35:58 | Tazinator | I was dicking around in the ini today |
02:36:00 | Tazinator | so uhh |
02:36:18 | raptor | i'll let you get back to levelgen tutorial with kaen |
02:36:57 | Tazinator | Yeah |
02:37:52 | Tazinator | raptor |
02:37:56 | Tazinator | i think it just wasnt closed right |
02:37:57 | raptor | hello? |
02:38:23 | Tazinator | I changed () to ())) and (0,0) to (0,0))) and now it works |
02:39:04 | raptor | yeah, but Lua shoudl never hard crash the game |
02:39:24 | raptor | we catch Lua crashes before they crash the game... |
02:39:51 | Tazinator | anyway. I remember there was a way to show levelgen effects in the editor without testing the level |
02:39:57 | Tazinator | But I dont remember how to use that |
02:40:20 | raptor | check the editor help screen, it's a key combo |
02:41:39 | Tazinator | also, on an unrelated note, i recall you or someone told me i have to quit Bitfighter to see the changes I made to a level or levelgen |
02:41:50 | Tazinator | but I just have to quit the editor and save my effects, and then reopen the editor |
02:41:56 | Tazinator | or is that by design? |
02:43:48 | | BFLogBot Commit: daa17579a4c6 | Author: buckyballreaction | Message: Notifier: unify some start-up logic and show a message that the notifier started |
02:43:53 | raptor | i liked python a whole lot more before having to do cross-platfrom junk |
02:44:11 | raptor | Tazinator: that's with the INI |
02:44:21 | raptor | any INI changes need to be done with the game not running |
02:44:32 | raptor | for a levelgen, you can edit it while testing the level |
02:44:40 | raptor | then just do /restart to reload it |
02:44:54 | Tazinator | ha ok cool |
02:44:57 | Tazinator | thanks |
02:45:50 | Tazinator | YES. THE LEVELGEN WORKS NOW |
02:46:42 | raptor | oh boy, another levelgener in embryo... |
02:49:29 | Tazinator | I hate coding |
02:49:32 | Tazinator | so no |
02:49:45 | Tazinator | well ok I dont mind basic stuff, but hard stuff I wont do |
03:07:37 | Tazinator | hey how do I record my games? |
03:07:49 | Tazinator | I've seen it on a server or two but never used it |
03:12:01 | Tazinator | I FOUND IT |
03:13:37 | Nothing_Much | Hi everyone |
03:15:34 | Nothing_Much | kaen: what are your pc's specs? ssr works pretty well |
03:15:42 | Nothing_Much | however there's something weird about the gl injector |
03:16:38 | Nothing_Much | when you make bitfighter bigger in windowed mode, you get some lag on an older PC when you fullscreen it, but when it's smaller and you enter it in fullscreen mode, I don't get any lag |
03:17:18 | raptor | is that when you do maximize? or alt+enter fullscreen? |
03:18:10 | Nothing_Much | uh, I go to the options menu and make it fullscreen and it gets lag when you make the windowed mode a bit larger (resizing basically) |
03:18:35 | raptor | i don't understand, you are resizing a fullscreen window? |
03:18:37 | Nothing_Much | when you resize it smaller though, and then you fullscreen it from the options menu, you don't get lag |
03:18:50 | Nothing_Much | no no, you resize it in windowed mode |
03:19:16 | raptor | ok, do you resize it be dragging a corner? or doing the maximize thingy? |
03:19:26 | Nothing_Much | dragging a corner |
03:19:29 | Nothing_Much | :) |
03:19:46 | raptor | and the lag happens when dragging or just a lot more after making it bigger? |
03:20:03 | Nothing_Much | just a lot more when making it bigger |
03:20:14 | Nothing_Much | but the weird part is when you go into the options menu and make it fullscreen |
03:20:14 | raptor | huh, that's odd |
03:20:55 | Nothing_Much | when in windowed mode and it's smaller, you don't get lag when you fullscreen it when the windowed mode is literally smaller resized |
03:23:22 | raptor | sounds like a possible SDL 1.2 + hardware issue |
03:24:32 | kaen | I tried out SSR today, it was ok |
03:24:40 | kaen | the injector really messed up my performance |
03:24:55 | Nothing_Much | kaen: what are your specs? |
03:25:05 | kaen | I had better results forcing software rendering and using the normal window capture |
03:25:19 | Nothing_Much | oh my |
03:25:21 | Nothing_Much | specs? |
03:25:49 | kaen | I think like 2.0G dual core |
03:25:57 | kaen | shared memory onboard gpu |
03:26:02 | kaen | that's the killer |
03:29:34 | Nothing_Much | oh man |
03:32:18 | raptor | ok, what the crazy |
03:33:02 | raptor | kaen: any idea why a string being piped into LuaException would be garbage when right before the call I wrap all const char * in a string? |
03:34:52 | kaen | stale reference? |
03:35:08 | kaen | oh wait, no |
03:35:11 | raptor | does wrapping a const char* in string() not create a copy? |
03:35:30 | kaen | I'd assume it does |
03:36:12 | kaen | (4) from c-string |
03:36:12 | kaen | Copies the null-terminated character sequence (C-string) pointed by s. |
03:36:17 | kaen | ok, cross that off the list |
03:40:40 | raptor | I think we shipped with stackTracer broken |
03:43:52 | raptor | wait, maybe watusimoto broke something.. |
03:47:34 | | Tazinator Quit (Quit: Page closed) |
03:48:48 | | Nothing_Much Quit (Quit: Konversation terminated!) |
03:50:17 | raptor | ok, phoew, it works... just something is goofy with subscribe() |
03:51:16 | raptor | FYI, when increasing your bash history in .bashrc, make sure to set both of these: |
03:51:18 | raptor | HISTFILESIZE=20000 |
03:51:19 | raptor | HISTSIZE=20000 |
03:51:24 | raptor | default was 1000 |
03:51:33 | raptor | too low, just too low.. |
03:55:36 | kaen | not sure if I showed you the magic of ctrl+R |
03:55:41 | kaen | but ctrl+R is magic |
03:56:03 | raptor | in where? |
03:56:37 | kaen | in bash |
03:56:44 | kaen | it searches your history |
03:56:47 | raptor | oh search! |
03:56:54 | kaen | changed my life. |
03:56:56 | raptor | yeah, i just type the start of something and do PgUp |
03:57:04 | kaen | oooh |
03:57:08 | kaen | never heard of that one before |
03:57:21 | raptor | yeah, faster than ctrl+R and without the messiness |
03:57:27 | raptor | but only in later bash versions, i think |
04:13:59 | | IMTAZ has joined |
04:14:09 | IMTAZ | the CAPTCHA is way harder now! |
04:21:39 | | Nothing_Much has joined |
04:25:25 | raptor | night! |
04:25:35 | | raptor Quit () |
04:26:44 | | destroyerimo has joined |
04:28:06 | Nothing_Much | g'night |
04:34:22 | IMTAZ | so nm im looking on game jolt wheres the good stuff |
04:46:11 | Nothing_Much | IMTAZ: It's the link I posted in that section |
04:46:13 | Nothing_Much | erm |
04:46:46 | Nothing_Much | On the bitfighter forums, you click the link I posted, then you go and support my post to show there's more interest by posting why and/or how bitfighter's awesome 'n stuff. |
04:47:20 | Nothing_Much | Don't just leave a comment on the game's homepage on GameJolt, because most people bypass it |
04:47:29 | | IMTAZ Quit (Quit: Page closed) |
04:47:31 | Nothing_Much | so getting bitfighter "out there" is- |
04:47:33 | Nothing_Much | oh |
04:47:34 | Nothing_Much | ok |
04:47:38 | Nothing_Much | :( |
05:29:27 | | vs73nx has joined |
05:29:32 | | fordcars has joined |
05:33:38 | | Nothing_Much Quit (Read error: Connection reset by peer) |
05:33:47 | | O has joined |
05:34:10 | | O is now known as Guest22569 |
05:46:26 | | vs73nx Quit (Remote host closed the connection) |
05:47:04 | | Guest22569 Quit (Quit: Konversation terminated!) |
05:47:18 | | destroyerimo Quit (Ping timeout: 240 seconds) |
05:49:13 | | vs73nx has joined |
05:49:13 | | vs73nx Quit (Changing host) |
05:49:13 | | vs73nx has joined |
06:25:24 | | Nothing_Much has joined |
06:31:52 | | safoshkina Quit (K-Lined) |
06:43:01 | | TommyZ has joined |
06:48:20 | | Darrel Quit (Ping timeout: 265 seconds) |
07:03:11 | TommyZ | Im making an epic zc map |
07:09:23 | fordcars | Night! |
07:09:25 | | fordcars Quit (Quit: Page closed) |
07:25:53 | TommyZ | kaen: is there a stretch tool? |
07:26:13 | TommyZ | I want to stretch this goalzone by like maybe 20% width wise |
07:28:31 | TommyZ | it has like 30 or 40 places to grab it |
07:28:44 | TommyZ | and i need to make 12 or 13 of these so mess up once, uh oh D: |
07:29:44 | | kaen Quit (Remote host closed the connection) |
07:31:35 | TommyZ | blaaaa |
07:51:47 | | kaen has joined |
08:07:01 | | TommyZ Quit (Quit: Page closed) |
08:40:44 | | TommyZ has joined |
08:41:51 | TommyZ | haha my level is half done :) Is ok that I uploaded it early? I dont want to crash and lose data |
08:41:53 | TommyZ | http://bitfighter.org/pleiades/levels/view/226 |
08:57:37 | | watusimoto has joined |
08:57:37 | | ChanServ sets mode +o |
08:58:38 | | vs73nx Quit (Quit: Quitting for now… See you all later) |
09:34:58 | | Platskies has joined |
09:36:04 | | Platskies Quit (Client Quit) |
09:38:59 | | Platskies has joined |
10:10:19 | | TommyZ Quit (Quit: Page closed) |
10:16:50 | | Platskies Quit (Quit: Platskies) |
10:20:59 | | Platskies has joined |
10:23:26 | | Nothing_Much Quit (Ping timeout: 265 seconds) |
10:45:03 | | Flynnn Quit (Quit: This computer has gone to sleep) |
10:49:49 | | Darrel has joined |
12:03:00 | | hylian has joined |
12:03:24 | | hylian is now known as Guest52717 |
12:04:59 | | HylianSavior Quit (Ping timeout: 240 seconds) |
13:12:36 | | Platskies Quit (Read error: Connection reset by peer) |
13:19:56 | | Invisibl1 has joined |
13:22:11 | | hylian has joined |
13:22:35 | | hylian is now known as Guest16467 |
13:23:13 | | hylian_ has joined |
13:25:13 | | Guest52717 Quit (Ping timeout: 240 seconds) |
13:26:49 | | Guest16467 Quit (Ping timeout: 240 seconds) |
13:30:32 | | LordDVG has joined |
13:56:46 | | Watusimoto_ has joined |
13:58:31 | | Invisibl1 Quit (Ping timeout: 265 seconds) |
14:07:58 | | Watusimoto_ Quit (Ping timeout: 264 seconds) |
14:46:23 | | Watusimoto_ has joined |
14:49:36 | | koda has joined |
15:06:31 | | Watusimoto_ Quit (Ping timeout: 252 seconds) |
15:12:03 | | Invisible1 has joined |
15:16:25 | | Darrel Quit (Ping timeout: 240 seconds) |
15:16:38 | | Darrel has joined |
15:17:43 | | Invisible1 Quit (Read error: Connection reset by peer) |
15:32:22 | | Invisibl1 has joined |
15:34:04 | | raptor has joined |
15:34:04 | | ChanServ sets mode +o |
15:35:46 | raptor | good day! |
15:37:01 | | bobdaduck has joined |
15:37:03 | | bobdaduck_ has joined |
15:37:09 | | bobdaduck_ Quit (Read error: Connection reset by peer) |
15:42:40 | kaen | greetings |
15:42:51 | Invisibl1 | hi |
15:43:09 | raptor | hi |
15:43:19 | raptor | kaen you have the 2 highest rated maps on pleiades! |
15:43:24 | | Invisibl1 is now known as Invisible2 |
15:43:36 | Invisible2 | what are they? |
15:43:52 | kaen | woo! |
15:44:27 | kaen | http://bitfighter.org/pleiades/levels/view/1 and http://bitfighter.org/pleiades/levels/view/5 |
15:44:29 | kaen | Invisible2: ^ |
15:45:53 | raptor | whoa, watusimoto even uploaded one: http://bitfighter.org/pleiades/levels/view/178 |
15:46:19 | kaen | I made a level database so I could make levels that I made with plugins that I made to win fake internet points (that I made!) |
15:46:26 | kaen | talk about self-congratulatory :) |
15:46:59 | raptor | i knew it! |
15:47:40 | kaen | oh wow, that one's cool |
15:47:57 | raptor | ameobae |
15:48:00 | raptor | sort of |
15:48:46 | | Invisible2 Quit (Ping timeout: 264 seconds) |
15:51:54 | raptor | oh wait, Zemmer is the author... |
15:52:23 | kaen | ohhh |
15:52:34 | raptor | he must not have a forums account.. |
16:02:10 | | LaunchDirector Quit (Remote host closed the connection) |
16:05:44 | bobdaduck | All my levels disappeared! |
16:08:30 | raptor | oh? |
16:09:22 | bobdaduck | Yeah |
16:09:28 | bobdaduck | my backups are fine though so no problem |
16:09:35 | raptor | how did that happen? |
16:09:56 | bobdaduck | Dunno |
16:10:03 | bobdaduck | Probably while I was trying to get the party server up |
16:10:13 | bobdaduck | frantic ctrl-Xing from six different folders |
16:10:54 | | LordDVG Quit (Ping timeout: 244 seconds) |
16:11:16 | raptor | so it probably exists somewhere... |
16:11:33 | bobdaduck | My backups are fine though |
16:21:53 | | destroyerimo has joined |
16:24:23 | | LordDVG has joined |
16:29:22 | raptor | we have to somehow encourage more map voting, i think.. |
16:30:06 | bobdaduck | nobody remembers how to do it in-game |
16:30:28 | raptor | there are quick keys... i think |
16:30:33 | raptor | but usually i do /rate up/down |
16:34:18 | bobdaduck | Its not enough |
16:34:26 | bobdaduck | there needs to be a visual cue for players. |
16:34:55 | bobdaduck | Maybe it could be coded to, after a level finishes, if the level is in the database, then pause for a second and give players a vote menu? |
16:36:19 | kaen | I think that's a great idea! |
16:37:35 | bobdaduck | Also the dividers between sections on the actual pleiades aren't very ergonomic |
16:49:57 | | destroyerimo Quit (Ping timeout: 252 seconds) |
17:02:49 | | Nothing_Much has joined |
17:06:25 | | Invisible1 has joined |
17:06:31 | watusimoto | hi all! |
17:06:33 | watusimoto | kaen: could we change the pleiades display to show the author rather than the uploader |
17:06:35 | watusimoto | ? |
17:06:48 | watusimoto | because you are right, that level is not mine |
17:06:50 | kaen | that's what it's supposed to do :P |
17:06:57 | kaen | clearly I broke that somehow... |
17:13:13 | bobdaduck | Hi |
17:13:20 | bobdaduck | I need to find all flag spawns |
17:13:33 | bobdaduck | How is findAllObjects supposed to work? |
17:41:42 | kaen | bf:findAllObjects(t, ObjType.FlagSpawn) |
17:56:44 | | Flynnn has joined |
18:08:04 | | watusimoto Quit (Ping timeout: 252 seconds) |
18:11:08 | | koda Quit (Quit: koda) |
18:13:11 | | koda has joined |
18:18:01 | raptor | a new project bobdaduck? |
18:18:29 | bobdaduck | I don't think so. |
18:18:44 | bobdaduck | I will need to redo the party thing now that its sorted out |
18:19:13 | raptor | great! |
18:22:13 | bobdaduck | I dunno when |
18:24:14 | | Watusimoto has joined |
18:25:38 | Watusimoto | `hi again |
18:25:46 | raptor | hi |
18:26:03 | Watusimoto | I was right in the middle of typing soemthing when I fell asleep last night |
18:26:20 | Watusimoto | now I can no longer remember what I wanted to say! |
18:26:23 | raptor | sleep is good |
18:26:30 | raptor | we had daylight savings! |
18:27:04 | raptor | where angry hoards of local mother curse its name all day long |
18:27:07 | raptor | *mothers |
18:32:16 | | BFLogBot Commit: 2e15b9efbf5d | Author: watusimoto | Message: Fix crash with raptor's level -- our tests for this aren't very comprehensive! |
18:32:18 | | BFLogBot Commit: 41911d2a77ae | Author: watusimoto | Message: Merge |
18:32:33 | raptor | what was the issue? |
18:33:27 | bobdaduck | I slept until 2 pm! |
18:33:59 | bobdaduck | Because my body just up and was like "I think I need 15 hours of sleep today!" so it did. |
18:34:08 | Watusimoto | look at the fix |
18:34:26 | Watusimoto | sloppy testing is the ultimate cause |
18:34:38 | Watusimoto | the proxmiate cause was no level name |
18:34:50 | raptor | ah ha |
18:38:01 | | Canseco has joined |
18:43:16 | | bobdaduck Quit (Remote host closed the connection) |
18:44:40 | raptor | I started doing bugs again... |
18:45:14 | raptor | I found that there was a missing args check in the lua_subscribe method |
18:45:58 | raptor | but when adding it, and attempting to subscribe to a non-existent method, the error message isn't actually printed out - it's like the string disappears before throwing the LuaException |
18:48:58 | | Flynnn Quit (Quit: This computer has gone to sleep) |
18:52:56 | raptor | only happens when being called from main() (or a sub-method) |
18:53:10 | raptor | it's jsut weird |
18:57:13 | Watusimoto | oh, there's a bug in the test |
18:57:14 | Watusimoto | Error 11 error C3861: 'lua_pushvec': identifier not found c:\users\chris\documents\bf-trunk\bitfighter_test\testobjects.cpp 232 1 test |
18:57:24 | Watusimoto | what's the fix? |
18:57:52 | raptor | luaPushVec |
18:57:54 | raptor | I think |
18:58:17 | raptor | I had to write my own replacement methods |
18:58:35 | raptor | I wanted to talk the logic over with you some tiem, as I want to be as efficient as possible with that API call |
18:58:43 | Watusimoto | no, that's not it |
18:58:50 | Watusimoto | ok |
18:59:02 | raptor | luaPushPoint? |
18:59:05 | raptor | checking.. |
18:59:27 | Watusimoto | that could be |
19:00:28 | Watusimoto | that seems to be working |
19:00:47 | Watusimoto | builds, but haven't run the test |
19:01:09 | raptor | yup, that's it |
19:01:21 | sam686 | Warnings.. Errors... Everywhere http://sam6.25u.com/upload/text1403/140310_13-59-43.txt |
19:01:52 | raptor | hi sam686 |
19:02:14 | sam686 | That what happens when doing CMake .. -G "Visual Studio 9 2008 Win64" |
19:02:23 | raptor | so, just so you both know (as our windows devs): luajit *needs* to be built externally with it's own makefile/batch process |
19:03:12 | Watusimoto | why can I build without running the external makefile? or does that happen automatically somewhere? |
19:03:29 | raptor | but, I've had success in modifying compiler flags for it, so feel free to do that, if needed: lua/luajit/src/msvcbuild.bat |
19:03:39 | raptor | i've set it up automatically with CMake |
19:04:02 | raptor | so the work is done for you |
19:04:07 | sam686 | does cmake makes the luajit makefile/project like others automatically? |
19:04:13 | raptor | no |
19:04:18 | raptor | it's an 'externalproject' |
19:04:33 | | Flynnn has joined |
19:04:54 | raptor | what i'm saying is that you cannot import the sources into your IDE and compile it as a project because luajit requires a very specific compiling order |
19:05:36 | raptor | so I set it up as a cmake 'external project' which will call the build from within your IDE, but use the internal building batch file |
19:06:41 | raptor | ah, sam686, it looks like it does compile fine for you, but your errors are with the master target? |
19:07:15 | raptor | oh no wait, i see the luajit errors |
19:07:22 | sam686 | no, see the "Win64" and "x64"? |
19:07:31 | raptor | ha |
19:07:47 | raptor | well there is no 64bit windows support in btifighter's libraries |
19:08:41 | sam686 | errors on luajit, errors on Lua on most Zap files, linker errors (cmake incorrectly using 32 bit on 64 build) |
19:09:11 | raptor | make sense |
19:09:17 | raptor | 32bit version of cmake? |
19:10:03 | raptor | anyways, we haven't migrated bitfighter to 64bit on windows yet, there will be a lot more problems than just luajit; although, this page says it supports compiling 64bit windows: http://luajit.org/install.html |
19:10:13 | sam686 | I don't think 32bit vs 64 bit of Cmake binary itself matters. |
19:10:41 | sam686 | The problem is CMake finding only 32 bit Zlib PNG libraries even though Win64 is used |
19:10:52 | raptor | yup |
19:11:03 | raptor | those are the 'more problems' |
19:11:54 | | Invisible1 Quit (Ping timeout: 252 seconds) |
19:12:37 | raptor | Watusimoto: what I wanted to check with you is if this method is OK: LuaBase::luaIsPoint() |
19:13:09 | raptor | you may want to open the point 'object' for reference at: resource/scripts/luavec.lua |
19:13:16 | raptor | (if you're in that mindset) |
19:17:15 | | tommyz has joined |
19:17:48 | sam686 | bitfighter_test\testobjects.cpp(232) : error C3861: 'lua_pushvec': identifier not found |
19:17:49 | tommyz | Hey, how do I tie my name to an email? |
19:18:04 | raptor | sam686: Watusimoto is fixing that |
19:18:24 | raptor | tommyz: what system? |
19:18:34 | | Canseco Quit (Remote host closed the connection) |
19:18:36 | tommyz | also, raptor, kaen, your converter tool worked great last night. Used it without crashing (Im taz). |
19:18:40 | tommyz | sry I mean on IRC |
19:18:44 | tommyz | not Bitfighter |
19:19:14 | raptor | tommyz: there is documentation somewhere on freenode.net |
19:19:20 | raptor | about 'registering' |
19:19:27 | tommyz | thanks |
19:19:54 | Watusimoto | raptor: that fn looks ok, but what if, conceptually, we just checked for an x and y field |
19:20:02 | Watusimoto | and said any table that has those can act as a point |
19:20:04 | Watusimoto | ? |
19:21:02 | raptor | sure |
19:21:06 | raptor | that would be quicker, too |
19:21:19 | | bobdaduck has joined |
19:21:20 | raptor | i'm open to any ideas about it - it's just what i first came up with |
19:21:36 | Watusimoto | let's do it that way, seems to give us more flexibility |
19:21:41 | Watusimoto | could associate other data with a point |
19:21:44 | raptor | although, would it be quicker? |
19:21:45 | Watusimoto | transparently |
19:22:32 | raptor | i guess I'm worried about speed because I think the slowdown now (after integrating LuaJIT) is teh C <-> Lua calls |
19:22:45 | raptor | becasue pure lua is blazingly fast |
19:22:58 | Watusimoto | it would probably be a tiny bit slower, as you now need to check two fields, but might be worth it |
19:23:15 | | LordDVG Quit (Remote host closed the connection) |
19:24:12 | raptor | even though everything is overall faster with luajit (2-3x + ), the stuff that had the lowest performance increase in my tests were things that called our C API |
19:24:46 | raptor | iterations of bobdaducks levelgens were the slowest with only the 2-3x speed increase (he uses loads of our API calls) |
19:24:58 | Watusimoto | so... we need to push as much to the lua side as we can -- and make fewer calls to the c universe? |
19:25:25 | raptor | it seems that way, yes, if we want to take advantage of the full speed of luajit |
19:25:40 | raptor | or maybe it's just we have a lot of C overhead |
19:25:51 | raptor | but |
19:26:28 | raptor | we probably don't need to take advantage of teh speed increase because it's already fast enough |
19:27:22 | | tommyz is now known as Thomasaz |
19:27:34 | | Thomasaz is now known as tommyaz |
19:27:39 | Watusimoto | but in the meantime, we can call a point any table with an x and a y |
19:27:44 | | tommyaz has left #bitfighter |
19:28:08 | raptor | ok |
19:28:15 | Watusimoto | and I would be happy to keep any computations we can do in lua in the lua side |
19:28:33 | raptor | i just thought it should be known that Lua is not our bottleneck now (if we ever had a bottleneck) |
19:28:45 | Watusimoto | I know. luajit is pretty amazing |
19:28:50 | Watusimoto | I am now 100% sold |
19:29:27 | raptor | yeah, me too |
19:30:07 | Watusimoto | except for building complexity :-( |
19:30:29 | raptor | yeah, i tried to make it seamless |
19:30:40 | raptor | should be, for the most part |
19:30:48 | sam686 | Most of the older LuaVec slowdowns is so many alloc/free slowdowns and garbage collection slowdowns |
19:30:56 | Watusimoto | well, I didn;t even know there was that complexity, so it seemed to work well for me! |
19:31:25 | raptor | yeah luajit has a completely rewritten GC |
19:31:52 | raptor | and apparently, it's still not good enough for the author, who is rewriting it again for luajit 2.1 |
19:32:00 | | tommyaz has joined |
19:32:11 | sam686 | why garbage collection when you could just free immediately? That what I sometimes thought. |
19:32:27 | Watusimoto | it's probably faster to do larger blocks at once |
19:32:31 | Watusimoto | rather than more smaller ones |
19:32:35 | raptor | it is |
19:32:37 | Watusimoto | or even reallocate blocks as needed |
19:32:41 | Watusimoto | without another malloc |
19:33:26 | raptor | oh, actually the new GC is for luajit 3 |
19:33:34 | raptor | this is a pretty in-depth read on the topic: http://wiki.luajit.org/New-Garbage-Collector |
19:36:28 | | tommyaz Quit (Ping timeout: 245 seconds) |
19:38:40 | sam686 | instead of garbage collector stuff, might as well instead look for "malloc free speed booster" |
19:39:48 | | tommyaz has joined |
19:45:27 | | Flynnn Quit (Quit: This computer has gone to sleep) |
19:56:41 | | Nothing_Much Quit (Quit: Konversation terminated!) |
20:02:20 | tommyaz | guys, is there a stretch/skew tool in the game? |
20:02:40 | tommyaz | or as a plugin? |
20:03:38 | Watusimoto | there is not in the native editor... |
20:04:03 | Watusimoto | not sure what's available in the plugin collection we ship with the game |
20:04:13 | tommyaz | Nothing in stardust |
20:04:16 | Watusimoto | does anyone know what it means when lua_gettop() returns a negative number? |
20:04:33 | Watusimoto | then probably no |
20:05:28 | tommyaz | It's technically in the game in a way, with the scale tool. I just need to fix the scale tool to work on only the x or y axis |
20:05:37 | raptor | lua_gettop |
20:05:44 | raptor | negative number means stack corruption? |
20:06:33 | Watusimoto | that's all I can think of |
20:07:03 | raptor | i've gotten corrupt stacks when compiling with headers of one Lua version but linking against another |
20:07:06 | Watusimoto | tommyaz: you could hack the source code :-) |
20:07:30 | tommyaz | I have never coded before. It'd be an interesting project at least |
20:07:49 | bobdaduck | tommyaz: have you tried ctrl+shift+x? |
20:07:53 | bobdaduck | scale tool, kind of close |
20:08:08 | tommyaz | I need a scale tool for only one axis |
20:08:11 | bobdaduck | Quartz and I just design our entire levels by hand |
20:08:22 | | Nothing_Much has joined |
20:08:27 | tommyaz | which I could technically hack through a text editor manually |
20:08:43 | tommyaz | Ahh but I did that part already |
20:08:54 | raptor | are we spoiling people too much with the plugins? :) |
20:08:57 | tommyaz | speaking of design.. do you want to design a cow or bear? |
20:09:09 | tommyaz | I tried but ended up with a horse and buffalo |
20:09:24 | tommyaz | raptor: maybe |
20:13:31 | bobdaduck | a cow or bear in the editor? |
20:14:12 | Watusimoto | back after dinner |
20:14:34 | bobdaduck | Try this! http://www.bitfighter.org/forums/viewtopic.php?f=41&t=1177&p=10378#p10378 |
20:15:26 | | Flynnn has joined |
20:15:58 | tommyaz | OK, how do I combine different walls? |
20:16:21 | raptor | oooo, that thing |
20:16:23 | tommyaz | also, cool! |
20:16:26 | raptor | I remember that thing |
20:16:49 | tommyaz | I google searched "vector map" just the other day, thinking if bitmaps exist, why not vectormaps? |
20:16:49 | raptor | and no I will not support it or update it |
20:17:10 | | Flynnn Quit (Client Quit) |
20:17:50 | | Flynnn has joined |
20:18:24 | | Watusimoto Quit (Ping timeout: 244 seconds) |
20:19:46 | Nothing_Much | so how many days does bitfighter go without being updated? |
20:19:51 | Nothing_Much | just curious |
20:19:54 | Nothing_Much | >.> |
20:19:55 | raptor | lots! |
20:20:13 | bobdaduck | All of them! |
20:20:36 | Nothing_Much | ah okay, because when I joined this community I thought updates on forums and distributed game sections were updated immediately after release |
20:20:50 | tommyaz | GAMEJOLT? |
20:20:52 | Nothing_Much | like desura and gamejolt and stuff |
20:20:53 | Nothing_Much | yeah |
20:20:54 | raptor | well... |
20:21:00 | raptor | ideally, that should be the case |
20:21:13 | raptor | in reality, things like work/family can get in the way |
20:21:27 | Nothing_Much | I wish I was a dev. then I'd be more than happy to help out with promoting and updating stuff |
20:21:34 | Nothing_Much | oh that's understandable completely |
20:21:57 | Nothing_Much | btw, vs wants a developer's badge :) |
20:22:39 | raptor | actually, i bet if you ask watusimoto he may grant you update rights on the various sites |
20:22:46 | raptor | oh, he doesn't have it yet? |
20:23:58 | Nothing_Much | last night he didn't have it when I pressed tab |
20:24:22 | Nothing_Much | so yeah he doesn't have it yet |
20:24:27 | | tommyaz Quit (Quit: Page closed) |
20:43:24 | | tommyaz has joined |
20:44:03 | | vs73nx has joined |
20:44:04 | | vs73nx Quit (Changing host) |
20:44:04 | | vs73nx has joined |
20:44:16 | | vs73nx Quit (Client Quit) |
20:45:57 | tommyaz | How do I edit source code :Z |
20:46:40 | tommyaz | actually before I evne do that, I just realized |
20:46:45 | tommyaz | I don't know how to compile |
20:47:22 | Nothing_Much | tommyaz: read the directions on how to compile :) |
20:47:26 | Nothing_Much | lemme get the link |
20:47:44 | Nothing_Much | wait |
20:47:44 | tommyaz | I've never successfully compiled an application |
20:47:51 | Nothing_Much | tommyaz: what os are you using? |
20:47:59 | tommyaz | MAc ppc |
20:48:10 | Nothing_Much | http://www.bitfighter.org/wiki/index.php?title=Building_Bitfighter#OS_X |
20:49:51 | tommyaz | Safari can’t open the page “http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wo/5.1.17.2.1.3.3.1.0.1.1.0.3.3.3.3.1” because Safari can’t connect to the server “connect.apple.com”. |
20:50:03 | tommyaz | for antiquated xcodes |
20:51:39 | tommyaz | xcode 3 |
20:51:42 | Nothing_Much | what version of os x are you using? |
20:52:41 | tommyaz | 10.5.8 |
20:52:49 | tommyaz | im looking on google |
20:53:11 | Nothing_Much | doesn't look like that webpage wants to load for me |
20:53:14 | tommyaz | i cant connect to https://connect.apple.com/ |
20:53:15 | Nothing_Much | oh dude that's dangerous |
20:53:24 | tommyaz | goooogle is dangerous? |
20:53:25 | Nothing_Much | you probably should upgrade |
20:53:29 | Nothing_Much | no not google |
20:53:31 | Nothing_Much | your computer |
20:53:37 | Nothing_Much | be careful what you download |
20:53:40 | tommyaz | I did in 2012 (or was it 13?) |
20:53:49 | tommyaz | then it died |
20:54:02 | tommyaz | this is the only working computer in the house |
20:54:15 | tommyaz | and we need it to fix the other computer |
20:54:42 | bobdaduck | The file extention jpg is not allowed |
20:54:48 | bobdaduck | the file extention .png is not allowed |
20:54:53 | bobdaduck | the file extention .bmp is not allowed |
20:54:57 | bobdaduck | WELL WHAT IS ALLOWED THEN? |
20:55:01 | | Flynnn Quit (Quit: This computer has gone to sleep) |
20:55:35 | sam686 | connect.apple.com might be dead, I can't connect either |
20:55:42 | Nothing_Much | tommyaz: holy crap really? |
20:55:50 | Nothing_Much | what pc did you get? |
20:55:56 | Nothing_Much | or did you buy a mac? |
20:56:55 | tommyaz | mac mini late 2012 model |
20:57:09 | tommyaz | it had hdmi problems along with a faulty samsung tv |
20:57:18 | tommyaz | both had problems |
20:57:31 | sam686 | Usually the most of what can happen from downloading random virus stuff is hard disk being deleted or altered in a way to be unbootable, the hardware stays good, just reinstall Operating system to fix |
20:57:52 | tommyaz | no CD drive! |
20:57:59 | tommyaz | on mac minis |
20:58:09 | | Watusimoto has joined |
20:58:12 | tommyaz | we dont really do the computer fixing stuff |
20:58:14 | tommyaz | anymore |
20:58:27 | tommyaz | so even though we have the skill, we don't have the enviornment |
20:58:35 | sam686 | Get an external CD-rom drive? (intel i think is new enough to boot into external drive) |
20:58:38 | Nothing_Much | tommyaz: well they're outdated, but what happened to your new Mac? |
20:58:52 | tommyaz | ahh |
20:58:59 | tommyaz | the HDMI flicker hardware issue |
20:59:04 | Nothing_Much | hdmi? |
20:59:06 | tommyaz | and a power out |
20:59:08 | Nothing_Much | dude get an iMac! |
20:59:12 | Nothing_Much | or a macbook! |
20:59:14 | Nothing_Much | they're awesome! |
20:59:20 | tommyaz | we had |
20:59:24 | tommyaz | someone stole the macbook |
20:59:29 | Nothing_Much | oh wow ouch man |
20:59:32 | tommyaz | so we got ipads |
20:59:54 | Nothing_Much | oh darn |
21:00:04 | tommyaz | (on credit cards. I would have bought tools to make furniture) |
21:00:08 | Nothing_Much | but srsly, invest in an iMac for an awesome desktop experience |
21:00:09 | Nothing_Much | oh man |
21:00:13 | tommyaz | im not |
21:00:13 | Nothing_Much | oh you can make furniture? |
21:00:17 | tommyaz | paying for an apple screen |
21:00:19 | tommyaz | no i cant |
21:00:26 | tommyaz | i always wanted to |
21:00:26 | Nothing_Much | oh |
21:00:27 | Nothing_Much | ah |
21:00:34 | Nothing_Much | but why not pay for an apple screen? |
21:00:44 | tommyaz | its funny you ask that |
21:00:58 | tommyaz | well, desktops connecting to a monitor are superior experience |
21:01:08 | tommyaz | once the time for fixing the computer comes |
21:01:09 | Nothing_Much | all in ones imo are better |
21:01:14 | Nothing_Much | yeah that's true |
21:01:54 | Nothing_Much | but hopefully when Intel makes up their freakin' minds about NUC's and the Thin Mini ITX standard, maybe customizable all in ones would be easier to upgrade and stuff |
21:02:30 | tommyaz | F intel |
21:02:38 | Nothing_Much | why? |
21:02:41 | tommyaz | Im thinking of getting a raspberry |
21:02:51 | Nothing_Much | no wait |
21:02:53 | Nothing_Much | don't |
21:02:54 | raptor | ok, i feel the need to step in |
21:03:05 | raptor | i do not recommend developing on OSX |
21:03:33 | raptor | because, really, only I can compile (and maybe fordcars because he was clever) |
21:03:35 | tommyaz | ok. |
21:03:45 | tommyaz | Im thinking of getting a linux |
21:03:48 | tommyaz | or building one |
21:03:51 | Nothing_Much | tommyaz: uh |
21:03:52 | sam686 | Forget all-in-ones, just get a new desktop and an old working monitor. My windows 7 desktop work on my old CRT monitor (the CRT back sticker says July 2000) |
21:03:54 | Nothing_Much | stick to Ubuntu for now |
21:03:58 | raptor | start small |
21:04:07 | tommyaz | haha CRT? |
21:04:09 | raptor | bobdaduck: what? |
21:04:21 | bobdaduck | on the forums |
21:04:25 | bobdaduck | trying to attach a picture |
21:04:29 | tommyaz | ok but uhh |
21:04:33 | tommyaz | I've heard of Ubuntu |
21:04:42 | tommyaz | but all my books are like 20 years out of date |
21:05:00 | sam686 | I have 5 monitors in one computer, a CRT, 2 old LCD at 1280x1024, and 2 newer LCD at 1920x1080. |
21:05:00 | tommyaz | not that i ever understood them |
21:05:26 | sam686 | My speakers is built into one of my old LCD |
21:05:36 | tommyaz | built in speakers are fine |
21:05:37 | Nothing_Much | sam686: holy crap you're loaded! |
21:05:39 | raptor | also, I recently migrated OSX building to CMake |
21:05:46 | tommyaz | i just hate built in monittors |
21:05:46 | raptor | and... it's not complete yet |
21:05:56 | tommyaz | sam686: did you get them off of old recycle places? |
21:06:06 | tommyaz | cuz thats how i got my collection |
21:06:08 | raptor | only x86_64 works and there is no DMG building yet |
21:06:27 | sam686 | It came with old computers, that I don't really bother using old computers anymore. |
21:07:08 | sam686 | I first had a slow 1998 AMD A6-2 533 MHz |
21:07:22 | sam686 | Then a Pentium 4, 3 GHz |
21:07:35 | sam686 | then a Pentium D dual core 2.8 GHz |
21:08:44 | sam686 | I still have pentium D, unused. I use intel i7-2600, 3.4 GHz, 16GB Ram, and also for my linux router, AMD FX 4100 |
21:09:01 | sam686 | 32 GB RAM on my AMD FX-4100 |
21:09:29 | tommyaz | 32 GB? Is it specialized? |
21:10:11 | | Invisible1 has joined |
21:10:15 | sam686 | Just a regular DDR3-16000 8GB sticks (4 of them) |
21:10:40 | sam686 | oh i think it is DDR3-12800, i forgot |
21:12:17 | tommyaz | I was under the impression that past 16 GB was workstation status |
21:12:42 | tommyaz | or maybe its like 64 |
21:12:48 | tommyaz | do computers even use that much |
21:13:01 | Watusimoto | 16GB is a lot for a normal computer |
21:13:22 | Watusimoto | I can build Bitfighter and play Civ5 in 8GB |
21:14:26 | tommyaz | That's because Bitfighter is designed pretty well |
21:14:27 | tommyaz | imo |
21:14:27 | sam686 | Its good for hard disk catching in RAM, speeds up building and speeds up loading screen on other games (that loads hundreds of textures) |
21:14:49 | raptor | compiling boost:: takes 1GB by itself! |
21:14:53 | raptor | :) |
21:15:03 | tommyaz | Ah... how long does compiling take? |
21:15:14 | raptor | yes |
21:15:18 | tommyaz | I've read about the 24 hour or een 48 hours to just see a new level in ps1 days |
21:15:50 | sam686 | for me, only takes about 30 seconds, but first time compiling after booting, takes like 3 minutes with hard disk buzy all the time. |
21:17:14 | sam686 | CPU have gotten 20 times faster in a past 10 years, hard disk speed: only 2 times faster.. |
21:17:48 | tommyaz | Hard disk capacity is a lot better though |
21:18:24 | tommyaz | I have a 4.5 GB HD from one of my childhood pc's |
21:18:42 | tommyaz | it's bigger too. But.. |
21:18:47 | tommyaz | IT COULD HOLD AGE OF EMPIRES |
21:18:57 | tommyaz | best PC game ever |
21:19:12 | sam686 | sure hard disk have gotten 100 times bigger, but hard disk speed is still kindof slow.. |
21:21:05 | tommyaz | Well, Im going to need a new computer |
21:21:08 | sam686 | Newer SATA 3 can transfer at 600 MB/s, but my hard disk only reaches about 100 MB/s, not quite reaching SATA 1 (150 MB/s) speed. |
21:25:10 | tommyaz | I have a Bitfighter levels question now |
21:26:24 | tommyaz | is there a way to grab the coordinates of a point in game |
21:26:32 | tommyaz | in editor really |
21:27:15 | tommyaz | and, in the text file, do they come in pairs (e.g. (x,y)) |
21:27:32 | tommyaz | well i dont really make sense do i :D |
21:28:31 | tommyaz | blaaa |
21:30:54 | | tommyaz Quit (Quit: Page closed) |
21:31:52 | | hylian_ Quit (Quit: Leaving) |
21:33:22 | | tommyaz has joined |
21:41:15 | sam686 | Why I have to get rid of Ignore specific libraries MSVCRT.lib;LIBCMT.lib to compile release build, i don't know |
21:41:45 | Watusimoto | Hmmmm I excluded those, but only tested on debug mode |
21:41:59 | Watusimoto | when I did not exclude them I was getting duplicate symbol definition errors |
21:42:32 | Watusimoto | I tried excluding the debug versions and it did not work |
21:42:50 | raptor | i've never had a problem since moving to CMake |
21:45:28 | sam686 | Building dedicated, test, and master works, but duplicate symbols in regular bitfighter release build |
21:45:44 | sam686 | and missing symbols if excluding MSVCRT.lib;LIBCMT.lib |
21:46:49 | | bobdaduck Quit (Remote host closed the connection) |
21:46:52 | sam686 | looks like MSVCRT.lib and LIBCMT.lib are both conflicting on duplicate symbols |
21:47:10 | Watusimoto | cmake manually excluded msvcrt.lib |
21:47:24 | Watusimoto | I added libcmt.lib to get the new merged project to build |
21:47:39 | Watusimoto | *added to the exclude list |
21:47:49 | sam686 | Look like ignore only MSVCRT.lib fixes both duplicate and missing symbols |
21:50:58 | raptor | i don't understand, are you both saying that the new cmake changes since luajit has altered the libraries? |
21:53:33 | sam686 | For me, it appears to build fine if LIBCMT.lib wasn't in the excluded list. |
22:00:15 | | Flynnn has joined |
22:03:14 | Watusimoto | odd |
22:03:27 | Watusimoto | debug and releaes build ok? |
22:03:34 | | BFLogBot Commit: a6da42e1c191 | Author: sam8641 | Message: Some changes to build dedicated/master in windows x64. |
22:04:03 | sam686 | Eventually, I got x64 dedicated and master to build, as it doesn't really use next to nothing in libraries. |
22:05:09 | Watusimoto | so quick lua trivia question: what will this return, when the stack is empty? |
22:05:10 | Watusimoto | lua_isnumber(L, -1) |
22:05:33 | raptor | 0 |
22:05:42 | raptor | http://pgl.yoyo.org/luai/i/lua_isnumber |
22:06:40 | raptor | read the first two paras here to know what the indicators mean: http://www.lua.org/manual/5.1/manual.html#3.7 |
22:07:59 | Nothing_Much | what'd I miss? |
22:08:24 | Watusimoto | 0 meaning false |
22:08:49 | Watusimoto | that's what I thought too |
22:08:55 | Watusimoto | before I learned otherwise |
22:09:26 | Watusimoto | it sometimes returns true |
22:09:55 | sam686 | bool b=true; printf("%i, (int)b); as a test, I think it is 1 if true. |
22:10:01 | Watusimoto | which is where the -3 stack size came from... because we were iterating over an empty list, relying on isnumber to return false if the index did not exist |
22:10:11 | sam686 | but Lua might have something different, don't know. |
22:10:36 | Watusimoto | in c 0 is false, non-zero is true |
22:10:53 | Watusimoto | so testing found a bug in our core lua code! |
22:13:53 | Watusimoto | now lua is panicing |
22:21:35 | Watusimoto | that doc you linked to says this: |
22:21:36 | Watusimoto | lua_isnumber |
22:21:36 | Watusimoto | [-0, +0, -] |
22:21:36 | Watusimoto | int lua_isnumber (lua_State *L, int index); |
22:21:36 | Watusimoto | Returns 1 if the value at the given acceptable index is a number or a string convertible to a number, and 0 otherwise. |
22:21:54 | Watusimoto | it does not mention what happens if index is not an acceptable index |
22:32:49 | raptor | i figured '0 otherwise' included everything, but a careful re-reading leaves it ambiguous to me again |
22:33:06 | raptor | to the source code! |
22:34:17 | raptor | looks like possible invalid memory access |
22:34:39 | raptor | return (idx <= func->c.nupvalues) |
22:34:40 | raptor | ? &func->c.upvalue[idx-1] |
22:34:42 | raptor | : cast(TValue *, luaO_nilobject) |
22:36:15 | raptor | const TValue luaO_nilobject_ = {{NULL}, LUA_TNIL}; |
22:58:01 | | Invisible1 Quit (Ping timeout: 240 seconds) |
23:08:53 | | YoshiSmb has joined |
23:09:24 | YoshiSmb | good afternoon! |
23:09:56 | tommyaz | hey yoshi |
23:10:05 | tommyaz | been a while |
23:10:28 | YoshiSmb | yea, a new face over here |
23:10:39 | tommyaz | nuh uh |
23:10:48 | tommyaz | t--ommy--az |
23:11:07 | YoshiSmb | ah |
23:11:17 | tommyaz | my initials |
23:11:20 | tommyaz | t.a.z. |
23:11:56 | tommyaz | You playing right nw? try sam test |
23:12:02 | YoshiSmb | such way to not see you with this new nickname, :P |
23:12:02 | YoshiSmb | nothing new devs? |
23:12:17 | YoshiSmb | no, but i can |
23:12:30 | tommyaz | cool cuz i got work real fast |
23:12:35 | tommyaz | one last game in |
23:13:11 | raptor | heading home! later! |
23:13:13 | | raptor Quit () |
23:16:28 | | YoshiSmb Quit (Ping timeout: 245 seconds) |
23:27:45 | Nothing_Much | HI again |
23:29:07 | Nothing_Much | Hey Watusimoto, would you mind giving someone update privileges for some websites? |
23:34:00 | | tommyaz Quit (Quit: Page closed) |
23:34:16 | | YoshiSmb has joined |
23:34:44 | YoshiSmb | No wonder why everyone liked "Tennis" was more like "Ping Pong" |
23:36:14 | Nothing_Much | They're almost the same, one's just on a table |
23:36:23 | YoshiSmb | yea |
23:36:29 | Watusimoto | Nothing_Much: generally, I can't |
23:36:31 | YoshiSmb | on bitfighter, these rules was needed |
23:36:47 | YoshiSmb | on "Tennis" & "Tennis Small Edition" maps |
23:36:51 | Watusimoto | mostly it's only one account |
23:37:30 | YoshiSmb | Cheap but Classic style |
23:37:39 | Nothing_Much | Watusimoto: is it against the rules for some of the websites? |
23:37:56 | Nothing_Much | you mean one password? |
23:38:01 | Watusimoto | most of them don't have the capacity to have multiple users manage an account |
23:38:10 | Watusimoto | or rather a project |
23:38:25 | Nothing_Much | oh darn, that stinks |
23:38:31 | YoshiSmb | Question: 019b with bugfixes and new features? |
23:38:38 | Watusimoto | take gameJolt, for example; I can't even get raptor an account there |
23:38:52 | Watusimoto | 019b is only bugfixes |
23:39:04 | Watusimoto | well, a couple of minor features, but mostly for scripters |
23:39:06 | Nothing_Much | Watusimoto: well can't you share the account or something? |
23:39:12 | Watusimoto | but really, just bug fixes |
23:39:38 | Watusimoto | Nothing_Much: I generally don;t like doing that since my name is attached to the account |
23:39:57 | YoshiSmb | and that's it's a trouble for raptor |
23:40:04 | Watusimoto | brb |
23:40:07 | Nothing_Much | ohh okay, but your name's also in the bitfighter credits and on wikipedia too |
23:40:11 | Nothing_Much | I think |
23:40:24 | Nothing_Much | but it's understandable |
23:40:31 | | Flynnn Quit (Quit: This computer has gone to sleep) |
23:44:51 | YoshiSmb | what it's more STRANGE |
23:45:05 | YoshiSmb | it's i cant see the downloaded recorded games from sam's server |
23:45:59 | YoshiSmb | any idea Watusimoto / sam686? |
23:46:57 | Watusimoto | wait, no you misunderstood -- my real name is well known -- I just don't like to have shared accounts attached to my name |
23:47:15 | Watusimoto | YoshiSmb: I don't really know how any of that stuff works |
23:47:56 | YoshiSmb | So, who did add "Record Games"? |
23:48:53 | kaen | sam |
23:49:21 | YoshiSmb | and he's not online right now i guess |
23:49:38 | Watusimoto | Nothing_Much: if you are wondering why Ive been slow on updating the sites for 019b its because its such a minor release that I feel no hurry |
23:49:49 | Watusimoto | originally we were not going to publicize it at all |
23:50:04 | Watusimoto | I do need to update the binaries on desura and gamejolt, but that may be about it |
23:50:20 | Watusimoto | and I will try adding the gamejolt binary |
23:50:22 | Watusimoto | for linux |
23:54:58 | sam686 | hi? |
23:55:35 | YoshiSmb | i was just waiting you arrival sam, oh... and good afternoon |
23:55:54 | YoshiSmb | i cant see the downloaded records from you server |
23:56:04 | YoshiSmb | they dont show the error, but they wont appear |
23:56:30 | Nothing_Much | Watusimoto: well keeping up to date is a bit more important than what's expected when you see a notification in the game saying "THIS IS OUTDATED" and stuff, people do expect newer releases for games on other sites, especially with that notifier in the game |
23:57:10 | Watusimoto | yes, I agree |
23:57:15 | Nothing_Much | btw, the standalone does work on Linux, but only from the .sh file |
23:57:22 | Watusimoto | yes |
23:57:28 | Nothing_Much | if you're busy with irl stuff that's all good dude |
23:57:33 | Watusimoto | I tested it also |
23:58:08 | Nothing_Much | on other distros as well? I'm currently only limited to my host machine because I've been having computer problems :( |
23:58:17 | Nothing_Much | *host machine running Ubuntu 14.04* |