Timestamps are in GMT/BST.
| 00:00:52 | Watusimoto | if I can just fix this link error, I might get to bed before too late! |
| 00:01:06 | Watusimoto | hacky fix does the trick!! |
| 00:01:39 | Watusimoto | it works!!!! |
| 00:03:42 | Watusimoto | first try!! |
| 00:04:03 | Watusimoto | well, almost works |
| 00:08:32 | raptor | brazil? |
| 00:10:12 | Watusimoto | the movie |
| 00:10:36 | Watusimoto | surely you've seen it? |
| 00:11:04 | raptor | honestly, i don't think so.. |
| 00:11:28 | raptor | maybe my mom had it around the house... |
| 00:13:06 | Watusimoto | it's great |
| 00:13:26 | raptor | the one from 1985? |
| 00:13:52 | Watusimoto | yes |
| 00:15:50 | raptor | so i can't tell if the movie is in color or black and white |
| 00:18:32 | raptor | ok, i'm running in circles |
| 00:19:10 | raptor | i'm trying to fix #31: |
| 00:19:12 | raptor | http://bitfighter.org/wiki/index.php/Running_Bug_List |
| 00:20:39 | raptor | but i cannot seem to figure out how to appropriately update the badge for a player on all RemoteClientInfos when a player has earned it.. |
| 00:21:38 | raptor | i.e. right now, you gain a badge, but it isn't reflected in the scoreboard (or anyone elses) unless you leave and rejoin the server |
| 00:21:52 | raptor | so that needs to be solved, somehow |
| 00:22:12 | raptor | but i'm going in circles with setAuthenticated() in ClientInfo |
| 00:26:52 | Watusimoto | color |
| 00:27:48 | Watusimoto | i.e. earn a badge, it doesn't show up |
| 00:27:54 | raptor | yes |
| 00:27:59 | raptor | unless you rejoin |
| 00:28:54 | Watusimoto | what's the issue? |
| 00:29:01 | raptor | jus tthat |
| 00:29:03 | Watusimoto | why are you going in circles |
| 00:29:05 | raptor | oh |
| 00:29:20 | raptor | i'm trying to fix that, so i found the setAuthenticated method in ClientInfo |
| 00:29:45 | raptor | thinking that would be what i'd need to recall upon earning a badge |
| 00:30:02 | Watusimoto | seems logical |
| 00:30:09 | raptor | but really, i'm open to any path to get that info updated |
| 00:31:27 | Watusimoto | that's probably what I'd try, since it;s already written, not sure why it wouldn't work |
| 00:31:39 | raptor | however, i'm having difficulty figuring out how setAuthenticated is called server side |
| 00:31:43 | Watusimoto | what happens? |
| 00:31:50 | Watusimoto | oh, just can't call it |
| 00:31:53 | raptor | yeah... |
| 00:32:48 | Watusimoto | gameConnection->s2cSetAuthenticated ?? |
| 00:33:16 | Watusimoto | void FullClientInfo::setAuthenticated(bool isAuthenticated, Int<BADGE_COUNT> badges) |
| 00:33:28 | raptor | that's what i thought, too, but that is called from setAuthenticated() itself |
| 00:33:39 | raptor | that's why it looks circley to me |
| 00:33:58 | Watusimoto | I'd call setAuthenticated |
| 00:34:18 | Watusimoto | from the server's fullCleintInfo on the player who got the badge |
| 00:34:26 | raptor | ok |
| 00:34:44 | Watusimoto | that shoudl update all the players |
| 00:34:44 | raptor | ah ok |
| 00:35:37 | raptor | i think i get it FCI:sA() -> s2c -> RCI:sA() |
| 00:35:43 | raptor | if that's not cryptic.. |
| 00:41:15 | Watusimoto | yes |
| 00:41:26 | Watusimoto | exactly that |
| 00:41:35 | Watusimoto | this better work -- I need to get to bed |
| 00:42:05 | raptor | oh man |
| 00:42:07 | raptor | it's late! |
| 00:44:34 | Watusimoto | indeed |
| 00:46:02 | Watusimoto | ok, checking in. lua console works, though output is not displayed |
| 00:46:16 | Watusimoto | so you can generate errors or run (some) things silently |
| 00:46:19 | Watusimoto | not much fun yet |
| 00:46:27 | Watusimoto | night |
| 00:46:30 | raptor | night |
| 00:49:55 | | BFLogBot - Commit 3c1c5577cd17 | Author: watusim...@bitfighter.org | Log: Added checks for failed malloc in oglconsole (untested) |
| 00:49:56 | | BFLogBot - Commit 161fc7086bc1 | Author: watusim...@bitfighter.org | Log: Lua console works!!! But can't see output yet. |
| 00:50:58 | | Watusimoto Quit (Ping timeout: 244 seconds) |
| 01:07:26 | raptor | it works! |
| 01:10:00 | | BFLogBot - Commit 66e117103b54 | Author: buckyballreaction | Log: Fix badges not being updated in scoreboard when earned |
| 02:23:40 | | sam686 has joined |
| 02:23:40 | | ChanServ sets mode +v sam686 |
| 03:27:08 | | sam686 Quit (Ping timeout: 245 seconds) |
| 03:27:58 | | sam686 has joined |
| 03:27:58 | | ChanServ sets mode +v sam686 |
| 03:38:23 | | sam686 Quit (Ping timeout: 245 seconds) |
| 03:38:46 | | sam686 has joined |
| 03:38:46 | | ChanServ sets mode +v sam686 |
| 03:45:28 | | sam686 Quit (Ping timeout: 245 seconds) |
| 03:46:01 | raptor | connection problems sam686? |
| 03:46:20 | | sam686 has joined |
| 03:46:20 | | ChanServ sets mode +v sam686 |
| 05:17:23 | | raptor Quit () |
| 06:25:53 | | sam686 Quit (Ping timeout: 245 seconds) |
| 06:26:30 | | sam686 has joined |
| 06:26:30 | | ChanServ sets mode +v sam686 |
| 06:55:03 | | sam686 Quit (Ping timeout: 245 seconds) |
| 06:55:27 | | sam686 has joined |
| 06:55:27 | | ChanServ sets mode +v sam686 |
| 07:29:13 | | sam686 Quit (Ping timeout: 245 seconds) |
| 07:29:44 | | sam686 has joined |
| 07:29:44 | | ChanServ sets mode +v sam686 |
| 07:38:48 | | sam686 Quit (Ping timeout: 245 seconds) |
| 07:39:01 | | sam686 has joined |
| 07:39:01 | | ChanServ sets mode +v sam686 |
| 07:44:13 | | sam686 Quit (Ping timeout: 245 seconds) |
| 07:44:56 | | sam686 has joined |
| 07:44:56 | | ChanServ sets mode +v sam686 |
| 07:50:03 | | sam686 Quit (Ping timeout: 245 seconds) |
| 07:50:44 | | sam686 has joined |
| 07:50:44 | | ChanServ sets mode +v sam686 |
| 07:53:36 | | watusimoto has joined |
| 07:53:36 | | ChanServ sets mode +o watusimoto |
| 08:00:03 | | sam686 Quit (Ping timeout: 245 seconds) |
| 08:00:50 | | sam686 has joined |
| 08:00:50 | | ChanServ sets mode +v sam686 |
| 08:29:13 | | sam686 Quit (Ping timeout: 245 seconds) |
| 08:30:08 | | sam686 has joined |
| 08:30:08 | | ChanServ sets mode +v sam686 |
| 08:31:29 | | LordDVG has joined |
| 08:35:28 | | sam686 Quit (Ping timeout: 245 seconds) |
| 08:36:00 | | sam686 has joined |
| 08:36:00 | | ChanServ sets mode +v sam686 |
| 08:42:08 | | sam686 Quit (Ping timeout: 245 seconds) |
| 08:42:39 | | sam686 has joined |
| 08:42:39 | | ChanServ sets mode +v sam686 |
| 08:47:58 | | sam686 Quit (Ping timeout: 245 seconds) |
| 08:48:36 | | sam686 has joined |
| 08:48:36 | | ChanServ sets mode +v sam686 |
| 08:54:04 | | LordDVG Quit (Remote host closed the connection) |
| 08:55:03 | | LordDVG has joined |
| 09:05:03 | | sam686 Quit (Ping timeout: 245 seconds) |
| 09:05:34 | | sam686 has joined |
| 09:05:34 | | ChanServ sets mode +v sam686 |
| 09:39:13 | | sam686 Quit (Ping timeout: 245 seconds) |
| 09:39:49 | | sam686 has joined |
| 09:39:50 | | ChanServ sets mode +v sam686 |
| 09:44:47 | | LordDVG Quit (Remote host closed the connection) |
| 09:51:18 | | sam686 Quit (Ping timeout: 245 seconds) |
| 09:51:47 | | sam686 has joined |
| 09:51:47 | | ChanServ sets mode +v sam686 |
| 10:36:43 | | sam686 Quit (Ping timeout: 245 seconds) |
| 10:37:26 | | sam686 has joined |
| 10:37:26 | | ChanServ sets mode +v sam686 |
| 10:54:13 | | sam686 Quit (Ping timeout: 245 seconds) |
| 10:54:26 | | sam686 has joined |
| 10:54:26 | | ChanServ sets mode +v sam686 |
| 10:58:48 | | sam686 Quit (Ping timeout: 245 seconds) |
| 10:59:30 | | sam686 has joined |
| 10:59:30 | | ChanServ sets mode +v sam686 |
| 11:09:11 | | LordDVG has joined |
| 11:17:30 | | LordDVG Quit (Remote host closed the connection) |
| 11:18:38 | | LordDVG has joined |
| 12:03:10 | | LordDVG Quit (Ping timeout: 272 seconds) |
| 12:11:15 | | sam686 has left |
| 13:32:31 | | raptor has joined |
| 13:32:31 | | ChanServ sets mode +o raptor |
| 13:52:40 | | raptor Quit () |
| 15:28:21 | | raptor has joined |
| 15:28:22 | | ChanServ sets mode +o raptor |
| 15:33:01 | raptor | good day! |
| 16:27:08 | watusimoto | hi |
| 16:27:12 | raptor | ahi |
| 16:28:19 | watusimoto | did that update of award status thing work last night? |
| 16:28:29 | raptor | yes |
| 16:28:34 | watusimoto | excellent |
| 16:38:27 | raptor | i think 99.9% of all players skip the instructions when trying the game |
| 16:38:41 | raptor | because i just had to teach two people how to use loadouts |
| 16:42:10 | raptor | and i do that all the time... |
| 16:46:43 | | watusimoto Quit (Ping timeout: 245 seconds) |
| 18:38:03 | | Watusimoto has joined |
| 19:25:06 | | LordDVG has joined |
| 19:50:44 | Watusimoto | oh boy |
| 19:50:49 | raptor | hi |
| 19:50:57 | Watusimoto | in editor console you can do this: |
| 19:51:03 | Watusimoto | a = TestItem.new() |
| 19:51:12 | Watusimoto | a:addToGame() |
| 19:51:18 | Watusimoto | it doesn't work, but it should |
| 19:51:23 | Watusimoto | let's pretend it does |
| 19:51:27 | Watusimoto | item appears in editor |
| 19:51:45 | Watusimoto | so now you test the level (or host a game) |
| 19:51:53 | Watusimoto | open the in-game console |
| 19:51:55 | Watusimoto | and tupe |
| 19:51:58 | Watusimoto | type |
| 19:52:03 | Watusimoto | a:addToGame() |
| 19:52:07 | raptor | heh |
| 19:52:07 | Watusimoto | what should happen? |
| 19:52:12 | raptor | nothing! |
| 19:52:16 | Watusimoto | why not? |
| 19:52:28 | raptor | because you're in a different world |
| 19:52:35 | Watusimoto | you are |
| 19:52:44 | Watusimoto | but there is currently only one console instance |
| 19:52:57 | Watusimoto | are you suggesting we have a different console for game and editor? |
| 19:53:09 | Watusimoto | each hooked up to a different Lua environment? |
| 19:53:31 | Watusimoto | anyway, what *does* happen is the game crashes |
| 19:53:47 | Watusimoto | because the game sees that a was already added to a game, and our asserts fail |
| 19:53:54 | Watusimoto | an object can only be in one game at a time |
| 19:54:05 | Watusimoto | but now there is a way to add it to two games |
| 19:54:21 | Watusimoto | though the editor is not really a game as such |
| 19:54:27 | Watusimoto | but we treat it as if it were |
| 19:55:16 | Watusimoto | and an obj can only be in one database |
| 19:55:23 | Watusimoto | not both the editor db and the game db |
| 19:55:56 | Watusimoto | independent consoles would actually fix the problem, as object a could only exist in one |
| 19:56:06 | Watusimoto | but... |
| 19:56:11 | Watusimoto | if you are in game and you do: |
| 19:56:15 | Watusimoto | a:addToGame() |
| 19:56:17 | Watusimoto | then |
| 19:56:21 | Watusimoto | a:addToGame() |
| 19:56:28 | Watusimoto | you'll probably get a crash there as well |
| 19:56:37 | Watusimoto | by adding the object to the game twice |
| 19:56:39 | Watusimoto | same issue |
| 19:57:04 | Watusimoto | in *that* case, we could remove the object from the first game and add it to the second (thus nullifying the double add) |
| 19:57:12 | Watusimoto | but we can;t do that with the editor |
| 19:57:24 | Watusimoto | removing it from the editor to add it to a game is perverse |
| 19:58:12 | Watusimoto | we could get rid of the console in the editor |
| 20:00:35 | Watusimoto | I guess we could also check an object before we try to add it and prevent the double add |
| 20:00:56 | Watusimoto | or clone the object and add the clone |
| 20:02:00 | | LordDVG Quit (Remote host closed the connection) |
| 20:02:39 | Watusimoto | no clone won;t work |
| 20:02:45 | Watusimoto | because you can currently do this |
| 20:02:51 | Watusimoto | a:addToGame() |
| 20:02:58 | Watusimoto | a:setVel(10,0) |
| 20:03:02 | Watusimoto | and cloning would break that |
| 20:03:06 | Watusimoto | which would be counterintuitive |
| 20:07:19 | raptor | ok |
| 20:07:29 | raptor | sorry was called into a mini-meeting... |
| 20:07:34 | | raptor is reading the log |
| 20:08:13 | raptor | diff Lua environment makes sense between editor and testing level |
| 20:08:24 | raptor | a test should be self-contained |
| 20:10:08 | Watusimoto | no worries |
| 20:10:10 | raptor | so if you add an object in the editor via Lua, and it is visible, it should show up in the test |
| 20:10:25 | raptor | but there should be no hooks to it in the Lua environment in the test |
| 20:10:27 | Watusimoto | of course |
| 20:10:43 | Watusimoto | so that implies a different console instance |
| 20:11:10 | Watusimoto | because it wouldn't make sense to have your cmd history and screen scrollback have references to the object |
| 20:11:18 | raptor | ah yes |
| 20:11:20 | raptor | trye |
| 20:11:21 | raptor | true |
| 20:11:22 | Watusimoto | but your lua instance not having it |
| 20:11:26 | raptor | different instance |
| 20:12:03 | Watusimoto | so when we do logging, we currently write msgs to the console as well as the logfile |
| 20:12:11 | Watusimoto | which console woudl they go to? |
| 20:12:27 | raptor | uhh |
| 20:12:28 | raptor | yes |
| 20:12:38 | Watusimoto | and we now have one console, the gConsole, which is a global static |
| 20:12:43 | Watusimoto | that would need to be refactored |
| 20:13:03 | Watusimoto | two consoles is problematic |
| 20:13:10 | raptor | hmmm |
| 20:13:11 | Watusimoto | I think the console is the console |
| 20:13:33 | raptor | could you swap out the history and Lua env? |
| 20:13:40 | Watusimoto | probably |
| 20:14:00 | Watusimoto | so when you are in neither editor nor game, which console gets messages? |
| 20:14:17 | Watusimoto | or are you proposing (effectively) both |
| 20:14:45 | Watusimoto | one problem with one console is this: |
| 20:14:47 | raptor | that would be the easy answer |
| 20:14:53 | Watusimoto | a = testItem.new() |
| 20:14:59 | Watusimoto | a.addToGame() |
| 20:15:07 | Watusimoto | then test level and do |
| 20:15:11 | Watusimoto | a.addToGame() |
| 20:15:18 | Watusimoto | (assuming that somehow worked) |
| 20:15:26 | Watusimoto | then a.setLoc(10,10) |
| 20:15:42 | Watusimoto | that probably shouldn't move the item in the editor |
| 20:15:58 | raptor | correct |
| 20:16:07 | Watusimoto | so that does suggest that isolation is probably a good thing |
| 20:16:11 | raptor | yes |
| 20:16:35 | Watusimoto | well, we could have two consoles and swap them out and keep the global pointer to the current console |
| 20:17:08 | Watusimoto | oglconsole does some ugly internal console tracking as well. maybe we could somehow leverage that |
| 20:17:14 | Watusimoto | or gut it completely and roll our own |
| 20:17:40 | raptor | well, i'm not a huge fan of oglconsole... but then again i'm not doing the work :) |
| 20:17:58 | Watusimoto | do we need an editor console at all? |
| 20:18:08 | raptor | that was going to be my next question |
| 20:18:15 | Watusimoto | many item methods don;t make sense in editor |
| 20:18:21 | Watusimoto | only those dealing with position |
| 20:18:39 | Watusimoto | adding, deleting, moving |
| 20:19:42 | Watusimoto | though it would be cool to provide access to advanced functions via the console |
| 20:19:52 | Watusimoto | like... uh.... .... set bg color? |
| 20:20:20 | raptor | ways to make tools like the curvegen? |
| 20:20:38 | raptor | maybe only loading lua scripts is useful? |
| 20:20:44 | Watusimoto | yes, though the curvegen method would still be available |
| 20:20:59 | raptor | brb.. |
| 20:21:33 | Watusimoto | now I question whether we need a console in the game either |
| 20:24:32 | raptor | only for trolling the players if we're an admin :) |
| 20:24:38 | raptor | (eventually) |
| 20:30:13 | raptor | why did you originally put a console in? |
| 20:30:19 | raptor | because quake had one? :) |
| 21:05:28 | Watusimoto | sleepy time |
| 21:05:40 | raptor | already? |
| 21:05:47 | raptor | man today went by fast.. |
| 21:10:25 | Watusimoto | bed |
| 21:10:30 | Watusimoto | night |
| 21:10:37 | raptor | night |
| 21:15:12 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 23:05:37 | | raptor Quit () |
| 23:16:28 | | sam686 has joined |
| 23:16:28 | | ChanServ sets mode +v sam686 |
| 23:55:46 | | raptor has joined |
| 23:55:46 | | ChanServ sets mode +o raptor |