Timestamps are in GMT/BST.
| 00:00:13 | fordcars | yeah, kind of, It's just that I realized how this would be complex |
| 00:00:53 | fordcars | anyway, thanks! |
| 00:13:08 | Watusimoto | it is complex, but it's a compelx all-in-one bot |
| 00:14:38 | | kaen has joined |
| 00:24:49 | | kaen Quit (Ping timeout: 260 seconds) |
| 00:40:04 | SolumnMushroom | Watusimoto: I'm not sure. I think that he is impartial and possibly haunted by an entity called "Ben" |
| 00:42:12 | Watusimoto | in my opinion, you should try to let things slide. if someone is bothering you, the best thing to do is to ignore them. we have tools to help with that if need be. |
| 00:46:57 | Watusimoto | or did I completely misunderstand what you were trying to say? |
| 00:56:21 | SolumnMushroom | I don't think Cleverbot cares about personal relationships (including friends). |
| 00:58:55 | SolumnMushroom | And this is Ben: http://creepypasta.wikia.com/wiki/BEN_%28Aka_Haunted_Majora%27s_Mask%29 |
| 00:59:35 | SolumnMushroom | JUMPSCARES WARNING |
| 00:59:41 | SolumnMushroom | Just sayin' |
| 01:02:46 | SolumnMushroom | One of the better creepypastas I've read |
| 01:08:53 | | SolumnMushroom is controlling windows with an xbox controller |
| 01:12:57 | fordcars | Ohhhhhh now I understand! yeah, it evaluates what the circumstances are each frame |
| 01:13:01 | | SolumnMushroom is with his little sister while she plays a Kirby game |
| 01:13:03 | fordcars | thanks |
| 01:22:18 | Watusimoto | fordcars: yes! |
| 01:22:56 | fordcars | yet another stupid question: Can lua run to "if"s at once? |
| 01:23:10 | Watusimoto | what does that mean? |
| 01:23:40 | Watusimoto | http://lua-users.org/wiki/ControlStructureTutorial |
| 01:24:41 | fordcars | well, for example, if there is like: if bot has flag, do that........... and if bot has flag, if team flag is taken..... |
| 01:25:15 | fordcars | arhg That is too difficult to explain :( |
| 01:25:37 | Watusimoto | you can nest them |
| 01:25:49 | Watusimoto | if a then if b then c end else do d end |
| 01:26:00 | Watusimoto | or soemthing like that |
| 01:26:08 | Watusimoto | or if a and b then c end |
| 01:26:18 | Watusimoto | look at the tutorial link I pasted |
| 01:26:24 | Watusimoto | because i need to get to bed |
| 01:26:31 | fordcars | ok :P |
| 01:26:38 | Watusimoto | cause it's 2:30AM here now |
| 01:26:40 | fordcars | but I think I figuered it out |
| 01:26:42 | Watusimoto | good night! |
| 01:26:47 | fordcars | :/ GO TO BED |
| 01:26:48 | Watusimoto | good! |
| 01:26:53 | fordcars | good night! |
| 01:42:42 | | bobdaduck_m has joined |
| 01:43:27 | | bobdaduck_m Quit (Client Quit) |
| 01:50:02 | | raptor has joined |
| 01:50:02 | | ChanServ sets mode +o raptor |
| 01:51:16 | raptor | hi |
| 01:58:32 | SolumnMushroom | Hello raptor |
| 01:58:44 | raptor | hi |
| 02:16:47 | | raptor Quit () |
| 02:18:33 | | raptor has joined |
| 02:18:33 | | ChanServ sets mode +o raptor |
| 02:19:43 | fordcars | hey raptor |
| 02:20:23 | fordcars | do you know why this doesn't work: local botpointloc = Point(bot:getLoc()) |
| 02:20:32 | fordcars | in bot script? |
| 02:23:04 | raptor | just use bot:getLoc() |
| 02:23:14 | raptor | it returns a 'point' object |
| 02:23:26 | raptor | local botpointloc = bot:getLoc() |
| 02:23:39 | fordcars | really? thanks :P |
| 02:23:43 | raptor | yw |
| 02:24:49 | fordcars | local teamflpt = Point(myFlag:getLoc()) ========== can I do the same thing? |
| 02:24:57 | raptor | yes |
| 02:25:14 | fordcars | yay thanks |
| 02:25:18 | raptor | Lua doesn't use this syntax: Point(somethingInHere) |
| 02:25:46 | raptor | to create a point: local p = point.new(0, 0) |
| 02:25:56 | fordcars | ok thats why it gave me "The variable Point is not declared" |
| 02:26:01 | raptor | yes |
| 02:26:07 | raptor | just FYI |
| 02:26:07 | fordcars | nice |
| 02:26:27 | fordcars | hehe |
| 02:27:32 | raptor | i should devote tonight to fixing bugs... they're starting to get long.. |
| 02:31:33 | fordcars | heh, ok, good luck ;) |
| 02:39:20 | fordcars | hey raptor, are you occupied? |
| 02:39:28 | raptor | always :) |
| 02:39:35 | raptor | have a question? |
| 02:39:47 | fordcars | ok :P Well my bot is doing weird things |
| 02:40:04 | raptor | bots are weird |
| 02:40:40 | fordcars | I have an elseif and when the bot runs that elseif, it will ignore all the other elseifs in that chunck |
| 02:41:39 | raptor | yes |
| 02:42:03 | raptor | here, paste your code here and send me the link it generates: http://pastie.org/ |
| 02:42:47 | fordcars | ok, it's just a modified s_bot though |
| 02:43:00 | raptor | send me the modification chunk |
| 02:45:21 | fordcars | http://pastie.org/7095822 |
| 02:46:09 | fordcars | good luck reading that |
| 02:46:25 | fordcars | pastie's text box is too thin :/ |
| 02:47:03 | raptor | which part did you modify? |
| 02:47:23 | fordcars | -----------------------------------HEREHEREHEREHERE I didn't do much yet, though |
| 02:47:32 | raptor | ha ok i see it |
| 02:47:53 | fordcars | I know the variables with the points are set |
| 02:47:57 | raptor | and what are you trying to do? |
| 02:48:30 | fordcars | it's a long storrrrrrryyyyyy. |
| 02:48:41 | raptor | ok i see what you're trying to do... |
| 02:49:01 | fordcars | ok |
| 02:49:08 | fordcars | I can show you if you want |
| 02:49:10 | raptor | if you have a bunch of: if... else if... else if... else if... end |
| 02:49:17 | fordcars | yes |
| 02:49:18 | raptor | only ONE can every be run |
| 02:49:33 | raptor | so you have to pull something out |
| 02:49:34 | fordcars | really? |
| 02:49:36 | raptor | yep |
| 02:49:48 | fordcars | what do you mean : pull something out |
| 02:50:02 | raptor | pull out one of the logic tests |
| 02:50:06 | raptor | i'll show you... |
| 02:50:11 | raptor | see the line: elseif not bot:hasFlag() then |
| 02:50:26 | fordcars | yes |
| 02:50:34 | raptor | just change that to 'else' and put an end at the end of the block |
| 02:50:53 | raptor | then change this line: elseif(otherFlag ~= nil) then |
| 02:51:26 | raptor | to: if otherFlag ~= nil and not bot:hasFlag() then |
| 02:51:51 | raptor | so pull it out of the logic switch but still add the piece that it was tied to |
| 02:52:26 | fordcars | ok so like splitting that block in half? |
| 02:52:30 | raptor | yes |
| 02:52:38 | raptor | that way it always gets run.. |
| 02:52:59 | fordcars | wow ok |
| 02:53:13 | fordcars | but why did it work before without my added code? |
| 02:53:32 | raptor | it worked because it just so happened that the logic didn't overlap |
| 02:53:54 | raptor | but it's bad practice to code that way - it makes it difficult to understand what is going |
| 02:54:06 | | bobdaduck has joined |
| 02:54:22 | raptor | 'code that way' == use unrelated logic checks in the same if... else if... end switch blocks |
| 02:54:24 | fordcars | ok. I just used elseif because the rest of the code used that. I never used elseif before |
| 02:54:30 | raptor | yeah |
| 02:54:42 | raptor | ok i'll be back later |
| 02:54:53 | fordcars | ok later and thanks! |
| 02:54:55 | raptor | play around a bit :) |
| 02:54:57 | raptor | yw |
| 02:55:01 | fordcars | yeah |
| 02:55:06 | bobdaduck | OKAY I'M ON MY MAIN COMPUTER NOW |
| 02:55:17 | raptor | hi bobdaduck, i'll be back laterz |
| 02:55:40 | bobdaduck | Assuming no parentals have been messing with the network |
| 02:55:48 | bobdaduck | Watusimoto should be able to join my server now! |
| 02:57:13 | bobdaduck | Raptor can you check really quick if I'm PTO? |
| 02:57:47 | bobdaduck | nmd |
| 02:57:47 | fordcars | just sayin' |
| 02:57:51 | bobdaduck | A billion people just joined |
| 02:57:54 | bobdaduck | so obviously it works. |
| 02:57:56 | fordcars | hehe |
| 03:08:01 | fordcars | ooohhhhhhh poo |
| 03:10:46 | fordcars | oh wait |
| 03:14:59 | fordcars | what is the difference bettween:if otherFlag ~= nil and not bot:hasFlag() then and if(otherFlag ~= nil and not bot:hasFlag()) then |
| 03:17:47 | bobdaduck | uh... The first has no parentheses? |
| 03:18:17 | bobdaduck | I assume the first would break and the other wouldn't |
| 03:18:28 | fordcars | maybe |
| 03:20:07 | fordcars | the () would break |
| 03:28:50 | bobdaduck | alright I'm back. Watusimoto happen to be awake? |
| 03:33:51 | fordcars | THANK YOU RAPTOR!!!!!!!!!! IT WORKED |
| 03:39:45 | raptor | hi |
| 03:43:11 | fordcars | hi |
| 03:43:15 | fordcars | it worked! |
| 03:59:22 | fordcars | if myFlag:getLoc():distanceTo(bot:getLoc()) <= 5 then ---------- now this bugs. attempt to index a point value |
| 04:00:15 | | SolumnMushroom attemps to wake up Watusimoto... |
| 04:00:39 | SolumnMushroom | It failed. |
| 04:00:44 | fordcars | dude he has bean sleeping for the past 2 hours |
| 04:00:48 | fordcars | :P |
| 04:01:24 | SolumnMushroom | I suppose that's a good thing |
| 04:01:33 | SolumnMushroom | The man needs his sleep |
| 04:02:37 | SolumnMushroom | In the mean time: http://www.youtube.com/watch?v=nPde95OO8YA |
| 04:02:51 | raptor | fordcars: |
| 04:03:14 | raptor | http://bitfighter.org/luadocs/classpoint.html |
| 04:03:42 | raptor | works like this: point.distanceTo(myFlag:getLoc(), bot:getLoc()) |
| 04:06:02 | fordcars | really? heh |
| 04:06:18 | raptor | that link above is to the Lua API docs |
| 04:06:24 | raptor | it should help a bit |
| 04:06:34 | fordcars | yeah, it's comletely diffrent than the wiki :O |
| 04:06:47 | fordcars | well some are |
| 04:12:11 | | SolumnMushroom is logging of for the night @ 9:12 PM PST |
| 04:12:16 | SolumnMushroom | quit |
| 04:12:18 | raptor | night! |
| 04:12:22 | | SolumnMushroom Quit (Quit: Leaving) |
| 04:20:46 | | Platskies has joined |
| 04:23:01 | fordcars | yeah it works perfectly! thanks |
| 04:24:48 | bobdaduck | Totally adapting kaen's mine script and sams snow script into the carnival |
| 04:25:02 | fordcars | awesome |
| 04:27:50 | | raptor Quit (Remote host closed the connection) |
| 04:28:14 | | raptor has joined |
| 04:28:14 | | ChanServ sets mode +o raptor |
| 04:31:44 | bobdaduck | uh oh... |
| 04:31:57 | raptor | ? |
| 04:32:04 | bobdaduck | I think the script crashes |
| 04:32:08 | bobdaduck | when someone leaves the game... |
| 04:32:46 | raptor | probably searching for a clientInfo without a 'nil' check somewhere? |
| 04:33:56 | bobdaduck | yeah... |
| 04:34:17 | bobdaduck | because I have so many things |
| 04:35:24 | bobdaduck | probably the health packs... |
| 04:35:59 | raptor | do you have a stack trace? |
| 04:36:19 | bobdaduck | no |
| 04:36:23 | bobdaduck | Why would I have a stack trace! |
| 04:36:25 | bobdaduck | xD |
| 04:37:02 | Platskies | get a Mac |
| 04:37:09 | Platskies | problem solved :P |
| 04:37:25 | raptor | a Lua stack trace! |
| 04:37:28 | raptor | ohg |
| 04:37:30 | raptor | oh |
| 04:37:30 | bobdaduck | lol |
| 04:37:33 | raptor | uh |
| 04:37:45 | raptor | since you're doing lots of limit-pushing |
| 04:37:58 | raptor | I would suggest you *always* run the program from a command prompt |
| 04:38:10 | raptor | that way you can see the Lua stack traces |
| 04:38:32 | bobdaduck | So lets see... I'll probably need an onPlayerLeft() subscription? |
| 04:39:04 | raptor | you could try and handle it that way, but it's probably simpler to add the nil check |
| 04:39:16 | bobdaduck | I can't find where |
| 04:39:19 | bobdaduck | because |
| 04:39:29 | bobdaduck | the health packs will already be tied to a ship |
| 04:40:44 | bobdaduck | So would I have to remove the health pack and the ship from the table? |
| 04:40:46 | bobdaduck | I guess? |
| 04:41:30 | bobdaduck | halp |
| 04:41:49 | raptor | easy way to find: run in a command prompt |
| 04:41:53 | raptor | test |
| 04:41:59 | raptor | duplicate the crash |
| 04:42:23 | bobdaduck | No I definitely know that it crashes when someone leaves |
| 04:42:27 | raptor | trust me, its usually faster than making random guess... usually |
| 04:42:43 | bobdaduck | because I was like "I think it crashes when someone leaves" |
| 04:42:48 | bobdaduck | and Lamp promptly left |
| 04:42:49 | raptor | easy way to find: run in a command prompt |
| 04:42:49 | bobdaduck | and it crashed. |
| 04:43:01 | raptor | the crash will output the stack trace to the command prompt |
| 04:43:22 | | Platskies Quit (Remote host closed the connection) |
| 04:43:25 | raptor | and you'll have the line number where it's crashing |
| 04:44:02 | bobdaduck | well |
| 04:44:08 | bobdaduck | can't I just have onPlayerLeft |
| 04:44:16 | bobdaduck | that it removes items from the table |
| 04:44:20 | raptor | yes |
| 04:44:37 | raptor | remember to remove from both tables |
| 04:45:12 | bobdaduck | What args do I need for OnPlayerLeft? |
| 04:45:24 | raptor | uhhh |
| 04:45:26 | raptor | man |
| 04:45:30 | raptor | this needs doc |
| 04:46:20 | raptor | playerInfo |
| 04:46:24 | raptor | is the only arg |
| 04:46:31 | raptor | onPlayerLeft(playerInfo) |
| 04:46:35 | bobdaduck | okay |
| 04:46:39 | bobdaduck | How do I remove from table? |
| 04:46:40 | bobdaduck | xD |
| 04:46:51 | raptor | i think it's in the gravity well code |
| 04:48:30 | raptor | testing with this new font is so weird |
| 04:48:52 | bobdaduck | lol |
| 04:48:53 | bobdaduck | Okay |
| 04:48:55 | raptor | bobdaduck: do you know of anyone that uses fullscreen-stretched mode |
| 04:48:56 | raptor | ? |
| 04:48:57 | bobdaduck | command prompt didn't give me anything |
| 04:49:02 | bobdaduck | I use fullscreen stretched |
| 04:49:12 | raptor | really?? |
| 04:49:18 | raptor | and you like that OK? |
| 04:49:19 | bobdaduck | It just says "Lamp disconnected" |
| 04:49:29 | raptor | and the script died |
| 04:49:37 | bobdaduck | no the entire game crashed |
| 04:49:42 | raptor | oh yikes |
| 04:49:48 | raptor | that's *different* |
| 04:49:50 | bobdaduck | xD |
| 04:49:55 | bobdaduck | Okay, sorry I wasn't clear there. |
| 04:50:00 | raptor | i thought just the script crashed |
| 04:50:11 | bobdaduck | no entire game |
| 04:50:16 | raptor | ok... ummm |
| 04:50:22 | raptor | do you get an error report? |
| 04:50:45 | raptor | like a windows error report? |
| 04:50:51 | bobdaduck | uh |
| 04:51:03 | bobdaduck | It just does windows stupid "Windows is looking for a solution to the problem" thing |
| 04:51:04 | raptor | what version of windows? |
| 04:51:07 | bobdaduck | win 7 |
| 04:51:10 | raptor | ok |
| 04:51:26 | raptor | after it fails to find a solution to the problem, wait for it to say something about the error report |
| 04:51:54 | raptor | because if windows detected the crash (which I did) then it should have somewhere to spit out a stack trace |
| 04:52:03 | bobdaduck | Nope. |
| 04:52:04 | bobdaduck | lol |
| 04:52:07 | bobdaduck | So helpful. |
| 04:52:25 | bobdaduck | "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available |
| 04:52:26 | bobdaduck | " |
| 04:52:33 | bobdaduck | That's all it gives |
| 04:52:42 | raptor | ok on that, is there anything to click like 'more info...' |
| 04:53:01 | bobdaduck | no. |
| 04:53:02 | bobdaduck | xD |
| 04:53:04 | bobdaduck | Isn't it great |
| 04:53:16 | raptor | it shoudl be there! even windows xp had that... |
| 04:53:46 | bobdaduck | ikr |
| 04:54:00 | raptor | wait.. is there a 'debug' button or *anything* other than 'ok' |
| 04:54:18 | bobdaduck | no. |
| 04:54:50 | bobdaduck | okay! |
| 04:54:53 | raptor | not even a 'problem details' |
| 04:54:53 | bobdaduck | It didn't crash! |
| 04:54:57 | raptor | ? |
| 04:55:16 | bobdaduck | nevermind |
| 04:55:21 | bobdaduck | now instead of the game crashing |
| 04:55:21 | raptor | uh ok |
| 04:55:25 | bobdaduck | just the script crashes! |
| 04:55:26 | bobdaduck | xD |
| 04:55:28 | raptor | ha |
| 04:56:25 | bobdaduck | Looks like it doesn't recognize ship |
| 04:56:33 | bobdaduck | What are the members of playerInfo? |
| 04:58:44 | raptor | uhhhh |
| 04:59:03 | raptor | found this: http://bitfighter.org/wiki/index.php/Scripting_018#PlayerInfo |
| 04:59:16 | raptor | that page isn't up to date, but seems to fill in some of the gaps |
| 05:11:27 | raptor | bobdaduck: attempting to fix the setHealth on turrets/ffs |
| 05:21:39 | bobdaduck | yay! |
| 05:21:45 | raptor | it works!!! |
| 05:30:58 | | BFLogBot Commit: 6f6cde37025c | Author: buckyballreaction | Message: Fix possible crash with new turret logic |
| 05:31:00 | | BFLogBot Commit: 5affd539998a | Author: buckyballreaction | Message: Lua API: fixed setHealth() on EngineeredItem |
| 05:35:15 | fordcars | :( two "If"s are happenning at the same time, thus the bot wants to go at two different places at the same time! |
| 05:43:16 | bobdaduck | Uh |
| 05:43:25 | bobdaduck | While you're fixing turret logic.. |
| 05:43:33 | bobdaduck | Could you possibly make it so FRIENDLY FIRE IS DISABLED? |
| 05:43:38 | raptor | already done |
| 05:43:56 | bobdaduck | No like |
| 05:44:01 | bobdaduck | Friendly fire the other way. |
| 05:44:11 | bobdaduck | The part where my turrets are better at killing me than enemies are? |
| 05:44:13 | bobdaduck | That's gotta go. |
| 05:44:55 | | bobdaduck Quit (Remote host closed the connection) |
| 05:49:08 | | flomo has joined |
| 05:49:15 | flomo | hai |
| 05:52:30 | flomo | helllooo |
| 05:54:46 | Nothing_Much | hello sir |
| 05:54:54 | Nothing_Much | say someone's name and they'll probably respond :) |
| 05:55:12 | flomo | Are you a dev? |
| 05:55:27 | Nothing_Much | nah, just a lurker around here and the occasional player |
| 05:55:31 | flomo | mk |
| 05:55:36 | Nothing_Much | *an occasional player |
| 05:55:40 | flomo | watusismoto |
| 05:55:40 | flomo | xD |
| 05:55:48 | Nothing_Much | he's a dev, but probably not here |
| 05:55:51 | flomo | i know |
| 05:55:59 | flomo | im looking for a file in the source directory |
| 05:56:04 | flomo | but i cant find it |
| 05:56:06 | Nothing_Much | which file? |
| 05:56:17 | flomo | controller one that takes input |
| 05:56:31 | raptor | look in zap/Joystick.cpp |
| 05:56:49 | flomo | arent you playing raptor |
| 05:58:16 | raptor | yes |
| 06:01:04 | | flomo Quit (Ping timeout: 245 seconds) |
| 06:01:56 | fordcars | oh poo |
| 06:02:24 | | flomo has joined |
| 06:08:34 | | flomo Quit (Ping timeout: 245 seconds) |
| 06:19:57 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 06:43:54 | fordcars | this is a really weird bug |
| 06:44:10 | fordcars | raptor, can you join the server "bitway" for a second? |
| 06:45:51 | fordcars | actuallly, dont' join :P |
| 06:46:13 | raptor | hi |
| 06:46:17 | raptor | ok |
| 07:04:34 | raptor | good night! |
| 07:06:16 | | raptor Quit () |
| 08:25:44 | fordcars | later, going to bed |
| 08:25:51 | | fordcars Quit (Quit: Page closed) |
| 09:13:19 | | Watusimoto has joined |
| 09:16:28 | | koda has joined |
| 09:19:43 | | koda Quit (Client Quit) |
| 09:23:45 | | koda has joined |
| 09:42:29 | | Watusimoto Quit (Ping timeout: 264 seconds) |
| 10:05:27 | | Watusimoto has joined |
| 10:10:37 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 10:12:03 | | Watusimoto has joined |
| 10:52:06 | | LordDVG has joined |
| 11:05:47 | | Watusimoto Quit (Read error: Connection reset by peer) |
| 11:05:47 | | Watusimoto_ has joined |
| 11:07:43 | | Watusimoto_ Quit (Ping timeout: 245 seconds) |
| 11:14:51 | | LordDVG Quit (Remote host closed the connection) |
| 11:27:58 | | koda Quit (Quit: koda) |
| 11:32:05 | | Watusimoto has joined |
| 12:42:35 | | koda has joined |
| 12:50:59 | | LordDVG has joined |
| 12:52:49 | | koda Quit (Quit: koda) |
| 13:32:23 | | BFLogBot Commit: ecc819a8036b | Author: watusimoto | Message: Create FontManager to manage different fonts -- can now mix TTF and stroke fonts. Current font is still a global setting, and will likely remain so for the near future. Font not yet set in most locations where it is needed. |
| 13:32:25 | | BFLogBot Commit: 0383ef81be9f | Author: watusimoto | Message: Create a push/pop context system to ease transition. Can now see ocra and roman together on many menus as the font context is not yet properly set everywhere |
| 13:32:26 | | BFLogBot Commit: 9e13ef2d9912 | Author: watusimoto | Message: Merge |
| 14:38:23 | | raptor has joined |
| 14:38:23 | | ChanServ sets mode +o raptor |
| 14:39:44 | raptor | hi Watusimoto |
| 14:40:05 | raptor | I see you found my code for the stroke font resize factor... |
| 14:42:43 | Watusimoto | delightful, that |
| 14:42:49 | raptor | haha, yeah |
| 14:43:15 | Watusimoto | someday we'll be able to kill that |
| 14:43:35 | raptor | who creates a font with size 152.381?? |
| 14:44:20 | raptor | it must have been some autogeneration script.. |
| 14:45:19 | raptor | also I figured out what fontstash actually does with the textures.. |
| 14:46:36 | raptor | it makes a texture, generates a glyph at the size requested, sticks in in the texture as a cache |
| 14:46:52 | raptor | when a new glyph is requested it uses that same texture until it is full |
| 14:47:24 | raptor | if it is full it creates another texture/cache |
| 14:47:30 | raptor | and will continue with that one |
| 14:47:47 | raptor | when another glyph is needed, it goes through each of the textures to find it first |
| 14:54:37 | Watusimoto | probably the coords came from an older source, and that was a fudge factor to fit it into modern font sizes |
| 14:55:22 | Watusimoto | what is the purpose of this statement? |
| 14:55:23 | Watusimoto | sth_create(100, 20); |
| 14:55:36 | raptor | where is that? |
| 14:55:37 | Watusimoto | I've been experimenting with different dimensions to see what happens... |
| 14:55:48 | Watusimoto | mStash = sth_create(100, 20); |
| 14:55:51 | raptor | oh haha |
| 14:55:54 | raptor | that is the texture size |
| 14:55:54 | Watusimoto | it's that |
| 14:56:14 | Watusimoto | I've got it set up now to use just one mstash for all fonts |
| 14:56:18 | Watusimoto | seems to work |
| 14:56:19 | raptor | so that creates a texture of 100x20 that is used to cache the glyphs |
| 14:56:31 | Watusimoto | but if I shirink the dimensions too much, letters start to disappear |
| 14:56:34 | raptor | the larger the texture the better the performance |
| 14:56:42 | Watusimoto | at 100,20, ts in the 3rd font are missing, for example |
| 14:56:54 | Watusimoto | at 10x10, most everythign is missing besides .s |
| 14:56:58 | raptor | most video cards since 2000 or so can support at least 512x512 texture size |
| 14:57:12 | Watusimoto | so it does not continually generate new textures as needed |
| 14:57:17 | raptor | it does |
| 14:57:19 | raptor | but |
| 14:57:43 | raptor | but using a height of '20' is not enough to render a glyph with size 21 |
| 14:57:45 | raptor | or highter |
| 14:58:10 | raptor | i'd keep it at 512x512 |
| 14:58:20 | Watusimoto | yes, I will, it was just an experiemtn |
| 14:58:24 | raptor | we could probably even go to 1024x1024 |
| 14:58:41 | raptor | but i'm not sure if we'll start to get into video card incompatibility.. |
| 14:58:43 | Watusimoto | so if I made it 25x25 you'd expect that all letters would render properly? |
| 14:58:52 | raptor | no |
| 14:59:17 | raptor | i don't know what our common size font is.. |
| 14:59:26 | raptor | is it 25? |
| 14:59:50 | raptor | if you did 25x25, and our font was about 25 - that would essentially create 1 texture per glyph |
| 14:59:53 | Watusimoto | Probably smaller |
| 15:00:08 | raptor | so that would hurt performance |
| 15:00:26 | Watusimoto | ok, let's say 25x25 was big enough for 1-2 chars, you would assert that everything would render, even if performance sucked |
| 15:00:51 | raptor | yes, at least, that's what I deduced from reading the logic last night |
| 15:05:03 | Watusimoto | ok, I'm going to test it :-) |
| 15:05:36 | raptor | fontstast doesn't use a very sophicated algorithm for packing the glyphs into the texture - just rows with a hieght |
| 15:05:48 | raptor | i think our menu font is larger than 25? |
| 15:05:51 | raptor | not sure.. |
| 15:06:16 | raptor | uh oh Watusimoto |
| 15:06:34 | raptor | some namespace you're using for the FOntManager is conflicting with a struct in Xorg |
| 15:06:59 | Watusimoto | oh boy! |
| 15:07:06 | Watusimoto | what namespace is that??? |
| 15:07:13 | Watusimoto | the only one there is the global namespace |
| 15:07:15 | raptor | 'Font' |
| 15:07:20 | Watusimoto | oh |
| 15:07:24 | Watusimoto | that's a class name |
| 15:07:33 | Watusimoto | but I can change that to bfFont |
| 15:07:35 | raptor | sorry, yes.. |
| 15:07:45 | Watusimoto | ok, will do that |
| 15:07:47 | raptor | ok |
| 15:08:12 | raptor | here are the errors if you want to know: http://pastie.org/7100014 |
| 15:09:12 | Watusimoto | I don't! |
| 15:09:37 | raptor | how dare we use a common word for a classname! |
| 15:12:13 | Watusimoto | 40x40 seems to work |
| 15:12:22 | Watusimoto | though width computations are messed up |
| 15:12:41 | raptor | did you add width computations for TTF? |
| 15:15:08 | Watusimoto | yes |
| 15:15:09 | raptor | huh, looks like you did... sort of |
| 15:15:18 | Watusimoto | sort of? totally! |
| 15:15:25 | raptor | really?? |
| 15:15:37 | raptor | what does sth_dim_text actually do? |
| 15:17:04 | Watusimoto | get's text dimensions, apparently |
| 15:17:09 | Watusimoto | though I don't understand how it works |
| 15:17:14 | Watusimoto | but it does work |
| 15:17:34 | Watusimoto | when I read the code, it looks like it returns max dimensions of any particular character |
| 15:17:39 | Watusimoto | so I don't really get it |
| 15:18:16 | raptor | it probably returns the pixel width/height as it is cached in the texture.. maybe |
| 15:24:00 | Watusimoto | but read the code and explain how it aggregates the width |
| 15:24:44 | raptor | oh lovely 'for loop' syntax |
| 15:27:00 | raptor | ok yes, that makes sense |
| 15:28:12 | raptor | wait no... |
| 15:28:14 | raptor | what |
| 15:28:22 | raptor | it's like it doesn't even use some of the vars? |
| 15:29:09 | raptor | i get the idea of searching for the glyph, if found it returns the quad structure of how it's stored in the texture, and grabs the diminsions of that |
| 15:29:46 | raptor | but this business about min/max doesn't make sense |
| 15:32:25 | raptor | fordcars made some S_bot improvements... |
| 15:36:54 | Watusimoto | he was asking me questions last night... I honestly did not think he would make any progress. maybe i was wrong? |
| 15:37:03 | raptor | looks like he did |
| 15:37:18 | raptor | he asked me a few questions, too |
| 15:38:01 | Watusimoto | well, good |
| 15:38:12 | Watusimoto | always good to see people exceed my expectations |
| 15:38:44 | raptor | yes, i agree :) |
| 15:39:41 | Watusimoto | so my next checkin will rename font to bffont |
| 15:39:50 | Watusimoto | it also uses two ttf fonts on the menus |
| 15:39:54 | Watusimoto | more by accident that intent |
| 15:40:01 | Watusimoto | but it's a good demo that it works |
| 15:40:06 | Watusimoto | and stroke elsewhere |
| 15:40:14 | raptor | ok |
| 15:40:19 | Watusimoto | and outline orbitron for nexus flag returns |
| 15:40:27 | Watusimoto | so good proof of concept |
| 15:40:31 | raptor | ok |
| 15:41:25 | Watusimoto | I created a pair of functions pushfontcontext and popfontcontext that let you change/restore the fonts |
| 15:41:36 | Watusimoto | we need to start using those throughout our rendering code |
| 15:41:48 | raptor | like the linewidth stuff? |
| 15:41:51 | Watusimoto | useful even if we want to pull back to roman |
| 15:41:54 | Watusimoto | a little |
| 15:42:20 | Watusimoto | if we get them used throughout, we can replace them with a simpler setFontContext |
| 15:42:40 | Watusimoto | but in the short term, where fonts are set sporadically, this may be better |
| 15:44:37 | Watusimoto | ok, gotta relinquish my computer to the minecrafters |
| 15:44:45 | raptor | committed? |
| 15:44:56 | | BFLogBot Commit: 748380ef1a62 | Author: watusimoto | Message: Try using only a single stash for all fonts |
| 15:44:59 | | BFLogBot Commit: a447c13c0c31 | Author: watusimoto | Message: Rename Font to BfFont to avoid clashes with external libs |
| 15:45:06 | raptor | yay |
| 15:45:08 | raptor | thanks! |
| 15:45:17 | raptor | come hence minecrafter! |
| 15:45:30 | Watusimoto | back later |
| 15:45:47 | raptor | ok |
| 16:04:00 | | BFLogBot Commit: 425386581d14 | Author: buckyballreaction | Message: Add FontManager.cpp to CMake |
| 16:14:47 | | BFLogBot Commit: ab6ba705be79 | Author: buckyballreaction | Message: Move SDL_GL_SetAttribute to before window creation with SDL2 so it can actually take effect |
| 16:15:16 | raptor | wow Watusimoto, the fonts in the game now... are messing with my head.. |
| 16:17:02 | raptor | i keep hitting some weird assert everytime I want to host a game.. |
| 16:38:12 | | Nothing_Much Quit (Remote host closed the connection) |
| 16:43:31 | | Nothing_Much has joined |
| 17:04:57 | | LordDVG Quit (Remote host closed the connection) |
| 17:11:52 | | fordcars has joined |
| 17:12:43 | raptor | hi fordcars, almost done merging your changes (with some minor modifcations) |
| 17:17:21 | fordcars | ok :P |
| 17:18:35 | fordcars | are you merging the two " if point.distanceTo(myFlag:getLoc(), bot:getLoc()) <= 2000000 then" into one if? |
| 17:18:46 | raptor | yes |
| 17:18:50 | fordcars | hah good |
| 17:25:08 | raptor | ok, pushed |
| 17:25:13 | | BFLogBot Commit: 279b7cdf7799 | Author: buckyballreaction | Message: S_Bot AI improvements from Fordcars (with minor modifications): - Don't shield team bullets - Return the team flag if it is near Also add a better header to the file with more credits |
| 17:25:31 | fordcars | ok |
| 17:26:21 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 17:27:31 | | Watusimoto has joined |
| 17:30:29 | Watusimoto | raptor: what sort of assert? |
| 17:30:37 | raptor | fordcars: https://code.google.com/p/bitfighter/source/detail?r=279b7cdf7799121360b4d6dad36cfd810b51bded |
| 17:31:13 | raptor | the changes might look quite a bit different from yours, but you did all the hard work at finding the proper spots and doing the correct logic. I just increased performance a little ;-) |
| 17:31:50 | raptor | Watusimoto: http://pastie.org/7101298 |
| 17:32:46 | Watusimoto | I'm getting that oo |
| 17:32:48 | Watusimoto | too |
| 17:34:12 | Watusimoto | ha |
| 17:34:47 | Watusimoto | ok, the column headers seem to be wider with the new font, so the space allocated is too small, hence the assert |
| 17:34:58 | Watusimoto | which was designed to catch just this situation |
| 17:35:49 | fordcars | local retrievingFlag = false if not myFlag:isInInitLoc() and not myFlag:isOnShip() and -- If my flag is not in its initial location and my flag is not on a ship point.distSquared(myFlag:getLoc(), bot:getLoc()) <= 2000 * 2000 then -- .. and we're within some sane range of the flag gotoPosition(myFlag:getLoc()) |
| 17:35:54 | fordcars | oops |
| 17:38:23 | raptor | ? |
| 17:39:59 | fordcars | sorry |
| 17:40:53 | fordcars | Ok so you CAN put more than one "and". Good to know. |
| 17:41:48 | fordcars | Nice job |
| 17:47:06 | | kaen has joined |
| 17:52:48 | raptor | thank *you* - you did the hard part at finding where to put stuff... I did the easy part of making it faster :) |
| 17:54:42 | | kaen Quit (Ping timeout: 260 seconds) |
| 17:57:58 | fordcars | Well, you helped me with points 'n stuff. And combining "if"s and explaining how to make the "elseif"s and "if"s work. |
| 17:59:34 | Watusimoto | fordcars: raptor says you;re doing good work with the bots. So... good work! |
| 17:59:41 | fordcars | ok :P |
| 18:00:39 | Watusimoto | raptor: I am now quite convinced we should not be using ocra for menu font |
| 18:00:57 | Watusimoto | it looks bad, and it's way too wide for its size |
| 18:01:19 | | kaen has joined |
| 18:02:37 | | BFLogBot Commit: 099a8ac9e126 | Author: watusimoto | Message: Restore default font as Roman, make menus a little more consistent, fontwise |
| 18:02:39 | | BFLogBot Commit: a705e8edc188 | Author: watusimoto | Message: Merge |
| 18:08:42 | raptor | Watusimoto: ok |
| 18:15:13 | | kaen Quit (Ping timeout: 245 seconds) |
| 18:16:19 | Watusimoto | ok, dinner time; back later |
| 18:16:24 | raptor | bye |
| 18:22:31 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 18:37:23 | | Nothing_Much Quit (Read error: Connection reset by peer) |
| 19:59:48 | raptor | hey kaen, if you come back, can you kill the contest server? |
| 20:05:20 | | Little_Apple has joined |
| 20:05:41 | Little_Apple | hello |
| 20:05:48 | raptor | hi |
| 20:06:14 | Little_Apple | can i please have the link to the bitfighter luadocs page? |
| 20:06:26 | Little_Apple | the link i remembered wasnt right i dont think |
| 20:06:32 | | Watusimoto has joined |
| 20:06:37 | | BFLogBot Commit: 6e881d0809f5 | Author: buckyballreaction | Message: Fix possible server crash when the controlling client for a ship might be NULL. Quartz this is for you.. |
| 20:06:40 | raptor | tada!: http://bitfighter.org/luadocs/index.html |
| 20:06:45 | Little_Apple | ah thanks |
| 20:06:49 | raptor | yw |
| 20:07:01 | Watusimoto | this is interesting |
| 20:07:03 | Little_Apple | ill bookmark it so i wont have to ask again :P |
| 20:07:05 | fordcars | yeahhhhhh finally done working |
| 20:07:10 | Watusimoto | when I host a game, I get about 100 fps |
| 20:07:12 | raptor | hi Watusimoto |
| 20:07:39 | raptor | Watusimoto: me too.. |
| 20:07:40 | Watusimoto | but in the middle of hosting, if I hit esc, to bring up a menu, which is still displayed in ocr, my fps drops to about 30 |
| 20:07:48 | fordcars | I get 60 fps |
| 20:08:04 | raptor | Watusimoto: what about hitting the same menu again? |
| 20:08:09 | Watusimoto | same |
| 20:08:13 | raptor | testing.. |
| 20:08:18 | fordcars | oh I get 60 fps because of vertical sync never mind |
| 20:08:42 | Watusimoto | I will try restoring it to all roman and see if that changes anything |
| 20:08:51 | raptor | huh |
| 20:08:56 | raptor | I only get 40 FPS right now... |
| 20:09:11 | fordcars | :P |
| 20:09:18 | Watusimoto | that's really worrying |
| 20:09:30 | raptor | yeah... that is one tick every 25 ms?? |
| 20:09:34 | raptor | what has happened?? |
| 20:09:51 | Watusimoto | ok, well, I get 36 fps when all rendering is done in roman |
| 20:10:04 | raptor | ha |
| 20:10:14 | Watusimoto | trying bf 018a |
| 20:10:23 | fordcars | why are you changing fonts? |
| 20:10:34 | Watusimoto | experimenting |
| 20:10:42 | fordcars | heh |
| 20:11:18 | raptor | oh ha... |
| 20:11:24 | raptor | vsync is kicking in for some reason... |
| 20:11:28 | Watusimoto | 100 fps rock solid |
| 20:11:44 | Watusimoto | trying bf 019 in release mode |
| 20:12:22 | Watusimoto | how can you tell? |
| 20:12:50 | raptor | because my monitor was set at 40Hz |
| 20:12:57 | raptor | i put it back to 60... |
| 20:13:01 | raptor | not i get 60FPS |
| 20:13:01 | Watusimoto | ah |
| 20:13:04 | raptor | *now |
| 20:13:05 | raptor | but |
| 20:13:09 | raptor | why is it kicking... |
| 20:13:50 | Watusimoto | but yes, fordcars, you are likely to see some expansion of our font selection in 019 |
| 20:14:02 | Watusimoto | how much is still very much up for debate |
| 20:14:13 | raptor | oh duh - have to restart the app after turning off vsync in the nvidia settings.. |
| 20:14:20 | raptor | oh yay, everything is nice now |
| 20:14:24 | fordcars | ok |
| 20:14:45 | raptor | ok, so |
| 20:14:51 | Watusimoto | just for old times sake... reminder of why we are looking at fontstash |
| 20:14:52 | Watusimoto | http://sam6.25u.com/upload/2snapshot2.png |
| 20:15:05 | raptor | hahaha |
| 20:15:07 | Watusimoto | still had that open in a tab |
| 20:15:16 | Watusimoto | it feels like years since we looked at that |
| 20:15:35 | raptor | it's because we've entered a new world of fonts... |
| 20:15:47 | fordcars | heh |
| 20:18:24 | Watusimoto | in release mode, with all roman, getting a solid 100.100 |
| 20:18:27 | Watusimoto | 100/100 |
| 20:18:36 | Watusimoto | recompiling with ocra |
| 20:18:40 | | kaen has joined |
| 20:19:35 | fordcars | euh, What is the difference between --------- if(code), if (code) and if code------- ? |
| 20:19:57 | raptor | nothing |
| 20:20:01 | raptor | Lua lets you do both |
| 20:20:35 | fordcars | oh heh thanks |
| 20:20:40 | raptor | in c++ however, you need the parenthesis. since we work in c++ a lot, sometimes we use parentheses in Lua out of habit |
| 20:21:44 | kaen | so I've got a working level db |
| 20:22:10 | kaen | omg this connection is going to drive me nuts. |
| 20:22:38 | fordcars | oh ok thanks |
| 20:23:15 | Watusimoto | with ocra, there is a dip in fps when the menu appears, then it climbs back to 100 |
| 20:23:27 | raptor | oh my kaen |
| 20:23:32 | Watusimoto | subsequent menu entries also show a dip, but a smaller/shorter one |
| 20:23:39 | Watusimoto | then back to 100 |
| 20:24:00 | raptor | what if you exit, then renter the menu? |
| 20:24:04 | raptor | any dip? |
| 20:24:20 | Watusimoto | yes, a that's a smaller one |
| 20:24:29 | Watusimoto | dropping to 97 or 98, then back to 100 |
| 20:24:41 | Watusimoto | under the caching theoruy, I would expect no dip |
| 20:25:27 | raptor | me too - unless fontstash thinks it's a new glyph somehow? |
| 20:25:30 | Watusimoto | I restarted, and this time let it sit at the main menu for a few minutes |
| 20:25:37 | raptor | also.. did you see what kaen said? |
| 20:25:44 | Watusimoto | then entering the game then the menu showed no dip at all |
| 20:25:46 | Watusimoto | no |
| 20:25:53 | Watusimoto | what did he say? |
| 20:25:54 | raptor | [14:21] <kaen> so I've got a working level db |
| 20:26:22 | Watusimoto | a working level db??? |
| 20:26:30 | Watusimoto | is that what he said? |
| 20:26:37 | raptor | yes |
| 20:26:42 | Watusimoto | incredible! |
| 20:26:53 | Watusimoto | kaen: where did you come from? |
| 20:27:30 | raptor | he's been lurking in the shadows barely holding onto an IRC connection every once in a while... |
| 20:28:57 | | kaen Quit (Ping timeout: 245 seconds) |
| 20:31:09 | Watusimoto | or not |
| 20:31:44 | Watusimoto | ok, so my observations are not wilidly inconsistent with the idea of caching letters when first seen |
| 20:33:50 | Watusimoto | odd |
| 20:34:16 | Watusimoto | now back in debug mode, i am seeing 100/100, with a small dip when i switch to menu mode |
| 20:34:44 | Watusimoto | and sometimes no dip |
| 20:35:13 | | Nothing_Much has joined |
| 20:36:45 | | LordDVG has joined |
| 20:37:19 | fordcars | heh, what version of lua bitfighter uses? |
| 20:37:39 | Watusimoto | 5.1 |
| 20:37:47 | Watusimoto | soon to be5.2 |
| 20:38:25 | fordcars | ok good :P |
| 20:38:38 | fordcars | does lua come with bitfighter? |
| 20:41:14 | raptor | Watusimoto: it's probably some weirdness with the graphics card itself keeping or dropping any particular texture |
| 20:41:28 | raptor | fordcars: we have a custom version of Lua in bitfighter called lua-vec |
| 20:41:30 | Watusimoto | fordcars: yes |
| 20:41:32 | Watusimoto | raptor: yes |
| 20:41:44 | fordcars | ok thanks :P |
| 20:41:56 | Watusimoto | the main difference is that we have point as a native data type (like number), with very little overhead for creation and use |
| 20:42:05 | Watusimoto | since we use lots of points, this is a good thing |
| 20:42:33 | Watusimoto | in regular lua they'd have to be objects, which would incur costs in creating them and then deleteing them |
| 20:43:15 | fordcars | but where is lua-vec |
| 20:44:27 | raptor | in the source code under directory lua/lua-vec/src |
| 20:45:32 | raptor | Watusimoto: kaen popped in once last week saying he playing with cakephp (a PHP MVC framework) and was going to try and implement a level DB |
| 20:45:41 | fordcars | ok thanks |
| 20:46:06 | raptor | if he has... that's a another new world we've entered! |
| 20:46:38 | raptor | and I'm pretty sure he has, since he said he has |
| 20:52:36 | Watusimoto | indeed |
| 20:52:41 | Watusimoto | he delivers |
| 21:02:40 | raptor | Watusimoto: what do you think about a 'last man standing' type gametype? you'd set the number lives each player gets and that's it |
| 21:02:59 | raptor | maybe that would be more of a 'mod' |
| 21:03:00 | Watusimoto | I don't like elimination games |
| 21:03:18 | Watusimoto | because it gets really boring for the elminated |
| 21:03:33 | raptor | yes, tis true |
| 21:03:46 | Watusimoto | and further, we have no mechanism for dealing with eliminated players |
| 21:03:48 | Little_Apple | im working on a levelgen for a last man standing map.. mostly a test map |
| 21:04:01 | Watusimoto | so that's how I feel :-) |
| 21:04:26 | raptor | well, it would become more feasible when our GSoC student builds in observer mode :) |
| 21:04:36 | Watusimoto | even then, it would be lame |
| 21:05:00 | Watusimoto | I occasionally play galcon (mostly because it is a rip off of a game I played in highschool, though, admittedly, much improved) |
| 21:05:23 | Watusimoto | and you need to wait for a game to start, then can be eliminated, then need to wait to play again... it can be pretty bring |
| 21:05:25 | Watusimoto | boring |
| 21:05:34 | Little_Apple | motivation to not die! |
| 21:05:44 | raptor | I brought it up because Quartz posted about it. He had made a map that enforced '1 life only' and it's been popular recently.. |
| 21:06:01 | Little_Apple | its actually really fun... |
| 21:06:23 | raptor | and yes, I had fun on it, too |
| 21:06:38 | Little_Apple | brings out a lot of strategy you wouldnt normally use |
| 21:06:39 | raptor | also bouncer rulez on that map Little_Apple... |
| 21:06:50 | Little_Apple | sensor is amazing lol |
| 21:06:54 | raptor | haha, yep |
| 21:07:04 | Watusimoto | you mean life isn't cheap? |
| 21:07:20 | raptor | but it *is* boring to have to wait for the last two people to duke it out |
| 21:07:37 | Little_Apple | bring snacks. |
| 21:08:41 | | Nothing_Much Quit (Quit: Leaving) |
| 21:09:19 | raptor | I'm going to make bots more evil on rabbit maps.. |
| 21:09:59 | Little_Apple | can you make it so they dont shoot their own forcefields in one team bitmatch? |
| 21:10:15 | raptor | maybe? |
| 21:10:26 | raptor | one thing at a time! (please put that in the s_bot improvement thread) |
| 21:11:31 | Little_Apple | alrighty |
| 21:12:11 | raptor | let's see if this works.. |
| 21:12:12 | Watusimoto | http://img199.imageshack.us/img199/3097/screenshot15zn.png |
| 21:12:21 | Watusimoto | I think I'm liking this font better than orbitron |
| 21:12:35 | raptor | prime whatever? |
| 21:12:43 | Watusimoto | yeah |
| 21:12:52 | raptor | ok |
| 21:12:56 | Watusimoto | prime regular |
| 21:13:00 | raptor | it feels weird |
| 21:13:03 | Watusimoto | do you like it on the loadout menu? |
| 21:13:06 | raptor | i mean i like it |
| 21:13:23 | Watusimoto | I think it fits pretty well contextually |
| 21:13:23 | raptor | but it makes my brain want to fly off on a tangent for some reason |
| 21:13:34 | Little_Apple | woah fancy hud... |
| 21:13:39 | Watusimoto | I understand |
| 21:13:53 | Watusimoto | the 1 is so much more narrow than the other numbers |
| 21:13:56 | raptor | like I read it with my eyes, and my thoughts and eyes fly off really fast - like the font is pointing me to somewhere else |
| 21:14:41 | raptor | it's probably the 'K's |
| 21:14:54 | raptor | and maybe the W's |
| 21:15:47 | Watusimoto | well, it's far from too late to change it |
| 21:16:05 | raptor | heh |
| 21:16:32 | raptor | maybe the k's look like they have serifs? serifs are notorious for stoping the brain |
| 21:16:35 | raptor | *stopping |
| 21:18:30 | | kaen has joined |
| 21:18:39 | Little_Apple | ok, how exactly do clocks work? |
| 21:18:46 | Little_Apple | hello kaen |
| 21:18:46 | raptor | Timers? |
| 21:18:49 | raptor | you found the doc page? |
| 21:19:00 | Little_Apple | oh yes, timers |
| 21:19:19 | kaen | Hello. |
| 21:19:53 | kaen | Phones have irc clients now. I might finally use mine :p |
| 21:20:08 | raptor | then you'll stay connected?? |
| 21:20:12 | raptor | and welcome back! |
| 21:20:18 | raptor | also, level DB?? |
| 21:20:31 | raptor | Little_Apple: you found the luadoc page on Timers |
| 21:20:32 | kaen | Anyway I was wondering if i can put it up quietly |
| 21:20:33 | raptor | ? |
| 21:20:41 | Little_Apple | yes |
| 21:20:53 | kaen | So that we might poke at it. |
| 21:21:22 | raptor | I'm on board, Watusimoto? |
| 21:22:26 | Watusimoto | yes, sure! |
| 21:23:00 | raptor | ok Little_Apple, here is a code example of how to use timers: http://pastie.org/7103424 |
| 21:23:23 | kaen | Okay. Time to go wardriving for a network that will hold an ssh connection... |
| 21:23:27 | raptor | kaen: you have everything you need to put it up right? |
| 21:23:29 | raptor | haha |
| 21:23:38 | kaen | Yes indeed |
| 21:23:43 | raptor | ok great |
| 21:23:54 | Little_Apple | thanks raptor! |
| 21:24:11 | raptor | Little_Apple: you're welcome, let me know if you want a particular concept explained |
| 21:24:36 | kaen | I need the db creds for phpbb but it's in the config right? |
| 21:24:48 | raptor | umm... hmmm |
| 21:24:57 | raptor | hmmmm |
| 21:25:58 | kaen | Config.php in the phpbb root iirc |
| 21:26:48 | Watusimoto | same scene with orbitron medium |
| 21:26:50 | Watusimoto | http://img802.imageshack.us/img802/8441/screenshot16z.png |
| 21:26:58 | Watusimoto | notice how much wider the text is |
| 21:27:00 | kaen | (It only reads from phpbb, no writing) |
| 21:27:39 | Watusimoto | if we use that font, the menu will probably cover the ship |
| 21:28:14 | | raptor checks |
| 21:28:14 | | raptor opens private chat with kaen |
| 21:28:15 | raptor | Little_Apple: i just gave you a script that crashes... |
| 21:28:15 | raptor | change the 5000 at the bottom to 2000 |
| 21:28:15 | raptor | it needs to run sooner than the second timer |
| 21:28:16 | kaen | Hey that looks great you guys! |
| 21:28:33 | Watusimoto | as shwn here |
| 21:28:34 | Watusimoto | http://img94.imageshack.us/img94/6792/screenshot17df.png |
| 21:28:59 | Watusimoto | kaen: you should see the animation! (if you haven't) |
| 21:29:11 | Watusimoto | it's starting to be a slick little loadout widget |
| 21:29:34 | Little_Apple | why must you use imageshack? it pains me to see those long links |
| 21:30:28 | Little_Apple | and.. stuff |
| 21:30:36 | Little_Apple | i will shut up now. |
| 21:30:39 | raptor | Little_Apple: provide an alternative? |
| 21:30:57 | Watusimoto | I use imageshack because it's trivially easy for me with my file manager |
| 21:31:05 | Watusimoto | it has an upload to imageshack button |
| 21:31:13 | Watusimoto | one click and... done! |
| 21:31:18 | raptor | yeah, orbitron is too wide... |
| 21:31:27 | kaen | Okay, back soon! |
| 21:31:31 | | kaen Quit (Quit: kaen) |
| 21:31:47 | Watusimoto | I think I may use orbitron only for labeling the Goal zones |
| 21:31:58 | Watusimoto | and the yard sale notice |
| 21:32:00 | Little_Apple | imgur works pretty well for me.. |
| 21:32:15 | Watusimoto | Little_Apple: one click! |
| 21:32:24 | Little_Apple | lol |
| 21:32:36 | raptor | wow orbitron is *really* wide |
| 21:33:10 | Watusimoto | it is |
| 21:33:32 | Watusimoto | the other font is similar in width to roman |
| 21:33:39 | Watusimoto | so fits nicely with our current layouts |
| 21:37:03 | fordcars | ooohhhh |
| 21:37:06 | fordcars | looks good |
| 21:41:35 | Little_Apple | it works! |
| 21:42:40 | raptor | Little_Apple: yay! |
| 21:48:43 | | LordDVG Quit (Remote host closed the connection) |
| 21:49:03 | fordcars | hey raptor: can I try to repair some s_bot bugs or do you want to do them yourself? |
| 21:49:25 | raptor | sure you can try |
| 21:49:38 | raptor | try and use the latest from the repository though as I am working on some, too |
| 21:49:57 | raptor | also let's check with each other to make sure we're not doing the same one :) |
| 21:50:15 | raptor | right now I'm working on getting bots to not shoot other non-carrot-carrying bots |
| 21:50:52 | Little_Apple | ok im off for now |
| 21:50:54 | | Little_Apple Quit (Quit: Page closed) |
| 21:53:02 | fordcars | yeah sure. I'll try to make bots not shoot force feilds in one-team bitmach. |
| 21:54:01 | raptor | actually don't do that one |
| 21:54:12 | raptor | because that's the exact same part of the code I'm working in right now.. |
| 21:55:51 | | kaen has joined |
| 21:56:54 | fordcars | ok :P |
| 21:59:57 | kaen | Starbucks can just barely handle it I think... |
| 22:00:37 | fordcars | raptor: don't forget that in rabbit and nexus, bots shoot force fields too |
| 22:02:00 | raptor | kaen: are you in kansas? |
| 22:02:23 | kaen | Rofl nope |
| 22:02:42 | kaen | Still in Washington. |
| 22:03:06 | | BFLogBot Commit: f962f89d3c03 | Author: buckyballreaction | Message: S_Bot is less stupid in Single-player Rabbit now |
| 22:03:28 | | raptor can't capitalizE correctly |
| 22:07:44 | raptor | oh kaen, can you kill the contest server? |
| 22:08:05 | fordcars | gtg will be back in an hour |
| 22:10:27 | raptor | ok fordcars I committed my change, if you get the new s_bot code you can try your hand at the FF issue (I'm sick of Lua for the day..) |
| 22:11:20 | raptor | Watusimoto: would you be opposed to making the level description popup at the start of a level use a rendered box like loadout? |
| 22:12:19 | | fordcars Quit (Ping timeout: 245 seconds) |
| 22:13:52 | raptor | I'm going to do it anyways... :) |
| 22:24:49 | kaen | Bitfighter.org/Pleiades |
| 22:25:06 | kaen | Let the poking begin! |
| 22:25:11 | raptor | lowercase, i presume |
| 22:25:14 | raptor | poke poke |
| 22:27:35 | kaen | Obviously it's still in infancy |
| 22:27:58 | raptor | i like the code name already! |
| 22:29:37 | kaen | It's my favorite messier sky object :) |
| 22:30:03 | raptor | kaen: first suggestion - add a stupid little button to 'select all' in the current window |
| 22:30:08 | raptor | like in the forums |
| 22:30:15 | raptor | oh, when looking at a level |
| 22:31:03 | raptor | oops, i logged in and got: "Error: The requested address '/pleiades/' was not found on this server." |
| 22:36:14 | kaen | ! |
| 22:36:55 | kaen | Did it log you in at least? |
| 22:37:01 | raptor | YES |
| 22:37:03 | raptor | oops caps |
| 22:37:21 | kaen | I think the index is 403 in production still :x |
| 22:37:47 | raptor | heh |
| 22:37:53 | raptor | I'm going to uplaod a level.. |
| 22:38:16 | | Nothing_Much has joined |
| 22:38:31 | kaen | Try downloading the one I uploaded :) |
| 22:39:19 | raptor | OOOOOOOoooooo |
| 22:39:23 | raptor | auto-zip! |
| 22:39:25 | raptor | NICE |
| 22:39:42 | | fordcars has joined |
| 22:39:57 | kaen | It magically detects the level gem file name too |
| 22:40:05 | raptor | awesome! |
| 22:40:20 | raptor | ok I uploaded our stock ZC map |
| 22:40:26 | raptor | from Quartz |
| 22:40:45 | raptor | should the 'view all levels' index show the author instead of uploader? (or both?) |
| 22:41:29 | kaen | I've been wrestling with uploader/author dilemma for a while |
| 22:41:50 | kaen | Your input would be greatly appreciated |
| 22:42:37 | raptor | I think it should be author |
| 22:42:43 | raptor | but |
| 22:42:54 | raptor | hmm... |
| 22:43:20 | raptor | yeah, i see the problem.. and do we give uploaders future control over other's authored maps? |
| 22:43:46 | kaen | Exactly... |
| 22:44:25 | raptor | maybe |
| 22:44:27 | raptor | maybe |
| 22:44:33 | kaen | Ideally authors would upload their own maps, but then a lot of classics will never make it into the db. |
| 22:44:37 | raptor | we only let authenticated users upload their own maps |
| 22:45:08 | raptor | but you give a handful of others (you me Watusimoto maybe bobdaduck/Quartz) to upload for anyone? |
| 22:45:23 | kaen | Ah, yes! |
| 22:45:41 | kaen | I can even use the phpbb user levels for it |
| 22:45:49 | raptor | that would take care of a lot of the possible headaches I think.. minus the headache of coding the permission system :) |
| 22:45:59 | raptor | maybe that can be grabbed from phpbb.. |
| 22:46:04 | raptor | moderators/admins |
| 22:46:23 | kaen | Indeed. I think I'm lagging |
| 22:51:06 | kaen | The next update won't be until Wednesday I think |
| 22:51:18 | kaen | I hate Starbucks... |
| 22:53:32 | raptor | heh |
| 22:53:43 | raptor | no problem... and great job so far! |
| 22:54:00 | kaen | Thanks :) |
| 22:54:09 | raptor | I'll probably stay away from the code part and be the peanut-gallery for a bit... |
| 22:54:15 | raptor | :) |
| 22:54:28 | kaen | It was writing php and not hating every second of it |
| 22:54:41 | kaen | But only most of the seconds. |
| 22:54:51 | raptor | wow.. i wonder what that's like? |
| 22:54:58 | raptor | cakephp seems really slick |
| 22:55:21 | kaen | It is. Most of the time I put into it was reading docs |
| 22:55:40 | kaen | The code I wrote is maybe 200 lines |
| 22:57:12 | raptor | wAHT |
| 22:57:15 | raptor | that small?? |
| 22:57:33 | kaen | Plus a bit of HTML, but yeah |
| 23:01:01 | | kaen Quit (Remote host closed the connection) |
| 23:07:28 | | bobdaduck has joined |
| 23:10:17 | raptor | would anyone think this is too distracting at the start of a level? (is it any better than what we have?) |
| 23:11:00 | raptor | http://sam6.25u.com/upload/7screenshot_4.png |
| 23:11:16 | bobdaduck | That's not bad |
| 23:11:44 | bobdaduck | No animations then no its not distracting. |
| 23:13:53 | | kaen has joined |
| 23:13:56 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 23:14:27 | | Watusimoto has joined |
| 23:17:18 | bobdaduck | Oohhh watusimoto awake? |
| 23:17:44 | | fordcars Quit (Ping timeout: 245 seconds) |
| 23:25:01 | bobdaduck | raptor |
| 23:25:06 | bobdaduck | Could you troubleshoot the levelgen? |
| 23:27:36 | bobdaduck | The playerLeftGame bug. That was crashing my game but now it just crashes the levelgen' |
| 23:27:37 | bobdaduck | http://pastie.org/7104727 |
| 23:28:11 | bobdaduck | I mean like, when you have free time or whatever. |
| 23:30:58 | raptor | hi bobdaduck |
| 23:30:58 | raptor | back form dinner.. |
| 23:32:33 | | bobdaduck_ has joined |
| 23:33:29 | raptor | looking at script |
| 23:33:49 | bobdaduck_ | and uh |
| 23:33:52 | bobdaduck_ | I modified it to add energy items |
| 23:34:02 | bobdaduck_ | without actually changing any of the variable names |
| 23:34:05 | bobdaduck_ | so everything still says "health pack" |
| 23:34:10 | bobdaduck_ | I'M LAZY I'LL FIX IT LATER |
| 23:34:11 | bobdaduck_ | xD |
| 23:34:17 | bobdaduck_ | The bug is the same so. |
| 23:34:35 | | bobdaduck Quit (Ping timeout: 272 seconds) |
| 23:35:48 | raptor | ok |
| 23:36:17 | bobdaduck_ | Anyway it crashes in the PlayerLeft() function if a player leaves. |
| 23:36:27 | raptor | ok |
| 23:42:58 | | raptor_ has joined |
| 23:42:58 | | raptor Quit (Disconnected by services) |
| 23:43:42 | Watusimoto | hi |
| 23:43:44 | Watusimoto | again |
| 23:44:08 | Watusimoto | my sleep habits are so messed up |
| 23:44:11 | bobdaduck_ | xD |
| 23:44:17 | bobdaduck_ | You free to take a look at this level now? |
| 23:44:45 | Watusimoto | uh |
| 23:44:48 | Watusimoto | ok |
| 23:44:51 | Watusimoto | briefly |
| 23:44:56 | bobdaduck_ | hosting |
| 23:55:44 | Watusimoto | well, that was sure something |
| 23:57:39 | | raptor_ Quit (*.net *.split) |
| 23:57:39 | | bobdaduck_ Quit (*.net *.split) |
| 23:57:39 | | kaen Quit (*.net *.split) |
| 23:57:56 | | raptor has joined |
| 23:57:56 | | ChanServ sets mode +o raptor |
| 23:58:29 | raptor | what did you think of his abomination, Watusimoto? |
| 23:58:40 | Watusimoto | it was pretty incredible, actually |
| 23:59:01 | Watusimoto | I see how most of it was done, but not the disco lights |
| 23:59:10 | Watusimoto | there seemed more colors than there should have been |
| 23:59:12 | raptor | yeah, he's gotten a lot better at scripting... |
| 23:59:15 | raptor | oh |
| 23:59:17 | Watusimoto | apparently |
| 23:59:19 | raptor | that's because they flash |
| 23:59:26 | Watusimoto | how do you flash them? |
| 23:59:26 | raptor | and yo have a flag on the ship |
| 23:59:32 | | Platskies has joined |
| 23:59:36 | Watusimoto | ah, so you are scoring? |
| 23:59:46 | raptor | sort of, but it's the wrong game mode |
| 23:59:51 | | bobdaduck has joined |
| 23:59:52 | Watusimoto | yes |
| 23:59:58 | raptor | actually, now i'm not quite sure i know either... |
| 23:59:59 | | kaen has joined |