Timestamps are in GMT/BST.
| 00:00:02 | Little_Apple | and the console thing said it was looking in the application support thing |
| 00:01:11 | sam686 | i can easily open mac .dmg file in 7-zip (i can't run it, though) i can see the scripts in Bitfighter-016-MacOSX-32bit-Universal.dmg\2.hfs\Bitfighter\Bitfighter.app\Contents\Resources\scripts\ |
| 00:01:30 | Little_Apple | so there are two scripts files? |
| 00:01:33 | Little_Apple | what?? |
| 00:01:48 | raptor | when the game first runs, it copies the ones from the .app to your support dir |
| 00:02:05 | Little_Apple | uh |
| 00:02:12 | Little_Apple | i still dont see why it isnt working |
| 00:02:12 | raptor | hmm... |
| 00:02:34 | Little_Apple | HELP ME |
| 00:02:58 | raptor | Little_Apple: |
| 00:02:59 | Little_Apple | and why wont the robots work? |
| 00:02:59 | sam686 | i wonder if it fails to copy everything, or it fails to copy over a newer version of scripts... |
| 00:03:12 | raptor | open you scripts/ folder in application support |
| 00:03:17 | Little_Apple | done |
| 00:03:17 | sam686 | robots also need to use the scripts |
| 00:03:19 | raptor | what is in there? |
| 00:03:55 | Little_Apple | 10 different files i dont feel like naming |
| 00:04:04 | Little_Apple | i havent touched them |
| 00:04:20 | raptor | is lua_helper_functions.lua there? |
| 00:04:22 | sam686 | what is the last modified date on those files? |
| 00:04:35 | Little_Apple | yes lua thing is there |
| 00:04:48 | Little_Apple | 1/31/12 |
| 00:04:49 | raptor | ok, then i might know the problem... |
| 00:05:05 | raptor | can you open up the .app and go to the Contents/MacOS/ folder? |
| 00:05:12 | Little_Apple | done |
| 00:05:23 | raptor | is there a bitfighter.sh in there? |
| 00:05:28 | Little_Apple | yes |
| 00:05:42 | raptor | ok, you need to replace it with the one i'm about to post for you... |
| 00:05:44 | raptor | one moment |
| 00:05:47 | Little_Apple | ok.... |
| 00:07:02 | Watusimoto_ | falling asleep |
| 00:07:09 | raptor | to bed! |
| 00:07:13 | Little_Apple | SLAP YOUR FACE |
| 00:07:20 | raptor | Little_Apple: save the old bitfighter.sh |
| 00:07:24 | raptor | somewhere |
| 00:07:28 | raptor | and put this one there: http://sam686.maxhushahn.com/upload/bitfighter.sh |
| 00:07:50 | Little_Apple | ok |
| 00:08:05 | raptor | then re-run bitfighter |
| 00:08:10 | raptor | and try your levelgen |
| 00:09:08 | Little_Apple | workin on it |
| 00:10:22 | Little_Apple | this crashing bug is so annoying |
| 00:10:53 | raptor | already fixed for next version! |
| 00:11:04 | Little_Apple | :D |
| 00:11:12 | Little_Apple | so did i find a bug? |
| 00:11:23 | Little_Apple | great |
| 00:11:32 | Little_Apple | now it wont open at all -____- |
| 00:12:02 | Little_Apple | RAPTOR |
| 00:12:24 | raptor | ok put the old one back |
| 00:12:31 | raptor | let me get y ou another one :) |
| 00:12:36 | Little_Apple | -_____- |
| 00:13:59 | raptor | ah... |
| 00:14:03 | raptor | i think i see the problem... |
| 00:14:05 | Little_Apple | yessss? |
| 00:14:08 | | BFLogBot - Commit 119cdd3b4643 | Author: watusim...@bitfighter.org | Log: whitespace |
| 00:14:09 | | BFLogBot - Commit c026da4ab18a | Author: watusim...@bitfighter.org | Log: Add structure for UIHighScores |
| 00:14:11 | | BFLogBot - Commit 6c617a92f44c | Author: watusim...@bitfighter.org | Log: Out with leaderboard, in with high scores!! |
| 00:14:12 | | BFLogBot - Commit c348966fc37e | Author: watusim...@bitfighter.org | Log: We have a new menu! |
| 00:14:14 | | BFLogBot - Commit f5e84b4cbacc | Author: watusim...@bitfighter.org | Log: Implement rough High Scores menu. Now need some dummy values and draw some scores. |
| 00:14:15 | | BFLogBot - Commit a91a2766230f | Author: watusim...@bitfighter.org | Log: Merge |
| 00:14:15 | Little_Apple | so did i find a bug? :D |
| 00:14:16 | raptor | let me put together another script for you |
| 00:14:25 | raptor | yes, but it has been corrected for 017 |
| 00:14:35 | Little_Apple | :D |
| 00:14:42 | Little_Apple | I FOUND A BUG WHOOOOOOOOOOO |
| 00:18:03 | raptor | ok ready for it? |
| 00:19:20 | Little_Apple | yep |
| 00:19:36 | raptor | http://sam686.maxhushahn.com/upload/1bitfighter.sh |
| 00:19:46 | raptor | except you'll have to rename it and remove the '1' at the front |
| 00:19:55 | Little_Apple | yep |
| 00:20:03 | Little_Apple | brb |
| 00:21:18 | Little_Apple | baack |
| 00:22:01 | | Watusimoto_ Quit (Ping timeout: 276 seconds) |
| 00:23:13 | Little_Apple | still not working |
| 00:23:19 | raptor | define 'not working' |
| 00:23:39 | Little_Apple | it wont open. |
| 00:23:51 | raptor | ok, then you have to make it executable |
| 00:23:55 | raptor | you renamed it? |
| 00:23:58 | Little_Apple | yes. |
| 00:24:03 | Little_Apple | i did it allll right |
| 00:24:10 | raptor | ok, then it needs to be executable |
| 00:24:10 | Little_Apple | it just wont work, |
| 00:24:43 | raptor | tip: never tell someone something doesn't work - say what exactly doesn't work |
| 00:25:02 | Little_Apple | it wont open. |
| 00:25:06 | raptor | yay! |
| 00:25:07 | raptor | ok |
| 00:25:12 | raptor | now i can work on that... |
| 00:25:15 | raptor | let me test.. |
| 00:26:32 | Little_Apple | k |
| 00:26:52 | raptor | save that last one i gave you |
| 00:27:04 | Little_Apple | too late |
| 00:27:06 | raptor | put the original back in place and make sure bitfighter still starts |
| 00:27:06 | Little_Apple | xD |
| 00:27:10 | Little_Apple | i did |
| 00:27:16 | raptor | still starts? |
| 00:27:20 | Little_Apple | yes |
| 00:27:22 | raptor | ok |
| 00:27:40 | raptor | then save a copy of the original in case things go horribly wrong |
| 00:27:48 | raptor | and open the original in a text editor |
| 00:28:42 | raptor | now delete everything in the file and paste into it everything you see here: http://pastie.org/pastes/3522461/text |
| 00:28:52 | raptor | then save, and try to run the game |
| 00:30:44 | Little_Apple | ill have to go in a second |
| 00:32:38 | Little_Apple | IT OPENED! |
| 00:32:45 | raptor | oh good |
| 00:32:48 | raptor | now test script |
| 00:33:05 | Little_Apple | ITS WORKING!!!!!!!!!! |
| 00:33:06 | Little_Apple | YAAAAAY |
| 00:33:11 | raptor | yes, ok good |
| 00:33:18 | raptor | also, music should work for you too :) |
| 00:33:26 | raptor | i backported 017 changes into your script |
| 00:35:19 | Little_Apple | :D |
| 00:35:34 | Little_Apple | thank yooo |
| 00:35:36 | Little_Apple | laters |
| 00:35:37 | raptor | welcome |
| 00:35:39 | raptor | bye |
| 00:35:43 | Little_Apple | one more thing |
| 00:36:27 | Little_Apple | http://marcscibilia.com/ |
| 00:36:30 | Little_Apple | GO TO IT |
| 00:36:33 | Little_Apple | laters |
| 00:36:37 | | Little_Apple Quit (Quit: Page closed) |
| 00:41:13 | raptor | sam686: do you know why your server went down earlier? |
| 00:49:19 | | BFLogBot - Commit ccf7c9a2f620 | Author: buckyballreaction | Log: Add missing class to Makefile |
| 00:49:51 | sam686 | not sure, i am guessing it could be out of memory, but not sure... |
| 00:50:12 | sam686 | it happen on "Fast Nexus" which overloads the server with so many flags |
| 00:50:18 | raptor | I'm recompiling master... |
| 00:50:20 | raptor | ah |
| 01:29:18 | | koda Quit (Quit: koda) |
| 01:32:39 | | Little_Apple has joined |
| 01:32:47 | Little_Apple | helloo |
| 01:33:02 | Little_Apple | RAPTOR |
| 01:33:24 | Little_Apple | HEY RAPTOR |
| 01:33:33 | Little_Apple | HEY HEY HEY |
| 01:34:33 | Little_Apple | raptor |
| 01:35:42 | Little_Apple | yo |
| 01:36:11 | raptor | hi |
| 01:36:18 | raptor | i eated dinner |
| 01:36:25 | Little_Apple | did you click the link? |
| 01:36:29 | Little_Apple | i sent? |
| 01:36:31 | Little_Apple | :D |
| 01:39:58 | Little_Apple | raptor |
| 01:40:05 | raptor | hi |
| 01:40:09 | Little_Apple | did you? |
| 01:40:21 | raptor | yes, and i didn't know what to do, so i left |
| 01:40:27 | Little_Apple | ._. |
| 01:40:56 | Little_Apple | go to it again |
| 01:41:00 | raptor | sam686: are you working on anything in particular? I started continuing watusimoto's work on the high scores |
| 01:41:05 | Little_Apple | and listen to the music |
| 01:41:37 | raptor | do you know the guitarist? |
| 01:41:52 | Little_Apple | who? |
| 01:41:57 | Little_Apple | the guy on the site? |
| 01:42:26 | raptor | yeah |
| 01:42:39 | Little_Apple | i know who he is just not personally |
| 01:42:42 | Little_Apple | :P |
| 01:43:17 | Little_Apple | hellooo |
| 01:43:23 | raptor | hi |
| 01:43:37 | Little_Apple | did u do it again? |
| 01:43:56 | raptor | i listed to the first 30 secs... wasn't to interested |
| 01:44:00 | raptor | *too |
| 01:44:04 | Little_Apple | :( |
| 01:44:18 | Little_Apple | it isnt super exiting music |
| 01:45:24 | Little_Apple | but it sounds nice |
| 01:45:29 | Little_Apple | nice and simple |
| 01:45:59 | Little_Apple | RAPTOR |
| 01:46:03 | Little_Apple | HEYYYY |
| 01:46:18 | raptor | Little_Apple: i'm working on bitfighter at the moment |
| 01:46:23 | Little_Apple | ah |
| 01:46:32 | raptor | the more you grab my attention, the more 017 is delayed ;) |
| 01:46:35 | Little_Apple | so did i find a bug earlier? |
| 01:46:38 | raptor | yes |
| 01:46:38 | Little_Apple | :D |
| 01:46:47 | raptor | it is fixed for 017 |
| 01:47:28 | Little_Apple | hooraaaaaaay |
| 01:48:49 | Little_Apple | are you winning? |
| 02:12:46 | sam686 | well,, if my server go segfault again, i might know it now.. |
| 02:12:47 | raptor | flags flags everywhere |
| 02:12:59 | raptor | ha! |
| 02:13:01 | raptor | ok |
| 02:13:19 | Little_Apple | :P |
| 02:14:01 | sam686 | my bitfighter 015 was going so well without a crash at all, now it need to find any errors on 016... |
| 02:14:18 | raptor | is it running in a debugger? |
| 02:14:51 | sam686 | yes, make dedicated_debug, modified tnlAddres.h assert.cpp to prevent halting on assert |
| 02:15:08 | sam686 | but, assert still logs to bitfighter_server |
| 02:15:25 | raptor | neat |
| 02:15:36 | sam686 | .log and, gdb, attach a process number running debug bitfighterd |
| 02:15:37 | Little_Apple | neeeeeat |
| 02:17:03 | Little_Apple | the more you grab my attention, the more 017 is delayed ;) |
| 02:17:45 | raptor | :-D |
| 02:18:34 | Little_Apple | ^_^ |
| 02:18:39 | Little_Apple | _______ |
| 02:24:27 | | BFLogBot - Commit 8e40fddd9224 | Author: buckyballreaction | Log: Fix up high score master interface |
| 02:26:42 | sam686 | http://sam686.maxhushahn.com/upload/text1203/120304_20-03-55.txt (shooting at soccer and quitting, leaving behind bullets without a player, when shooting at soccer) |
| 02:30:07 | Little_Apple | pie! :D |
| 02:30:38 | raptor | sam686: that is a crash in 017 so far? |
| 02:30:54 | Little_Apple | :o |
| 02:30:54 | sam686 | probably yes, if it wasn't fixed in 017 |
| 02:31:50 | raptor | explain again how you do it? i don't quite understand |
| 02:32:45 | Little_Apple | CORN BREAD! |
| 02:32:49 | raptor | restarting master.. |
| 02:33:21 | sam686 | while shooting at soccer, quit, leftover bullets still there (not tied to that non-existant player anymore) |
| 02:33:34 | sam686 | or even kicking robots while robots is shooting at soccer might crash |
| 02:33:54 | sam686 | quitting only works if there is 2 or more players |
| 02:34:07 | Little_Apple | yeaaaaaaaaaa |
| 02:34:22 | Little_Apple | if ppl are on a server that is shut down the client crashed |
| 02:34:25 | Little_Apple | es* |
| 02:34:36 | Little_Apple | at least for temporary servers |
| 02:36:40 | raptor | sam686: how do you quit... i just pressed alt+f4 while shooting a soccer ball in a single player game... no crash |
| 02:37:18 | sam686 | you can't be hosting, or that will disconnect other players |
| 02:37:29 | raptor | ok |
| 02:37:34 | raptor | i'll do dedicated.. |
| 02:37:39 | sam686 | have a second player host, and a promary player join trying to do the crashing trick |
| 02:38:06 | sam686 | the server (or a player hosting) may crash after successful trick |
| 02:38:17 | Little_Apple | i think i already reported my bug... |
| 02:39:13 | sam686 | a trick to keep shooting is to shoot, press ESC, and it keeps shooting (on keyboard) |
| 02:39:36 | Little_Apple | er? |
| 02:39:41 | Little_Apple | uhh |
| 02:39:43 | raptor | got it! |
| 02:39:53 | Little_Apple | WHAT |
| 02:40:58 | raptor | stack trace: http://pastie.org/3522962 |
| 02:41:35 | sam686 | that is nearly the same os my stack trace.. |
| 02:41:43 | raptor | yep, same |
| 02:41:59 | sam686 | the master appears to be down... |
| 02:42:22 | raptor | i restarted it about 5 min ago |
| 02:42:42 | Little_Apple | 10 minutes ago |
| 02:42:50 | raptor | it crashed |
| 02:44:47 | sam686 | but, there may be other ways it might crash (fast nexus don't have soccer balls) |
| 02:49:31 | raptor | sorry, i keep killing master.... |
| 02:50:41 | Little_Apple | lol |
| 02:59:19 | raptor | now sam crashed master |
| 02:59:26 | Little_Apple | lol xD |
| 02:59:31 | | BFLogBot - Commit 9054af45d90b | Author: buckyballreaction | Log: High score ordering is already done in the views |
| 03:00:05 | raptor | sam686: master crash: http://pastie.org/3523042 |
| 03:00:28 | raptor | i don't understand |
| 03:04:05 | Little_Apple | its soup. |
| 03:04:27 | sam686 | not sure either why crash on that segfault... |
| 03:04:48 | raptor | any queries are now segfaulting master |
| 03:06:13 | raptor | yep, any queries |
| 03:06:20 | raptor | stats insertion |
| 03:06:47 | Little_Apple | LATERS!!! |
| 03:06:49 | | Little_Apple Quit (Quit: Page closed) |
| 03:07:39 | sam686 | if the master can at least do mysql phpbb authentication without segfault, then it is limited to stats writing.. |
| 03:07:58 | sam686 | oh, full rebuild on master? |
| 03:13:45 | sam686 | one one piece of code that says "mLastPlayerTouch = ship ? ship : NULL", which can be simplified to "mLastPlayerTouch = ship" (if a ship is NULL, it will be NULL, anyway) |
| 03:20:24 | raptor | i did a full rebuild on master |
| 03:24:02 | sam686 | oh, CleintInfo might get deleted right when player leave, but the "Ship" delays to delete, for explosion effects.. So, Ship might not always have a ClientInfo... |
| 03:24:19 | raptor | interesting.. |
| 03:25:32 | raptor | ok, i'm going to recompile master at 016 |
| 03:25:40 | raptor | and figure out the problem on my local box |
| 03:31:40 | sam686 | http://sam686.maxhushahn.com/upload/text1203/120304_21-03-10.txt i get similar problem with most recent 017 |
| 03:31:55 | sam686 | except, that was in a server (hosting client), not master |
| 03:35:24 | sam686 | it appears to be a bad query.query.conn_ or query.query.conn_.driver_ |
| 03:35:44 | sam686 | but mostly, query.query.conn_ have bad data |
| 03:43:57 | raptor | i don't get it... |
| 03:44:05 | raptor | hmm |
| 03:44:42 | raptor | is it using a sqlite driver instead of mysql? |
| 03:45:11 | sam686 | it is using mysql, thats for sure (at least on my end) |
| 03:48:08 | sam686 | darn it, not sure if i fixed the mysql crash, but i found another crash (the map: afk?, retrieve) |
| 03:48:28 | raptor | i've see a bot disappear when getting a retrieve |
| 03:48:33 | sam686 | http://sam686.maxhushahn.com/upload/text1203/120304_21-03-17.txt i may compe back to that later.. |
| 03:48:34 | raptor | seen |
| 03:48:50 | raptor | you think you fixed the mysql crash? |
| 03:51:27 | sam686 | yes, that seem to fixed the mysql crash, moving Connection conn; out of DbQuery::DbQuery, and adding Connection conn; into DbQuery class.. |
| 03:51:37 | sam686 | i can push, ok? |
| 03:51:41 | raptor | sure |
| 03:53:14 | raptor | what was the actual problem? |
| 03:53:23 | sam686 | (1b23d304be2b) Fix mysql error, mysql seem to want "Connection" to not get deleted till mysql h |
| 03:53:33 | raptor | ah |
| 03:53:38 | sam686 | hae finished. (oops misspelled) |
| 03:54:26 | raptor | that will still work with sqlite? |
| 03:54:37 | | BFLogBot - Commit 1b23d304be2b | Author: sam8641 | Log: Fix mysql error, mysql seem to want "Connection" to not get deleted till mysql hae finished. |
| 03:55:33 | raptor | oh i see |
| 03:55:41 | raptor | hmm... does that mean it will reuse the same connection? |
| 04:12:00 | sam686 | sqlite don't use connection at all (it uses files instead, no connection) |
| 04:12:42 | sam686 | not sure if it re-use same connection or not, but it seems a new DbQuery gets created for each set of stats saving.. |
| 04:13:33 | raptor | hmm... |
| 04:14:39 | | BFLogBot - Commit abec9c868759 | Author: buckyballreaction | Log: Fix mysql++ compiling with later gcc |
| 04:22:52 | raptor | ok restarted master, now i'm going to try and crash it... |
| 04:24:08 | raptor | yay, all works... |
| 04:24:11 | raptor | thansk! |
| 04:40:21 | | raptor Quit () |
| 04:40:58 | | raptor has joined |
| 04:40:58 | | ChanServ sets mode +o raptor |
| 04:54:44 | | BFLogBot - Commit 6e9e2926fbd3 | Author: sam8641 | Log: Fix more cases of null getClientInfo() |
| 04:55:16 | raptor | wow, that's a lot of fixes |
| 05:27:15 | raptor | sam686: still around? |
| 05:27:20 | sam686 | yes |
| 05:27:39 | raptor | would you know why the render() method of a UI class only gets called once? |
| 05:27:56 | raptor | for instance: i enter the HIGH SCORES menu, and the render() method in there is only called once |
| 05:28:46 | sam686 | what do you want it to do? |
| 05:29:01 | raptor | i was under the impression that render() was called over and over again |
| 05:29:32 | sam686 | render(S32 layerIndex) get called 3 times for GameObjects |
| 05:29:37 | sam686 | render() only get called once |
| 05:29:53 | sam686 | there is no render(S32 layerindex) on UI rendering |
| 05:30:13 | raptor | so how does a screen like UIDiagnostics keep getting updated when you move keys around, etc? |
| 05:30:59 | sam686 | it simply renders the values that keeps getting updated somewhere; maybe in idle() or elsewhere. |
| 05:31:18 | raptor | idle() is practically empty |
| 05:31:55 | sam686 | QueryServersUserInterface::idle have plenty of code that keeps the server list updated.. |
| 05:32:09 | raptor | yes, but nothing that keeps calling the render() method |
| 05:32:55 | sam686 | render is called on every game tick when visible |
| 05:33:15 | raptor | that's what i thought |
| 05:33:26 | raptor | but for UIHighScores, it is only called once... |
| 05:33:30 | raptor | and i'm not sure why |
| 05:33:34 | sam686 | idle(U32 timeDelta) have a milliseconds that you may use.. |
| 05:34:03 | sam686 | QueryServersUserInterface::render() is also only called once (so do all other menus) |
| 05:37:06 | sam686 | oh, thats is probably becasue you are auto-opening a seperate ErrorMessageUserInterface menu |
| 05:37:20 | raptor | explain |
| 05:37:32 | raptor | watusimoto wrote the code, i'm not sure what is happening.. |
| 05:37:43 | sam686 | in HighScoresUserInterface::renderWaitingForScores |
| 05:38:06 | raptor | ahh... |
| 05:38:17 | sam686 | errUI->activate(); is causing the "errUI" menu to open up, making this current menu get pushed back |
| 05:38:22 | raptor | ok, so if i close it, maybe everything will work again |
| 05:38:28 | raptor | good catch |
| 05:39:28 | sam686 | errUI->render() instead of errUI->errUI->activate(); might work |
| 05:40:03 | raptor | you're right! |
| 05:40:04 | raptor | it does! |
| 05:40:06 | raptor | thanks! |
| 06:06:03 | sam686 | good night.. |
| 06:06:20 | raptor | night |
| 06:07:29 | | sam686 has left |
| 06:24:53 | | BFLogBot - Commit b1e565e8ff82 | Author: buckyballreaction | Log: Update master protocol to send group names |
| 06:39:56 | | BFLogBot - Commit 45c8d513dd70 | Author: buckyballreaction | Log: Typo |
| 06:51:39 | | raptor Quit () |
| 06:54:58 | | BFLogBot - Commit 17da77e892e8 | Author: buckyballreaction | Log: High scores from master show in UIHighScores. Much work to be done, but it works! |
| 08:55:28 | | watusimoto has joined |
| 08:55:28 | | ChanServ sets mode +o watusimoto |
| 12:08:42 | | LordDVG has joined |
| 12:13:44 | | LordDVG Quit (Remote host closed the connection) |
| 12:18:17 | | LordDVG has joined |
| 12:18:32 | | LordDVG Quit (Remote host closed the connection) |
| 12:24:12 | | LordDVG has joined |
| 12:30:35 | | LordDVG Quit (Remote host closed the connection) |
| 15:18:24 | | raptor has joined |
| 15:18:24 | | ChanServ sets mode +o raptor |
| 16:31:17 | watusimoto | hi |
| 16:31:55 | raptor | hi |
| 16:32:53 | watusimoto | thanks for working on the high scores |
| 16:32:56 | raptor | you should see my ugly high scores page |
| 16:33:12 | raptor | I think I *really* dislike UI design... |
| 16:33:16 | watusimoto | I'll look tonight, and will make a pass at improving it if need be |
| 16:33:26 | watusimoto | it's very hard when you have no real widgets |
| 16:33:31 | raptor | one thing I had to do... |
| 16:33:34 | watusimoto | this is very old skool ui design |
| 16:33:40 | raptor | and we may want to change this |
| 16:33:54 | raptor | the m2cSendHighScores() protocol |
| 16:34:03 | raptor | has the following signature now: |
| 16:34:32 | raptor | Vector<StringTableEntry> groupNames, Vector<StringTableEntry> names, Vector<U16> scores |
| 16:34:53 | raptor | so it sends 4 group names, 12 names, 12 scores |
| 16:35:02 | watusimoto | I think we want to send the scores as strings |
| 16:35:27 | watusimoto | so that we can also send percentages or other non-ints without reprogramming |
| 16:35:59 | watusimoto | but this is a minor issue, easily changed |
| 16:36:09 | raptor | sure |
| 16:36:25 | raptor | just curious, can we sent complex objects? |
| 16:36:49 | watusimoto | I don't think so |
| 16:36:49 | raptor | because it would be easier to send something like this: |
| 16:36:51 | raptor | struct ScoreGroup { |
| 16:36:53 | raptor | string title; |
| 16:36:54 | raptor | Vector<string> names; |
| 16:36:56 | raptor | Vector<U16> scores; |
| 16:36:57 | raptor | }; |
| 16:36:59 | watusimoto | yes |
| 16:37:00 | raptor | or a map |
| 16:37:13 | raptor | something that is nice and ordered, instead of piecemeal |
| 16:37:23 | watusimoto | we'd have to write a special sender |
| 16:37:29 | raptor | blech |
| 16:37:32 | watusimoto | and it isn't worth it |
| 16:37:37 | raptor | nope |
| 16:38:10 | watusimoto | but we can write a fn on the master that takes such a struct and decomposes it to strings and such and a corresponding fn on the receiving end that rebuilds the structs |
| 16:38:15 | watusimoto | that's almost as good |
| 16:39:01 | raptor | I built a method that does that in UIHighScores (the receiving part) |
| 16:39:07 | watusimoto | ok, great |
| 16:39:13 | watusimoto | that's half the battle :-) |
| 16:39:16 | watusimoto | maybe the whole battle |
| 16:39:50 | watusimoto | I think we should send vec<ste> headers, vec<ste> names, vec<string> scores |
| 16:40:22 | watusimoto | and hope the # names and # scores match, and those correspond correctly to the # headers |
| 16:40:37 | raptor | 'string' not STE ? |
| 16:43:47 | watusimoto | for scores? |
| 16:43:49 | watusimoto | probably |
| 16:43:50 | raptor | yes |
| 16:44:02 | watusimoto | the chances of getting enough duplication to make ste worthwhile seems low |
| 16:44:11 | watusimoto | and it will gum up our lookup tables |
| 16:44:25 | watusimoto | ste should really only be used for "reusable" data |
| 16:44:36 | watusimoto | you gain nothing when sending one-time data |
| 16:44:42 | watusimoto | and may even lose |
| 16:44:51 | raptor | so headers makes sense |
| 16:44:58 | raptor | and user names? |
| 16:44:58 | watusimoto | absolutely |
| 16:45:01 | watusimoto | probably |
| 16:45:05 | watusimoto | we're sending those elsewhere |
| 16:45:09 | raptor | scores, could be anything |
| 16:45:11 | watusimoto | though... not really from the master |
| 16:45:12 | raptor | ok, makes sense |
| 16:45:23 | watusimoto | maybe not names |
| 16:45:26 | watusimoto | I don't know |
| 16:45:32 | watusimoto | well, the master will be up for a long time |
| 16:45:48 | watusimoto | maybe not names |
| 16:47:46 | raptor | does master / server /client all keep their own tables? |
| 16:48:32 | raptor | or is it esssentially shared among all three |
| 16:48:38 | raptor | StringTable |
| 16:50:13 | watusimoto | I think master keeps its own set |
| 16:50:54 | watusimoto | and it only synchronizes its set directly with a connecting machine |
| 16:51:48 | watusimoto | but we are MUCH less bandwidth constrained btwn master and client |
| 16:52:26 | watusimoto | think how much data is on a web page |
| 16:52:52 | watusimoto | we agonize over bits, whereas a 20k web page loads nearly instantly |
| 16:53:03 | raptor | i guess that's true |
| 16:53:31 | raptor | we still need to build in caching somehow for UIHighScores |
| 16:53:52 | raptor | right now it takes about 3-4 seconds for it to load properly once you enter the menu |
| 17:26:24 | | watusimoto Quit (Ping timeout: 245 seconds) |
| 18:51:04 | | Watusimoto has joined |
| 19:38:07 | raptor | Watusimoto: if you make m2c signature changes, i can recompile master at any time... |
| 19:48:29 | Watusimoto | ok I will after I put my kids to bed |
| 19:48:34 | Watusimoto | we were just watching Get Smart |
| 19:48:38 | Watusimoto | if you know that show |
| 19:49:34 | raptor | oldie |
| 19:49:48 | raptor | i've seen clips - looked fun |
| 20:22:46 | Watusimoto | ok, so lets see here |
| 20:22:58 | Watusimoto | I've got to update the sig of the m2c to send strings |
| 20:23:10 | Watusimoto | then work on display |
| 20:24:10 | raptor | i added the m2c in masterInterface class, then overrode it on the client-side in zap/masterConnection.cpp |
| 20:24:25 | raptor | because that was how other m2c mthods worked... |
| 20:26:13 | Watusimoto | yes |
| 20:38:53 | Watusimoto | the magic number 3 is from the fact that we have 3 scores per group? |
| 20:39:01 | raptor | yes :) |
| 20:39:18 | Watusimoto | easily computed! |
| 20:39:30 | raptor | oh yeah, duh |
| 20:39:40 | raptor | this is why i shouldn't code late at night |
| 20:39:54 | raptor | names.size / groupnames.size |
| 20:40:14 | Watusimoto | yup |
| 21:09:51 | | Zoomber has joined |
| 21:09:52 | | ChanServ sets mode +v Zoomber |
| 21:09:57 | Zoomber | raptor |
| 21:10:03 | raptor | Zoomber |
| 21:10:15 | Zoomber | do you find it odd my computer has automatically joined some random network near my house, and the internet actually works? |
| 21:10:25 | Zoomber | im so curious as to a speed test |
| 21:10:43 | Zoomber | see if there's better internet speed in my area |
| 21:10:49 | raptor | someone didn't encrypt their network |
| 21:10:51 | raptor | ? |
| 21:10:54 | Zoomber | though its probably DSL, because its a 2wire modem |
| 21:11:12 | Zoomber | well usually 2wire modems come encrypted by default, so im unsure why someone turned off encryption |
| 21:11:19 | raptor | that probably means everyone else in the area is using it, too, and speed will therefore will be slow |
| 21:11:45 | Zoomber | i doubt it, everyone seems to have their own modems in my area |
| 21:12:08 | Zoomber | and come to think of it, one of my neighbors DOES get about 2 MB/s speed |
| 21:12:13 | raptor | you'd be suprised at how fast an unencrypted network gets overloaded in any city aread |
| 21:12:16 | raptor | area |
| 21:12:28 | Zoomber | even in the hills near homes? |
| 21:12:43 | raptor | oh, your in the sub-urbs? |
| 21:12:53 | Watusimoto | ok |
| 21:12:54 | Zoomber | i can show you a map of where my house is, homes have a bit of spacing |
| 21:12:57 | raptor | probably not as fast in suburbs |
| 21:12:59 | Zoomber | not necessairly |
| 21:13:02 | raptor | yeah, you're right |
| 21:13:03 | Watusimoto | everything is un for the updated protocols |
| 21:13:12 | Zoomber | i get .25 mbps upload |
| 21:13:17 | Zoomber | thats about the same as me |
| 21:13:18 | Watusimoto | raptor, at your convenience, let me know when you get teh master updated |
| 21:13:19 | Zoomber | wait |
| 21:13:23 | Zoomber | no, download sorry |
| 21:13:25 | raptor | Watusimoto: i'll pull and compile |
| 21:13:26 | Zoomber | thats the same as me, |
| 21:13:29 | Watusimoto | you'll need to recompile tnl as well |
| 21:13:45 | raptor | what tnl changes did you make? |
| 21:13:50 | Watusimoto | Zoomber: were you playing bf last night on 015a? |
| 21:13:55 | Zoomber | oh nevermind, i get about 10 times faster, i guess your right raptor |
| 21:14:01 | Watusimoto | raptor: added a send/rcv string method |
| 21:14:08 | raptor | ahh.. ok |
| 21:14:09 | Zoomber | watusimoto: i just opened bitfighter on my imac, which i havent been on a while, realizing i need to update |
| 21:14:12 | raptor | something other than STE |
| 21:14:21 | Watusimoto | essentially the same as stringptr |
| 21:14:28 | Watusimoto | different than ste |
| 21:15:30 | Watusimoto | stringptr was the basic string sender that was already there... it essentailly converted to c-string and sent; adding that for regular strings was trivial |
| 21:16:13 | Watusimoto | raptor: funny thing is despite all that activity we saw in 015a, the stats showed no games |
| 21:16:16 | | Zoomber_ has joined |
| 21:16:16 | | ChanServ sets mode +v Zoomber_ |
| 21:16:19 | Zoomber_ | ok enough of network leeching, time to use my own network. |
| 21:16:20 | raptor | Watusimoto: http://pastie.org/3528867 |
| 21:16:23 | raptor | compile error |
| 21:16:30 | Watusimoto | oh perfect |
| 21:16:45 | raptor | invalid conversion from ‘TNL::U16’ to ‘const char*’ |
| 21:17:14 | raptor | database.cpp:373: error |
| 21:17:23 | | BFLogBot - Commit 2bd76d69a739 | Author: watusim...@bitfighter.org | Log: Updates to high score transmission -- contains untested modifications to TNL -- need to get this up on master to make sure everything is kösher |
| 21:18:09 | Watusimoto | \did I miss a U16? |
| 21:18:45 | | Zoomber Quit (Ping timeout: 248 seconds) |
| 21:18:46 | | Zoomber_ is now known as Zoomber |
| 21:19:35 | Watusimoto | missed a u16 in the ifdef'ed out cde |
| 21:19:37 | Watusimoto | just updated |
| 21:21:23 | raptor | database.cpp:365: error: no matching function for call to ‘TNL::Vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::push_back(TNL::StringTableEntry)’ |
| 21:21:25 | raptor | ../tnl/tnlVector.h:290: note: candidates are: void TNL::Vector<T>::push_back(const T&) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >] |
| 21:21:26 | raptor | database.cpp:366: error: no matching function for call to ‘TNL::Vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::push_back(const mysqlpp::String&)’ |
| 21:21:28 | raptor | ../tnl/tnlVector.h:290: note: candidates are: void TNL::Vector<T>::push_back(const T&) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >] |
| 21:21:29 | raptor | database.cpp:358: warning: unused variable ‘serverId_int’ |
| 21:22:24 | | BFLogBot - Commit b90d85659a9e | Author: watusim...@bitfighter.org | Log: quick fix |
| 21:23:16 | raptor | maybe forgot the STE.getString()? |
| 21:23:53 | Watusimoto | no, I still had a U16 instead of a string |
| 21:24:06 | Watusimoto | or is it still not compiling? |
| 21:24:34 | raptor | still not, those were the errors |
| 21:24:39 | raptor | after your minor change |
| 21:24:51 | Watusimoto | oh, sorry, didn;t see that up there |
| 21:25:52 | Watusimoto | on line 365, remove the StringTableEntry() wrapper |
| 21:26:05 | Watusimoto | i.e. names.push_back(StringTableEntry(results[i][0])); |
| 21:26:07 | Watusimoto | becomes |
| 21:26:13 | Watusimoto | names.push_back(results[i][0]); |
| 21:26:38 | raptor | ok |
| 21:27:00 | Watusimoto | if 366 still sqwaks |
| 21:27:05 | Watusimoto | scores.push_back(results[i][1]); might have to become |
| 21:27:15 | Watusimoto | scores.push_back(itos(results[i][1])); |
| 21:27:17 | raptor | both still have a problem |
| 21:27:27 | Watusimoto | it;s hard because I can't compile here |
| 21:27:38 | raptor | ah |
| 21:27:52 | Watusimoto | names.push_back(string(results[i][0])); |
| 21:27:52 | raptor | i'll resolve them.. |
| 21:27:53 | Watusimoto | ? |
| 21:28:01 | Watusimoto | just need to get those values into the string vector somehow |
| 21:31:01 | Zoomber | anyone know how write on read-only .isos? |
| 21:31:27 | raptor | ok compiled |
| 21:31:42 | raptor | master restarted |
| 21:32:27 | | BFLogBot - Commit 47f46bb71527 | Author: buckyballreaction | Log: Fix compiling master |
| 21:33:13 | raptor | i've been spoiled with how easily java turns any primitive into a string |
| 21:33:45 | Watusimoto | indeed |
| 21:33:58 | Watusimoto | so all up and working, as far as you can tell? |
| 21:34:03 | raptor | yep |
| 21:34:07 | raptor | hasn't crashed yet... |
| 21:34:13 | Watusimoto | let's see if it crashes when I test |
| 21:36:56 | Watusimoto | crash! |
| 21:37:10 | raptor | master didn't crash |
| 21:37:16 | Watusimoto | ah, but not transmission related |
| 21:37:30 | Watusimoto | string-buffer-problem |
| 21:37:53 | Watusimoto | yes, no worries |
| 21:38:34 | Watusimoto | trying to print a string using %d |
| 21:38:50 | raptor | hehe |
| 21:38:51 | Watusimoto | would be nice if compilers would error check printf strings |
| 21:39:01 | Watusimoto | for esasy-tocatch stupid stuff like that |
| 21:39:33 | raptor | but that wouldn't give you maximum hackability! |
| 21:39:36 | Watusimoto | wow... that IS ugly! |
| 21:39:59 | raptor | :) |
| 21:40:06 | raptor | i try, i try... |
| 21:40:28 | Watusimoto | totally different than what I had imagined, but maybe there's some hope for it |
| 21:40:48 | raptor | i only did the minimum my fuzzy brain would allow to see something somewhat accurate |
| 21:41:02 | Watusimoto | I think I like the basic idea of the layout |
| 21:44:59 | raptor | did you fix any compiling errors in UIHighSCores? |
| 21:47:15 | Watusimoto | yes |
| 21:47:18 | Watusimoto | just pushed |
| 21:47:29 | | BFLogBot - Commit 0faf1f246d65 | Author: watusim...@bitfighter.org | Log: Change order of display |
| 21:47:31 | | BFLogBot - Commit 1d05afba7f96 | Author: watusim...@bitfighter.org | Log: Fix display error |
| 21:47:32 | Watusimoto | when you get a chance, would you update and restart the master? |
| 21:47:32 | | BFLogBot - Commit 9599aa8075dd | Author: watusim...@bitfighter.org | Log: Merge |
| 21:47:37 | Watusimoto | please |
| 21:47:46 | raptor | sure |
| 21:47:52 | Watusimoto | I changed the order the data is sent in |
| 21:48:49 | raptor | done |
| 21:50:57 | raptor | hey... i'm on the top of two groups! |
| 21:52:01 | Watusimoto | excellent |
| 21:52:32 | Watusimoto | just an fyi: if you are not doing any formatting, you can do drawString instead of drawStringf -- it's a little more efficient |
| 21:52:52 | Watusimoto | most the string drawerers have similar f and non f variants |
| 21:53:14 | raptor | i did that at first... and i was getting buffer overflows |
| 21:53:46 | Watusimoto | ah, ok |
| 21:54:05 | raptor | but that might have been my fault for daring to try and convert an integer to a string the wrong way |
| 21:54:13 | Watusimoto | no worries |
| 21:55:11 | raptor | i was thinking... we may want to get the group titles from a config file or other database table... that way we don't have to recompile the master all the time |
| 21:55:48 | Watusimoto | but when we change the titles, won't we also change the queries? |
| 21:56:16 | raptor | probably |
| 21:56:32 | raptor | just thinking about ease of future change... |
| 21:57:01 | Watusimoto | I think once we get this going, we won;t change it very often |
| 21:57:08 | raptor | like we could have it in the master.cfg: |
| 21:57:13 | raptor | v_current_week_top_player_official_wins=Official Wins This Week, So Far |
| 21:57:20 | Watusimoto | ou master config file is such a mess |
| 21:57:24 | raptor | haha, yeah |
| 21:57:26 | Watusimoto | you can't do key=val |
| 21:57:31 | Watusimoto | it;s all just val |
| 21:57:34 | raptor | ah |
| 21:57:48 | Watusimoto | I think |
| 22:00:42 | Watusimoto | overhauling the master cfg would be nice soemtime... make it use our ini code |
| 22:01:16 | raptor | yes |
| 22:49:39 | Watusimoto | have to go to bed |
| 22:49:48 | Watusimoto | checking in an improved scoreboard |
| 22:50:05 | Watusimoto | let me know what you think! |
| 22:50:09 | raptor | ok |
| 22:50:25 | Watusimoto | make any improvements you want if this helps get any ideas flowing |
| 22:50:36 | Watusimoto | if not, this may be good enoug for now |
| 22:50:47 | raptor | i'm not a huge fan of UI design... |
| 22:50:49 | Watusimoto | text layout is so painful |
| 22:50:52 | raptor | yeah |
| 22:50:59 | Watusimoto | at least in our framework |
| 22:51:04 | Watusimoto | our "framework" |
| 22:51:14 | raptor | there are several openGL gui toolkits |
| 22:51:19 | raptor | ever thought of using one? |
| 22:51:39 | raptor | I like it! |
| 22:52:07 | raptor | look much nicer than mine - it's even readable! |
| 22:52:39 | | BFLogBot - Commit 17866d2d7dbb | Author: watusim...@bitfighter.org | Log: Nicer presentation of high scores in client |
| 22:52:41 | raptor | maybe a GUI toolkit would detract from our style... |
| 22:52:49 | Watusimoto | yes and no |
| 22:53:01 | Watusimoto | we have more and more text layout functions... I added several this evening |
| 22:53:12 | raptor | oh good |
| 22:53:20 | Watusimoto | drawCenteredUnderlinedString |
| 22:53:34 | raptor | haha |
| 22:53:35 | Watusimoto | drawStringr |
| 22:53:51 | Watusimoto | and made some others return width |
| 22:54:41 | raptor | well, i'm off to do some errands |
| 22:54:43 | raptor | good night! |
| 22:54:51 | Watusimoto | later |
| 22:57:07 | | raptor Quit () |
| 23:22:47 | | Zoomber Quit (Quit: Zoomber) |
| 23:43:14 | | sam686 has joined |
| 23:43:14 | | ChanServ sets mode +v sam686 |
| 23:46:44 | | Watusimoto Quit (Ping timeout: 265 seconds) |