Timestamps are in GMT/BST.
| 00:25:24 | | raptor has joined |
| 00:25:27 | | ChanServ sets mode +o raptor |
| 00:27:18 | raptor | hell hello |
| 00:27:24 | raptor | uh helo hello |
| 00:33:38 | raptor | where would be a good place to call c2mRequestMOTD? I've tried in the UIMainMenu, but it doesn't seem to have a connection by then.. |
| 00:33:44 | raptor | and so crashes |
| 00:43:02 | raptor | i'm sorry Watusimoto, i cannot seem to be able to repair the newest patch for the /announce... |
| 00:43:15 | raptor | parts are additions and parts are removals... |
| 00:43:21 | raptor | it's all messed up |
| 00:43:30 | raptor | and it looks like it's a patch on a patch?? |
| 00:47:54 | raptor | i'm going to leave him a message.... |
| 00:51:00 | | YoshiSmb has joined |
| 00:52:16 | raptor | ok, and i extended his deadline 24 hours, too |
| 00:52:34 | raptor | also.. it looks like i fail at using the gci textarea box to leave a message... |
| 00:54:05 | Watusimoto | hi |
| 00:54:12 | Watusimoto | just woke up :-) |
| 00:54:20 | raptor | good mnorning! |
| 00:54:51 | Watusimoto | uh |
| 00:55:20 | Watusimoto | do we have som event handler that occurs once connection is established? |
| 00:55:31 | Watusimoto | like where we currently call c2mrequestmotd |
| 00:55:33 | Watusimoto | ? |
| 00:55:36 | Watusimoto | or something? |
| 00:55:43 | raptor | we don't request that |
| 00:55:57 | Watusimoto | ok, well, maybe have the server just send it when it can |
| 00:56:01 | raptor | i coded that function.. |
| 00:56:14 | Watusimoto | unless we have a onConnect() method on client |
| 00:56:17 | Watusimoto | which we might have |
| 00:56:22 | Watusimoto | sam686 might know |
| 00:56:30 | Watusimoto | as for /announce, |
| 00:56:36 | Watusimoto | I'll deal with that tomorrow |
| 00:56:58 | raptor | i left a message asking him to provide a better diff.. |
| 00:56:59 | Watusimoto | if you can't even read the patch, that's bad |
| 00:57:03 | Watusimoto | ok, good |
| 00:57:34 | Watusimoto | client must know when connection is established |
| 00:57:46 | Watusimoto | that's when you request the motd |
| 00:57:52 | raptor | yes... but it's done in that infernal idle loop |
| 00:57:59 | Watusimoto | argh |
| 00:58:12 | Watusimoto | I can take a look tomorrow |
| 00:58:18 | Watusimoto | sorry, brain is too hazy right now |
| 00:58:27 | raptor | don't worry - it's my problem.. |
| 00:58:33 | raptor | you deal with yours |
| 00:58:35 | raptor | :) |
| 00:58:36 | Watusimoto | we all share the burden |
| 00:58:40 | Watusimoto | ok, good night |
| 00:58:42 | raptor | night! |
| 01:03:45 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 01:29:46 | | kaen has joined |
| 01:38:26 | | YoshiSmb_ has joined |
| 01:38:37 | | YoshiSmb Quit (Ping timeout: 240 seconds) |
| 01:46:29 | | bobdaduck has joined |
| 01:47:32 | raptor | my 1 year old just dislodged his high chair table when it was firmly in place... |
| 01:48:40 | bobdaduck | Kids do that. |
| 01:48:45 | bobdaduck | Nothing is foolproof |
| 01:48:54 | bobdaduck | For the world will simply design a better fool. |
| 01:49:03 | raptor | ha! i like that |
| 01:49:30 | raptor | we don't baby proof stuff... we let our kids fall down the stairs, etc.. |
| 01:49:56 | bobdaduck | lol |
| 01:49:57 | bobdaduck | well |
| 01:50:11 | bobdaduck | I suppose learns them the hard way |
| 01:50:38 | raptor | after about 7 or 8 falls, my (previously) 11 month old was better around staircases than most people's two-year-olds |
| 01:50:47 | raptor | but don't tell anyone.. |
| 01:51:35 | | bobdaduck_ has joined |
| 01:52:05 | bobdaduck_ | lol |
| 01:52:26 | bobdaduck_ | link me the bitfighter server connect notification utility? |
| 01:52:41 | raptor | ok... |
| 01:52:51 | bobdaduck_ | Lazy and I'm home now. |
| 01:53:51 | raptor | here is the task: https://www.google-melange.com/gci/task/view/google/gci2012/8029210 |
| 01:54:05 | raptor | under 'upload work', the last one |
| 01:54:27 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 01:55:06 | bobdaduck_ | okey |
| 01:58:19 | | YoshiSmb_ is now known as YoshiSmb |
| 02:01:24 | | kaen braces for a gdb freeze |
| 02:04:57 | | masterkaen has joined |
| 02:05:17 | | masterkaen Quit (Changing host) |
| 02:05:18 | | masterkaen has joined |
| 02:05:25 | | kaen Quit (Disconnected by services) |
| 02:05:29 | | masterkaen is now known as kaen |
| 02:06:13 | raptor | welcome back kaen! |
| 02:06:25 | kaen | \:D |
| 02:13:55 | raptor | might your distro be more bleeding than edge? |
| 02:14:23 | | kaen Quit (Read error: Connection reset by peer) |
| 02:14:54 | | kaen has joined |
| 02:15:14 | kaen | :l |
| 02:37:23 | | sam686 has left |
| 02:40:26 | | YoshiSmb_ has joined |
| 02:42:10 | | YoshiSmb Quit (Ping timeout: 252 seconds) |
| 02:48:15 | raptor | ok, i need ideas... |
| 02:48:58 | raptor | actually let me think a bit more... |
| 02:51:04 | bobdaduck_ | rofl |
| 02:51:15 | bobdaduck_ | "might your distro be more bleeding than edge?" |
| 02:51:40 | raptor | well, he seems to suffer crashing a lot.. |
| 02:57:15 | kaen | lol I didn't see that |
| 02:57:23 | kaen | actually arch didn't crash like this |
| 02:57:27 | kaen | not persistently anyway |
| 02:57:39 | kaen | I'm on ubuntu right now... |
| 02:58:06 | kaen | as I procrastinate repairing my arch install |
| 02:58:19 | raptor | poobuntu? (have they changed their distro color from poo yet?) |
| 02:58:31 | kaen | nope. |
| 02:58:45 | raptor | i know watusimoto jumped to mint |
| 02:59:53 | kaen | I haven't tried mint in a very long while |
| 03:00:21 | raptor | aparently it's pretty good compared to ubuntu (being based on it..) |
| 03:00:45 | raptor | i usually recommend mint to people who want to start linux |
| 03:06:21 | kaen | alright, time to see how this goes without fglrx... |
| 03:06:41 | | kaen Quit (Quit: trying.) |
| 03:06:42 | raptor | going to use radeonhd? |
| 03:16:24 | | sam686 has joined |
| 03:16:25 | | ChanServ sets mode +v sam686 |
| 03:18:06 | bobdaduck_ | People |
| 03:18:11 | bobdaduck_ | Can't even make emperors revenges right |
| 03:18:13 | bobdaduck_ | srsly. |
| 03:18:17 | raptor | ? |
| 03:18:41 | bobdaduck_ | dungeon = puzzles, enperors revenge = turrets. |
| 03:19:29 | bobdaduck_ | People keep making emp revenges |
| 03:19:32 | bobdaduck_ | and calling them dungeons |
| 03:20:10 | bobdaduck_ | like |
| 03:20:16 | bobdaduck_ | they put a ton of turrets |
| 03:20:21 | bobdaduck_ | BUT THEY DON'T EVEN DO IT RIGHT. |
| 03:20:31 | raptor | what set you off on this line? |
| 03:20:43 | bobdaduck_ | After I finish up with this game I'm going to get up and make my own emperors revenge. |
| 03:20:50 | bobdaduck_ | The contest dungeon |
| 03:20:53 | bobdaduck_ | Its a true dungeon. |
| 03:21:26 | bobdaduck_ | I mean, that's probably why it was made. |
| 03:21:33 | bobdaduck_ | Just to show people what a "real" dungeon is. |
| 03:21:49 | raptor | probably |
| 03:21:56 | bobdaduck_ | I'ma finish up with this game |
| 03:22:06 | bobdaduck_ | and then BY GOLLY I'M GONNA SHOW THEM HOW TO MAKE AN EMPERORS REVENGE. |
| 03:22:12 | raptor | ha |
| 03:29:36 | | kodaws Quit (Read error: Connection reset by peer) |
| 03:31:09 | | kaen has joined |
| 03:37:26 | raptor | i'm on phantomime's server, lots of fun levels |
| 03:37:28 | raptor | small ones |
| 03:38:59 | bobdaduck_ | I'm still in game |
| 03:39:05 | bobdaduck_ | bloons level 80 bro |
| 03:39:24 | raptor | oh man, i had to forcibly break my bloons addiction... |
| 03:40:08 | bobdaduck_ | xD |
| 03:40:13 | bobdaduck_ | I don't play that often |
| 03:40:23 | bobdaduck_ | but once I get in game, don't wanna stop until I lose y'know xD |
| 03:41:02 | bobdaduck_ | Wait phantomime has a server? |
| 03:41:03 | raptor | wow, i haven't seen any of these maps... |
| 03:41:15 | raptor | yeah, come on in... looks like new maps! |
| 03:41:31 | bobdaduck_ | I'M BUSY |
| 03:41:35 | bobdaduck_ | I'll COME IN AFTER |
| 03:41:36 | bobdaduck_ | xD |
| 03:41:37 | raptor | begins with 66... |
| 03:41:43 | raptor | COME IN NOW |
| 03:41:51 | bobdaduck_ | Well, unless... |
| 03:42:00 | bobdaduck_ | brb |
| 03:42:01 | raptor | you can pause.. |
| 03:42:05 | bobdaduck_ | family night anway xD |
| 03:42:12 | bobdaduck_ | Want to though |
| 03:42:18 | bobdaduck_ | "New maps!" :D |
| 03:42:35 | raptor | oh yeah family night |
| 03:42:47 | raptor | (my family is so small that it only lasts a few minutes after dinner..) |
| 03:43:15 | bobdaduck_ | My family is verbose. |
| 03:43:18 | bobdaduck_ | Expect like three hours. |
| 03:43:24 | raptor | ha! |
| 03:43:26 | bobdaduck_ | I'll be going to bed at like midnight xD |
| 03:43:49 | | YoshiSmb_ Quit (Ping timeout: 255 seconds) |
| 03:45:24 | raptor | i miss k_serv |
| 03:49:15 | | YoshiSmb has joined |
| 03:59:39 | | amgine1234567890 has joined |
| 03:59:46 | amgine1234567890 | hi |
| 04:04:35 | amgine1234567890 | raptor the spawn sehild is server sided right? |
| 04:05:17 | raptor | yes |
| 04:05:26 | raptor | can't hack client side.. |
| 04:06:13 | amgine1234567890 | ok just checking i was worried somone might try tpo hack that and cheat |
| 04:07:29 | amgine1234567890 | raptor did you ever fix the score overflow problem |
| 04:07:45 | amgine1234567890 | i didnt see it on the list so i dont know if it was ever patched |
| 04:08:32 | raptor | i don't know.. |
| 04:08:43 | raptor | i'm working on something else at the moment, though.. |
| 04:09:50 | amgine1234567890 | sorry to bother you if i find any missed bugs ill let you knowe |
| 04:10:22 | raptor | no worries - it's just hard to switch my brain to a different task sometimes.. |
| 04:12:04 | amgine1234567890 | so whats your fild your taking at the univeristy |
| 04:13:12 | raptor | hopefully electrical engineering |
| 04:13:56 | amgine1234567890 | cool =) |
| 04:20:23 | amgine1234567890 | umm what page is the use curves command on. |
| 04:20:42 | raptor | page 5 |
| 04:20:59 | amgine1234567890 | onl1 1/4 pages? |
| 04:21:12 | raptor | 5 pages in editor |
| 04:21:24 | amgine1234567890 | im in the editor? |
| 04:21:30 | raptor | yes... |
| 04:21:33 | raptor | you see 4? |
| 04:21:59 | amgine1234567890 | yeah i only see 1/4 2/4 ect |
| 04:22:18 | amgine1234567890 | wonder if whne i was copiled the bf zip if i was given the wrong one |
| 04:22:19 | raptor | weird! |
| 04:23:05 | amgine1234567890 | normally its ctrl +; right? |
| 04:23:24 | raptor | yes, i see it just fine... maybe your INI isn't set up correctly... |
| 04:25:14 | amgine1234567890 | hmm not only isnt it not on mine but the ctrl + ; isnt working for me |
| 04:26:14 | raptor | do you have a section in your INI called 'EditorPlugins' ? |
| 04:26:22 | raptor | if so, add the following line below it: |
| 04:26:24 | raptor | Plugin1=Ctrl+;|draw_arcs.lua|Make curves! |
| 04:26:36 | amgine1234567890 | i think i know whats wrong whne BF18 was compiled for me it seems the .ini file isnt there |
| 04:27:12 | amgine1234567890 | becuase i couldnt use the installer so i had it ocmpiled into a zip but i think the .ini file was forgotten |
| 04:27:45 | raptor | the INI is somewhere on your system, probably in %appdata% |
| 04:27:49 | raptor | use that |
| 04:28:34 | amgine1234567890 | im using windoes so would it be in C:/windows maybe? |
| 04:29:55 | raptor | %appdata% |
| 04:30:03 | raptor | if you do start->run |
| 04:30:10 | raptor | type in: %appdata% |
| 04:31:46 | amgine1234567890 | no ini file? |
| 04:32:16 | raptor | is there a sub-directory called Bitfighter in there? |
| 04:32:23 | raptor | if so, in that should be the INI |
| 04:34:09 | amgine1234567890 | is it hte bitfighter configuration file? |
| 04:34:41 | raptor | yes |
| 04:37:47 | amgine1234567890 | hmm cant find editor plugins |
| 04:40:04 | amgine1234567890 | found it |
| 04:40:09 | amgine1234567890 | hte line was missing? |
| 04:40:12 | amgine1234567890 | weird |
| 04:40:19 | raptor | if it was, add it |
| 04:40:23 | amgine1234567890 | Plugin1=Ctrl+;|draw_arcs.lua|Make curves! was missing from my ini file |
| 04:40:32 | raptor | weird |
| 04:40:35 | raptor | yeah, add it |
| 04:40:56 | amgine1234567890 | err do i add it after the text? |
| 04:41:37 | raptor | yes, put it on it's own line |
| 04:41:49 | raptor | but before the next section |
| 04:52:41 | | YoshiSmb Quit (Ping timeout: 276 seconds) |
| 04:57:00 | | YoshiSmb has joined |
| 05:42:47 | YoshiSmb | i need to go to the bed. |
| 05:42:59 | YoshiSmb | 21:35 hours. |
| 05:43:03 | YoshiSmb | bye |
| 05:43:05 | | YoshiSmb Quit () |
| 05:50:33 | raptor | sam686: are you up? |
| 05:52:02 | sam686 | sort of.. |
| 05:52:09 | sam686 | but are kindof falling asleep.. |
| 05:53:09 | raptor | ok - would you know of a way to do a master connection disconnect after a certain amount of seconds |
| 05:53:10 | raptor | ? |
| 05:53:12 | amgine1234567890 | im alseep tdont talk to me XD |
| 05:54:06 | amgine1234567890 | btw raptro the patch you gave me worked |
| 05:54:38 | sam686 | master's main loop checking for a time expiring and doing something? or client checking time on idle loop? |
| 05:55:00 | raptor | ok, but no way to queue up a disconnect like with deleteObject? |
| 05:55:09 | raptor | amgine1234567890: good! |
| 05:55:38 | sam686 | there wasn't a queue written for master side.. |
| 05:55:52 | raptor | ok, no problem... i think i can work around it.. |
| 05:55:57 | amgine1234567890 | ugh im having diffulty making hte curve i want.... |
| 05:56:32 | sam686 | but you could create a timer that counts up on main() idling loop and do something if timer went up by a specific number.. |
| 05:56:49 | raptor | yes.. i think i found a way around it though.. |
| 05:57:20 | raptor | ok, heading to bed! |
| 05:57:26 | raptor | good ngiht everyone! |
| 05:57:26 | sam686 | night |
| 05:57:28 | amgine1234567890 | goodniught |
| 05:58:00 | sam686 | my clock is almost now the first 2 letters of "amgine" |
| 05:58:14 | amgine1234567890 | lol |
| 05:58:18 | sam686 | (am midlight 12:00 AM) |
| 05:58:31 | | raptor Quit () |
| 05:58:36 | sam686 | good night, midnight. |
| 05:58:46 | amgine1234567890 | sam you leaving? |
| 05:59:05 | sam686 | i am not leaving... I am falling asleep... |
| 06:00:19 | amgine1234567890 | sam question about the level files are hey written in lua? |
| 06:00:29 | amgine1234567890 | or are they C++ |
| 06:02:30 | amgine1234567890 | i found a problem in BF 18 (bug) if auto b;lance teams is on and theres only 1 team the game seems to add the max number of bots im not 100 sure thoughjt let me confirm it |
| 06:02:49 | amgine1234567890 | i opened a level in the editor and all of a sudden 50 bots where added |
| 06:03:45 | amgine1234567890 | btw are level coordiniates in polar? |
| 06:05:07 | amgine1234567890 | i confirmed the autobot problem |
| 06:06:06 | amgine1234567890 | if there is one player and autoblance teams is set to on it adds the max nubmer of bots |
| 06:14:53 | amgine1234567890 | sam you here? |
| 06:15:40 | amgine1234567890 | bye |
| 06:15:45 | | amgine1234567890 Quit (Quit: Page closed) |
| 06:17:09 | | amgine1234567890 has joined |
| 06:17:46 | amgine1234567890 | new buig confirmed game crashes if bot grabs a energy tiem that was added by chaging the level coding. |
| 06:19:50 | | amgine1234567890 Quit (Client Quit) |
| 06:51:38 | | bobdaduck_ Quit (Quit: Page closed) |
| 07:17:31 | | amgine1234567890 has joined |
| 07:18:17 | amgine1234567890 | cool fact irc chat works on the 3ds amazing ^—^ |
| 07:23:12 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 07:28:23 | | kodaws has joined |
| 07:56:56 | | amgine1234567890 has joined |
| 07:57:07 | | amgine1234567890 Quit (Client Quit) |
| 08:05:44 | | kodaws Quit (Ping timeout: 260 seconds) |
| 08:11:29 | | amgine1234567890 has joined |
| 08:14:52 | amgine1234567890 | is trolling xd |
| 08:15:04 | | amgine1234567890 Quit (Client Quit) |
| 08:40:51 | | amgine1234567890 has joined |
| 08:41:03 | | amgine1234567890 Quit (Client Quit) |
| 08:42:12 | | watusimoto has joined |
| 08:42:12 | | ChanServ sets mode +o watusimoto |
| 09:09:27 | | amgine1234567890 has joined |
| 09:09:51 | amgine1234567890 | hi wattisimo. |
| 09:11:50 | | amgine1234567890 has left |
| 09:14:04 | | amgine1234567890 has joined |
| 09:14:28 | amgine1234567890 | wattisimo you there? |
| 09:19:52 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 09:21:35 | | amgine1234567890 has joined |
| 09:22:24 | amgine1234567890 | note irc does not work on 3ds after all lol. |
| 09:27:22 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 12:59:55 | | LordDVG has joined |
| 13:00:43 | | LordDVG Quit (Remote host closed the connection) |
| 13:01:02 | | LordDVG has joined |
| 13:19:10 | | hdon has joined |
| 13:19:16 | hdon | hi all :D |
| 13:24:43 | hdon | any devs in here? |
| 13:24:47 | hdon | (all devs?) |
| 13:27:58 | hdon | have you guys ported oglconsole to glfw? i'd be interested in getting those changes upstream. the project is now hosted at github |
| 13:48:44 | sam686 | never heard of glfw, so I think probably didn't port oglconsole to glfw.. We do use oglconsole with a few fixes, but we might not have updated oglconsole yet.. |
| 13:49:15 | sam686 | but i will be gone for 10 hours, later.. (other devs can help you while i am gone) |
| 13:59:46 | hdon | thanks sam |
| 14:01:03 | hdon | well, someone thinks they ported it to glfw |
| 14:01:41 | hdon | the revision 374f3059f42c from October 6 in the default branch (tip as of yesterday) |
| 14:02:01 | hdon | has a new preprocessor condition #ifdef OGLCONSOLE_USE_GLFW |
| 14:02:29 | hdon | i wonder if maybe you guys got oglconsole from somewhere else than the original sourceforge project page and it already had that in it? |
| 14:03:17 | hdon | but one thing that is quite interesting to me is |
| 14:03:57 | hdon | OGLCONSOLE_CREATE_PACKED_FONT which actually seems to be writing a file "packedfont.c" |
| 14:04:01 | hdon | i'm very curious about that :) |
| 14:05:22 | hdon | i have some experimental branches that i have sadly never shared with the world. i have one branch that makes oglconsole a full ANSI terminal emulator with also an API to forkpty() |
| 14:05:55 | hdon | and just last night when i decided to brush it off and use it for a project i decided it would be fun to add support for code page 850 and a new font |
| 14:06:35 | hdon | since it seems to have at least one project that actively uses it though i'd like to assess what fixes and changes they have or want before i figure out if or how to release these other features |
| 14:07:23 | hdon | i've also fixed a few bugs and incorporated a few bug fixes since the sourceforge days |
| 14:37:09 | watusimoto | hi |
| 14:37:28 | watusimoto | I'm kind of a dev :-) |
| 14:37:52 | watusimoto | and I have wrestled with oglconsole, hdon |
| 14:38:03 | hdon | awesome :D |
| 14:38:09 | hdon | i never really finished it or polished it up |
| 14:38:19 | watusimoto | are you the author |
| 14:38:23 | watusimoto | ? |
| 14:38:41 | hdon | the only reason i found this project was because i was going to use oglconsole in a new project and i had a copy of it with a typo in the directory name that i googled, lol |
| 14:38:43 | hdon | yes |
| 14:38:51 | hdon | but the game looks cool :) |
| 14:38:59 | watusimoto | thanks |
| 14:39:08 | watusimoto | We did a lot with the console |
| 14:39:11 | hdon | do you guys just use one full screen console? |
| 14:39:18 | watusimoto | yesish |
| 14:39:20 | hdon | and where did the glfw code come from? |
| 14:39:29 | watusimoto | not sure -- what is glfw? |
| 14:39:29 | hdon | it seems like someone planned to use glfw and then didn't |
| 14:39:35 | hdon | idk but there's some code in there for it |
| 14:39:42 | hdon | it's uh... OGLCONSOLE_USE_GLFW i think |
| 14:39:57 | hdon | it's only used so far i think to set up key code macros for GLFW |
| 14:40:11 | hdon | so i wonder if someone ported it to GLFW, or started to, and then that code somehow got into your game, lol |
| 14:40:22 | hdon | when i wrote it i tried to structure it so it could be ported to platforms other than SDL |
| 14:40:25 | watusimoto | Any glfw work was probably done by raptor; he and I did all our console work |
| 14:40:29 | hdon | i had planned to port it to GLUT but i never did |
| 14:40:45 | hdon | i'm really curious about the "packedfont.c" file |
| 14:40:47 | hdon | what is that? |
| 14:40:48 | watusimoto | I'm so done with glut! |
| 14:40:51 | hdon | heh |
| 14:41:02 | watusimoto | packedfont is probably a set of font data |
| 14:41:02 | hdon | yeah i never really use glut but |
| 14:41:04 | hdon | i wanted to support it |
| 14:41:11 | hdon | once upon a time |
| 14:41:18 | hdon | well there's some code in there that looks like |
| 14:41:28 | hdon | it might be writing a C source file containing a font |
| 14:41:31 | watusimoto | anway, I had originally planned on pushing the changes upstream, but we made a lot of changes, and it began to seem less feasible |
| 14:41:36 | hdon | to "packedfont.c" |
| 14:41:39 | hdon | so i was curious what that was |
| 14:42:06 | watusimoto | we fixed a couple of major bugs, though :-) |
| 14:42:14 | hdon | well if you could perhaps make a diff between the version of oglconsole you started out with and your current version, it will be easier for me to see what changes you've made |
| 14:42:18 | watusimoto | and did a lot with the cmd history |
| 14:42:18 | hdon | awesome :) |
| 14:42:30 | hdon | yeah i saw the cmd history stuff but haven't looked closely. what did you do with that? |
| 14:42:48 | watusimoto | I don't remember exactly; made it work a bit like bash |
| 14:42:58 | hdon | oh! like... control-r and stuff like that? |
| 14:43:08 | watusimoto | no, only superficially |
| 14:43:18 | hdon | ah, too bad. i really like control-r in bash |
| 14:43:26 | watusimoto | never tried it before |
| 14:43:36 | hdon | so if you're in bash, or any other gnu readline interface |
| 14:43:46 | hdon | and you hit control-r and type a string that can be found in a previous command |
| 14:43:53 | watusimoto | looks like a super find |
| 14:43:54 | hdon | it will search backward in your command history and find the first instance of that string |
| 14:43:57 | watusimoto | looks good |
| 14:44:02 | hdon | it's really useful |
| 14:44:06 | watusimoto | I have a bash window right here |
| 14:44:13 | hdon | particularly when you find yourself hitting the up arrow like five times in a row lol |
| 14:44:21 | | hdon has too many bash windows |
| 14:44:34 | watusimoto | so no, we didn't do that, but the command history cycles a bit like bash |
| 14:44:54 | hdon | how so? |
| 14:45:04 | watusimoto | I don't recall -- it was a while ago |
| 14:45:05 | hdon | i saw wrap() is that something to do with it? |
| 14:45:10 | hdon | ah ok |
| 14:45:21 | watusimoto | that's probably for wrapping long lines on the console window |
| 14:45:26 | hdon | ahhhh |
| 14:45:30 | hdon | yeah that was always an annoyance |
| 14:45:38 | watusimoto | Donny Viszneki |
| 14:45:42 | hdon | that's me |
| 14:45:44 | watusimoto | that's the name I was searching for! |
| 14:46:15 | watusimoto | so it looks like you haven't touched the project for what, 2 years? |
| 14:46:29 | hdon | probably |
| 14:46:32 | hdon | well like i said |
| 14:46:37 | hdon | i have a couple experimental branches that i never released |
| 14:46:56 | hdon | the really different one is a full ansi terminal emulator with a forkpty() api |
| 14:47:05 | hdon | i have it running bash but it doesn't run vim very well :| |
| 14:47:51 | hdon | i've always wanted to create an educational game about programming so the idea of allowing the player to actually use a real operating system inside a game has intrigued me. hence the terminal emulator |
| 14:48:02 | watusimoto | so we probably based it off your Jan 03, 2009 code |
| 14:48:27 | | hdon finds a tarball on sf |
| 14:48:38 | watusimoto | it's on github |
| 14:48:42 | hdon | LOL |
| 14:48:44 | hdon | this is how ambitious i was: |
| 14:48:45 | hdon | OGLCONSOLE is a versatile drop-down console for OpenGL applications that use SDL, GLUT, GtkGlArea, QGLWidget, and more. (Currently only SDL support is implemented.) |
| 14:48:55 | hdon | i wanted to implement so much... |
| 14:48:58 | watusimoto | we added Bitfighter support |
| 14:49:02 | hdon | :D |
| 14:49:06 | hdon | well BitFighter uses SDL |
| 14:49:26 | watusimoto | well, yes, but we had to bend oglconsole to fit the bitfighter way |
| 14:49:39 | watusimoto | well, it was more a meeting in the middle, I'd say |
| 14:49:42 | hdon | a big request i always used to get when i first created it was a way to customize the "open console" keyboard shortcut at runtime. never did it :| |
| 14:50:05 | watusimoto | so here's what I'm thinking |
| 14:50:20 | watusimoto | there are some fixes and improvements we made that you'd probably want |
| 14:50:33 | hdon | so what is it used for in the game? i almost always used oglconsole just for development purposes. debugging information could go to the console, and i could issue commands in the console to load up levels or other assets, manipulate them, etc. |
| 14:50:40 | hdon | yes i'm thinking that as well |
| 14:50:45 | watusimoto | there are some architectural changes (minor, but important) that we made that you might not want |
| 14:50:53 | | hdon nods |
| 14:50:56 | watusimoto | and I'm trying to figure out how to separate the two |
| 14:50:56 | hdon | however |
| 14:51:10 | hdon | the fact that you felt you had to make those latter changes |
| 14:51:10 | hdon | suggests that i may want to see them anyway |
| 14:51:13 | hdon | so that i can decide if there's a way to make oglconsole better |
| 14:51:20 | hdon | making people not feel they have to make such deep changes |
| 14:51:28 | watusimoto | well, of course you could look at them |
| 14:51:52 | hdon | well if i can just get my hands on a good diff and have the opportunity to say "what about this part?" that will be enough for me i think :) |
| 14:51:58 | watusimoto | there are also some ongoing display glitches |
| 14:52:15 | hdon | i tried diffing it against my current version and it's kind of ... noisy |
| 14:52:22 | hdon | oh please tell me about those |
| 14:52:36 | hdon | i just fixed a bug last night having to do with the console flashing on the screen once when you close it |
| 14:52:41 | watusimoto | btw, we use it for displaying scripting logs in game, and are trying to figure out how to use to to execute scripts and such |
| 14:52:49 | hdon | hmm |
| 14:52:55 | hdon | i USED to have a bunch of example programs with it |
| 14:53:05 | hdon | there was an example if you embed lua how to make it a lua shell |
| 14:53:08 | hdon | and python |
| 14:53:10 | watusimoto | but that's more a scripting issue than a console issue |
| 14:53:31 | hdon | what scripting language do you guys use? |
| 14:53:55 | watusimoto | when you fill the screen with text, it looks like the texture doesn't quite match the window size, and some columns get lost or scrunched |
| 14:54:00 | watusimoto | we use lua |
| 14:54:07 | hdon | hmm |
| 14:54:12 | hdon | i'll try to find my old lua example |
| 14:54:23 | watusimoto | I had originally hoped to use the console as an interactive debugger |
| 14:54:31 | watusimoto | but my lua skills are not up for that |
| 14:54:37 | hdon | as for this bug... is there an easy way for me to reproduce it? or can you show me a screenshot? |
| 14:54:50 | watusimoto | that was why I imported it in the first place |
| 14:54:56 | hdon | embedding lua is kind of shitty the first time you do it. then you just know how to do it. |
| 14:55:03 | watusimoto | I can't now, but next time I see it, which will probably be tonight, I can |
| 14:55:11 | hdon | ah ok :) |
| 14:55:32 | | raptor has joined |
| 14:55:32 | | ChanServ sets mode +o raptor |
| 14:55:33 | hdon | another thing i'm thinking about changing is... |
| 14:55:37 | watusimoto | as it happens I'm working on improving the stack traces for scripting errors, and that involves a lot of reading the console |
| 14:55:43 | hdon | right now when you resize the console |
| 14:55:46 | hdon | it just stretches your character's graphics |
| 14:55:47 | watusimoto | hi raptor |
| 14:55:58 | watusimoto | do you remember Donny Viszneki? |
| 14:55:58 | hdon | instead of resizing the console so that it can have more or less lines/columns |
| 14:56:00 | raptor | hi |
| 14:56:12 | raptor | i've have been frantically reading your conversation in the logs... |
| 14:56:15 | watusimoto | ha |
| 14:56:19 | raptor | oglconsole author... welcome! |
| 14:56:23 | hdon | hi thanks :) |
| 14:56:29 | watusimoto | he wants his console back! :-) |
| 14:56:48 | raptor | also, i have never seen glfw before in my life... looks like it is a replacement framework for GLUT.. |
| 14:57:00 | hdon | watusimoto, :P |
| 14:57:16 | watusimoto | we're trying to figure out how to logically backport the beneficial changes we've made |
| 14:57:19 | hdon | raptor, yeah that's what i think it is. in either case, i was just curious if you guys needed the bit of code that mentions it |
| 14:57:23 | raptor | uh... |
| 14:57:29 | raptor | backport our changes.. |
| 14:57:37 | watusimoto | yes |
| 14:57:38 | hdon | yeah that's what i'm going to do :) |
| 14:57:48 | watusimoto | it's going to be complicated, I think |
| 14:57:50 | hdon | but i also wanted to pick your brains |
| 14:58:01 | raptor | hmm.. we've essentially merged it to death with our code |
| 14:58:06 | watusimoto | hdon: can you pastie that noisy diff you made? |
| 14:58:17 | hdon | to make the process go smoothly and to perhaps make oglconsole more flexible so that, had you started using it now, you wouldn't have to make such big changes to it to use it :) |
| 14:58:22 | hdon | watusimoto, sure |
| 14:58:44 | watusimoto | must be shop class day |
| 14:59:24 | hdon | http://codebad.com/~hdon/oglconsole.c.patch.html |
| 14:59:41 | raptor | they're all on 017! |
| 14:59:47 | watusimoto | I think noisy is an appropriate description |
| 15:00:53 | hdon | indeed. i think i can produce a better diff just by changing some options but |
| 15:01:00 | hdon | i think first i just want to find the right revision to diff against |
| 15:03:06 | watusimoto | well, I think this comment answers your font question: |
| 15:03:08 | watusimoto | // There are two fonts available: The original ConsoleFont and the alternate PackedFont, |
| 15:03:08 | watusimoto | > // which is a chunkier, more pixelly font than ConsoleFont. |
| 15:03:13 | hdon | also i wanted to ask what OGLCONSOLE_CharEvent() was for. i think that might have been part of the port to glfw or something. |
| 15:03:28 | raptor | i ported it to SDL2 |
| 15:03:37 | hdon | ooh, thanks :) |
| 15:03:46 | hdon | what needed changing for that? |
| 15:03:46 | raptor | i probably added that to handle the SDL2 textinput API... |
| 15:03:59 | hdon | ohhhh |
| 15:04:08 | hdon | i remember seeing that discussed on the mailing list |
| 15:04:13 | hdon | at least |
| 15:04:23 | hdon | when people were talking about how to solve text input challenges in SDL |
| 15:04:33 | hdon | didn't have time to stick around and see the result though :( |
| 15:04:57 | raptor | before with SDL1.2 you had a key pressed event with a way to grab the unicode character |
| 15:05:18 | | hdon nods |
| 15:05:19 | raptor | but with SDL2 they are separate events: key press is different than text input |
| 15:05:31 | watusimoto | here is what I'm going to suggest |
| 15:05:40 | watusimoto | as the most practical way forward |
| 15:05:43 | hdon | iirc the purpose was to support various i18n functions that each windowing environment offers |
| 15:05:44 | raptor | so i had to figure out how to handle that in our code as well as adapt the console |
| 15:05:53 | hdon | and other accessibility technologies i guess |
| 15:06:03 | watusimoto | looking through this diff, there is no way to go back |
| 15:06:04 | hdon | seems like a good idea |
| 15:06:20 | raptor | watusimoto: looks like we added the console with changes in it already... |
| 15:06:29 | hdon | watusimoto, dont' bother looking too hard, i think i already have a good idea of what all the changes are |
| 15:06:34 | hdon | after talking with you :) |
| 15:06:36 | watusimoto | I would suggest creating a small project that uses a console |
| 15:06:45 | watusimoto | and just use our code as a starting point |
| 15:06:52 | watusimoto | and see what you like and what not |
| 15:06:58 | hdon | hmmmmmmmmm |
| 15:06:59 | hdon | a capital idea i think |
| 15:07:09 | watusimoto | because we started working around when you stopped |
| 15:07:29 | hdon | i got a job and got too busy for it :( |
| 15:07:42 | watusimoto | the only real question is whether Wouter Reckman's changes need to be incorporated |
| 15:07:42 | hdon | but now i am very unemployed so i have plenty of time |
| 15:08:15 | watusimoto | you only have 6 merges since 2009 |
| 15:08:16 | hdon | i think i received a couple patches from him but my git revision log only mentions him once, so i think i only committed one of his changes |
| 15:08:21 | watusimoto | 2 are removing dead code |
| 15:08:33 | watusimoto | one is adding a function (that we may have also added) |
| 15:08:50 | watusimoto | one looks somewhat trivial |
| 15:09:01 | watusimoto | and the remianing two can't be that bad |
| 15:09:27 | watusimoto | a lot of our game-specific changes were marked as such |
| 15:09:32 | watusimoto | though less so as time passed |
| 15:09:42 | watusimoto | but we did the big ones early |
| 15:09:53 | | hdon nods |
| 15:10:26 | hdon | if you don't know what the packedfont.c thing is i'd suggest removing it, the file never gets written, and probably your game doesn't depend on source code and recompiling in order to include the output file packedfont.c |
| 15:10:35 | hdon | "never gets written" |
| 15:10:37 | hdon | i mean never gets read |
| 15:10:43 | hdon | only written |
| 15:10:54 | hdon | the only way it gets read is by the compiler |
| 15:10:57 | watusimoto | packedFont is our alternate font, I think |
| 15:11:05 | hdon | well you may have a font file called packedfont.c |
| 15:11:23 | hdon | but it does not seem to me that this functionality of the game *writing* to a file with that name has anything to do with it |
| 15:11:27 | watusimoto | I figured this all out once |
| 15:11:31 | hdon | unless your game is also a font studio :) |
| 15:11:38 | watusimoto | and have almost entirely forgotten |
| 15:11:41 | hdon | and if your game is a font studio i really want it :) |
| 15:11:49 | watusimoto | not really! |
| 15:11:53 | hdon | bit rotten happens first in the brain :P |
| 15:11:55 | hdon | bit rot* |
| 15:12:17 | hdon | i'm surprised i was able to successfully make as many fixes and changes as i did last night in just a couple hours |
| 15:12:29 | hdon | it's probably easier for me to remember it |
| 15:12:42 | hdon | because wherever my memory fails me, i can resynthesize the thought process that went into it |
| 15:12:58 | hdon | oh i forgot about |
| 15:13:04 | hdon | TNL_OS_MOBILE |
| 15:13:06 | hdon | what's that macro do? |
| 15:13:25 | watusimoto | that's for our not really working port to android/ios |
| 15:13:28 | hdon | it's in a "BitFighter specific block" |
| 15:13:31 | hdon | ahh |
| 15:13:46 | hdon | i don't like touch arcade games |
| 15:13:47 | watusimoto | Anything with TNL is a macro from our networking library |
| 15:14:11 | hdon | arcade games were made because we had joysticks and buttons. touch screens don't have those things and i don't like their emulations :( |
| 15:14:19 | watusimoto | nope |
| 15:14:30 | hdon | but.... |
| 15:14:36 | hdon | maybe you could tilt to set your ship velocity |
| 15:14:40 | hdon | and touch to aim/fire |
| 15:14:48 | watusimoto | first it needs to run |
| 15:14:53 | raptor | ok, i'm off to work... |
| 15:14:53 | hdon | ah, yes |
| 15:14:58 | watusimoto | later! |
| 15:14:59 | hdon | nice meeting you raptor |
| 15:15:03 | hdon | thanks for porting oglconsole again :) |
| 15:15:06 | raptor | i'll be back, don't worry :) |
| 15:16:05 | hdon | microsoft has deprecated fopen() and vsnprintf() ?? |
| 15:16:18 | raptor | i think watusimoto did most of the legwork, i just made the code uglier.. |
| 15:16:31 | raptor | ok, back soon.. |
| 15:16:32 | watusimoto | I'm not sure; sometimes you just want it to shut up |
| 15:16:37 | hdon | lol |
| 15:16:59 | | raptor Quit () |
| 15:17:23 | hdon | maybe i should get up to speed with SDL2 |
| 15:17:38 | hdon | but... for my current project i have no problem just using SDL 1.2.x |
| 15:17:46 | hdon | is SDL2 just the name for SDL 1.3? |
| 15:18:03 | hdon | SDL 1.3 was the big change coming when i was still active on the SDL mailing list |
| 15:19:08 | watusimoto | I'm not sure about the history, but I would suggest moving to sdl2 when you can. lots of bugfixes and improvements |
| 15:47:15 | | morozowdmitry has joined |
| 15:47:28 | | morozowdmitry Quit (Remote host closed the connection) |
| 15:48:34 | | morozowdmitry has joined |
| 15:49:44 | morozowdmitry | hi, watusimoto |
| 15:49:53 | watusimoto | hi |
| 15:53:50 | morozowdmitry | i've already made something, where can i demonstrate it? |
| 15:54:29 | watusimoto | will it run on Mint? |
| 15:54:34 | watusimoto | If so, I can try it here |
| 15:55:05 | watusimoto | it should, as you said this would support gnome |
| 15:55:27 | watusimoto | otherwise, raptor can check it out when he gets back |
| 15:55:48 | morozowdmitry | probably yes. it requires PQT4 |
| 15:56:38 | morozowdmitry | Gtk StatusIcon doesn't work properly in KDE and Unity |
| 15:56:49 | morozowdmitry | so i used PQT4 |
| 15:59:03 | morozowdmitry | can i send the file by e-mail? |
| 15:59:59 | watusimoto | yes -- watusimoto@bitfighter.org |
| 16:01:39 | morozowdmitry | i'll improve it a bit, and will send it to you soon. is it ok? |
| 16:01:58 | watusimoto | great |
| 16:04:04 | morozowdmitry | ok, bye |
| 16:04:15 | | morozowdmitry Quit (Quit: Ex-Chat) |
| 16:05:30 | | raptor has joined |
| 16:05:30 | | ChanServ sets mode +o raptor |
| 16:06:00 | raptor | hello! |
| 16:06:38 | watusimoto | hi |
| 16:06:52 | raptor | pyQT4 |
| 16:06:55 | raptor | great! |
| 16:07:13 | watusimoto | is your kid playing on the keyboard again? |
| 16:07:20 | raptor | hehe |
| 16:07:35 | raptor | that's what the linux notifier used |
| 16:07:40 | raptor | uses |
| 16:07:48 | raptor | according to moozowdmitry |
| 16:07:54 | raptor | i buchered that.. |
| 16:11:22 | raptor | looks like sam686's server died.. |
| 16:13:00 | watusimoto | oddly, last night I was having problems connecting to the master |
| 16:13:08 | watusimoto | I kept getting id collisions |
| 16:13:17 | watusimoto | which are never supposed to happen |
| 16:13:34 | raptor | i've had that happen to me 2 or 3 times in the last year or so, too |
| 16:13:43 | watusimoto | strange |
| 16:13:54 | raptor | also Little_Apple said he was having the same problems over and over again one night |
| 16:14:03 | raptor | was in the summer, it hink |
| 16:14:04 | watusimoto | when I coded that, I thought I'd never see the message |
| 16:14:15 | watusimoto | so maybe somehting is not as random as it should be |
| 16:14:43 | raptor | i ran into the code the other night - it was based on the player name, i think |
| 16:15:32 | | hdon tries to build bitfighter |
| 16:15:40 | | LordDVG Quit (Remote host closed the connection) |
| 16:17:02 | hdon | i'm using revision 374f3059f42c from Sat Oct 06 01:00:36 2012 +0200 |
| 16:17:12 | hdon | i got some stl-related error messages. horay. |
| 16:17:19 | hdon | during linking, even |
| 16:17:27 | raptor | hdon: what OS? |
| 16:17:33 | hdon | gnu/linux |
| 16:17:58 | hdon | g++ 4.4.3 |
| 16:18:36 | raptor | what are the errors? |
| 16:18:49 | raptor | (use http://pastie.org or similar) |
| 16:21:32 | hdon | raptor, very bottom (obviously) http://pastebin.mozilla.org/2045493 |
| 16:21:52 | watusimoto | why are you building with an october codebase? |
| 16:22:05 | hdon | uh... that's what i got when i cloned, so i thought it was the latest |
| 16:22:08 | | hdon looks |
| 16:22:17 | raptor | oh haha, yeah - you'll need to apply the following patch |
| 16:22:18 | watusimoto | latest would be from yesterday or so |
| 16:22:24 | hdon | did you guys leave google code? |
| 16:22:27 | watusimoto | no |
| 16:22:31 | hdon | when i hg pull |
| 16:22:35 | raptor | https://build.opensuse.org/package/view_file?expand=1&file=bitfighter-fix-global-static-assert.diff&package=bitfighter&project=games |
| 16:22:36 | hdon | i get nothing out of it |
| 16:22:47 | hdon | i'm in default branch |
| 16:22:55 | | hdon clicks |
| 16:22:58 | watusimoto | weird |
| 16:23:06 | raptor | maybe that's the 018 release? |
| 16:23:13 | raptor | no no, we released after that.. |
| 16:23:30 | hdon | raptor, seems like the asserts are broken and i can just work around that by preprocessing them out? |
| 16:23:36 | raptor | huh, maybe check the pull URL in bitfighter/.hg/hgrc |
| 16:23:38 | watusimoto | http://code.google.com/p/bitfighter/source/list shows the most recent checkin less than 24 hrs ago |
| 16:23:41 | hdon | just looking at the patch and nothing else |
| 16:23:55 | hdon | hmm |
| 16:23:58 | hdon | i knew that, deep down |
| 16:24:00 | | hdon figures out what's wrong |
| 16:24:05 | hdon | default = https://code.google.com/r/vittoriogiovara-bitfighter-again/ |
| 16:24:11 | raptor | wrong! |
| 16:24:11 | hdon | can you guys hg paths and tell me what it says? |
| 16:24:14 | hdon | gah! |
| 16:24:24 | raptor | that's koda's experimental iOS branch... |
| 16:24:26 | watusimoto | hg clone https://watusimoto%40bitfighter.org@code.google.com/p/bitfighter/ |
| 16:24:41 | raptor | hdon: default = https://bitfighter.googlecode.com/hg/ |
| 16:24:48 | watusimoto | that's why it won't build! |
| 16:24:51 | hdon | ok watusimoto i'll just need your authentication credentials |
| 16:24:54 | hdon | :P |
| 16:24:57 | watusimoto | oops |
| 16:25:10 | raptor | yeah, i cannot guarantee koda's clone compiles... |
| 16:25:12 | | hdon pulls from new location |
| 16:25:18 | hdon | it has about |
| 16:25:23 | hdon | ten billion warnings |
| 16:25:29 | hdon | (the last build i tried) |
| 16:25:35 | raptor | getting better then! :) |
| 16:25:37 | hdon | but no errors except the linker problem |
| 16:25:55 | hdon | but... my C++ is rusty i wouldn't want to try to start remembering how to troubleshoot a linker error |
| 16:26:03 | hdon | with templates involved |
| 16:26:10 | raptor | yeah, i gave you the fix.. |
| 16:26:19 | raptor | and it only took me 4 weeks to figure out |
| 16:26:51 | watusimoto | is it _that_ fix? |
| 16:26:54 | hdon | ok i cleaned and am rebuilding |
| 16:26:57 | raptor | yeah... |
| 16:27:05 | watusimoto | that's not in the codebase? |
| 16:27:08 | raptor | it is! |
| 16:27:21 | raptor | just not in october |
| 16:27:28 | hdon | raptor, that doesn't look like a fix it looks like a work-around |
| 16:27:57 | | hdon shrugs |
| 16:27:58 | watusimoto | checkout the latest and build that! |
| 16:28:06 | raptor | well, technically - that's how it was originally until i figured out how to do compile time asserts |
| 16:28:10 | hdon | i'm doin it |
| 16:29:10 | hdon | i once wrote a C++ header that used templates to address individual i/o pins on an msp mcu... |
| 16:29:18 | hdon | no more templates! |
| 16:30:00 | | hdon attempts to justify his cowardice with moral indignation |
| 16:30:08 | hdon | s/justify/cover up |
| 16:31:06 | hdon | it linked |
| 16:31:13 | raptor | great! |
| 16:31:22 | hdon | should i make install or just run it? |
| 16:31:49 | hdon | i tried running it and the lua interpreter could not be configured |
| 16:31:59 | hdon | and it can't find my sounds |
| 16:32:01 | hdon | hmm |
| 16:32:04 | hdon | it's looking in /usr/share |
| 16:32:15 | hdon | can i configure with a --prefix=/usr/local ? |
| 16:32:29 | raptor | ah |
| 16:32:30 | raptor | well.. |
| 16:32:39 | raptor | sort of |
| 16:33:12 | raptor | what distro? |
| 16:33:20 | raptor | we don't have a 'make install' |
| 16:33:46 | raptor | just go into the exe/ folder and soft link all ../resource/* directories |
| 16:33:51 | raptor | and run the binary from there |
| 16:34:19 | raptor | if you're looking for an installation, then you can check out various packages for the game.. |
| 16:34:37 | hdon | oh |
| 16:34:43 | hdon | but |
| 16:34:47 | hdon | it clearly looked in /usr/share |
| 16:34:55 | hdon | i'll follow your instructions :) |
| 16:35:27 | raptor | it sure did - it makes a best guess if no resources are found, and since i'm the Linux maintainer, my distro defaults to /usr/share... :) |
| 16:38:22 | hdon | raptor, does my cwd matter? |
| 16:38:50 | hdon | http://pastebin.mozilla.org/2045498 |
| 16:39:37 | raptor | shouldn't matter... |
| 16:39:42 | raptor | odd, no libmodplug? |
| 16:39:54 | hdon | ugh, i didn't notice i needed it |
| 16:40:11 | raptor | ok do the following: rm -r ~/.bitfighter/ |
| 16:40:15 | hdon | is it trying to fall back to wav files when the mods aren't there? |
| 16:40:22 | hdon | done |
| 16:40:23 | raptor | remove the home preference directory |
| 16:40:27 | raptor | ok, now re-run |
| 16:40:52 | raptor | (and install libmodplug if you want music) |
| 16:41:03 | hdon | identical output. ENOENT lua_helper_functions and game will proceed without sound |
| 16:41:13 | hdon | and console lua interpreter doesn't exist aborting environemnt setup |
| 16:41:24 | raptor | that's just because i cannot find your script/ folder |
| 16:41:33 | raptor | uhh |
| 16:42:04 | raptor | is your ~/.bitfighter folder have the resources in it? |
| 16:42:06 | raptor | *does |
| 16:43:56 | hdon | i would guess not let me look |
| 16:44:01 | hdon | i symlinked them into exe like you said |
| 16:44:11 | hdon | it's in the pastebin see if i did it right |
| 16:44:19 | raptor | actually, you can just create a standalone version: in the exe folder do: touch .standalone |
| 16:44:30 | raptor | you did it right, but maybe you found a bug in something... |
| 16:44:41 | hdon | at least it wasn't in my coffee |
| 16:45:12 | hdon | according to apt i already have libmodplug installed |
| 16:45:45 | hdon | /usr/include/libmodplug/modplug.h etc. |
| 16:46:01 | raptor | do: ldd ./bitfighter |
| 16:46:05 | raptor | on the executable |
| 16:46:13 | raptor | tell me if there are an 'not found' s |
| 16:46:20 | hdon | well |
| 16:46:26 | hdon | ok |
| 16:46:53 | hdon | wouldn't the linker have cried already when i was linking? if you guys use dlopen() it won't show up here anyhow |
| 16:47:01 | raptor | les |
| 16:47:02 | raptor | yes |
| 16:47:05 | hdon | libmodplug.so.0 => /usr/lib/libmodplug.so.0 (0x00007f5a9404c000) |
| 16:47:45 | raptor | so why is it loading libmodplug.so.1?? weird.. |
| 16:48:28 | hdon | oh, i didn't even notice that. i wanted to make it find its assets first |
| 16:48:33 | hdon | i'll deal with libmodplug next |
| 16:48:37 | hdon | let's make it find its wavs |
| 16:49:03 | raptor | you can add a file '.standalone' in the exe folder to do that |
| 16:49:26 | raptor | my guess is you did a release, not debug, build |
| 16:49:46 | raptor | make debug |
| 16:50:12 | raptor | release builds require setting the LINUX_DATA_DIR |
| 16:50:28 | raptor | (see config.h) |
| 16:51:01 | hdon | raptor, sorry i didn't try your .standalone thing |
| 16:51:03 | hdon | it worked |
| 16:51:06 | hdon | i hear music even |
| 16:51:10 | raptor | yay |
| 16:51:16 | hdon | i bet, raptor |
| 16:51:21 | hdon | that if i do strace on ldd |
| 16:51:29 | hdon | i will see that it too tried to open libmodplug.so.1 |
| 16:51:30 | hdon | and failed |
| 16:51:33 | hdon | and then found libmodplug.so.0 |
| 16:51:39 | raptor | try it |
| 16:53:58 | hdon | will in a second, phone, brb |
| 16:56:51 | raptor | watusimoto: I have a leaky head gasket on my car (so antifreeze is leaking); and the mechanic said the $1200 repair job wouldn't be worth it given the age of the motor |
| 16:57:07 | watusimoto | ouch! |
| 16:57:08 | raptor | soo... any ideas? (i know, not Bitfighter related...) |
| 16:57:35 | watusimoto | refactor it! |
| 16:57:47 | raptor | i'd need a proper IDE.. |
| 16:58:04 | watusimoto | I assume you are not up for doing it yourself |
| 16:58:11 | watusimoto | hold, on, boss wants to chat... |
| 16:58:13 | watusimoto | brb |
| 16:59:53 | raptor | i could set aside time to do it myself - i'm generally good with my hands, i have tools, i have the $25 car repair manual.. but i don't have anything to lift the car or the skill to make any new parts fit old parts with metal cutting... |
| 17:01:50 | hdon | raptor, i recommend going to a scrap yard to find a part that fits but is in working condition |
| 17:01:58 | hdon | if you don't want to be trying to make two unfitting parts fit |
| 17:06:54 | raptor | a new head gasket set only costs 50 - 70 dollars! |
| 17:08:48 | hdon | it's just a flat piece of steel |
| 17:09:11 | | hdon laments how even car technology prices are inflated by weak consumers |
| 17:09:22 | raptor | ha |
| 17:49:06 | watusimoto | whew |
| 17:49:47 | watusimoto | the gasket itself is cheap, but there is a lot of stuff to get out of your way |
| 18:06:34 | | watusimoto Quit (Ping timeout: 248 seconds) |
| 18:27:00 | kaen | pretty good log this morning, #bitfighter |
| 18:27:03 | kaen | interesting read. |
| 18:27:10 | raptor | took forever.. |
| 18:27:52 | kaen | true that |
| 18:29:12 | kaen | raptor if you don't even have a jack I can't recommend replacing your own head gasket. |
| 18:29:22 | kaen | it's not really a diy thing for most cars |
| 18:30:02 | kaen | you're likely to end up with a pile of disassembled engine parts, which is harder to sell than a assembled engine parts. |
| 18:30:15 | raptor | no? do you have some experience? i imagine that there is a lot of labor involved, and lots of parts... |
| 18:31:48 | kaen | I do a little bit with my own car, and my dad has worked on cars for like 25 years |
| 18:32:04 | kaen | (as a hobby) |
| 18:32:09 | kaen | he still doesn't replace his own head gaskets. |
| 18:32:51 | raptor | oh really.. |
| 18:33:00 | raptor | they must be pretty gnarly, then |
| 18:33:10 | kaen | it took the two of a us a whole weekend to move all of the parts out of the way on my old camaro |
| 18:33:29 | kaen | just for him to demonstrate to me why we were parting the car out instead of fixing it |
| 18:33:39 | raptor | ha! |
| 18:34:18 | raptor | ok, so it's an inordinate amount of work.. |
| 18:34:28 | raptor | well, now what to do |
| 18:35:36 | kaen | try to find someone who wants to fix it :) |
| 18:35:50 | kaen | is it an expensive one? |
| 18:37:08 | raptor | the mechanic (who's been decent over the years) said it would be $1000 to replace + $200 to have the machinist make sure it fits just right |
| 18:37:25 | raptor | i asked him if he said the work was worth it, and he said no |
| 18:37:40 | raptor | the car is so old anyways (it has 150,000 miles) |
| 18:37:48 | raptor | almost 20 years old |
| 18:40:58 | raptor | unless that wasn't your question? maybe i misunderstood.. |
| 18:45:25 | hdon | does bitfighter support IPX? |
| 18:48:28 | raptor | TNL does... but i've never actually seen it run on IPX... |
| 18:48:51 | raptor | we need to update TNL to support ipv6 some day... but that's going to be a beast |
| 18:49:00 | hdon | where did TNL come from? |
| 18:49:07 | hdon | why will it be such a beast? |
| 18:49:08 | raptor | Torque Network Library |
| 18:49:25 | raptor | they open sourced their first iteration of it several years ago |
| 18:49:39 | hdon | ah |
| 18:49:46 | raptor | ipv6 handling will require a lot of new code/refactoring/research |
| 18:50:58 | | YoshiSmb has joined |
| 18:51:17 | hdon | that seems odd |
| 18:51:25 | hdon | they really aren't that much different |
| 18:51:38 | raptor | 32 bit vs 128 bit? |
| 18:51:45 | raptor | that seems pretty different to me... |
| 18:51:53 | hdon | you mean the address size? |
| 18:51:59 | hdon | i don't think that really matters |
| 18:52:22 | hdon | TNL appears to even give you classes to abstract you away from things like IP addresses and perhaps datagrams as well |
| 18:52:38 | hdon | which means not having to change game code probably, though the datagram payload size might be an issue |
| 18:52:43 | YoshiSmb | hi. it everything is ok? |
| 18:52:47 | raptor | part of the problem is that TNL uses old deprecated interfaces for ip4 |
| 18:53:07 | raptor | none of which work for ipv6 |
| 18:55:03 | hdon | on... windows you mean? |
| 18:55:08 | raptor | an linux |
| 18:55:12 | raptor | *and |
| 18:55:27 | raptor | i should say *NIX |
| 18:55:37 | hdon | if you know, which APIs are deprecated that it uses? |
| 18:55:46 | hdon | on linux |
| 18:56:02 | raptor | looking quickly.. |
| 18:56:17 | | bobdaduck has joined |
| 18:56:42 | raptor | gethostbyname() is the one my packaging system complains about, and it uses a different struct for net data |
| 18:56:57 | raptor | getaddrinfo() is supposed to be the replacement |
| 18:57:03 | raptor | but i haven't had time to do that much research |
| 18:57:18 | hdon | ah, yeah |
| 18:57:26 | hdon | idk, it doesn't seem like a very big deal to me |
| 18:57:49 | bobdaduck | Goodmorning, gentlemen. |
| 18:57:52 | hdon | on linux at least |
| 18:57:53 | hdon | i don't know about other platforms |
| 18:58:33 | raptor | hdon: we'd have to make sure it works on all platforms - it's a lot of research for me (since I'm not too familiar with the IP* code) and I don't have the time at the moment.. |
| 18:58:37 | raptor | hi bobdaduck |
| 18:58:46 | bobdaduck | Can we have the google design another in-editor tool, like the curve tool? (Hotkey is like ctrl-; or something) |
| 18:59:04 | bobdaduck | ...Granted, I don't even have anything in mind. But still. |
| 18:59:15 | raptor | bobdaduck: please rephrase your question, i do not know what 'the google' is |
| 18:59:41 | raptor | oh |
| 18:59:48 | raptor | you mean the Google Code-In students? |
| 19:00:06 | bobdaduck | Yeah sure that. |
| 19:00:09 | bobdaduck | The google guys. |
| 19:00:16 | raptor | GCI students... |
| 19:00:32 | raptor | hmm... a plugin should be too hard... |
| 19:00:42 | raptor | *shoudn't |
| 19:01:02 | hdon | "google summer of code," "google code-in"... somehow "code-in" sounds a lot like "shut-in" |
| 19:01:43 | bobdaduck | The google guys. |
| 19:01:44 | raptor | GCI is almost over, i think next week is the last.. |
| 19:01:50 | bobdaduck | Okey |
| 19:02:44 | bobdaduck | Out of curiosity, how did they get their projects? |
| 19:04:15 | raptor | we are part of a 'mentoring orginazation' and we put up some tasks to do |
| 19:04:45 | raptor | then the students from all over the world who sign up with Google can choose an organization and task to do through a website Google has set up |
| 19:05:07 | bobdaduck | That's cool. |
| 19:05:14 | raptor | her eis the site: https://google-melange.appspot.com/gci/homepage/google/gci2012 |
| 19:05:31 | raptor | shadowX.loner is on! |
| 19:05:55 | bobdaduck | I'm at work! |
| 19:05:58 | bobdaduck | Tell him Hi for me. |
| 19:08:11 | | ShadowXLoner has joined |
| 19:08:24 | bobdaduck | Nevermind I'll tell him myself. |
| 19:08:28 | bobdaduck | "Hi shadow!" |
| 19:08:37 | ShadowXLoner | 'Sup ya'll? |
| 19:08:42 | raptor | hello hello |
| 19:08:43 | ShadowXLoner | Long time no see. |
| 19:09:44 | ShadowXLoner | How's Bitfighter been doing in my absence? |
| 19:13:25 | ShadowXLoner | Opti still a loveable nuisance? |
| 19:14:27 | raptor | i don't think i've seen him in a game for a while... |
| 19:15:06 | ShadowXLoner | I haven't seen many people in a game for a while :D |
| 19:15:42 | ShadowXLoner | I'll be back later guys. Got life shit to do. |
| 19:16:04 | raptor | later |
| 19:17:23 | kaen | pfft. life. |
| 19:17:52 | raptor | eat, drink, breathe bitfighter! |
| 19:17:54 | kaen | raptor, I've been having the craziest problem |
| 19:18:03 | raptor | uh oh.. |
| 19:18:09 | kaen | when I join a game, I never finish connecting. |
| 19:18:18 | kaen | it just hangs right where the connection should complete |
| 19:18:21 | raptor | with the current code? |
| 19:18:22 | kaen | latest hg |
| 19:18:25 | kaen | oh |
| 19:18:26 | raptor | hmmm... |
| 19:18:29 | kaen | but here's the thing |
| 19:18:44 | kaen | works fine with a stock clone. only my swarm clone has the problem |
| 19:18:45 | kaen | but |
| 19:18:56 | kaen | I have checked and double and triple checked the code |
| 19:19:08 | kaen | and I can not find anything that would cause the behavior |
| 19:19:16 | kaen | it's an assertion |
| 19:19:25 | raptor | bit size problem? |
| 19:19:34 | kaen | something to do with an invalid name or something |
| 19:19:37 | kaen | let me find it |
| 19:20:10 | kaen | (fixed gdb freezing, btw: it was fglrx's fault) |
| 19:20:15 | raptor | ha! |
| 19:20:21 | raptor | what driver are you using now? radeonhd? |
| 19:21:39 | kaen | zap/gameConnection.cpp:87 |
| 19:21:45 | kaen | just radeon |
| 19:21:47 | kaen | afaik |
| 19:22:04 | kaen | 86 TNLAssert(mClientInfo->getName() != "", "Client has invalid name!"); |
| 19:22:40 | raptor | ah that - i've triggered that when i've connected *without* supplying a username to master |
| 19:22:53 | kaen | huh |
| 19:23:09 | kaen | let me see... |
| 19:23:33 | raptor | but it doesn't have to do with connecting to master exactly, rather that the game has no username and therefore cannot fill out the clientInfo properly |
| 19:24:02 | | YoshiSmb Quit (Ping timeout: 245 seconds) |
| 19:24:28 | kaen | sorry I mixed up my bugs |
| 19:24:50 | kaen | the assertion I fixed by editing my config file back to normal.... |
| 19:25:03 | kaen | and now I'm getting the actual hang on connection to a server |
| 19:25:18 | raptor | yeah, i'm no entymologist either... |
| 19:25:38 | kaen | haha |
| 19:28:58 | raptor | i've had that hang when there is a protocol mismatch |
| 19:32:04 | kaen | oh boy. |
| 19:32:23 | kaen | alright that makes sense. |
| 19:32:32 | raptor | so if you add/remove an s2c or c2s anywhere, you need to change the protocol number |
| 19:32:40 | kaen | ooph |
| 19:32:41 | kaen | that's it then |
| 19:32:43 | raptor | OR... |
| 19:32:45 | raptor | wait |
| 19:32:48 | raptor | there is a workaround... |
| 19:32:51 | kaen | okay |
| 19:33:12 | raptor | see what sam686 did here: http://code.google.com/p/bitfighter/source/detail?r=6c32224282337a806341fdadec1dbdabd80891f1 |
| 19:33:45 | raptor | see that ', 1' at the end there? |
| 19:33:59 | raptor | if you increment that for the RPC, it will work for the current protocol |
| 19:34:15 | raptor | so for instance if the highest number in other RPCs is 1 then you use 2 |
| 19:34:22 | raptor | be back soon - meeting... |
| 19:34:28 | kaen | k tahnks |
| 19:34:29 | kaen | thanks. |
| 19:37:27 | kaen | now that I think about it, there's no reason to care about this bug at all |
| 19:37:47 | kaen | I can't join release servers in my experimental branch... no surprise there |
| 19:38:02 | kaen | (not even really a bug) |
| 19:45:34 | bobdaduck | lol |
| 19:48:50 | bobdaduck | kaen teach me how to rogue |
| 19:49:54 | kaen | daggers |
| 19:49:59 | kaen | are you daggering hard enough? |
| 19:50:15 | kaen | wield one until you get up to expert |
| 19:50:22 | kaen | you can throw like 5 daggers per turn at that level |
| 19:50:29 | kaen | then make a stack of enchanted daggers |
| 19:50:45 | kaen | if you have good luck and a stack of +4 or +5 daggers, the game is easy |
| 19:51:03 | kaen | also, rogues are super duper squishy for a melee class, so get your AC down fast |
| 19:51:11 | kaen | do you know about dwarven mithril? |
| 19:51:53 | kaen | anyway, try to pick some up from the mines |
| 19:52:16 | kaen | (I assume you know to get lots of armor anyway, but it's really important for rogues) |
| 19:52:40 | kaen | aaaand that's pretty much the early game |
| 19:53:02 | kaen | also, you'll probably need to spam elbereth a ton |
| 19:53:21 | kaen | that's kind of the difference between ascending characters and just dying a lot. |
| 20:03:51 | bobdaduck | Sorry was afk |
| 20:04:03 | bobdaduck | What about dwarven mithril? |
| 20:04:19 | bobdaduck | lol yeah, elbereth. |
| 20:05:12 | bobdaduck | See, I pretty much have only ever ascended based on finding an early wish. |
| 20:05:30 | bobdaduck | Not enough to be a level 1 suicidal fountain quaffer (usually) but still. |
| 20:05:42 | bobdaduck | I tend to not do well unless I have top-tier equipment. |
| 20:06:52 | kaen | see, real nethack strategy is basically "how do I get to the castle" |
| 20:07:02 | kaen | (where you get at least three wishes |
| 20:07:03 | kaen | ) |
| 20:07:38 | bobdaduck | lol |
| 20:07:43 | kaen | d mith is the best armor after DSM |
| 20:07:45 | bobdaduck | Dig for victory! |
| 20:07:49 | kaen | yeah. |
| 20:07:54 | kaen | that's what Maud does |
| 20:08:05 | bobdaduck | You know of dig for victory? |
| 20:08:06 | kaen | most of his ascensions are arcs |
| 20:08:09 | kaen | yes. |
| 20:08:10 | bobdaduck | I read it somewhere and laughed. |
| 20:08:22 | bobdaduck | arcs? |
| 20:08:32 | kaen | archeologist |
| 20:08:41 | bobdaduck | ohright. |
| 20:08:42 | bobdaduck | xD |
| 20:09:08 | bobdaduck | So what do you do? |
| 20:09:49 | kaen | to ascend? |
| 20:09:55 | kaen | it's a long process. |
| 20:10:19 | bobdaduck | Well, yeah. |
| 20:10:27 | bobdaduck | Help me figure out early game. |
| 20:10:43 | bobdaduck | I usually do fine until a leocrotta appears and kills me in one hit. |
| 20:11:38 | kaen | but in order of importance: good gear (AC <= -1), escape items, MR, reflection or a BoH, some source of perma E |
| 20:11:52 | kaen | at AC -1 you start reducing the amount of damage you take |
| 20:12:02 | kaen | everything above that just makes it more likely to miss |
| 20:12:36 | bobdaduck | Ah, didn't know that. |
| 20:12:43 | kaen | AC is the silent killer |
| 20:12:53 | bobdaduck | (what's BoH?) |
| 20:12:58 | kaen | bag of holding |
| 20:13:09 | kaen | pretty much essential in your ascension kit. |
| 20:13:09 | bobdaduck | (and perma E?) |
| 20:13:15 | bobdaduck | Oh right. |
| 20:13:18 | kaen | wand of fire or lightning |
| 20:13:24 | kaen | to burn Elbereth onto a tile |
| 20:13:24 | bobdaduck | I don't know these acronyms is all |
| 20:13:40 | kaen | MR is magic resistance |
| 20:13:44 | bobdaduck | ah. |
| 20:13:51 | kaen | you also need MC 3, but that's covered in "good gear" |
| 20:13:55 | kaen | d mith provides MC 3 |
| 20:14:24 | kaen | you might want to learn about magic resistance vs magic cancellation |
| 20:14:36 | bobdaduck | MC is like... Makes you less likely to get stoned by a cockatrice and stuff? |
| 20:14:51 | kaen | and stuff. |
| 20:15:00 | kaen | MR is more for immediate attacks |
| 20:15:12 | kaen | MC has three levels, MR you either have it or don't |
| 20:15:18 | kaen | and also there's Reflection |
| 20:15:26 | kaen | which protects your items |
| 20:15:29 | kaen | and stuff. |
| 20:15:33 | bobdaduck | Right |
| 20:15:43 | kaen | also saves you from gazing monsters |
| 20:15:45 | bobdaduck | I usually get silver dragon scale mail and a cloak of magic resistance. |
| 20:15:52 | kaen | that's the gold standard of gear |
| 20:16:05 | kaen | although some quest artifacts give MR, which is sweet |
| 20:16:16 | bobdaduck | Yeah |
| 20:16:23 | kaen | alternatively, GDSM and a "oReflection |
| 20:16:24 | bobdaduck | But the wizard steals quest artifacts |
| 20:16:34 | bobdaduck | I DO NOT KNOW ACRONYMS. |
| 20:16:37 | kaen | not frequently |
| 20:16:38 | bobdaduck | :P |
| 20:16:46 | kaen | gray dragon scale mail |
| 20:16:53 | bobdaduck | Okay |
| 20:16:54 | kaen | amulet (") of reflection |
| 20:17:04 | bobdaduck | ah |
| 20:17:04 | kaen | they're pretty intuitive |
| 20:17:11 | bobdaduck | On my phone I play with a tile set >.< |
| 20:17:14 | kaen | oh |
| 20:17:20 | kaen | then they will not be... |
| 20:17:30 | bobdaduck | lol |
| 20:17:41 | kaen | you should join #nethack |
| 20:17:46 | kaen | they'll teach much better than I can |
| 20:17:56 | kaen | you'll get waaaaaay more advice than you want, I promise |
| 20:18:28 | bobdaduck | lol |
| 20:18:36 | kaen | (there are 275 people in there right now) |
| 20:19:27 | bobdaduck | holy people. |
| 20:19:30 | bobdaduck | xD |
| 20:19:38 | bobdaduck | lol |
| 20:19:55 | kaen | see what I did there? |
| 20:20:12 | bobdaduck | Yeah |
| 20:20:20 | bobdaduck | wall of text incoming |
| 20:20:45 | kaen | no, you'll have to strike up a real conversation |
| 20:20:49 | kaen | tell them what you've tried |
| 20:20:53 | kaen | describe a specific problem |
| 20:22:21 | bobdaduck | Well, they seem congenial. |
| 20:23:17 | kaen | they're a nutty group |
| 20:23:35 | kaen | among them are PhDs of mathematics and fellows at MIT |
| 20:23:52 | kaen | many are programmers too. |
| 20:25:30 | bobdaduck | lol |
| 20:36:07 | raptor | so tell me, what is a good interface for nethack? |
| 20:36:10 | raptor | the original? |
| 20:36:53 | bobdaduck | I play it on my smartphone using a tileset |
| 20:37:01 | bobdaduck | I actually have a hard time playing it on the computer now |
| 20:38:00 | bobdaduck | @kaen: What is "rodney" on #nethack? |
| 20:38:12 | bobdaduck | It seems like a bot but its reporting on peoples deaths and stuff |
| 20:44:42 | kaen | it's a bot |
| 20:44:49 | kaen | reporting on people's deaths and stuff |
| 20:45:01 | kaen | only people who are playing on the server |
| 20:45:23 | kaen | raptor, I find it unplayable without a keyboard |
| 20:45:53 | kaen | most people find in unplayable without "tiles" (little pictures instead of the usual letters) |
| 20:46:16 | kaen | when I play I use a terminal with a massive font size at full screen |
| 20:46:43 | bobdaduck | lol |
| 20:46:46 | kaen | but I have a 16:9 screen, so that helps |
| 20:46:54 | raptor | aach, does it require root? i think my nethack package is broken... |
| 20:47:04 | kaen | not supposed to |
| 20:47:05 | bobdaduck | I played the original rogue |
| 20:47:08 | bobdaduck | that was fun. |
| 20:47:12 | kaen | unless you're playing in wizard mode |
| 20:48:02 | | Watusimoto has joined |
| 20:48:07 | kaen | wait, I remember this from somewhere. I used a distro once where I had to like setuid the nethack binary |
| 20:48:30 | kaen | it had something to do with a debian policy |
| 20:50:35 | kaen | raptor, if you telnet to nethack.alt.org you can play without installing anything |
| 20:50:39 | kaen | although I think you have to register. |
| 20:52:19 | bobdaduck | kaen can I play with tiles on Nao? |
| 20:53:06 | Watusimoto | hi |
| 20:53:50 | Watusimoto | so raptor: my thoughts... buy a new car |
| 20:54:08 | Watusimoto | or, better, a good used car |
| 21:00:45 | kaen | bobdaduck, yes but I forget how |
| 21:01:26 | kaen | bobdaduck http://junction404.com/#ebonhack |
| 21:02:14 | bobdaduck | The flash client is weird |
| 21:02:27 | bobdaduck | and pressing down doesn't make the character go down |
| 21:02:45 | bobdaduck | and up doesn't make the character go up |
| 21:03:02 | bobdaduck | Its treating up as a 'T' |
| 21:20:27 | raptor | except i'm a poor college student again... |
| 21:31:42 | kaen | bobdaduck, you need to use vikeys |
| 21:31:45 | kaen | hjkl |
| 21:31:50 | kaen | yunm |
| 21:33:07 | kaen | that looks like gibberish now that I read it... http://nethackwiki.com/wiki/Vikeys |
| 21:37:53 | bobdaduck | lol |
| 21:37:56 | bobdaduck | Its fine |
| 21:38:02 | bobdaduck | Ebonhack works |
| 21:55:20 | raptor | Watusimoto: i figured out how to open an anonymous connection and close it again after it performs an action... but you might not like it |
| 21:55:35 | raptor | i used a callback |
| 21:55:35 | Watusimoto | uh oh |
| 21:55:44 | raptor | with really funky syntax |
| 21:55:49 | Watusimoto | oh brother |
| 21:56:35 | Watusimoto | funky like this? http://www.youtube.com/watch?v=5CImrIKNmBo |
| 21:57:13 | bobdaduck | Funky like funkytownnnn |
| 21:57:22 | raptor | i can't believe i'm watching that... |
| 21:57:40 | bobdaduck | lol |
| 21:59:14 | raptor | using syntax here: http://www.newty.de/fpt/fpt.html |
| 21:59:25 | raptor | specifically 2.1 and 2.5 |
| 22:00:12 | raptor | typedef void (MasterServerConnection::*callback) () |
| 22:00:43 | raptor | then in the connection: (*this.*callback)(); |
| 22:01:54 | Watusimoto | what ultimate design did yo settle for? caller explicitly requests motd, then terminates when it gets it? |
| 22:02:14 | Watusimoto | or server just sends it on connect? |
| 22:03:10 | raptor | the first |
| 22:03:19 | raptor | caller sets callback of c2mRequestMOTD |
| 22:03:38 | raptor | then in m2cSetMOTD, it disconnects if it was an anonymous connection... |
| 22:04:00 | bobdaduck | Arg kaen, these tiles are SLIGHTLY different than what my phone uses. A dagger has the look of an athame, for example |
| 22:04:02 | raptor | it would be cleaner to disconnect in the same block as calling the callback |
| 22:04:15 | raptor | but it disconnects before the response it gotten from master... |
| 22:05:00 | Watusimoto | oh -- would be cleaner to do c2mRequestMotd(); disconnect()? |
| 22:05:07 | raptor | correct |
| 22:05:15 | raptor | but it disconnects too quickly |
| 22:05:35 | Watusimoto | but you need to do c2mRequestMotd().... wait... then in m2cHere'sMotd() you do the disconnect |
| 22:05:44 | raptor | correct |
| 22:05:49 | raptor | i was hoping for some disconnect(1000), or the like, but it doesn't really exist |
| 22:05:58 | Watusimoto | that would be hacky too |
| 22:06:03 | raptor | heh, so true |
| 22:06:22 | Watusimoto | why not create a m2cSendMotdAndDisconnect() method |
| 22:06:32 | raptor | i do... |
| 22:06:33 | Watusimoto | where does the callback come in? |
| 22:06:34 | raptor | sort of |
| 22:06:50 | raptor | in m2cSendMotd, it calls terminateIfAnonymous() |
| 22:07:05 | raptor | the callback comes in onConnectionEstablished |
| 22:07:18 | raptor | it runs the callback there |
| 22:07:36 | raptor | so theoretically a callback can be used on any type of connection, anonymous or not |
| 22:07:51 | Watusimoto | what does that callback do? request the motd? |
| 22:07:54 | raptor | yes |
| 22:08:09 | raptor | but the trick is to add my terminateIfAnonymous() method to whatever method you want to disconnect on |
| 22:08:23 | Watusimoto | oh, because different connections could be establisned and would all call onConnEst |
| 22:08:36 | raptor | yes |
| 22:08:40 | Watusimoto | and only one sort needs to call getMotd |
| 22:08:44 | raptor | yes |
| 22:08:57 | Watusimoto | so let me ask this |
| 22:09:01 | Watusimoto | is this worth it? |
| 22:09:02 | raptor | i am trying my hardest to make the code useable for future case scenarios |
| 22:09:05 | raptor | yes, well... |
| 22:09:13 | raptor | i learned some funky syntax! |
| 22:09:33 | raptor | this is all in preparation so we don't need UINameEntry on start up |
| 22:09:44 | Watusimoto | yes, I know |
| 22:10:04 | Watusimoto | but we are taking a relatively clean system and making it rather complex and convoluted |
| 22:10:37 | Watusimoto | what about going back to the idea of retrieving the MOTD via independent channels (such as HTTP)? |
| 22:10:55 | raptor | yes... |
| 22:11:11 | Watusimoto | and not trying to overload a system designed for building persistent connections in this way? |
| 22:11:25 | raptor | i thought we settled on anonymous master connections for some reason, but now i don't remember why... |
| 22:11:39 | Watusimoto | we did |
| 22:11:43 | Watusimoto | for a couple of reasons |
| 22:11:56 | Watusimoto | 1) use common port |
| 22:12:05 | Watusimoto | 2) we have no http capactiy currently |
| 22:12:11 | Watusimoto | 3) code reuse |
| 22:12:19 | Watusimoto | 4) we didn;t realize how ugly things would get |
| 22:12:29 | raptor | ah yes - we'd have to code http GET, etc.. |
| 22:12:43 | Watusimoto | well, we could build in curl |
| 22:12:56 | raptor | yes - but then i'd have to get that compiled on windows.. |
| 22:13:07 | Watusimoto | we already do, for the updater |
| 22:13:12 | raptor | really?? |
| 22:13:15 | Watusimoto | yes |
| 22:13:23 | Watusimoto | that's how we get the .exe |
| 22:13:36 | Watusimoto | I'm 99% sure |
| 22:13:44 | raptor | it doesn't use it's own home-grown stuff? |
| 22:13:47 | raptor | huh |
| 22:13:56 | Watusimoto | I don't think so |
| 22:14:19 | Watusimoto | verifying now |
| 22:14:46 | Watusimoto | we use libcurl |
| 22:14:55 | Watusimoto | we have a dll |
| 22:15:06 | raptor | what |
| 22:15:14 | raptor | statically linked or distributed? |
| 22:15:57 | Watusimoto | I am not sure... all the source is there as well |
| 22:16:36 | Watusimoto | there is a libcurl.dll in the bitfighter/updater folder |
| 22:16:38 | raptor | huh |
| 22:17:10 | Watusimoto | oh, and 5) we didn;t want the additional dependency of a web server |
| 22:18:01 | Watusimoto | but how important is it to get the login name off the initial screen? |
| 22:18:23 | Watusimoto | (when comparing designs, you always need to include the no-build option) |
| 22:18:39 | raptor | what really makes it all complicated is the 'system designed for persistent connections' i.e. that curse`d Game::checkConnectionToMaster() method in the idle() loops.... |
| 22:18:49 | | amgine123456790 has joined |
| 22:18:57 | Watusimoto | how so? |
| 22:19:19 | Watusimoto | we could possibly get rid of that if that were the problem |
| 22:19:29 | amgine123456790 | hi wattisimo did you see my post. |
| 22:19:40 | Watusimoto | hi amgine123456790 ??? |
| 22:19:53 | raptor | because it's constantly checking to make sure it is connected, if not it tries to reestablish the connection; it also has loads of other checks all with loop-aware logic |
| 22:20:37 | Watusimoto | what if we added a "if notSupposedtoBeConnectedYet { return; }" at the top? |
| 22:20:42 | raptor | well, i kind of agree with koda, that it'd be nice to jump straight to the main screen |
| 22:20:57 | Watusimoto | I kind of do too |
| 22:21:01 | raptor | Watusimoto: that does exist already in the loop: ifShouldConnectToMaster() |
| 22:21:54 | raptor | but anyways - my solution is more or less complete now after the initial head-bashing |
| 22:22:18 | raptor | now i jus thave to add UI checks for whether were connected to master as a client; if not, pop-up UINameEntry |
| 22:22:32 | Watusimoto | ok |
| 22:22:34 | raptor | but yes, it adds complexity.. |
| 22:22:54 | Watusimoto | callbacks aren't horrible design |
| 22:23:10 | raptor | we use one other in our code: the TestFunc for database object searching |
| 22:23:20 | Watusimoto | we use them all over |
| 22:23:32 | raptor | oh and the soundsystem ones... |
| 22:23:37 | raptor | yes.. i guess we do |
| 22:23:38 | | amgine123456790 Quit (Ping timeout: 245 seconds) |
| 22:25:44 | raptor | i'm not sure amgine fully understands the limitations of online chat |
| 22:25:51 | bobdaduck | How so? |
| 22:25:59 | raptor | hi bobdaduck |
| 22:26:13 | bobdaduck | I'm still here. |
| 22:26:16 | | amgine1234567890 has joined |
| 22:26:58 | amgine1234567890 | bug found if a bot touches a energy item the game crashes. |
| 22:27:09 | raptor | great! |
| 22:27:46 | Watusimoto | oh boy |
| 22:27:52 | raptor | hmm... looks like its fixed in latest release |
| 22:27:59 | raptor | i'm on nascar track, with 12 bots... |
| 22:28:04 | Watusimoto | you mean 018a |
| 22:28:06 | Watusimoto | ? |
| 22:28:13 | raptor | yes, sorry |
| 22:28:17 | raptor | latest... commit |
| 22:28:20 | amgine1234567890 | lol i find bugs even when im not trying lol. |
| 22:29:17 | amgine1234567890 | i confirmed the energy bug on several maps |
| 22:29:41 | Watusimoto | amgine1234567890: we've fixed a lot of bugs since the release |
| 22:29:59 | raptor | heh: this is what happens when you play with 12 bots on nascar track: http://sam6.25u.com/upload/6screenshot_0.png |
| 22:30:47 | Watusimoto | ooph! |
| 22:31:00 | bobdaduck | Ooph! |
| 22:31:01 | amgine1234567890 | i think i may of found another bug not sure when auto balnce is on it adds the max number of bots to a dm? |
| 22:31:06 | raptor | rather difficult to make it around the track.. |
| 22:32:16 | raptor | that is a good test map for multiple reasons... lots of in-scoped items, spybugs everywhere |
| 22:37:22 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 22:40:07 | raptor | uih oh, on exit of bitfighter: *** glibc detected *** ./bitfighter: corrupted double-linked list: 0x00000000018c2160 *** |
| 22:41:45 | bobdaduck | I always get an error when I hit the X button of a server |
| 22:41:49 | bobdaduck | Always. |
| 22:42:00 | raptor | yeah, i was hosting.. |
| 22:42:01 | bobdaduck | Well |
| 22:42:04 | bobdaduck | the program crashes. |
| 22:42:12 | bobdaduck | Which is essentially what I was looking for anyway |
| 22:42:15 | bobdaduck | but still! |
| 22:42:22 | | amgine1234567890 has joined |
| 22:43:04 | amgine1234567890 | btw is the bot thing a bug |
| 22:43:13 | bobdaduck | It also does that when I run from debug mode in the commit |
| 22:43:35 | bobdaduck | When I hit exit (not the x, just "quit bitfighter" normally) it would crash. |
| 22:43:44 | bobdaduck | Dunno if that's still a problem but it seems relevant. |
| 22:43:57 | raptor | bobdaduck: with 018? |
| 22:44:10 | bobdaduck | yeah |
| 22:44:31 | raptor | but only after you host? |
| 22:45:26 | bobdaduck | Nah |
| 22:45:31 | bobdaduck | when I was running from vc++ |
| 22:45:36 | bobdaduck | in debug mode |
| 22:45:39 | bobdaduck | it would crash every time. |
| 22:45:46 | bobdaduck | This was a while ago though |
| 22:46:51 | amgine1234567890 | raptor wattisimo says some of the bugs since 18 release have been fixed was the ergy bug fixed. |
| 22:47:04 | raptor | yes, it was |
| 22:47:11 | raptor | i just tested that, no crash |
| 22:47:40 | amgine1234567890 | ok' |
| 22:47:53 | bobdaduck | um |
| 22:48:01 | bobdaduck | I get off work *fairly* soon |
| 22:48:05 | bobdaduck | I'll test it when I get home |
| 22:49:00 | amgine1234567890 | is the bot thing a bug? |
| 22:49:37 | bobdaduck | Granted I don't think I have the latest commit anymore, I'll have to figure out/remember how to update it |
| 22:50:19 | raptor | odd crash after hosting lots of bots; http://pastie.org/5651223 |
| 22:50:29 | raptor | amgine1234567890: which bot thing? |
| 22:51:54 | amgine1234567890 | if auto balance is set on it adds the max number of bots in dm? |
| 22:56:07 | | amgine1234567890 Quit (Ping timeout: 245 seconds) |
| 23:02:22 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 23:05:18 | | Fordcars has joined |
| 23:05:25 | Fordcars | hi |
| 23:05:32 | raptor | hi |
| 23:06:02 | Fordcars | Hey raptor can you send me the link to that .json on bitfighter.org for the notifier app? |
| 23:06:12 | raptor | sure |
| 23:06:18 | raptor | http://bitfighter.org/bitfighterStatus.json |
| 23:06:23 | Fordcars | Thanks! |
| 23:06:31 | raptor | it updates every 10 seconds or so |
| 23:06:39 | Fordcars | ok |
| 23:12:53 | | Watusimoto_ has joined |
| 23:15:37 | | Watusimoto Quit (Ping timeout: 248 seconds) |
| 23:15:50 | hdon | raptor, what info is in that json? |
| 23:16:21 | raptor | players and server that are online |
| 23:16:25 | raptor | *servers |
| 23:25:07 | Watusimoto_ | hdon: here is a pic showing that text scrunching I described earlier |
| 23:25:08 | Watusimoto_ | http://img11.imageshack.us/img11/3487/44614414.png |
| 23:25:18 | hdon | Watusimoto_, thanks :D |
| 23:25:43 | raptor | oh look, my name is in the pic.. |
| 23:26:05 | hdon | Watusimoto_, are you talking about how, like, the string "_tick" gets wrapped around in that one line, and it looks like there's too much empty space on the right? |
| 23:26:27 | Watusimoto_ | so it is |
| 23:26:49 | Watusimoto_ | no |
| 23:26:54 | Watusimoto_ | Look at the last line |
| 23:27:19 | Watusimoto_ | number: 10'E |
| 23:27:23 | Watusimoto_ | wait a minute |
| 23:27:29 | Watusimoto_ | it's a totally different problem |
| 23:27:43 | Watusimoto_ | I thought those E like thigns were garbled 8s |
| 23:27:57 | Watusimoto_ | but it's really some weird character on the end of the line |
| 23:28:14 | Watusimoto_ | I think this might not be an oglconsole issue at all |
| 23:28:26 | Watusimoto_ | or at least not a font issue |
| 23:28:32 | hdon | Watusimoto_, oh, if that's the bug i think it is, that is actually because that revision of oglconsole only supports a limited character set, but you can basically send any 8-bit non-zero character to it, and it will have a buggy result |
| 23:29:00 | Watusimoto_ | but why would a string from lua have out of bounds chars in it? |
| 23:29:00 | hdon | Watusimoto_, if you'd like, i can give you a copy of the new branch i created last night which addresses that issue |
| 23:29:18 | Watusimoto_ | that would be great |
| 23:29:18 | hdon | Watusimoto_, it's not really out of bounds, it's just not in the very limited character palette that oglconsole had then |
| 23:29:27 | Watusimoto_ | but what char is that??? |
| 23:29:32 | Watusimoto_ | a LF or CR? |
| 23:29:45 | hdon | Watusimoto_, so this new branch is an implementation of oglconsole for the good old code page 850 dos font (like what you get in "cmd" prompt in windows) |
| 23:30:03 | Watusimoto_ | ok |
| 23:30:08 | hdon | Watusimoto_, could be CR but not LF. LF is never rendered, it gets digested by the API to advance the console a line |
| 23:30:59 | Watusimoto_ | raptor: this also shows the new lua stacktrace I'm hacking in |
| 23:31:24 | Watusimoto_ | showing all local vars at all levels of the stack |
| 23:32:16 | hdon | Watusimoto_, http://codebad.com/~hdon/oglconsole850.tar.gz |
| 23:32:21 | raptor | oooo |
| 23:33:01 | hdon | Watusimoto_, part of why i'm in this channel talking to you guys is to figure out what direction to take oglconsole. i still want to keep it simple, but, for instance, i'm not sure what characters to support and such, or how important things like color are to people |
| 23:33:32 | hdon | i'd like to just mull it around for a day, and then put a few hours of work into it, and then let it stagnate for another 6 years, if that's cool with you guys :P |
| 23:33:42 | Watusimoto_ | sure. I'd say skip color |
| 23:34:01 | Watusimoto_ | I think it would rarely be used |
| 23:34:35 | Watusimoto_ | just curious, after having a little time to work it over, are you going to try to use the bitfighter version, or is that just to painful to contemplate? |
| 23:35:33 | hdon | i'll want to incorporate bugfixes, but i will probably just reimplement the fixes myself, as i am always likely to do |
| 23:36:27 | Watusimoto_ | are you going to try to pull out our fixes? |
| 23:38:00 | Watusimoto_ | also, is the fix for the screenshot problem just using the new font, or do you think there is a code fix required as well? |
| 23:38:11 | hdon | how do i get lua shell to raise an error? |
| 23:38:35 | hdon | Watusimoto_, there is a code fix required. it's in that tarball |
| 23:38:49 | hdon | well, it's actually a new feature, to support more characters |
| 23:38:51 | hdon | oh |
| 23:38:52 | hdon | but Watusimoto_ |
| 23:39:01 | hdon | you guys did use a different character palette already i think |
| 23:39:23 | hdon | let me take a quick look |
| 23:39:40 | raptor | we have our own vecotr-based in-game font |
| 23:39:50 | raptor | but for the console i think we just used what came with it |
| 23:40:04 | hdon | ok here it is |
| 23:40:08 | hdon | #ifdef OGLCONSOLE_USE_PACKED_FONT |
| 23:40:17 | hdon | #define FIRST_CHARACTER '\x00' |
| 23:40:23 | hdon | #define LAST_CHARACTER '\x7F' |
| 23:40:32 | raptor | i sure don't remember us adding that... |
| 23:40:37 | hdon | and then it proceeds to define CHAR_PIXEL_W CHAR_PIXEL_H CHAR_WIDTH and CHAR_HEIGHT |
| 23:40:47 | hdon | so it's quite different than the shitty code i had |
| 23:40:59 | hdon | the way i organized the font palette for oglconsole a long time ago was really stupid |
| 23:41:11 | hdon | the way the 850 branch now does it is |
| 23:41:31 | Watusimoto_ | live and learn :-) |
| 23:41:37 | hdon | it now just assumes characters are 8x8 pixels in the palette |
| 23:41:47 | hdon | and that they are arranged in a 128x128 pixel image |
| 23:42:12 | hdon | Watusimoto_, how do i open the console in game? |
| 23:42:15 | raptor | i think oglconsole is the *only* part of our game that requires an opengl texture |
| 23:42:22 | Watusimoto_ | ctrl-/ |
| 23:42:23 | hdon | LOL |
| 23:42:28 | hdon | raptor, believe it or not... |
| 23:42:40 | hdon | i originally considered doing them as GL_POINTS |
| 23:42:50 | hdon | also GL_LINES |
| 23:43:05 | hdon | but then i decided there was no reason because texture-mapping was never going to be broken |
| 23:43:20 | hdon | and if texture mapping was broken in the OpenGL implementation i didn't want to have any part in debugging it |
| 23:44:05 | Watusimoto_ | all our other text is gl primitives |
| 23:44:09 | hdon | :) |
| 23:44:32 | hdon | i used to like this one library that would render TTF fonts using various kinds of primitive geometries |
| 23:44:49 | hdon | iirc it inspired oglconsole's name. it was like, oglft or something |
| 23:45:27 | hdon | it is possibly also responsible for me wanting to support GLUT (that and, so many opengl demos written for glut that i found at the time) |
| 23:49:35 | hdon | how do i open the console in the game? |
| 23:49:47 | Watusimoto_ | we tried so hard to make glut work |
| 23:49:55 | Watusimoto_ | raptor bore the brunt of the sdl conversion |
| 23:51:02 | raptor | i was gored in the gut |
| 23:51:45 | hdon | Watusimoto_, glut is not for games really |
| 23:52:19 | Watusimoto_ | nor is it for modern computers |
| 23:52:26 | hdon | i'm pretty sure Khronos just wanted glut around to encourage people to be able to share OpenGL programs across platforms |
| 23:52:52 | Watusimoto_ | it served a purpose at one point; it's just been surpassed |
| 23:52:54 | hdon | developers i mean |
| 23:53:12 | | hdon nods |
| 23:53:14 | hdon | so |
| 23:53:20 | hdon | how |
| 23:53:20 | hdon | do |
| 23:53:20 | hdon | i |
| 23:53:20 | hdon | open the console in game? |
| 23:53:24 | hdon | i need to know! |
| 23:54:30 | raptor | hdon: join/host a game, or go into the editor and press CTRL + / |
| 23:57:44 | | BFLogBot Commit: fc5c3ed0b7e2 | Author: watusimoto | Message: First step towards centralizing running of Lua methods |
| 23:57:45 | Watusimoto_ | gab something anchored down! |
| 23:57:46 | | BFLogBot Commit: 3c49c11717e0 | Author: watusimoto | Message: Basic plugin functionality working with new running method |
| 23:57:47 | | BFLogBot Commit: c7ad3ba73d58 | Author: watusimoto | Message: Fix condition when plugin is run and returns no menu items |
| 23:57:49 | | BFLogBot Commit: 7eb00bb21bfc | Author: watusimoto | Message: Ok, plugins working in all scenarios: good menu, no menu, menu return nothing, menu contain error, menu return garbage |
| 23:57:50 | | BFLogBot Commit: 3c113611aea0 | Author: watusimoto | Message: Merge |
| 23:57:53 | | BFLogBot Commit: bb962e20aec3 | Author: watusimoto | Message: Some bot documentation |
| 23:57:54 | | BFLogBot Commit: 4cf847f15aca | Author: watusimoto | Message: Move robot getName() over to new pcall system -- code is now much cleaner and better documented |
| 23:57:56 | | BFLogBot Commit: b311b50ed84b | Author: watusimoto | Message: Move blank name check into runGetName() for tidyness |
| 23:58:12 | Watusimoto_ | is that all? I thought there were more than that |
| 23:58:52 | raptor | must have been a lot of work |