Timestamps are in GMT/BST.
| 00:00:58 | raptor | oops, build failed... must fix |
| 00:01:22 | Little_Apple | gogogo |
| 00:02:59 | | bobdaduck has joined |
| 00:03:29 | Little_Apple | hello |
| 00:04:26 | raptor | hi |
| 00:04:34 | bobdaduck | Hello |
| 00:04:36 | raptor | Little_Apple, the man to give you examples has arrived |
| 00:04:48 | Little_Apple | yes he has :P |
| 00:05:04 | | BFLogBot Commit: 99a1f283b059 | Author: buckyballreaction | Message: Fix building on OSX |
| 00:05:33 | | koda Quit (Quit: koda) |
| 00:05:51 | bobdaduck | lol |
| 00:06:36 | bobdaduck | Kaen told me yesterday he thinks of me as a mad scientist, cackling maniacly as I create my monsterous levels and the evil they will unleash on the world. |
| 00:06:39 | bobdaduck | I was flattered. |
| 00:06:59 | | raptor_osx has joined |
| 00:07:08 | raptor_osx | for Little_Apple: http://sam6.25u.com/upload/Bitfighter-018a-beta-27c7bbeeda6b.zip |
| 00:07:15 | | raptor_osx Quit (Client Quit) |
| 00:07:34 | raptor | hahaha |
| 00:07:39 | Little_Apple | thank you sir |
| 00:07:47 | raptor | Little_Apple: I forgot to ask if you needed 32 or 64 bit |
| 00:07:50 | raptor | i gave you 64 |
| 00:07:56 | raptor | did I guess correctly? |
| 00:08:02 | Little_Apple | that should be fine |
| 00:08:13 | Little_Apple | i think... |
| 00:08:24 | raptor | on new mac or old mac? |
| 00:08:40 | Little_Apple | the only thing i use the ppc computer for is hosting my dedicated |
| 00:08:41 | Little_Apple | so yes you did |
| 00:08:51 | raptor | OK |
| 00:09:15 | bobdaduck | So why and when will circles crash people? |
| 00:10:11 | raptor | Circles do not exist! |
| 00:10:51 | bobdaduck | They should! |
| 00:10:59 | kaen | only arbitrarily-many-sided polygons |
| 00:11:04 | kaen | but definitely no circles. |
| 00:11:24 | kaen | /trolol |
| 00:11:30 | raptor | please don't bring to light experimental stuff like this - it may have drastic consequences - like having to deal with more peoples questions :) |
| 00:11:49 | kaen | we should just not check in experiments :x |
| 00:12:14 | bobdaduck | lol |
| 00:12:30 | kaen | but really bobdaduck |
| 00:12:32 | bobdaduck | Okay |
| 00:12:35 | kaen | pleeeeaaase |
| 00:12:42 | bobdaduck | So why and when will that thing that's a secret arbitrarily many-sided polygon crash people? |
| 00:12:56 | raptor | it may disappear completely |
| 00:13:00 | raptor | removed from code |
| 00:13:13 | raptor | it's watusimoto's experiment and I'm not sure he'll ever get back to it.. |
| 00:14:09 | bobdaduck | What about the other one that's named after that thing that infects computers and lives in dirt? |
| 00:14:49 | raptor | Worm? that for sure crashes things good |
| 00:15:04 | raptor | kaen: i was thinking, maybe we should let Worm and Circle crash... |
| 00:15:07 | bobdaduck | Who's experiment was it? |
| 00:15:09 | raptor | just to keep people away |
| 00:15:14 | bobdaduck | lol |
| 00:15:15 | raptor | that was sam686's experiment |
| 00:15:21 | kaen | how about an assert? |
| 00:15:43 | kaen | or, honestly just comment it out |
| 00:15:44 | raptor | TNLAssert only triggers in debug mode |
| 00:15:51 | raptor | debug compile |
| 00:15:57 | kaen | oh alright.; |
| 00:17:10 | bobdaduck | I dunno about worm but I kind of like circles |
| 00:17:21 | bobdaduck | Er, arbitrarily many sided polygons. |
| 00:17:30 | raptor | because, with our audience, if we say things like "use of this is completely unsupported, may disappear, and/or may have drastic consequences like crash your game", they fall on deaf ears |
| 00:17:31 | kaen | you should see my improved version ^^ |
| 00:17:59 | bobdaduck | lol |
| 00:18:26 | bobdaduck | Okay so I'm going through the luadocs |
| 00:18:30 | bobdaduck | What is "menu item"? |
| 00:19:49 | | bobdaduck_ has joined |
| 00:20:25 | bobdaduck_ | What is "menuitem"? |
| 00:21:50 | Little_Apple | ill be back in a bit under an hour |
| 00:21:59 | Little_Apple | *poof* |
| 00:22:01 | | Little_Apple Quit (Quit: Page closed) |
| 00:22:28 | raptor | MenuItem is for making editor plugins |
| 00:22:46 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 00:34:39 | | Platskies has joined |
| 00:42:21 | bobdaduck_ | When I have an army of circles |
| 00:42:24 | bobdaduck_ | I feel like a mommy |
| 00:43:03 | raptor | bobdaduck_: your wish for motherhood is not a strong enough reason to make Circle exist |
| 00:43:39 | bobdaduck_ | BUT ITS SO FUN |
| 00:43:48 | raptor | i will not deny that... :) |
| 00:43:52 | raptor | wait... they're not crashing!? |
| 00:44:01 | raptor | hmmm... i should fix that... |
| 00:45:30 | bobdaduck_ | lol |
| 00:45:45 | bobdaduck_ | Worm almost always crashes everyone |
| 00:45:48 | bobdaduck_ | circles seem stable though |
| 00:52:34 | bobdaduck_ | I'll be back later |
| 00:52:37 | bobdaduck_ | CIRCLES FOR PRESIDENT |
| 00:53:02 | | bobdaduck_ Quit (Quit: Page closed) |
| 00:59:32 | | Little_Apple has joined |
| 00:59:44 | Little_Apple | hello hello |
| 00:59:48 | raptor | hihi |
| 01:00:50 | Little_Apple | ok so how do i give a zone an id? |
| 01:01:12 | raptor | in the editor |
| 01:01:15 | raptor | select an object |
| 01:01:21 | raptor | do SHIFT+1 |
| 01:01:26 | raptor | or '!' |
| 01:01:29 | Little_Apple | ah |
| 01:01:31 | raptor | add ID |
| 01:01:34 | raptor | save level |
| 01:01:46 | raptor | the ID is saved like so: GoalZone!1 |
| 01:01:52 | raptor | in the .level file |
| 01:02:35 | Little_Apple | yepyep |
| 01:03:08 | Little_Apple | can multiple cores have the same id? |
| 01:03:22 | kaen | yes |
| 01:03:30 | Little_Apple | oh sweet |
| 01:03:36 | raptor | OK |
| 01:03:41 | kaen | although I'm not sure you should depend on that... |
| 01:03:42 | raptor | definition of ID |
| 01:03:55 | raptor | lesson #1 |
| 01:04:27 | raptor | ID - something that *uniquely* identifies the object to which the ID is applied |
| 01:04:44 | raptor | see |
| 01:05:06 | raptor | if that were not the definition of ID, then I'd love to use my brother's to say I earned my EE degree already |
| 01:05:33 | kaen | heh |
| 01:06:24 | kaen | do objects get id's by default? |
| 01:06:40 | raptor | when a level loads i believe IDs are generated for all objects |
| 01:06:44 | raptor | if they don't have them |
| 01:06:50 | raptor | BUT, generated ones are negatvie |
| 01:06:55 | kaen | ah, good |
| 01:06:55 | raptor | *negative |
| 01:07:30 | kaen | enforcing uniqueness means (at a minimum) iterating through the list of objects which were assigned manual ids |
| 01:08:27 | raptor | i think that's done |
| 01:08:32 | kaen | :x |
| 01:08:35 | raptor | well... 'soft' enforcement |
| 01:08:39 | raptor | like a red box |
| 01:08:43 | kaen | ah |
| 01:08:43 | raptor | instead of green |
| 01:08:48 | raptor | when adding an ID |
| 01:08:56 | kaen | well then I have no argument against it. |
| 01:09:04 | kaen | except that we should perhaps make it strong |
| 01:09:09 | raptor | heh, yes |
| 01:09:15 | Little_Apple | ok. soooo.... raptor. how would i make a zone spawn in something a ship where it enters into the zone? |
| 01:09:31 | raptor | LA, i'll get you a simple example |
| 01:09:38 | Little_Apple | okie dokie |
| 01:11:31 | raptor | Little_Apple: eat your heart out: http://pastie.org/6331140 |
| 01:13:19 | Little_Apple | danke |
| 01:21:44 | Little_Apple | raptor: can i have the zone spawn in multiple items that have a relative position to where the zone was entered? |
| 01:21:54 | raptor | sure |
| 01:22:08 | raptor | but now you get into logic |
| 01:22:20 | Little_Apple | the brain hurty stuff? |
| 01:22:21 | raptor | you'll have to do the position calculations yourself |
| 01:22:26 | raptor | yep |
| 01:22:39 | Little_Apple | ok then |
| 01:23:00 | raptor | if you're still around in an hour or so, i may be able to provid an example |
| 01:23:04 | raptor | *provide |
| 01:23:36 | Little_Apple | ok.. |
| 01:23:50 | Little_Apple | can i have it just spawn in a section of level code? |
| 01:23:56 | Little_Apple | (not walls obviously) |
| 01:24:53 | raptor | any logic needs to be done in the .levelgen file |
| 01:25:06 | raptor | but you can have something spawn *anywhere* |
| 01:25:35 | raptor | see the lines that do this?: resourceitem:setLoc(loc) |
| 01:26:05 | raptor | instead of 'loc' you can do something like: resourceitem:setLoc(point.new(500,1000)) |
| 01:26:16 | Little_Apple | i mean, can i have it spawn in this relative to where the zone was entered? |
| 01:26:19 | raptor | where 500,1000 are the absolute coordinates of the map |
| 01:26:20 | Little_Apple | "Mine 0 0.3 Mine 0.3 0 Mine 0 -0.3 Mine -0.3 0" |
| 01:26:24 | raptor | yes |
| 01:26:24 | Little_Apple | something like that |
| 01:26:32 | Little_Apple | ok thats what i was wondering |
| 01:26:47 | raptor | you use: zoneLoc = zone:getLoc() |
| 01:26:56 | raptor | then |
| 01:27:02 | | bobdaduck has joined |
| 01:27:23 | raptor | resourceitem:setLoc(point.new(zoneLoc.x + 100, zoneLoc.y + 100)) |
| 01:27:47 | raptor | so that sets the resource item to have a location that is 100, 100 away from the zone location |
| 01:27:59 | raptor | and remember to keep your x and y straight |
| 01:29:48 | Little_Apple | oh, and one thing i've been wanting to ask you. have you ever used rubebr duck debugging? |
| 01:29:59 | bobdaduck | What? |
| 01:30:02 | Little_Apple | http://en.wikipedia.org/wiki/Rubber_duck_debugging |
| 01:30:04 | raptor | what? |
| 01:30:24 | raptor | hahaha |
| 01:30:27 | raptor | that's hilarious |
| 01:30:30 | bobdaduck | rofl |
| 01:30:32 | bobdaduck | love it |
| 01:30:38 | kaen | that's what the irc channel is for |
| 01:30:55 | raptor | so true! |
| 01:30:56 | kaen | you have no idea how many ideas have coalesced during my discussions with BFLogBot |
| 01:31:01 | bobdaduck | LA is trying to get a levelgen working? |
| 01:31:06 | Little_Apple | kinda |
| 01:31:07 | bobdaduck | rofl kaen |
| 01:31:14 | bobdaduck | Isn't bflogbot the best! |
| 01:31:18 | bobdaduck | !bot |
| 01:31:18 | BFLogBot | I'm a real boy! |
| 01:31:23 | Little_Apple | ahahah |
| 01:33:06 | bobdaduck | So Little_apple is trying to get a levelgen working? |
| 01:33:15 | raptor | yes, following in your footsteps |
| 01:33:20 | Little_Apple | trying. |
| 01:33:22 | bobdaduck | lol |
| 01:33:35 | Little_Apple | i got lost at zoneLoc = zone:getLoc() |
| 01:33:54 | raptor | Little_Apple: do you know the concept of using variables? |
| 01:33:59 | Little_Apple | yep |
| 01:34:07 | raptor | oops, that code should have been: local zoneLoc = zone:getLoc() |
| 01:34:16 | Little_Apple | isnt setting variables one of the first things you do? |
| 01:34:27 | raptor | what you do is store the zone location in the variable 'zoneLoc' |
| 01:34:35 | bobdaduck | Zoneloc is the variable, and getLoc gets the location of the zone, and stores it in zoneloc |
| 01:34:48 | raptor | bobdaduck: !! case sensitivity is important!! |
| 01:35:11 | Little_Apple | i just realized loc is short for location. |
| 01:35:12 | raptor | *never* sacrifice case sensitivity in a variable for the start of a sentence! |
| 01:35:13 | Little_Apple | whoop. |
| 01:35:19 | bobdaduck | lol |
| 01:36:06 | bobdaduck | I allow myself to be casual with case sensitivity when I'm not *actually* programming. |
| 01:36:47 | raptor | never!! |
| 01:36:55 | raptor | i mean, never with code |
| 01:37:04 | bobdaduck | lol |
| 01:37:08 | Little_Apple | so do i put anything in the parentheses for zone:getLoc() ? |
| 01:37:13 | raptor | Little_Apple: no |
| 01:37:16 | bobdaduck | no |
| 01:37:18 | Little_Apple | gotcha. |
| 01:37:28 | raptor | those parenthesis mean it's a 'method' or 'function' |
| 01:37:36 | raptor | intstead of a variable |
| 01:37:39 | Little_Apple | ah. |
| 01:37:43 | Little_Apple | so what do now |
| 01:38:06 | raptor | argh, ok i'll get you an example... |
| 01:38:16 | bobdaduck | What are you trying to do? |
| 01:38:49 | Little_Apple | trying to get it so it spawns in 4 items around the ship as it enters a zone |
| 01:38:55 | bobdaduck | What items? |
| 01:38:58 | Little_Apple | ... |
| 01:39:00 | Little_Apple | mines. |
| 01:39:05 | bobdaduck | Cool |
| 01:40:47 | bobdaduck | Sounds nifty |
| 01:40:54 | Little_Apple | indeed |
| 01:41:35 | bobdaduck | And what part are you hung up on? |
| 01:41:46 | raptor | next lesson Little_Apple: http://pastie.org/6331251 |
| 01:41:50 | Little_Apple | resourceitem:setLoc(point.new(zoneLoc.x + 100, zoneLoc.y + 100)) |
| 01:41:55 | Little_Apple | dont know where to put it. |
| 01:42:02 | raptor | i made it simpler than that example i gave you |
| 01:42:20 | Little_Apple | okie dokie |
| 01:42:31 | Little_Apple | so i can get rid of what i had before? |
| 01:43:34 | Little_Apple | ill take that as a yes. |
| 01:43:39 | raptor | yes |
| 01:43:47 | raptor | i made a better example |
| 01:44:37 | Little_Apple | i think i can work with this one... |
| 01:44:44 | Little_Apple | it looks more understandable |
| 01:45:53 | raptor | ok good |
| 01:46:09 | raptor | do you see how i pass the 'location' to the spawnResource method instead? |
| 01:46:17 | raptor | that is probably simpler.. |
| 01:48:00 | bobdaduck | lol |
| 01:48:07 | bobdaduck | if you enter the zone twice without setting off the mines |
| 01:48:24 | bobdaduck | it makes mines on top of the old ones which detonates them all |
| 01:49:43 | Little_Apple | um... raptor, what exactly does the script do? |
| 01:49:56 | Little_Apple | i dont see it doing anything |
| 01:50:02 | bobdaduck | it spawns four resources |
| 01:50:11 | bobdaduck | at the corners from your ship |
| 01:50:31 | Little_Apple | i dont think its working for me... |
| 01:50:35 | raptor | at the corners of the zone |
| 01:50:46 | raptor | did you place it in a levelgen file? |
| 01:50:53 | raptor | and reference teh file in the editor? |
| 01:50:56 | Little_Apple | yes |
| 01:51:08 | bobdaduck | ctrl / |
| 01:51:10 | bobdaduck | / |
| 01:51:18 | Little_Apple | i had it set up with the last levelgen |
| 01:51:19 | bobdaduck | check the console for errors |
| 01:51:21 | raptor | ^ yeah bring up the console |
| 01:51:47 | raptor | you might need to exit the level to the editor and retest the level (this reloads the script) |
| 01:52:01 | raptor | or use /clearcache to reload the script on level restart |
| 01:52:15 | Little_Apple | nothing... |
| 01:52:24 | raptor | saved the file? |
| 01:52:31 | raptor | :) |
| 01:52:35 | Little_Apple | yep |
| 01:52:37 | raptor | i just ran this script |
| 01:52:39 | raptor | works well |
| 01:52:41 | raptor | oh |
| 01:52:46 | raptor | the script uses a zone with ID 1 |
| 01:52:54 | bobdaduck | I got the script to work.... |
| 01:52:55 | raptor | do you have a zone like that in the level that you run over? |
| 01:53:01 | Little_Apple | i have a zone with id 1 |
| 01:53:05 | Little_Apple | and im going into it... |
| 01:53:08 | Little_Apple | nothing |
| 01:53:33 | raptor | in the level, if you press CTRL + / (control-slash) |
| 01:53:38 | Little_Apple | i did... |
| 01:53:42 | raptor | to bring up the console, does it say there's an error? |
| 01:53:59 | Little_Apple | nope |
| 01:54:13 | raptor | well, something is not right... |
| 01:54:37 | Little_Apple | something is quite wrong |
| 01:54:47 | raptor | here is my test level that it works on: http://pastie.org/6331325 |
| 01:54:58 | bobdaduck | lol |
| 01:54:59 | raptor | you'll see 'Script e' |
| 01:55:05 | raptor | rename 'e' to your script name.. |
| 01:55:32 | raptor | also make sure your script is in the same directory as the level file |
| 01:55:47 | bobdaduck | And the levelgen file name is case sensitive! |
| 01:55:56 | raptor | yes! |
| 01:56:24 | Little_Apple | huh |
| 01:56:31 | Little_Apple | it works on the test level |
| 01:58:09 | Little_Apple | it doesnt like working with my zone... |
| 01:58:33 | bobdaduck | lol |
| 01:58:35 | raptor | do you have more than one zone with the ID? |
| 01:58:37 | bobdaduck | delete zone and remake it? |
| 01:58:56 | bobdaduck | Raptor: Wouldn't matter, I have two of them in my test level and it works |
| 01:58:59 | bobdaduck | on both. |
| 01:59:28 | Little_Apple | raptor: no |
| 01:59:44 | raptor | bobdaduck: heresy! |
| 01:59:50 | bobdaduck | rofl |
| 01:59:59 | bobdaduck | Its how Tron works! |
| 02:00:04 | bobdaduck | lol |
| 02:01:03 | Little_Apple | this is weird |
| 02:01:15 | Little_Apple | it works with everything except the zone i want it to work with. |
| 02:01:22 | Little_Apple | my computer has gremlins i tell you |
| 02:01:27 | bobdaduck | lol |
| 02:02:57 | raptor | rezone your zone |
| 02:03:02 | raptor | copy pasta! |
| 02:03:26 | raptor | i'm so glad level code is working in the forums again... |
| 02:04:20 | bobdaduck | lol |
| 02:05:46 | Little_Apple | ok. |
| 02:05:49 | Little_Apple | i figured it out... |
| 02:06:08 | raptor | ? |
| 02:06:13 | bobdaduck | What was it? |
| 02:06:17 | Little_Apple | it spawns them in a weird spot because the zone is such a weird shape |
| 02:06:18 | bobdaduck | (he forgot a semicolon) |
| 02:06:25 | raptor | ha |
| 02:06:33 | raptor | yeah, the zone location is just one point |
| 02:06:41 | bobdaduck | rofl |
| 02:06:50 | Little_Apple | sooo... how can i have them spawn relative to the ship? |
| 02:06:58 | raptor | probably the center of the zone, but the center might be weird for funny shaped zones |
| 02:07:11 | raptor | that's easy |
| 02:07:15 | raptor | instead of using zone:getLoc() |
| 02:07:16 | Little_Apple | how do |
| 02:07:20 | raptor | use ship:getLoc() |
| 02:07:29 | Little_Apple | gotcha |
| 02:09:52 | Little_Apple | ok. it works. |
| 02:09:57 | Little_Apple | i managed not to break anything |
| 02:10:34 | bobdaduck | Interesting note: Cores count as terrain for seekers |
| 02:11:57 | bobdaduck | So they won't target you behind one |
| 02:12:11 | Little_Apple | ok. i got it so it spawns mines. finally. |
| 02:13:04 | Little_Apple | this is awesome |
| 02:13:11 | bobdaduck | grats |
| 02:30:02 | bobdaduck | Raptor: Stack trace: What file is that? |
| 02:31:29 | raptor | uh, if it crashes, usually windows pops up with an error message |
| 02:31:36 | raptor | save what it says and pastie it |
| 02:32:58 | bobdaduck | Nope |
| 02:33:00 | bobdaduck | No need |
| 02:33:19 | bobdaduck | If a soccerball leaves a goalzone on a non-soccer level it crashes. |
| 02:33:22 | bobdaduck | Suprise! |
| 02:34:16 | raptor | bobdaduck: oh wow! |
| 02:34:20 | raptor | ok... checking... |
| 02:34:23 | raptor | good find |
| 02:34:47 | bobdaduck | *replaces all zones in level with loadoutzones* |
| 02:38:34 | raptor | Little_Apple: fix? |
| 02:38:45 | Little_Apple | almost done |
| 02:39:25 | Little_Apple | ok there we go |
| 02:52:32 | raptor | did you say you had a bug LA? |
| 02:54:38 | bobdaduck | I don't think he did |
| 02:56:18 | Little_Apple | how would i have some text appear and dissapear as the player leaves the zone? |
| 02:57:45 | raptor | bobdaduck: i can't duplicat your bug |
| 02:57:49 | | Little_Apple_ has joined |
| 02:57:50 | raptor | i'm in a bitmatch level |
| 02:57:54 | Little_Apple_ | hello |
| 02:57:58 | raptor | and move a soccerball to a goal zone |
| 02:58:01 | raptor | the ball disappears |
| 02:58:07 | raptor | and goes back, no crash |
| 02:58:12 | bobdaduck | ...what |
| 02:58:21 | raptor | this means one thing |
| 02:58:21 | bobdaduck | pass? |
| 02:58:29 | bobdaduck | That you did it wrong! |
| 02:58:33 | raptor | you will now become a beta tester |
| 02:58:43 | raptor | (if you want) |
| 02:58:55 | bobdaduck | level 3 programmer/priest/beta tester/mad scientist |
| 02:59:03 | bobdaduck | Only if you change my !bobdaduck |
| 02:59:11 | raptor | !bobdaduck |
| 02:59:11 | BFLogBot | Evil level designer |
| 02:59:17 | bobdaduck | lol |
| 03:00:39 | Little_Apple_ | i has a question.... |
| 03:00:41 | | Little_Apple Quit (Ping timeout: 245 seconds) |
| 03:01:05 | Little_Apple_ | how would you put in a text item for a levelgen? |
| 03:01:39 | Little_Apple_ | well that was phrased terribly. |
| 03:01:40 | raptor | same way as other objects |
| 03:01:52 | raptor | !bobdaduck |
| 03:01:52 | BFLogBot | Level 3 programmer/priest/beta tester/mad scientist |
| 03:02:29 | Little_Apple_ | raptor: i dont get it... |
| 03:03:03 | bobdaduck | rofl |
| 03:03:08 | bobdaduck | Okay raptor, I'm a betatester now |
| 03:03:18 | raptor | getting you a build |
| 03:03:24 | bobdaduck | Little_Apple: You have to define two points for it |
| 03:03:43 | bobdaduck | Also it was used in sands of time |
| 03:04:33 | Little_Apple_ | can i have the sands of time script? it seems to have everything i need... |
| 03:04:40 | bobdaduck | lol |
| 03:05:02 | bobdaduck | If you think you can wade through it |
| 03:05:14 | bobdaduck | KNRL |
| 03:05:19 | bobdaduck | The script reset! |
| 03:05:24 | bobdaduck | Deleted all the tabs |
| 03:05:32 | bobdaduck | WHY MEEEE |
| 03:05:37 | raptor | what |
| 03:05:42 | Little_Apple_ | its karma |
| 03:05:47 | bobdaduck | The sands of time levelgen |
| 03:05:51 | bobdaduck | All the tabs were removed somehow |
| 03:05:53 | Little_Apple_ | remember when you kicked that little kid on his scooter? |
| 03:05:57 | bobdaduck | Breaking the script... Again. |
| 03:06:18 | bobdaduck | Like forreal |
| 03:07:01 | raptor | Little_Apple_: do you have a way to un-firewall your server so it doesn't read Ping Timed Out ? |
| 03:07:13 | bobdaduck | lol ikr |
| 03:07:21 | Little_Apple_ | not exactly... |
| 03:07:35 | Little_Apple_ | is it too annoying? lol |
| 03:07:48 | bobdaduck | Yes. |
| 03:07:48 | bobdaduck | xD |
| 03:07:49 | Little_Apple_ | i can take it down till i have a way to port forward... |
| 03:08:04 | bobdaduck | Nah its okay |
| 03:08:09 | bobdaduck | We've all just memorized your IP and stuff |
| 03:08:18 | Little_Apple_ | lol |
| 03:08:35 | Little_Apple_ | get little_apple ip tattoos |
| 03:09:06 | Little_Apple_ | on the insides of your eyelids... |
| 03:10:17 | raptor | 108! ain't it great! |
| 03:10:41 | raptor | bobdaduck: your beta build: http://sam6.25u.com/upload/Bitfighter-018a-beta-27c7bbeeda6b.7z |
| 03:10:45 | Little_Apple_ | lol |
| 03:10:54 | bobdaduck | yay okay. |
| 03:11:01 | bobdaduck | Raptor how do I define a global boolean in lua |
| 03:11:25 | raptor | just put it outside of all the methods |
| 03:11:29 | raptor | but don't use 'local' |
| 03:11:39 | bobdaduck | bool toggle = false |
| 03:11:54 | raptor | just : toggle = false |
| 03:12:06 | raptor | acutally maybe put it in main() without the 'local' |
| 03:13:26 | bobdaduck | okay help me to understand this bug |
| 03:13:44 | bobdaduck | variable object cannot be used if not first declared |
| 03:14:02 | bobdaduck | object = levelgen:findObjectById(13) |
| 03:14:37 | bobdaduck | What did I do wrong? |
| 03:16:25 | raptor | missing 'local' |
| 03:17:18 | raptor | so maybe you need non 'local' variables outside of the methods (and outside main() ) |
| 03:17:19 | bobdaduck | attempting to index global "object" (a nil value) |
| 03:17:28 | raptor | ok, don't use object |
| 03:17:33 | raptor | use 'o' |
| 03:17:40 | raptor | maybe 'object' is reserved for some reason.. |
| 03:18:16 | bobdaduck | same problem |
| 03:19:34 | bobdaduck | Or if I put it local it says local 'object' |
| 03:20:05 | raptor | lookt at the line number of the error and see if it matches |
| 03:20:06 | raptor | brb |
| 03:23:52 | bobdaduck | Giving up for now... |
| 03:24:01 | bobdaduck | Going to a thing so. |
| 03:24:04 | | bobdaduck Quit (Quit: Page closed) |
| 03:24:07 | Little_Apple_ | alright im off for today |
| 03:24:15 | Little_Apple_ | laters |
| 03:24:17 | | Little_Apple_ Quit (Quit: Page closed) |
| 03:33:20 | | bobdaduck has joined |
| 03:33:23 | bobdaduck | Just kidding. |
| 03:33:26 | bobdaduck | lazy |
| 03:33:52 | bobdaduck | What am I supposed to do with this beta build? |
| 03:37:44 | raptor | use it |
| 03:37:48 | raptor | instead of the other builds |
| 03:37:51 | raptor | that way |
| 03:37:56 | raptor | oh and test that soccer bug |
| 03:38:03 | raptor | because, i can't duplicate |
| 03:38:15 | bobdaduck | okey |
| 03:39:37 | bobdaduck | So object = levelgen:findObjectById(13) is returning nil |
| 03:39:50 | bobdaduck | when there's an object which is 13. |
| 03:40:27 | bobdaduck | Nowait |
| 03:40:29 | bobdaduck | found the problem. |
| 03:40:38 | bobdaduck | You jerks made it so you can't give walls an ID! |
| 03:41:00 | raptor | really? |
| 03:41:04 | raptor | huh |
| 03:41:14 | bobdaduck | yeah |
| 03:41:23 | bobdaduck | the ID removes itself when I restart the level |
| 03:41:34 | bobdaduck | And also it runs fine if I give something other than the wall an ID 13 |
| 03:43:24 | raptor | is this in the beta? or just something new you've discovered? |
| 03:43:50 | bobdaduck | well |
| 03:43:54 | bobdaduck | in beta everything breaks |
| 03:44:25 | bobdaduck | (is there a function to send you a crash report? Or copy it or something?) |
| 03:44:32 | | Platskies Quit (Remote host closed the connection) |
| 03:44:37 | bobdaduck | Levelgen breaks not the game |
| 03:44:39 | bobdaduck | * |
| 03:45:57 | raptor | really?? |
| 03:46:05 | bobdaduck | In other news, all my levelgens are broken except feudalism and RTS. |
| 03:46:11 | bobdaduck | in beta. |
| 03:46:12 | raptor | what!? |
| 03:46:17 | raptor | oh |
| 03:46:20 | raptor | oh yeah... |
| 03:46:21 | raptor | uh |
| 03:46:22 | bobdaduck | rofl |
| 03:46:26 | raptor | minor API change |
| 03:46:41 | raptor | like you can't pass in a point like this anymore: setLoc(0,0) |
| 03:46:52 | raptor | you have to do: setLoc(point.new(0.0)) |
| 03:46:59 | raptor | argh: setLoc(point.new(0,0)) |
| 03:47:14 | bobdaduck | What! Why! xD |
| 03:47:15 | raptor | so everything requires points |
| 03:47:23 | raptor | because... umm .... watusimoto |
| 03:47:28 | bobdaduck | rofl |
| 03:47:37 | raptor | (sorry!) |
| 03:47:58 | raptor | actually it makes some sense... only passing around points instead of coordinates |
| 03:48:27 | bobdaduck | Its harder though... |
| 03:48:39 | raptor | a bit, yes... |
| 03:49:35 | bobdaduck | Why does feudalism work |
| 03:49:42 | bobdaduck | it spawns resource items on the ship |
| 03:49:50 | bobdaduck | But my lab level |
| 03:49:53 | raptor | yes because you're not setting any points |
| 03:49:55 | bobdaduck | does not? |
| 03:49:55 | raptor | i mean coords |
| 03:50:15 | raptor | pastie your lab code and i'll show you the problems.. |
| 03:50:47 | raptor | basically any time you pass in coords, make sure it is wrapped in a poing.new() |
| 03:51:03 | | Platskies has joined |
| 03:51:13 | bobdaduck | Feudalism |
| 03:51:15 | bobdaduck | and bobdaducks lab |
| 03:51:20 | bobdaduck | use the exact same levelgen file. |
| 03:51:30 | raptor | can't be! |
| 03:52:20 | bobdaduck | could not validate params for function MoveObject::setVel() |
| 03:52:22 | raptor | or actually |
| 03:52:25 | bobdaduck | Expected; Lua point |
| 03:52:26 | raptor | yes |
| 03:52:38 | bobdaduck | total in stack 2 |
| 03:52:44 | bobdaduck | 1 : number 500 |
| 03:52:47 | raptor | put a point.new around it: MoveObject::setVel(point.new(0,0)) |
| 03:52:57 | bobdaduck | Okay so why does Feudalism run |
| 03:53:06 | raptor | because it uses less of the levelgen script |
| 03:53:21 | raptor | it only fails when it tries to run part of the script that's broken, not other parts |
| 03:53:36 | raptor | i.e. - scripting languages are weird! |
| 03:54:03 | bobdaduck | Yeah okay. |
| 03:54:57 | bobdaduck | Yeah, its working now |
| 03:55:01 | raptor | yay |
| 03:55:15 | | Platskies Quit (Ping timeout: 245 seconds) |
| 03:55:58 | bobdaduck | 'course |
| 03:56:03 | bobdaduck | your gravity well code is broken now |
| 03:56:11 | raptor | yes! |
| 03:56:22 | bobdaduck | let us all mourn the loss of "GRAVITY STACKS!" |
| 03:56:27 | raptor | haha |
| 03:56:39 | raptor | broken as in, the effect is removed when you die now? |
| 03:56:55 | bobdaduck | no |
| 03:56:59 | bobdaduck | like, levelgen doesn't run |
| 03:57:33 | raptor | oh |
| 03:57:36 | raptor | huh |
| 03:57:37 | raptor | error? |
| 03:57:53 | raptor | maybe i'll load my (rudimentary by comparison) lab level and see... |
| 03:59:00 | raptor | my well works |
| 04:00:59 | bobdaduck | Oh |
| 04:01:02 | bobdaduck | was looking at the wrong script |
| 04:01:05 | bobdaduck | added point.new |
| 04:01:19 | bobdaduck | I'll test more in like 10 min |
| 04:12:57 | | Platskies has joined |
| 04:16:08 | | Platskies Quit (Remote host closed the connection) |
| 04:25:03 | raptor | back later! |
| 04:25:08 | | raptor Quit () |
| 04:35:06 | | Wuzzy2 has joined |
| 04:37:02 | bobdaduck | Sup wuzzy |
| 04:37:45 | | Wuzzy Quit (Ping timeout: 245 seconds) |
| 04:52:57 | | raptor has joined |
| 04:52:58 | | ChanServ sets mode +o raptor |
| 04:53:00 | raptor | back! |
| 04:53:04 | raptor | and... going to bed! |
| 04:53:04 | bobdaduck | Okay |
| 04:53:08 | bobdaduck | Raptor I have bugs for you |
| 04:53:09 | raptor | any last Qs? |
| 04:53:11 | raptor | yay |
| 04:53:29 | bobdaduck | levelgen generated soccer balls will /always/ crash the game upon entering a goalzone |
| 04:53:56 | bobdaduck | And the game is crashing when I mouseover a neutral ship in the editor ("GetOnScreen method not implemented!") |
| 04:54:09 | raptor | oh oops |
| 04:54:16 | raptor | that's because you ahve a debug build |
| 04:54:25 | bobdaduck | As well as the entire game is like half as fast |
| 04:54:29 | raptor | you probably want a release build |
| 04:54:33 | raptor | let me get you that |
| 04:54:38 | bobdaduck | RTS outright freezes for 20 seconds on load |
| 04:54:55 | bobdaduck | And in general all the movement is sloppier |
| 04:54:59 | raptor | yeah let me get you a release build |
| 04:55:06 | raptor | debug helps with stacktraces |
| 04:55:09 | bobdaduck | (why not just implement a getonscreen method for neutral ships? :P) |
| 04:55:13 | raptor | and crashes, but not other things... |
| 04:55:16 | bobdaduck | Debug is probably right then |
| 04:55:16 | raptor | heh |
| 04:55:35 | raptor | well, i want you test like a normal player |
| 04:55:39 | raptor | so i'll get you release |
| 04:55:41 | bobdaduck | okay |
| 04:56:33 | raptor | sorray about that... |
| 04:56:38 | raptor | (and thanks fo rbeing a good sport) |
| 04:56:43 | raptor | writing down soccer bug.. |
| 05:01:01 | | Platskies has joined |
| 05:01:05 | raptor | almost done... |
| 05:03:07 | raptor | OK bobdaduck: http://sam6.25u.com/upload/Bitfighter-018a-beta-27c7bbeeda6b-release.7z |
| 05:03:12 | raptor | release build |
| 05:03:15 | raptor | probably 10 times faster |
| 05:03:22 | raptor | debug builds can be *really* slow |
| 05:03:27 | bobdaduck | lol |
| 05:03:45 | raptor | anyways, i'm heading to bed |
| 05:03:46 | raptor | night! |
| 05:03:49 | raptor | and thanks! |
| 05:03:51 | bobdaduck | Aight |
| 05:03:52 | bobdaduck | glhf |
| 05:03:58 | | raptor Quit () |
| 05:54:37 | bobdaduck | !bobdaduck |
| 05:54:37 | BFLogBot | Level 3 programmer/priest/beta tester/mad scientist |
| 05:59:52 | | bobdaduck sighs |
| 05:59:55 | | bobdaduck Quit (Quit: Page closed) |
| 06:30:14 | | Wuzzy2 Quit (Quit: Wuzzy2) |
| 07:10:34 | | Darrel has joined |
| 08:08:24 | | Watusimoto has joined |
| 08:18:14 | Platskies | !Platskies |
| 08:18:26 | Platskies | Aww… |
| 08:42:32 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 12:33:29 | | Platskies Quit (Remote host closed the connection) |
| 13:16:11 | | watusimoto has joined |
| 13:16:12 | | ChanServ sets mode +o watusimoto |
| 14:01:35 | | raptor has joined |
| 14:01:38 | | ChanServ sets mode +o raptor |
| 14:01:44 | raptor | morning! |
| 14:02:28 | raptor | Bitfighter for Desura Linux has been published, when anyone has the chance, please check it out! |
| 15:02:50 | kaen | works great raptor, good job! |
| 15:02:58 | raptor | YES! |
| 15:03:02 | raptor | thanks... |
| 15:03:06 | kaen | also bumped us back up on the new games page ^^ |
| 15:03:09 | raptor | lots of library hunting... |
| 15:03:13 | kaen | blech |
| 15:03:14 | raptor | great! |
| 15:03:35 | kaen | release early, release often! |
| 15:03:44 | raptor | I welcome improvements to the wrapper script - it was sort of quick n' dirty |
| 15:04:09 | kaen | just like any shell script worth its title |
| 15:04:15 | raptor | haha |
| 15:04:30 | kaen | shell scripting is probably one of my favorite things |
| 15:04:40 | kaen | if bash had GL bindings... |
| 15:05:03 | raptor | haha |
| 15:35:56 | | bobdaduck has joined |
| 15:36:48 | bobdaduck | Goodmornin'g |
| 15:36:50 | bobdaduck | ents |
| 15:36:55 | raptor | hi |
| 15:37:29 | bobdaduck | Holy crap so many forums to check |
| 15:37:37 | bobdaduck | and they're not even all by amgine! |
| 15:37:38 | raptor | oh wow |
| 15:38:01 | raptor | it's watusimoto's monthly response day! |
| 15:38:07 | watusimoto | ha! |
| 15:38:24 | raptor | :) |
| 15:38:25 | bobdaduck | lol |
| 15:38:39 | bobdaduck | Function that lets you paste levelcode in the editor! |
| 15:38:43 | bobdaduck | really? |
| 15:38:49 | raptor | yes... |
| 15:38:58 | raptor | SDL2 supports it on windows |
| 15:39:04 | raptor | maybe osx |
| 15:39:13 | raptor | but it is a plan... |
| 15:39:19 | bobdaduck | Whoo! |
| 15:39:39 | raptor | but that doesn't mean it'll happen soon... |
| 15:39:49 | bobdaduck | Whatever |
| 15:40:05 | bobdaduck | Will I be able to directly edit levelcode from the editor? |
| 15:40:22 | raptor | we plan on making it bi-directional |
| 15:40:23 | raptor | so |
| 15:40:38 | raptor | if you copy items from the editor, you could then paste into a text file |
| 15:41:35 | raptor | but that might not be the proper response to your question - you are looking for an in-editor text editor? |
| 15:41:53 | bobdaduck | It would be really, really nice. |
| 15:42:05 | bobdaduck | I was thinking it could be another plugin |
| 15:43:40 | bobdaduck | But it isn't really a "right now" thing because we can actually edit the level file manually anyway. |
| 16:15:09 | | kaen Quit (Ping timeout: 276 seconds) |
| 16:44:01 | watusimoto | we could embed notepad++ |
| 16:44:30 | bobdaduck | lol, as a plugin? |
| 16:44:31 | | Little_Apple has joined |
| 16:44:46 | Little_Apple | hello |
| 16:44:49 | raptor | ok, off to school! thanks for beta testing Little_Apple and bobdaduck |
| 16:44:59 | bobdaduck | glhf |
| 16:45:03 | raptor | (there is a missing comma in that sentence) |
| 16:45:04 | Little_Apple | ^ |
| 16:45:12 | Little_Apple | wait... |
| 16:45:16 | raptor | ok |
| 16:45:16 | Little_Apple | who beta tested me? |
| 16:45:24 | raptor | umm, the game did |
| 16:45:37 | Little_Apple | ohok. |
| 16:45:44 | Little_Apple | have fun at school |
| 16:50:00 | | raptor Quit () |
| 17:56:16 | | watusimoto Quit (Ping timeout: 252 seconds) |
| 18:33:22 | | bobdaduck Quit (Quit: Page closed) |
| 18:34:14 | Little_Apple | !bot |
| 18:34:14 | BFLogBot | I'm a real boy! |
| 18:43:30 | | bobdaduck has joined |
| 18:45:22 | Little_Apple | hello |
| 18:48:54 | bobdaduck | hulluh |
| 18:49:42 | bobdaduck | goobuh |
| 18:49:45 | | bobdaduck Quit (Quit: Page closed) |
| 18:54:01 | | kodaws Quit (Ping timeout: 248 seconds) |
| 19:05:51 | | raptor has joined |
| 19:05:51 | | ChanServ sets mode +o raptor |
| 19:06:46 | Little_Apple | hello |
| 19:06:52 | raptor | hi |
| 19:06:54 | Little_Apple | im still here... |
| 19:06:57 | Little_Apple | with !bot |
| 19:07:10 | raptor | yes, that can be lonely sometimes.. |
| 19:07:31 | Little_Apple | he's a real boy apparently |
| 19:08:18 | raptor | hahaha |
| 19:08:31 | Little_Apple | have you ever used sunvox? |
| 19:08:36 | raptor | never heard of it |
| 19:08:40 | Little_Apple | oh |
| 19:08:48 | Little_Apple | its an audio tracker type thing |
| 19:08:51 | raptor | oooo a tracker |
| 19:08:56 | raptor | you can music for Bitfighter! |
| 19:09:05 | Little_Apple | thats kinda what i had in mind :P |
| 19:09:21 | Little_Apple | learning how to use it better... |
| 19:09:29 | raptor | cool |
| 19:09:56 | raptor | oh wow, it runs on everything |
| 19:10:47 | Little_Apple | yea, right? |
| 19:10:56 | Little_Apple | even palm pilots!! |
| 19:13:25 | Little_Apple | this would be much easier with a midi keyboard.. |
| 19:13:31 | raptor | heh |
| 19:13:47 | Little_Apple | it feels like im using some kind of organ... |
| 19:14:17 | | bobdaduck has joined |
| 19:14:20 | Little_Apple | hello |
| 19:14:30 | bobdaduck | SHUT UP. |
| 19:14:35 | bobdaduck | Sayin' "hello" to me |
| 19:14:39 | bobdaduck | Who do you think you are! |
| 19:14:46 | raptor | bobdaduck: don't drive angry! |
| 19:15:03 | bobdaduck | And I was dring |
| 19:15:07 | bobdaduck | Drviing |
| 19:15:10 | bobdaduck | DRIVING |
| 19:15:11 | Little_Apple | ahahaha |
| 19:15:19 | bobdaduck | AND THERE WERE PEOPLE ON THE ROAD DRIVING TOO. |
| 19:15:29 | Little_Apple | did you run over a frog? |
| 19:15:30 | bobdaduck | I swear it just makes me so mad |
| 19:15:46 | bobdaduck | No |
| 19:15:52 | Little_Apple | oh ok. |
| 19:15:55 | bobdaduck | I just drove and got food and went back to work. |
| 19:16:36 | bobdaduck | I was thinking |
| 19:16:44 | bobdaduck | "hey, Panda Express sounds good" |
| 19:16:50 | bobdaduck | BUT THERE WERE OTHER PEOPLE EATING THERE. |
| 19:16:54 | bobdaduck | Ruined my entire day. |
| 19:17:21 | Little_Apple | smelly humans |
| 19:17:37 | bobdaduck | One of them even had the audacity to LOOK at me. |
| 19:17:47 | bobdaduck | WHAT is this world coming to! |
| 19:19:00 | Little_Apple | im going to wear a sheet next time i go out. |
| 19:19:16 | raptor | it's not halloween yet |
| 19:19:23 | bobdaduck | I appreciate it |
| 19:19:25 | Little_Apple | oh, but it will be. |
| 19:19:28 | Little_Apple | it will be. |
| 19:19:41 | bobdaduck | lol |
| 19:20:07 | Little_Apple | ill tell everyone its halloween and i was the only one in a costume making everyone else feel weird. |
| 19:20:33 | | kaen has joined |
| 19:20:41 | Little_Apple | haeloouw |
| 19:20:50 | kaen | greetings |
| 19:20:54 | kaen | I live in a motel now. |
| 19:21:17 | Little_Apple | permanently? |
| 19:21:24 | kaen | at least for the next couple weeks |
| 19:21:44 | kaen | my landlord rented the apartment I was supposed to get out from under me... |
| 19:21:46 | Little_Apple | oh boy |
| 19:21:52 | bobdaduck | cool |
| 19:22:02 | kaen | so now I'm stuck hopping motels, and I have to wait for him to refund my deposit |
| 19:22:15 | kaen | which will apparently take like a week. |
| 19:23:09 | Little_Apple | fun |
| 19:23:18 | Little_Apple | is the wifi any good? |
| 19:23:22 | kaen | on the bright side, motels are dirt cheap in the desert |
| 19:23:25 | kaen | $120 for 7 days |
| 19:23:33 | kaen | don't think so |
| 19:23:34 | kaen | pings are preposterously high |
| 19:24:06 | Little_Apple | yikes |
| 19:24:20 | kaen | I'm getting 350ms on irc... |
| 19:24:23 | kaen | still ~100ms to my servers though |
| 19:24:25 | kaen | not too bad I guess. |
| 19:25:11 | Little_Apple | where do you host your dedicated stuff from? |
| 19:25:18 | bobdaduck | I mentally refer to myself as "We". Is this normal? |
| 19:26:13 | raptor | use of the royal we is a common tactic to reduce responsibility of what is said |
| 19:26:40 | Little_Apple | if you're a maniacal psychopath with hopes of one day taking over the world then, yes it is bobdaduck |
| 19:26:42 | raptor | oh, mentally... |
| 19:26:54 | bobdaduck | lol |
| 19:26:58 | raptor | uhh, that might be a bit different *gollum*gollum* |
| 19:27:01 | Little_Apple | i think i put that comma in the wrong spot. |
| 19:27:04 | bobdaduck | xD |
| 19:27:28 | Little_Apple | the precious... |
| 19:27:36 | bobdaduck | "hm, should we get the rootbeer or just water? Ehhhh we don't need rootbeer today" |
| 19:28:02 | Little_Apple | we need rootbeer on wednesday though |
| 19:28:38 | bobdaduck | "I don't care what you think, we're getting rootbeer anyway. I like rootbeer." |
| 19:28:49 | bobdaduck | "OKAY FINE we'll get rootbeer |
| 19:29:18 | bobdaduck | But we need extra fries too then!" |
| 19:29:28 | Little_Apple | ask for a taco in a cup |
| 19:29:31 | raptor | it's wednesday? |
| 19:29:41 | Little_Apple | monday |
| 19:29:47 | bobdaduck | Tuesday |
| 19:29:58 | Little_Apple | chicken nugget |
| 19:30:03 | raptor | thursday |
| 19:30:09 | raptor | i like those days fo the week. |
| 19:30:35 | Little_Apple | i like the ones with clean socks |
| 19:30:51 | bobdaduck | We like Sunday the best, personally. |
| 19:31:06 | Little_Apple | we..... |
| 19:31:16 | Little_Apple | mrrherhgghrehgrehgre |
| 19:33:44 | Little_Apple | bobdaduck: can i have the levelgen for sands of time? so i can tear it apart and steal what i need? |
| 19:33:53 | bobdaduck | lol |
| 19:34:05 | bobdaduck | Yeah when I get home |
| 19:34:16 | bobdaduck | But you can't have the level that goes with it. |
| 19:34:17 | Little_Apple | alrighty |
| 19:34:24 | Little_Apple | thats fine with me :P |
| 19:34:27 | bobdaduck | for obvious reasons. |
| 19:34:58 | Little_Apple | herp |
| 19:38:32 | kaen | <Little_Apple> where do you host your dedicated stuff from? <<< A VPS located in LA |
| 19:38:53 | Little_Apple | aha |
| 19:40:07 | raptor | kaen: did you get my message to use cron @reboot for your startup scripts? |
| 19:40:17 | raptor | it's the easy route.. |
| 19:40:39 | raptor | and you don't have to run as root |
| 19:42:46 | bobdaduck | Kaen: Couldn't you make the stats page merge stats from bobdaduck.0 with bobdaduck? |
| 19:44:48 | raptor | that brings up a bigger issue: should we have more concrete bindings with accounts.. |
| 19:48:34 | kaen | word. |
| 19:48:53 | kaen | bobdaduck, I can but what if someone legitimately wants their username to be bobdaduck.0 ? |
| 19:49:03 | kaen | or, more generally, anything.0 |
| 19:49:05 | raptor | heh |
| 19:49:22 | bobdaduck | Who would DO that? WHY. |
| 19:49:33 | bobdaduck | I vote we discriminate against them and say NOPE. |
| 19:49:38 | raptor | me .0 |
| 19:49:42 | | raptor .0 |
| 19:49:44 | kaen | I vote we do what I suggested in the thread |
| 19:49:44 | raptor | hmm |
| 19:49:53 | kaen | kick stale logins if an authenticated user joins a second time. |
| 19:49:56 | kaen | easy-squeezy |
| 19:50:02 | raptor | yes, i agree with that... |
| 19:50:14 | raptor | the trick is in determining stale log in... |
| 19:50:38 | bobdaduck | if bobdaduck joins a game with bobdaduck in it, and bobdaduck is authenticated, then it is stale. |
| 19:50:39 | kaen | well, I think in this case it's sufficient to say that any log in is stale |
| 19:50:44 | kaen | as soon as a new one comes. |
| 19:50:53 | kaen | (only for authed users) |
| 19:50:59 | raptor | what if i want to test something with 4 windows? |
| 19:51:13 | kaen | don't auth :) |
| 19:51:14 | kaen | or |
| 19:51:15 | kaen | server option |
| 19:51:21 | kaen | or |
| 19:51:24 | bobdaduck | raptorTester |
| 19:51:24 | kaen | skip it in debug mode |
| 19:52:28 | | LordDVG has joined |
| 19:53:17 | raptor | all good ideas |
| 19:53:28 | raptor | ok, time to go to the vampires |
| 19:54:19 | raptor | i'll be back soon, with 7/8 the blood as i have now... |
| 19:54:31 | | raptor Quit () |
| 19:54:47 | kaen | aaah, he's donating blood |
| 19:54:51 | kaen | what a cool dude. |
| 19:55:22 | bobdaduck | lol |
| 19:55:38 | Little_Apple | reverse heroine. |
| 19:55:42 | kaen | lmao |
| 20:18:16 | | Watusimoto has joined |
| 20:23:57 | bobdaduck | Hi wat |
| 20:24:35 | Watusimoto | hi |
| 20:24:47 | bobdaduck | Wats up? |
| 20:25:10 | Watusimoto | doc |
| 20:25:39 | bobdaduck | !bobdaduck |
| 20:25:45 | BFLogBot | Level 3 programmer/priest/beta tester/mad scientist |
| 20:25:58 | bobdaduck | yep priest |
| 20:26:02 | bobdaduck | I'd say it counts. |
| 20:27:33 | Watusimoto | har |
| 20:52:15 | | kodapad has joined |
| 20:53:26 | Little_Apple | hello |
| 20:55:20 | bobdaduck | hello |
| 20:55:30 | kodapad | ’lo |
| 20:56:48 | Little_Apple | OH YOU RESPOND TO BOB BUT NOT ME? |
| 20:56:51 | Little_Apple | I SEE HOW IT IS |
| 20:56:56 | bobdaduck | lol |
| 20:59:55 | | kodapad troll successful |
| 21:01:57 | | bobdaduck okay |
| 21:04:29 | | Little_Apple fried waffles |
| 21:10:05 | Little_Apple | sooo.... opti wants bitfighter to become the instant action ZAP!. great. |
| 21:10:16 | | kodapad Quit (Quit: K Thx Bai) |
| 21:11:22 | bobdaduck | lol ikr |
| 21:14:23 | | kodapad has joined |
| 21:14:33 | Little_Apple | ack. im watching some footage of the instant action zap... |
| 21:14:41 | Little_Apple | its so busy. makes my eyes burn |
| 21:15:19 | bobdaduck | lol |
| 21:23:52 | Nothing_Much | who's chumpchange? o.O |
| 21:24:40 | bobdaduck | ChumpChange is the default name in our game if no name is given. |
| 21:24:54 | Nothing_Much | ohh, thank goodness, I thought it was an actual person lol |
| 21:25:29 | Little_Apple | hmmm better think of a name for myself. better make it a good one.. |
| 21:25:39 | Little_Apple | I've got it! chumpchange! |
| 21:25:42 | Little_Apple | its brilliant! |
| 21:27:08 | bobdaduck | lol |
| 21:27:19 | bobdaduck | In Zap! the default was actually "playa" |
| 21:27:35 | Little_Apple | yepyep |
| 21:37:25 | Nothing_Much | lol |
| 21:55:51 | Watusimoto | I think you can set your own default in the INI |
| 21:56:00 | Watusimoto | not sure why we (I) did that... |
| 21:56:07 | Watusimoto | seemed to make sense at the time |
| 21:56:34 | Little_Apple | IM SETTING MY DEFAULT TO MEATBALL_LUVR1337 |
| 21:56:43 | kodapad | Do no shout! |
| 22:00:56 | Little_Apple | whats this? "BurstGraphics - Select which graphic to use for bursts (1-5)" |
| 22:01:06 | bobdaduck | Experimental somethingorother |
| 22:01:34 | bobdaduck | Setting it to different things will make the burst look different. |
| 22:01:41 | Little_Apple | i tried all the different options... |
| 22:01:47 | Little_Apple | nothing changed |
| 22:02:15 | bobdaduck | It hasn't been important since like 011 |
| 22:02:26 | bobdaduck | We're pretty settled as far as graphics go... |
| 22:05:04 | | Darrel Quit (Quit: Closed IRC client) |
| 22:08:05 | | LordDVG Quit (Ping timeout: 255 seconds) |
| 22:10:12 | | raptor has joined |
| 22:10:13 | | ChanServ sets mode +o raptor |
| 22:10:21 | Little_Apple | hello |
| 22:10:29 | raptor | Watusimoto: you should take a look at the latest LuaWrapper commits |
| 22:10:37 | raptor | hi |
| 22:10:40 | Watusimoto | there's more? |
| 22:10:41 | Watusimoto | hi |
| 22:10:57 | bobdaduck | Hi |
| 22:11:03 | bobdaduck | Are you a vampire now? |
| 22:11:03 | raptor | i mean, the latest from 3 days ago |
| 22:11:25 | raptor | no, but i've helped feed many vampire babies somewhere |
| 22:11:39 | Little_Apple | when is the next full moon? we can find out for sure then |
| 22:12:06 | bobdaduck | Circles! |
| 22:12:35 | Watusimoto | time to try again? |
| 22:12:52 | raptor | say what? |
| 22:13:03 | raptor | i don't know the subject of the current conversation(s) |
| 22:13:13 | bobdaduck | I'm in favor of circles. |
| 22:13:21 | Watusimoto | ok |
| 22:13:23 | Watusimoto | so |
| 22:13:33 | raptor | bobdaduck has been reading Lua doc, shame on him |
| 22:13:39 | bobdaduck | lol |
| 22:13:45 | Watusimoto | the fix seems oriented around two objects of different types had the same identifier |
| 22:13:54 | Watusimoto | and the meta tables getting screwed up |
| 22:13:59 | Watusimoto | could that have been our problem? |
| 22:14:05 | raptor | possibly |
| 22:14:11 | raptor | which is why bring it up |
| 22:14:14 | raptor | also |
| 22:14:21 | Watusimoto | for that to be so, we'd need to have two objects with the same address |
| 22:14:39 | Watusimoto | but we already established that we can get repeating addresses |
| 22:15:01 | raptor | there was another fix related to inheritance, too |
| 22:15:15 | Watusimoto | so if we got a repeat with a different object type (ship and bullet seem the obvious collision candidates) woudl that result in the problem we saw? |
| 22:15:24 | Watusimoto | we had two recurring errors |
| 22:15:43 | Watusimoto | 1) getVelocity not working on a bullet |
| 22:15:49 | Watusimoto | (I think) |
| 22:15:55 | raptor | well |
| 22:16:02 | Watusimoto | and 2) invalid casting to self |
| 22:16:10 | raptor | i don't remember #2 |
| 22:16:19 | Watusimoto | #2 definitely could be from bullet being casted to ship and returning nil |
| 22:16:21 | raptor | but lots of invalid-whatever methods with levelgens |
| 22:17:41 | Watusimoto | no, not get velocity, getEnergy! |
| 22:17:50 | raptor | that one too |
| 22:17:55 | raptor | i've seen both |
| 22:18:13 | Watusimoto | and projectiles don't have a getEnergy method |
| 22:18:24 | Watusimoto | so what we saw is theoretically consistent with what he fixed |
| 22:18:49 | Watusimoto | or rather, what I saw... you might have seen something different |
| 22:19:08 | raptor | well, i'm of the mindset: bug fix == good maybe that'll work for us |
| 22:19:11 | Watusimoto | I don't think we had an inheritance problem, and it's not clear why alex changed that |
| 22:19:20 | Watusimoto | I'm of the same mindset |
| 22:19:47 | raptor | kaen: latest commits: https://bitbucket.org/alexames/luawrapper/commits |
| 22:20:44 | Watusimoto | well, this will be a bit of a chore to do, but I'll give it a go when I feel so motivated |
| 22:20:55 | raptor | ok |
| 22:21:23 | raptor | in the meantime, i've given both Little_Apple and bobdaduck beta releases of 018a and they already got me a bug each |
| 22:21:33 | Watusimoto | if I can still get my original 5.1 work with the cachine back, I can go from there and manually apply the new changes |
| 22:21:39 | Watusimoto | and I think that got checked in |
| 22:21:55 | Watusimoto | if we can make that work, I think I'll pass on 5.2 for the moment |
| 22:22:16 | raptor | yes, i think we should pass on 5.2 for now |
| 22:22:24 | Watusimoto | bugs... good? |
| 22:22:27 | Watusimoto | maybe? |
| 22:22:40 | raptor | editor glitch and crash |
| 22:22:53 | raptor | bobdaduck has been stress testing our Lua API.. |
| 22:22:54 | Watusimoto | reproducible? |
| 22:23:00 | Watusimoto | yes, he has |
| 22:23:01 | raptor | y |
| 22:23:20 | Watusimoto | well, I'm almost done with the showing ids case |
| 22:23:21 | raptor | i wrote both down |
| 22:23:31 | Watusimoto | I'm cleaning up a related editor mess while I'm in there |
| 22:23:45 | Watusimoto | removing an ugly todo |
| 22:23:53 | raptor | oh, and kaen has been running the latest code as his public servers |
| 22:24:08 | Watusimoto | if I was a habitual drug user, I'd say I was high when I wrote this stuff |
| 22:24:13 | raptor | hahaha |
| 22:24:15 | Watusimoto | it's really messy |
| 22:24:32 | Watusimoto | hell, I was probably so high I don't even remember getting high |
| 22:24:38 | Watusimoto | that's how bad this is |
| 22:24:41 | Watusimoto | was |
| 22:24:55 | raptor | where? (if i may ask...) |
| 22:25:16 | Watusimoto | EditorUserInterface::renderItemInfoPanel |
| 22:25:22 | Watusimoto | which isn't even a panel |
| 22:25:55 | raptor | ha |
| 22:26:00 | raptor | TODO: Rewrite |
| 22:26:31 | raptor | I remember looking at that, wondering what to do, and gracefully moving on |
| 22:26:36 | Watusimoto | I didn't totally rewrite it, but I fixed the wastoid logic and stupid var names |
| 22:26:51 | Watusimoto | it's not perfect, but much better |
| 22:26:58 | raptor | multipleKindsOfObjectsSelected |
| 22:27:01 | raptor | but that's my favorite! |
| 22:27:19 | Watusimoto | it's still there |
| 22:32:50 | Little_Apple | im off for now |
| 22:32:55 | | Little_Apple Quit (Quit: Page closed) |
| 22:33:01 | raptor | off his rocker! |
| 22:33:27 | | kodapad Quit (Quit: K Thx Bai) |
| 22:34:02 | bobdaduck | Raptor! |
| 22:34:09 | raptor | uh hi |
| 22:34:09 | bobdaduck | Can I give you a mini-project? |
| 22:34:16 | raptor | maybe ish |
| 22:34:42 | bobdaduck | I need an example script for creating a loadoutzone on a trigger, efficient for an extremely large number of points. |
| 22:34:53 | bobdaduck | Possible? |
| 22:35:11 | raptor | wait what? |
| 22:35:32 | raptor | split your statement up into steps |
| 22:36:01 | bobdaduck | Trigger (ship enters zone) |
| 22:36:05 | raptor | check |
| 22:36:05 | bobdaduck | add loadout zone |
| 22:36:07 | raptor | check |
| 22:36:20 | raptor | but loadout zone has lots of points? |
| 22:36:31 | bobdaduck | And assume this loadout zone will have like 50 points so I /really/ don't want to use point.new calculations. |
| 22:36:31 | raptor | (i wouldn't recomment more than 62 or so) |
| 22:36:54 | bobdaduck | I actually have the loadoutzone drawn in the editor |
| 22:37:08 | bobdaduck | But I want it to create on script, y'know? |
| 22:37:44 | raptor | will there be dynamic placement of the zone? |
| 22:37:51 | raptor | err relative |
| 22:38:04 | raptor | so all points are relative to some other location? |
| 22:38:05 | bobdaduck | No |
| 22:38:11 | bobdaduck | Absoulute. |
| 22:38:23 | raptor | ok, that's easier |
| 22:38:50 | bobdaduck | I think there might be complications when I try to use level points which are measured by gridsize, and then levelgen points which are measured in pixels. |
| 22:38:57 | bobdaduck | (or whatever the differences are.) |
| 22:39:06 | raptor | yes |
| 22:39:07 | raptor | ok |
| 22:39:25 | raptor | easy formula: levelsize * gridsize |
| 22:39:43 | bobdaduck | I don't have the entire level built yet |
| 22:39:46 | raptor | so 0.1 * 255 = 25.5 pixel size |
| 22:39:54 | raptor | point size |
| 22:39:56 | raptor | i mean |
| 22:40:32 | raptor | ha |
| 22:40:37 | bobdaduck | Ugh, stringing in 50 points to that is annoying |
| 22:40:37 | raptor | weirdiolio is online |
| 22:40:46 | raptor | yes |
| 22:40:49 | bobdaduck | lolwhat |
| 22:40:53 | raptor | welcome to the dark side of code |
| 22:41:00 | raptor | sometimes it's just tedious.. |
| 22:42:11 | bobdaduck | lol |
| 22:42:36 | bobdaduck | So I do have to do that? Okay |
| 22:42:47 | bobdaduck | Who is weirdiolio? xD |
| 22:43:05 | bobdaduck | Probably a desura guy? |
| 22:43:15 | raptor | hmmm... i might want to create a helper method that loads in a coord array converts it to a point array |
| 22:44:10 | bobdaduck | You might. As it is I can multiply all the coords by 255 and it'll work fine, right? |
| 22:44:19 | raptor | yes |
| 22:45:00 | bobdaduck | I bet I can find something that can do math on arrays like that. |
| 22:45:14 | bobdaduck | anyway: Think you can get me an example script? |
| 22:45:35 | raptor | i have a better idea: level code to points function |
| 22:45:48 | raptor | but, i won't be able to write it until tonight |
| 22:48:01 | raptor | ok, have to go... back later tonight |
| 22:48:26 | bobdaduck | glhf |
| 22:48:40 | raptor | choking on your tongue? |
| 22:48:44 | | raptor Quit () |
| 22:49:41 | bobdaduck | GLHF = Good Luck Have Fun |
| 22:49:46 | bobdaduck | I'm out too |
| 22:49:49 | bobdaduck | seeyalls |
| 22:49:52 | | bobdaduck Quit (Quit: Page closed) |
| 22:49:56 | Watusimoto | bobdaduck: your opinion: should we treat id like other attributes (i.e. no special key, edit via attributes menu) |
| 22:49:59 | Watusimoto | damn! |
| 22:54:00 | | kodapad has joined |
| 23:14:17 | | kodapad Quit (Quit: K Thx Bai) |
| 23:23:56 | | bobdaduck has joined |
| 23:24:39 | bobdaduck | Sorry! |
| 23:24:41 | bobdaduck | I'm back now |
| 23:25:15 | bobdaduck | Watusimoto: What do you mean, treat ID like other attributes? |
| 23:25:43 | Watusimoto | I mean have it on the menu you get when you hit enter to change stuff like regen time |
| 23:25:59 | Watusimoto | right now ids are in their own world |
| 23:26:12 | bobdaduck | I think I like that IDea. |
| 23:26:28 | Watusimoto | yeah, I think we'll do that in the future |
| 23:33:16 | bobdaduck | Also: Walls can't have IDs put on them |
| 23:33:31 | bobdaduck | Also: You cannot spawn a neutral ship via levelgen. |
| 23:46:03 | | BFLogBot Commit: 6ae9d3bae9ba | Author: watusimoto | Message: Whitespace |
| 23:46:04 | | BFLogBot Commit: 190d4e9ea675 | Author: watusimoto | Message: Now show id as part of attribute string in editor; also cleaned up selected item info display, and made it more colorful. |
| 23:46:07 | | BFLogBot Commit: b9f8d640dc55 | Author: watusimoto | Message: Minor tweaks to info display |
| 23:46:09 | | BFLogBot Commit: 20e4c91efb8a | Author: watusimoto | Message: Fix text placement bug |
| 23:46:10 | | BFLogBot Commit: 27f474cd7979 | Author: watusimoto | Message: Sliiiiigthtly hacky fix for getting screen coords right when changing screen mode |
| 23:46:12 | | BFLogBot Commit: 6d295e324aa7 | Author: watusimoto | Message: Merge |
| 23:56:00 | | Little_Apple has joined |
| 23:56:14 | Little_Apple | hello |