#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-01-02

Timestamps are in GMT/BST.

00:01:00sam686there is another URL for old bitfighter.org http://eykamp.com/bitfighter/forums/
00:02:00raptorit's because cookies are associated with a domain name
00:02:00Watusimotosorry...
00:02:00Watusimotosam nailed it
00:02:00raptorso if a cookie doesn't match, then it won't be used
00:02:00Watusimotothe reason it should be a warning
00:02:00raptorah
00:02:00raptorok
00:02:00raptormakes sense
00:02:00Watusimotoit's such an easy mistake to make, and the intent is so obvious, the compiler should warn you
00:03:00raptorgcc didn't throw a warning either - which means it's probably part of the c++ spec
00:03:00Watusimotoyou guys know that bf.net works now, right?
00:03:00raptoryes
00:03:00raptorthanks!
00:03:00Watusimotooh yes, it's part of the spec
00:03:00Watusimotobut it should warn you anyway, because you've just made an obvious mistake
00:04:00raptoragreed
00:04:00raptorso
00:04:00raptornow that my vacation is over tomorrow - i should probably fix something bitfightery-related
00:04:00raptorwhat was on my list again?
00:04:00Watusimotoha!
00:04:00Watusimotobug!
00:04:00Watusimoto!bug
00:04:00BFLogBotTo enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current buglist for 016: http://bitfighter.org/wiki/index.php?title=Buglist_016
00:04:00Watusimotothat;s the list :-)
00:04:00raptoroh yeah...
00:05:00raptorawww
00:05:00raptorget rid of beethoven
00:05:00WatusimotoI have a couple of quickies on my paper list if you want them
00:05:00raptori think it's time...
00:05:00Watusimotoyes
00:05:00raptori'll do that...
00:05:00Watusimotoeasy
00:05:00raptori'll do quickies!
00:05:00raptorease me back in..
00:05:00Watusimotothe easiest may be that when in console
00:06:00Watusimotohitting up arrow retrieves previous history
00:06:00Watusimotobut it shouldn't wrap
00:06:00Watusimotobut it is wrapping
00:06:00Watusimotodown arrow works properly
00:06:00Watusimotootoh, I've workied with cmd history so much, it might be easier for me
00:06:00Watusimotoso either way
00:07:00WatusimotoThe other easy(ish) one is in the editor, when you have multiple objects selected, attributes aren't shown
00:07:00Watusimotoin 015a we showed attributes of first object selected, even when several different kinds were
00:08:00Watusimotomy note to myself says: "editor attrs when mult. items are selected and attrs are the same"
00:08:00sam686wait a minute about forum and cookie, then how does cookie work on my forum from any domain name? http://sam686.maxhushahn.com http://208.107.12.78 http://host-78-12-107-208.midco.net
00:09:00Watusimotobasically, I think we should either 1) make editor show attributes of first item, like 015a, or do that only when objects are same type
00:09:00Watusimotonot sure; but resolving that is one of the items on my list
00:10:00raptorsam686: i have no idea now...
00:12:00sam686forum admin control panel - cookie settings?
00:13:00WatusimotoI'll work on these tomorrow if you don;t like them. --I'm dozing off, so see you later.
00:13:00raptornight
00:13:00Watusimotonight sam
00:13:00sam686mine is set to: Cookie domain: localhost Cookie name: phpbb3_su553 Cookie path: /
00:14:00raptorsam686: i can't find cookie settings
00:15:00sam686oh and where the admin for me for old forum database, but new server
00:15:00sam686general - SERVER CONFIGURATION
00:15:00sam686Cookie settings
00:16:00sam686i think the problem is cookie path?
00:16:00raptorinteresting, i find no 'server configuration' on the admin control panel on bitfighter.net
00:17:00raptori bet you can only access that locally
00:17:00sam686try /forum/adm/index.php?sid=__fill_this_in___&i=board&mode=cookie
00:19:00raptorok
00:20:00sam686what does this look like? http://sam686.maxhushahn.com/upload/phpbb_cookie_options.PNG
00:21:00raptorliek this: http://sam686.maxhushahn.com/upload/1snapshot2.png
00:23:00sam686not sure whats wrong then...
00:23:00sam686something might be wrong with that modded version of phpbb?
00:25:00sam686delete forums/cache/*.php ?
00:25:00raptordone
00:25:00raptortesting
00:26:00raptorbad move...
00:31:00raptorok fixed it
00:31:00raptorstill not working..
00:32:00sam686fixed admin control panel?
00:33:00raptornope
00:33:00sam686i kind of found something that might have helped. http://www.phpbb.com/kb/article/fixing-incorrect-cookie-settings/
00:33:00sam686so, in database (option 3 on that like)
00:34:00raptorah, i'm already there... :)
00:34:00sam686in phpbb_config there is cookie_path what is it, and try /
00:35:00raptorit's '/'
00:35:00raptorbut the cookie_domain is: .bitfighter.org
00:35:00sam686or maybe try changing or blanking the cookie_domain ?
00:35:00sam686i don't know why mine works when it was left at "localhost"
00:35:00raptori will change it to that..
00:36:00raptorrats still doesn't work - let me try getting rid of cache again..
00:37:00raptorthat worked!
00:37:00raptorok localhost cookie_domain
00:37:00raptorand then clear cache
00:37:00raptorgotta remember that...
00:37:00raptorthanks sam686
00:38:00sam686ok, so all you did is change domain, clear cache, and it works?
00:38:00raptoryep
00:38:00BFLogBot - Commit ebb377366c35 | Author: buckyballreaction | Log: Goodbye Beethoven
00:38:00BFLogBot - Commit 78c701addcf7 | Author: buckyballreaction | Log: Comment out debug statement
00:38:00BFLogBot - Commit a4106727454b | Author: buckyballreaction | Log: Don't wrap console history
00:47:00Watusimotowhoa, that was fast
00:47:00raptoronly when you're tired :)
00:47:00Watusimototell me about it
00:48:00Watusimotomaybe you shoudl do the evilest of bugs while you're on a roll!
00:49:00raptori still can't duplicate!!
00:49:00raptori got it once a couple weeks ago
00:49:00Watusimotoexcuses, excuses.
00:49:00Watusimotowell, I created it, I should suffer as my punishment
00:50:00sam686i kind of buzy trying to make Worm better...
00:51:00raptorif you ever find a way to duplicate, let me know :)
00:51:00raptorWorm?
00:51:00raptoroh yeah
00:51:00raptorfeature creep!
00:51:00Watusimotothat;s for 019
00:51:00raptor(but would be pretty cool...)
00:51:00Watusimotoyou could work on the new game type if you want
00:52:00Watusimotothat's a pretty fun task
00:52:00Watusimotoi want to have a least one blockbuster feature of 016, and that's probably it
00:55:00raptora feature?
00:56:00raptornaww
00:56:00raptorwe don't need no stinking features
00:57:00Watusimotook, really am going to bed
00:57:00raptorfor real?
00:57:00Watusimotoas soon as I learn this:
00:57:00raptorgood night
00:57:00raptorwhy was six afraid of seven?
00:58:00Watusimotodoes music get played just by virtue of being in the music folder?
00:58:00raptoryes
00:58:00Watusimotoi.e. to remove beethoven, you deleted
00:58:00Watusimotook
00:58:00Watusimotoso to add new music, just add to folder
00:58:00raptorunless the volume is zero
00:58:00raptorcorrect
00:58:00Watusimotobut it plays all the time
00:58:00raptoryes
00:58:00Watusimotoin menus and in game
00:58:00raptorrudimentary
00:58:00Watusimotoyes
00:58:00Watusimotook
00:58:00raptorbut i did add in stop/start/pause functions
00:58:00Watusimotofor 016a, I think we should have different music for menus and for game
00:59:00BFLogBot - Commit 0c0fac7748fd | Author: watusim...@bitfighter.org | Log: Fix "barrier shadow" bug, #37 in the wiki bug list
00:59:00BFLogBot - Commit 400ff14a48c4 | Author: watusim...@bitfighter.org | Log: Merge
00:59:00Watusimotothat seems to be the standard these days
00:59:00raptoroooo you got the barrier shadow bug?
00:59:00Watusimotodone
00:59:00raptor!!
00:59:00Watusimotowe're making progress
00:59:00raptorevery time i tried that one, it was late at night - so i feel like i could never get it
01:00:00Watusimotowell, I had some idea what was going on as I wrote all the related code, recently
01:00:00Watusimototook an hour, should have taken half that, but oh well
01:00:00raptorphoew - i'm glad i was sort of in the right direction with my comment there..
01:00:00raptori was secretly hoping i wasn't leading anyone astray
01:01:00Watusimotono, it was helpful
01:02:00Watusimotook, well, that's it.
01:02:00Watusimotonight all!
01:02:00Watusimotofor real!
01:02:00raptornight
01:02:00raptorzzzzzzzzzzz
01:03:00sam686zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
01:03:00Watusimotono kidding
01:04:00BFLogBot - Commit df14d4b54a93 | Author: watusim...@bitfighter.org | Log: I think this is better... maybe?
01:08:00Watusimoto Quit (Ping timeout: 252 seconds)
02:23:00karamazovapy Quit (Read error: Connection reset by peer)
02:23:00karamazovapy has joined
02:24:00raptordave barry's year in review can get tiresome from how snarky it is
02:42:00sam686i wonder if the instruction should say which chat color goes with what, like Green is team chat, white is global chat...
02:56:00raptornot sure..
03:22:00raptorok ok... i should spend time on a real bug now
03:43:00raptori'm so sad beethoven is gone - it's like a little part of me died from the bitfighter codebase
03:48:00sam686what beethoven?
03:48:00sam686music file?
03:48:00raptorit was the test music that i added half a year ago
03:48:00raptoryes
03:49:00sam686it is still there, you just need to go back a few revision...
03:55:00raptoris grabbing all the ClientRef of all players and expensive operation?
03:55:00raptorlike would it be bad to do in a render loop?
03:55:00raptoreither network or cpu intensive?
03:56:00sam686i don't think it will hurt the network at all..
03:56:00sam686but it might eat tiny amount of CPU
03:56:00raptorhmmm....
03:56:00sam686but only with hundreds of players
03:56:00sam686or hundreds of robots
03:56:00sam686how are you doing it?
03:57:00raptori'm trying to show the top score in rabbit in the UIGame
03:57:00raptorI was just going to do something like this:
03:57:00raptorVector<ClientInfo *> playerScores;
03:57:00raptor gameType->getSortedPlayerScores(0, playerScores);
03:57:00raptorthen show your score and the leaders score
03:58:00sam686well... just do it as a loop, it won't hardly hurt the performance, maybe 0.1 % increased CPU usage\
03:59:00sam686we could figure out how to improve performance later...
03:59:00raptorok, let me finish what I have and i'll show it to you..
04:13:00raptors_bot is still non-functional
04:13:00sam686tick() fails to run?
04:13:00raptorprobably
04:14:00raptordid you alter s_bot code? (maybe i forgot to copy the new one to exe/
04:15:00sam686copy /resource/excipts to /exe/scripts again?
04:16:00raptorsigh
04:16:00raptorok working again..
04:37:00raptorok sam686, i have a semi-working patch
04:37:00raptorhttp://sam686.maxhushahn.com/upload/leaderboard.diff
04:38:00raptorthere are two problems with it
04:38:00raptor1. the 1st-place score doesn't update unless you press <tab> first
04:38:00raptor2. your score doesn't update at all
04:38:00raptorplay a bitmatch game
04:39:00sam686more like both 1 and 2 are together, it only updates when you press tab
04:39:00raptorso the 1st place persons score is on top
04:39:00raptorand yours on bottom
04:39:00raptorbut the bottom one never updates
04:40:00sam686i was testing Worm...
04:40:00raptoroh, haha
04:41:00sam686it kind of works, but doesn't work right..
04:44:00sam686oops, you might want to delete GameConnection::readPacket
04:44:00raptorwhere?
04:45:00sam686GameConnection.h .cpp bottom
04:45:00sam686all that does is print repeatedly...
04:45:00raptori didn't add that - i was wondering about that..
04:45:00sam686or i can remove it..
04:45:00sam686i was looking at the speed and packet rate, and had to do it that way...
04:46:00raptorah
04:47:00sam686maybe, i could use that as an in-game bandwidth monitor, for example..
04:48:00raptorthat's a good idea
04:49:00sam686i can come back to that bandwidth monitor system, maybe for 016a or 016b..
04:50:00sam686ok, i got that thing removed for now... to avoid flooding the console with bits of sizes...
04:50:00raptorwould you have a moment to help me diagnose those two problems?
04:53:00sam686ok, i will just set aside the Worm stuff, and see your patch now...
04:54:00BFLogBot - Commit db27a1f43c82 | Author: sam8641 | Log: I guess I forgot to remove those functions that test connection speed.
04:55:00raptorthanks!
04:55:00sam686GameType.cpp line 553 ?
04:55:00sam686if(mGameOver || mGame->getClientInfo(i)->getConnection()->wantsScoreboardUpdates())
04:55:00sam686try removing that?
04:55:00raptorweird
04:57:00raptorexcept that is server side?
04:57:00sam686yes
04:57:00sam686server sends score to client
04:58:00sam686and also send pings of everyone
04:58:00sam686that is, only if the client is viewing the scoreboard
04:58:00raptoris there client-side caching of the score?
04:59:00raptorI would want to access that instead of always asking the server
04:59:00sam686clients does not know the score, only server does,
04:59:00sam686the server have to send scores to clients
04:59:00raptorthis would significantly increase bandwidth, then
05:00:00sam686well then, how about sending only their own score and the winner score?
05:00:00raptorbecause the render method would constantly be calling the update
05:00:00sam686and let the server find the highest score to send
05:00:00raptorwell yes - but it's still constantly asking the server
05:01:00raptorI was hoping there was a local score cache that the server updated upon score change
05:01:00sam686it only does so about 2 times a second
05:01:00sam686or less
05:02:00sam686maybe you can make server update to client only when score changes, in GameType::updateScore
05:03:00sam686or maybe in GameType::checkForWinningScore
05:03:00raptoryes, that's a good idea
05:03:00raptorhow does the server update the team score each time?
05:03:00raptorbecause we render the team score
05:04:00sam686you may want to check for errors with leader board stuff, when level changes...
05:04:00raptoryeah - i'm not there yet
05:05:00raptorso game->getTeam() is properly populated with teh score all the time
05:05:00raptori need an equivalent for the players
05:10:00raptormaybe i'll need a new s2c method
05:21:00sam686well, i am adding a s2cSetPlayerScore
05:21:00raptorhey i just did that too
05:21:00raptor:)
05:21:00raptori think you pointed me in the right direction
05:24:00koda Quit (Quit: koda)
05:28:00raptorare you still working on this? (I don't want to have us both spend time on it - it's not efficient)
05:30:00sam686http://sam686.maxhushahn.com/upload/s2cSetPlayerScore.txt
05:30:00sam686want me to push that?
05:30:00sam686i would need to test...
05:31:00raptorwow, let me look
05:31:00raptori'll just add that in with the rest
05:32:00sam686seems to work,,
05:33:00raptorwhat index is that?
05:34:00sam686i just took some code from s2cScoreboardUpdate
05:34:00sam686and s2cScoreboardUpdate had it indexed, no sending names..
05:36:00sam686Changeset: (9ea555d6ac3c) Add s2cSetPlayerScore so non-team games lets client always have updated score
05:36:00sam686there i pushed
05:36:00raptorok
05:37:00raptorthanks! i'll work it in
05:39:00BFLogBot - Commit 9ea555d6ac3c | Author: sam8641 | Log: Add s2cSetPlayerScore so non-team games lets client always have updated score
05:42:00raptoris updateLeadingTeamAndScore() needed?
05:43:00raptorwait, yes it is
05:43:00raptornevermind
05:43:00sam686i think what GameType::updateLeadingTeamAndScore does is it sorts right after score changes..
05:44:00sam686so you don't have to sort on render / idle loop
05:46:00raptorstill have to sort - it only updates the leading team score, not player score
05:49:00raptoractually i will add an mLeadingPlayer to gameType
06:35:00raptorcan't join your host
06:35:00sam686can't join?
06:35:00raptorhas password
06:35:00sam686try again? i did /setlevpass to clear it
06:36:00raptorstill locked
06:36:00sam686oops wrong command /setserverpass
06:36:00sam686now try
06:45:00raptorhmmm, i still can't figure out why getGame()->getClientInfo()->getScore() is always zero
06:47:00sam686getClientInfo(index) (what is the index?)
06:47:00raptorit's don'e through ClientGame
06:47:00raptorso no player index
06:47:00raptorshoudl be the current UI player
06:48:00sam686the only time i see getClientInfo() without needing an index is through game connection, but maybe that path is wrong
06:49:00sam686you said getGame()->getClientInfo()->getScore() (i was kind of confused as getClientInfo needs index when going through getGame path
06:49:00raptoryes, sorry
06:50:00raptori mean to clarify that in a UI class, getGame() always returns mClientGame
06:56:00raptorwell, i'm going to bed
06:56:00raptori will check in what I have so far
06:56:00raptorworks except for showing your player score
06:57:00raptori will look at it again tomorrow
06:58:00sam686ok, but i checked in first
06:58:00raptorstill not sure why getScore() in mClientGame->getClientInfo() is always 0
06:58:00raptorha!
06:58:00raptoryou won
06:58:00sam686i think i got the new Worm working, except worm go through walls..
06:59:00BFLogBot - Commit 2a8acd2937d1 | Author: sam8641 | Log: Redesign Worm so it is really a "Worm"
06:59:00sam686you can join my server to see my new Worm if you updated to latest..
06:59:00raptorok
07:00:00raptorcompiling
07:00:00raptorfailed to compile...
07:00:00sam686errors?
07:01:00raptoryeah
07:01:00raptormoveObject.cpp: In member function ‘virtual void Zap::Worm::idle(Zap::GameObject::IdleCallPath)’:
07:01:00raptormoveObject.cpp:1812:27: error: ‘Zap::GameObject::IdleCallPath’ is not a class or namespace
07:02:00sam686zap\moveobject.cpp(1812) : warning C4482: nonstandard extension used: enum 'Zap::GameObject::IdleCallPath' used in qualified name
07:02:00sam686same line, except i only got a warning
07:02:00raptorgcc treats it as error
07:02:00sam686easy fix...
07:03:00sam686but, did you fix that to compile and push?
07:03:00raptornot yet
07:03:00raptoryou?
07:03:00raptoryou can do it
07:03:00sam686not yet
07:03:00sam686ok
07:03:00raptorpath == ServerIdleMainLoop
07:03:00raptorshould fix it
07:04:00sam686is that no more errors after that?
07:04:00raptorno more errors
07:05:00sam686more runtime errors...
07:05:00raptor?
07:05:00sam686there, my server going
07:06:00raptornight
07:07:00raptordid you push the fix
07:07:00raptor?
07:07:00sam686i pushed,
07:08:00raptorme too
07:08:00raptorgood night
07:08:00raptor Quit (Remote host closed the connection)
07:08:00sam686night
07:09:00BFLogBot - Commit 69dabc026db5 | Author: sam8641 | Log: fix compile warning (or error on linux GCC)
07:09:00BFLogBot - Commit b4b7104583d7 | Author: buckyballreaction | Log: Render top score in a non-team game like rabbit/bitmatch; Still need to get client score to render properly - it always displays '0'
07:41:00sam686 Quit ()
08:24:00watusimoto has joined
08:24:00ChanServ sets mode +o watusimoto
10:17:00koda has joined
10:39:00karamazovapy Quit (Read error: Connection reset by peer)
10:39:00koda Quit (Quit: koda)
11:02:00LordDVG has joined
14:30:00koda has joined
14:46:00watusimoto Quit (Ping timeout: 252 seconds)
15:41:00raptor has joined
15:41:00ChanServ sets mode +o raptor
16:14:00watusimoto has joined
16:14:00ChanServ sets mode +o watusimoto
16:20:00raptorgood day!
16:23:00LordDVG Quit (Ping timeout: 248 seconds)
16:26:00LordDVG has joined
16:38:00karamazovapy has joined
16:43:00LordDVG Quit (Ping timeout: 244 seconds)
16:46:00raptorhi watusimoto
16:47:00LordDVG has joined
16:49:00LordDVG Quit (Excess Flood)
16:51:00LordDVG has joined
16:51:00karamazovapyI still have this junky old zap theme if you want it for music - http://www.mediafire.com/?yt3p86884c8b64d
16:52:00raptorwho made that?
16:52:00karamazovapyI did it as kind of a conceptual thing a couple years ago
16:54:00raptordid you use a tracker?
16:54:00karamazovapywhat?
16:55:00raptora tracker for module files, then convert it to mp3
16:55:00karamazovapyI did it in reason
16:56:00karamazovapyI have the reason file, although I don't think I have reason on this machine anymore
16:57:00raptoroh yeah - looks like that software has advanced tracking capabilities
16:58:00raptori wonder could you have exported to .s3m/.it/.xm/.mod?
16:58:00karamazovapyI'm gonna re-download reason...I have another idea for music, anyway
16:58:00raptoris it for mac only?
16:58:00raptorno - i found windows reference
16:59:00raptorinteresting
17:00:00karamazovapyit's usually a dual disc
17:01:00karamazovapyI'm a little more familiar with reason than ableton
17:01:00karamazovapybut I've been thinking about going over to ableton
17:01:00raptori'm completely unfamiliar with most music software...
17:01:00raptormusic creation software, i mean
17:02:00karamazovapyreason is pretty much exclusively midi-based
17:02:00karamazovapyyou can compose and record midi in it
17:02:00karamazovapyableton has a lot more live audio functions
17:02:00karamazovapylike looping, live sampling, delay
17:08:00raptorthis is what i'm semi-familiar with: https://en.wikipedia.org/wiki/Tracker_%28music_software%29
17:08:00raptoroutputs 'module' files which are really small and probably would be the best format for bitfighter instead of vorbis/mp3
17:08:00karamazovapyright. most midi/whatever programs have a roll somewhere that is essentially a tracker
17:09:00karamazovapyit's usually graphical as opposed to verbose, though
17:12:00raptorlooks like OpenMPT is one of the most popular tracking software
17:17:00raptorwatusimoto: if you're around, I tried to do the bug with showing the top feature in rabbit games
17:17:00raptorIt is working now except for showing your own score below it
17:17:00raptorwhich always says '0'
17:17:00raptori'm not quite sure why
17:18:00raptortop score, not top feature
17:19:00watusimoto Quit (Ping timeout: 276 seconds)
17:21:00raptorok bye then
17:23:00raptorkaramazovapy: UI question: in rabbit/bitmatch would you rather:
17:24:00raptor1. in the bottom right corner of the screen see the winning player's score with your score right below
17:24:00raptor2. See the top 3 scores (or similar)
17:24:00raptor3. Something else
17:50:00LordDVG Quit (Ping timeout: 255 seconds)
17:55:00LordDVG has joined
18:04:00raptor!bug
18:04:00BFLogBotTo enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current buglist for 016: http://bitfighter.org/wiki/index.php?title=Buglist_016
18:35:00karamazovapyraptor: #1
18:35:00karamazovapyor - #3 - score to win, leader, me (or win, me, second)
18:35:00karamazovapy(if I'm leading)
18:36:00karamazovapywin score is as important as the leader
18:36:00karamazovapyso check that - not #1
18:53:00LordDVG Quit (Ping timeout: 240 seconds)
19:04:00LordDVG has joined
19:22:00raptorback
19:22:00raptorso: 'score to win', leader, me
19:22:00raptori can do that
19:34:00raptorkaramazovapy: like this?: http://sam686.maxhushahn.com/upload/11screenshot_4.png
19:35:00raptori am completely open to changing the wording and coloring
19:36:00raptorespecially the wording
19:36:00raptorand the coloring
19:50:00Zoomber Quit (Quit: Zoomber)
19:51:00Zoomber has joined
19:51:00ChanServ sets mode +v Zoomber
19:51:00raptorok how about this: http://sam686.maxhushahn.com/upload/11screenshot_5.png
19:51:00raptora little better i think
19:52:00Zoombermuch better
19:52:00Zoomberi dont think the 1st: is necessary though
19:52:00raptorhi
19:52:00raptorok
19:52:00Zoombermaybe we can fade the color down as they are in 2nd, 3rd, etc
19:52:00Zoomberhi
19:53:00raptorwell that is what the scoreboard is for
19:53:00raptorthis is just quick reference to help with those maps
19:53:00raptorthose gametypes, i mean
19:53:00raptorso would 2nd/3rd really be needed?
19:56:00Zoomberis this for bitmatch?
19:56:00Zoomberzapmatch
19:56:00raptorand rabbit
19:56:00Zoomberalso, what's with this 199.192 ip having a nicer updated version of the bitfighter website?
19:57:00raptorhehe
19:57:00raptorit's our new host
19:57:00raptorwe'll transition when 016 comes out
19:57:00Zoomberah, the one you and watusimoto bought 2 weeks ago?
19:58:00raptorhe did, but sam686 and I have been administering it
19:58:00raptoryes
19:58:00raptorthat one
19:59:00zoomberonthebitf has joined
19:59:00raptorhere is rabbit: http://sam686.maxhushahn.com/upload/11screenshot_6.png
19:59:00zoomberonthebitfoooh, this long awaited idea from the summer
20:00:00Zoomberok i like that, as you don't need a 'tab' key to remind yourself who is doing good
20:00:00Zoomberso, maybe i dont have this right, is the score board showing "1st place, and your position?
20:00:00raptoryes
20:00:00Zoomberkind of like call of duty
20:01:00raptornever played it..
20:01:00Zoomberscore at the bottom is always the winner and your score under it
20:01:00raptorso it must be a good idea then!
20:01:00raptor:)
20:02:00Zoomberis that image in the code, or just photoshopped in?
20:02:00zoomberonthebitf Quit (Client Quit)
20:02:00raptori coded it - but i have to push the changes
20:02:00raptoronce they are cleaned-up a bit
20:04:00raptorhttp://sam686.maxhushahn.com/upload/1screenshot_7.png
20:04:00raptor^^ that is with the '1st.' removed and your score dimmed a little
20:04:00Zoomberagh you beat me to it
20:05:00Zoomberand i was photoshopping :)
20:05:00raptorhaha
20:05:00Zoomberthats exactly what I was thinking
20:05:00raptordim your score even more, maybe?
20:06:00raptora tad more: http://sam686.maxhushahn.com/upload/1screenshot_8.png
20:06:00Zoomberyes!
20:06:00raptoroops an asteroid got in the way
20:06:00Zoomberjust an idea...try dimming s_bot just slightly
20:06:00raptorok
20:07:00raptorhere: http://sam686.maxhushahn.com/upload/screenshot_9.png
20:08:00Zoomberi like it
20:08:00raptori'm not very good a UI stuff
20:08:00raptorlike how colors go together
20:08:00Zoomberactually I think you did a pretty good job though
20:08:00Zoomberlets see
20:09:00Zoomberis it possible for you to send me the code? I just want to see what ideas I can create
20:09:00raptorok, do you know how to apply a diff?
20:09:00Zoomberthe basic format looks nice though
20:09:00Zoomberraptor: what I dont know, I try 100 times to figure out
20:10:00raptorgreat!
20:10:00raptorthat's the spirit
20:11:00raptoron the latest revision, apply this diff to get those changes: http://sam686.maxhushahn.com/upload/leader_adjustments.diff
20:11:00raptoris there a tortoise HG for Mac?
20:11:00Zoomberi see you put something on there b4b7104583d7
20:11:00Zoomberi use MacHg
20:11:00Zoomberwhich gives me a new motto, (what i dont know, there's a GUI for)
20:12:00raptoryes, note that the bottom score (yours) always says 0
20:12:00raptori have to talk to watusimoto about architectural changes to get it to work..
20:12:00raptorseems like such a simple thing though
20:12:00raptorjust FYI
20:15:00raptori'm going to do some mac project clean-up...
20:16:00Zoomberoh yeah, you still have 10.4-10.6
20:16:00Watusimoto has joined
20:16:00Zoomberi had to update all my computers to lion, dropped compatibility for half the stuff out there
20:17:00raptoruh oh
20:17:00Zoomberyeah, don't upgrade
20:17:00raptordefine 'had to upgrade'
20:17:00Zoomberi can just forget about 10.4 stuff
20:17:00Zoomberoh
20:18:00Zoomberhad to upgrade "decided to upgrade ONE mac to see what it was like" and other software I needed "only worked with lion"
20:18:00raptorof course!
20:19:00raptorit's apple's way of forcing you to keep buying more software/hardware from them
20:19:00Zoomberthat's what screws me over the most. one software I need stops working with lion, the other only works with lion
20:19:00raptorsame strategy as in the 90s
20:19:00Zoomberi bet apple's going to force all mac apps to be lion-64 bit only soon
20:19:00raptorthe way they will do it is to get all the application to drop compatibility for earlier OSes
20:19:00Zoomberthe lion upgrade I somehow got for free from them, but now I have to re-buy all the apps i need
20:19:00raptorha!
20:20:00raptorjerks
20:20:00Zoomberyeah, they give a free upgrade to imacs that were purchased from a "specific date" and up
20:20:00Zoombermine was 2 months earlier, but i tried it anyways and it worked.
20:20:00Zoomberits all baloney
20:21:00raptorwell, their strategy will have a little backlash - those that know about open source software will jump ship and not buy any apps!
20:21:00Zoomber is a man overboard
20:21:00raptorhaha
20:23:00Zoomberi hate the mac layout now. its harder to get used to
20:23:00Zoomberwas better with the old xcode, which now that my IBM is gone i can't use
20:24:00raptoris xcode 4 functional yet?
20:24:00raptorerrr, i mean, less crashy?
20:24:00Zoomberdefine "functional"
20:24:00raptorha
20:24:00Zoomberoh, its crashed for me alot in the past
20:24:00Zoombernot too bad, but
20:25:00Zoomberi dont like how i cant customize the tool bar anymore, or have any of those old kind of tabs
20:26:00Zoombernow, i have to "edit scheme" and select "Run for "x86_64" (your new build config) to be able to build it
20:26:00raptorthat's because apple knows what you want more than you do
20:26:00raptor:)
20:26:00Zoomberlol
20:27:00Zoombercheck out this error
20:27:00Zoomber[BEROR]error: There is no SDK with the name or path '/Users/thunderroad-mc/BitfighterMain/build/osx/xcode/macosx10.4'
20:27:00Zoomberwhen i updated xcode, apple actually destroyed the 10.4 sdk
20:27:00Zoomberits gone
20:27:00raptorwhat!
20:28:00Zoomberif you have a virtual os with xcode 4.2
20:28:00raptorhttp://stackoverflow.com/questions/5364592/how-can-i-install-the-osx-10-4u-sdk-to-support-backwards-compatible-osx-builds
20:28:00Zoomberdo command + shift + G
20:28:00Zoomberand go /developer/sdks
20:28:00Zoomberyeah i know, i have to add it back myself
20:29:00raptorhere's the real howto: http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4
20:29:00raptori might have to do that if i get a Lion VM somehow...
20:30:00Zoomberbah, i need to install xcode 3 again then
20:30:00Zoomberi wouldn't even waste time getting a lion vm
20:30:00Zoomberi bet you would hate it
20:31:00Zoombermaybe the complete opposite of what you like to see in a computer
20:31:00raptorthat would be quite the feat - mac os is already that ;)
20:31:00LordDVG Quit (Read error: Connection reset by peer)
20:31:00Zoomberhttp://ihackthatifone.com/wp-content/uploads/2010/10/lion_springboard1_20101020.jpg
20:32:00Zoomber*raptor's favorite kind of OS ^
20:32:00Zoombernotice how theres 2 places to open some of the apps
20:35:00raptorah yes
20:35:00raptorKDE implemented that option a while ago - but it is default off
20:35:00Zoomberso all i did is switched the base sdk to "Current Mac OS" for the debug build...since that build is more just for your comp
20:36:00Zoomberwhat, the quicklaunch thing?
20:36:00raptoryep
20:36:00Zoomberim afraid that will soon become the whole "finder" of mac
20:37:00raptoryes, i'm sure they want your computer to act just like a mobile device
20:37:00raptorthe great OS merge is coming, maybe
20:37:00Zoomberoh, its evident
20:37:00ZoomberGarage Band is already available for the iphone
20:37:00raptoroh hey, when did Watusimoto show up?
20:38:00Zoomberoh hey watusimoto
20:38:00ZoomberZoomber
20:38:00Zoomber:
20:38:00Zoomberoh yeah, you still have 10.4-10.6
20:38:00Zoomber[12:16p] Watusimoto joined the chat room.
20:38:00Zoomber[12:17p]
20:38:00ZoomberZoomber
20:38:00Zoomber:
20:38:00Zoomberi had to update all my computers to lion, dropped compatibility for half the stuff out there
20:38:00Zoomber[12:17p]
20:38:00Zoomberraptor
20:38:00Zoomber:
20:38:00Zoomberuh oh
20:38:00Watusimotohi zoomber I'm raptor
20:38:00Zoomberwow, that came out as 12 lines.. oops
20:38:00raptorwait what
20:38:00Zoomberno your not Watusimoto!
20:38:00Watusimotoyes, I am
20:38:00Watusimotoraptor
20:38:00Zoomberif you were really raptor, you would actually identify!
20:38:00Watusimotothat is
20:38:00raptorhi Watusimoto, I have an architectural question
20:39:00Watusimotosure watusimoto
20:39:00Watusimotozoomber is always accusing me of being you
20:39:00Watusimotoor you of being me
20:39:00Watusimotoor something like that
20:39:00raptoris there any way for ClientGame's ClientInfo object (LocalClientInfo?) to know which of Game's ClientInfo object's it is?
20:39:00Zoomberi joined the chatroom and there were two "watusimotos"
20:40:00Zoomberone of them was identified and OP, so i assumed that one was raptor
20:40:00raptorthe problem: using getGame()->getClientInfo()->getScore() always return 0
20:40:00raptorgetGame() in that instance is ClientGame
20:40:00raptorwhen used from a UI class
20:41:00Watusimotoyour question sounds like my favorite sentence
20:41:00WatusimotoBuffalo buffalo buffalo Buffalo buffalo
20:42:00WatusimotoZoomber, there are actually 3 of me, though we;re usually not on at the same time
20:42:00Watusimotoso your assumption wasn;t that far off
20:42:00Watusimotoraptor, I'm having trouble parsing that question
20:43:00WatusimotoClientGame's ClientInfo object (LocalClientInfo?) <=== client's info about itself?
20:43:00Watusimotothat it recieved from the server?
20:43:00Zoomberoh, I think he's trying to get his name at the bottom corner in the screen in bitmatch and rabbit, and to have his score display next to it
20:43:00WatusimotoGame's ClientInfo object's it is <=== meaning if it belongs to the clientGame or the serverGame?
20:44:00raptorWatusimoto: for reference, i am doing this: http://sam686.maxhushahn.com/upload/screenshot_9.png
20:44:00raptorbottom right hand corner
20:44:00Watusimotook
20:45:00Watusimotothat url confuses me -- why does it have so many peoples' names in it?
20:45:00raptorhaha - it's a joint DNS effort by Zoomber and sam686
20:45:00Zoomberits a CNAME on my domain that goes to sam's server
20:45:00Watusimotook ?
20:45:00raptorWatusimoto: now go here: https://code.google.com/p/bitfighter/source/detail?r=b4b7104583d76572f7df39a61f6a22b64ff98219
20:46:00raptoropen up UIGame.cpp
20:46:00raptorand look at the green, you'll see: S32 score = getGame()->getClientInfo()->getScore();
20:46:00raptorthat is always 0
20:46:00Watusimotook... doing it... a little slow because the bits need to come all the way to luxembourg
20:46:00raptorand architecturally I am curious why that is
20:47:00Zoomberraptor
20:47:00raptoryes
20:47:00Zoomberis there supposed to be a "music" folder in bitfighter/resource?
20:47:00WatusimotoLine 3113? (it's not green for me)
20:48:00WatusimotogetGame()->getClientInfo()->getScore();
20:48:00Watusimotowe can assume that getGame() brings back the local ClientGame
20:48:00raptoryes
20:49:00raptorand sorry it isn't green
20:49:00Watusimotofound this comment:
20:49:00Watusimoto // Note that gc and gameConnection aren't the same, nor are gc->getClientInfo() and mClientInfo the same.
20:49:00Watusimoto // I _think_ gc is the server view of the local connection, where as gameConnection is the client's view.
20:49:00Watusimoto // Likewise with the clientInfos. A little confusing, as they really represent the same thing in a way. But different.
20:49:00raptorwow
20:49:00Watusimotodoes that clarify things?
20:49:00raptorumm
20:50:00WatusimotoI didn't think so
20:50:00Watusimotook
20:50:00Watusimotoso maybe this is it
20:50:00Watusimotothe client has two client infos about itself
20:50:00raptori figure the LocalClientInfo object that ClientGame has is probably different than the ones that Game has on the client/server
20:51:00Watusimotoone that it uses to keep track of stuff it wants to know
20:51:00Watusimotoand one that is a copy of what the server has sent to the other clients
20:51:00raptoryes ok
20:51:00Watusimotoeach client has a clientinfo for each of the other clients
20:51:00Watusimotoso maybe the local clientinfo doesn;t have score
20:51:00Watusimotomaybe you need the one that the server sends out
20:52:00Watusimotobecause the server tracks score
20:52:00raptorthat's what i figured, too
20:52:00raptorso
20:52:00Watusimotook, good
20:52:00raptorthe question is
20:52:00WatusimotoI think you want gc->getClientInfo()
20:53:00raptoris there an easy way that the client knows which of the ClientInfos is its own that is sent from the server
20:53:00Watusimotoand I'll bet getGame()->getClientInfo() gets mClientInfo
20:53:00raptorit does
20:53:00WatusimotoI'm not sure you can tell from an arbitrary client info
20:53:00raptori guess i was expecting mClientInfo to be filled out or at least have a reference to the other one
20:53:00Watusimotobut you don't need to
20:54:00Watusimototry gc->getClientInfo()->getScore
20:54:00WatusimotoI'm guessing that might work
20:54:00raptorok, if it does - does it ever use network bandwidth? (i'm trying my hardest to avoid any network usage because this is in a render method)
20:56:00Watusimotoif I understand your question, no; the clients have these clientInfos from the server, and the server just sends out updates. You;d be looking at your local copy
20:56:00Zoomberraptor: Weaponinfo.cpp needs to be added to xcode
20:56:00WatusimotoclientInfos are set upon connection
20:57:00Watusimotoand deleted on disconnect
20:57:00Watusimoto(but -- maybe -- clients disconnect after each game, and reconnect at the beginning of the next -- not sure)
20:57:00Watusimotoalso.... I finished a google case
20:57:00Watusimoto!
20:59:00raptorhooray!
20:59:00raptorthanks Zoomber
20:59:00LordDVG has joined
21:01:00Watusimotoan easy one -- nexus events for robots
21:01:00Watusimotobut still!
21:04:00sam686 has joined
21:04:00ChanServ sets mode +v sam686
21:07:00Zoomberhi sam686
21:11:00raptortrying to create an appropriate libpng framwork on mac that has all the archs we use...
21:12:00Zoomberhey raptor, bitfighter didn't start up for me after compile, maybe beacuse i had nothing in the "music" folder i created?
21:12:00raptornot sure
21:12:00Zoomberoh, i used terminal this time
21:12:00ZoomberWelcome to Bitfighter!
21:12:00Zoomberterminate called after throwing an instance of 'std::logic_error'
21:12:00Zoomber what(): basic_string::_S_construct NULL not valid
21:12:00raptordoing too many things at once...
21:13:00raptorWatusimoto: i did: S32 score = getGame()->getConnectionToServer()->getClientInfo()->getScore();
21:13:00raptorit doesn't work
21:13:00Zoomberhmm
21:13:00Watusimotowhat happens?
21:13:00Zoomberit happens right aftter ini stuff
21:13:00raptorscore is always 0
21:13:00raptorstill
21:13:00Zoomberlet me try deleting my ini
21:14:00raptorlooks like it is getting it from mClientInfo
21:14:00Watusimotoso you want the client's score inside the render functions
21:14:00Zoomberwait thats not it
21:14:00Watusimotohow do we get it when we render the scoreboard?
21:14:00Zoomberok raptor, fixed it
21:15:00raptorthe scoreboard just loops through the clientInfos on the Game object (what is sent from the server)
21:15:00sam686i think getGame()->getConnectionToServer()->getClientInfo()->getScore() only works on server side at the moment...
21:15:00Zoomberwow, 016 is much faster
21:15:00Zoomber2133 fps
21:15:00Zoomber80% of cpu core
21:16:00Watusimotoare you saying you think clients don;t know their own score?
21:16:00raptorno - now i know that clients don't know their own score
21:16:00sam686the client only knows their own score through GameType, not GameConnection, i think
21:16:00raptorhi sam686
21:17:00Zoomberok raptor, i have an idea for the colors when displaying it
21:17:00Zoomberim working on it now
21:17:00WatusimotoL-)
21:17:00Watusimoto:-)
21:18:00WatusimotoI mean
21:18:00sam686GameType::getClientInfo(i)->getScore should work client side (for non-teams)
21:18:00sam686but GameConnection::getClientInfo() is tracked on server side only, i think.
21:19:00raptoryes, I can always loop through all the gametype clientInfos and pull out the one that is mine
21:19:00raptorbut i was hoping there was A Better Way
21:19:00Watusimotothere is even a method for that
21:19:00raptorespecially since it is in a render..() method
21:21:00Watusimotoit looks like the only connection we have between the local clientInfo and a clientInfo sent from the remote server about us is the common name
21:21:00raptoryes
21:22:00Watusimotoso are you saying that if you had the one sent remotely, you;d be ok, but you don;t want to search for it each frame?
21:22:00raptori'll search for it if i have to
21:23:00Watusimotobut it sounds like you;re not sure that would work
21:23:00raptorbut essentially, yes, that's what i've been avoiding - i try to reduce all processing in render() methods
21:23:00raptorwhich, by the way, needs serious optimizations throughout the game
21:24:00raptorso much needless object creation...
21:24:00Watusimotobecause what we can do is when we get a new client info, we can check if it is for us, and if so, store a pointer to it
21:24:00Watusimotowhat sort of needless objects?
21:24:00Watusimoto(don't doubt it)
21:24:00raptorthinks like textSize
21:24:00raptorbut that's another fight for another day (at least for me)
21:24:00Watusimotooh, you mean claculating the size of the same text over and over?
21:24:00raptoryes
21:25:00raptorover and over andover and over and over
21:25:00Watusimotook, we can discuss that another time -- i've given that a lot of thought as well
21:25:00raptorok, your idea
21:25:00LordDVG Quit (Ping timeout: 240 seconds)
21:25:00raptorupon arrival of new clientInfos
21:25:00Watusimotowhich one? clientInfo?
21:25:00Watusimotook
21:25:00raptorcheck for ours and update a pointer in our LocalClientInfo?
21:26:00Watusimotosure
21:27:00Watusimotobut before you do that, make sure that the remote clientinfos really have the info you want
21:27:00Watusimotousing, perhaps, findClientInfo(const StringTableEntry &name);
21:27:00Watusimotoinefficient as it is
21:27:00raptorplease clarify
21:28:00raptoryou mean make sure they are for the same player?
21:29:00WatusimotoI just mean inside the render loop, use findClientInfo(player name) to see if what you find has a score that looks right
21:30:00Watusimotobecause if it doesn;t, there's no point in doing the pointer thing
21:30:00Zoomberoh oh raptor, this looks nice actually
21:30:00raptorah, as a test
21:30:00raptorok
21:30:00Watusimotoyes
21:30:00WatusimotoremoteClientInfos are created in s2cAddClient
21:31:00LordDVG has joined
21:31:00Zoomberill upload the pic
21:31:00Watusimotoperhaps this is the only place you'll need to check for whether the clientInfo is about the local player
21:32:00sam686boo, punching through firewall fails (i think thats zoomber host on 016)
21:32:00Watusimotowait a minute...
21:32:00Zoombermaybe it looks a bit flashy, but https://lh5.googleusercontent.com/-eNxlg3xY5-0/TwIiRC5KIgI/AAAAAAAAAB0/ycpwFw38REQ/w680-h529-k/Screen%2Bshot%2B2012-01-02%2Bat%2B1.30.56%2BPM.png
21:32:00Watusimotoinside s2cAddClient, we already (may) know if the clientInfo corresponds to the local user
21:32:00Zoomberand have it be game specific
21:32:00Watusimotothe server appears to tell us that
21:32:00Zoomberactually i didnt show a good pic, hold on
21:33:00raptorok trying the findClientInfo...
21:34:00Zoombersam686 joined my server, then left
21:34:00sam686i went to raptor server...
21:34:00raptoraaa segfault
21:34:00raptorlet try and catch that again sam686
21:34:00Zoomberraptor https://lh4.googleusercontent.com/-NdaoIFoo7uo/TwIiouqjzBI/AAAAAAAAACI/_mlMNOVm6BQ/w312-h234-n-k/Screen%2Bshot%2B2012-01-02%2Bat%2B1.33.08%2BPM.png
21:35:00Watusimotoso yes, we have all the info we need to (easily) create a pointer to the remoteclientInfo representing us. If your experiement works
21:36:00raptorit works
21:36:00Watusimoto@zoomber, what are those pix?
21:36:00Watusimoto@raptor -- the clientInfo?
21:37:00Zoomberwatusimoto: same as raptor was posting eariler
21:37:00raptorusing findClientInfo works to get the correct score
21:37:00Watusimotogreat
21:37:00Watusimotoyou can save a pointer either here:
21:37:00Zoomberok, it looks like the score in the game isnt resetting
21:37:00WatusimotoClientGame::onPlayerJoined
21:37:00Zoombersam already has 12 points at the beginning of bitmatch game
21:37:00Watusimotoor in s2cAddClient()
21:38:00sam686yes, raptor and me knew that bug from last night.,..
21:38:00Zoomberok
21:38:00raptoroh yeah, haha
21:38:00sam686non-team score doesn't reset to zero when level changes
21:38:00raptor^^ that
21:38:00Watusimotoboth of those places would work (assuming onPayerJoined is only called from s2cAddClient)
21:38:00Watusimotojust a question of which makes more sense from a logical point of view
21:39:00Zoombertyped "ok", game crasheed
21:39:00Watusimotos2cAddClient seems more network protocol level
21:39:00raptoronPlayerJoined is called from multiple places
21:39:00Watusimotoreally?
21:39:00Zoomberi think i see sam686's server up, but cant join
21:39:00Watusimotothen that makes it easier
21:39:00Zoomberoh i see it now
21:40:00sam686i just quit and had to restart hosting
21:40:00Zoomberbut it says, Sam Test (don't join), so i think i wont join..
21:40:00raptorhaha
21:40:00sam686there, changed name
21:41:00Watusimotoactually, I think it's only called from one place
21:42:00Watusimotobut I think in onPlayerJoined(), just below addToClientList() makes sense.... it's kind of a related idea
21:42:00raptorok
21:43:00raptoroh, onPlayerJoined is in TeamShuffleHelper - but it isn't the same one
21:43:00Watusimotoright
21:43:00Watusimotodifferent signature as well
21:44:00raptorso a member in ClientGame - ClientInfo * mRemoteClientInfo?
21:45:00raptorawww - my second son is a thumb-sucker
21:45:00karamazovapyraptor - I liked your last screenshot - assuming your score moves up in the column when you're in 1st place
21:45:00Watusimotonot so cute when he's 6 yrs old
21:45:00sam686there is a bug with "Allow Map uploads" stuck at "No", when changed to yes, it auto changes to "No" when you go back to that option
21:46:00raptorkaramazovapy: your score is just duplicated in the column above
21:46:00raptorif you're in the lead
21:46:00karamazovapyif I'm in 1st, I want to see where #2 is
21:46:00Watusimotoo a member in ClientGame - ClientInfo * mRemoteClientInfo?
21:46:00WatusimotoI think that makes sense
21:47:00raptorok
21:47:00WatusimotomLocalRemoteClientInfo
21:47:00Watusimotoor will that just bow peoples' minds
21:47:00Watusimotoblow
21:48:00WatusimotomRemoteClientInfoRepresentingThisClient
21:48:00Zoomberok sam686 now that crashed the .level
21:49:00raptorhaha
21:49:00Zoomber0 Bitfighter 0x0000000100006b58 Zap::Point::operator=(Zap::Point const&) + 16 (Point.h:158)
21:49:00Zoomber1 Bitfighter 0x00000001002c632b Zap::PolygonContains2(Zap::Point const*, int, Zap::Point const&) + 74 (GeomUtils.cpp:107)
21:49:00Zoomber2 Bitfighter 0x00000001002c6766 Zap::polygonCircleIntersect(Zap::Point const*, int, Zap::Point const&, float, Zap::Point&, Zap::Point*) + 78 (GeomUtils.cpp:233)
21:49:00sam686me and zooomber are playing with the new "Worm" although it has a few bugs..
21:49:00raptormReceivedClientInfo
21:50:00Zoomberi removed 1 worm and the randomizing works again
21:50:00Watusimotowould it be overly pedantic to add a check in ClientGame::onPlayerQuit() and set mLocalRemoteClientInfo to NULL if we just quit ourselves?
21:50:00Zoomberah
21:50:00Zoombereverytime i type /restart now, it crashes
21:51:00Zoomberalso, i get "Your connection was rejected by the server because you sent a duplicate player id" wierd as it says its rare..
21:51:00WatusimotoI've seen that a few times recently too
21:51:00Watusimotoit should be vanishingly rare
21:51:00Watusimotoyou shoudl really nevver see that'
21:52:00Watusimototo see it twice would be, well, rare squared
21:52:00Zoomberlol
21:52:00sam686i will show you a screenshot of a new worm
21:53:00sam686http://sam686.maxhushahn.com/upload/new_worm.png
21:54:00Watusimotowhoa
21:54:00Watusimotothat looks like a hookworm
21:55:00raptorlooks like what my sister got from living in ecuador
21:56:00Zoombercrash again!
21:57:00sam686index out of range error
21:57:00Zoomber0 com.yourcompany.tnl 0x0000000100d82b8b TNL::StringTable::incRef(unsigned long) + 30 (netStringTable.cpp:399)
21:57:00Zoomber1 Bitfighter 0x0000000100010dfc TNL::StringTableEntry::incRef() + 36 (tnlNetStringTable.h:175)
21:57:00Zoomber2 Bitfighter 0x0000000100010e25 TNL::StringTableEntry::StringTableEntry(TNL::StringTableEntry
21:57:00Zoomberdid you crash too sam686?
21:57:00sam686Render leader score crashes...
21:57:00raptorsweet!
21:59:00raptori imagine a world where null checks are not needed
21:59:00sam686there is only 2 mClientInfos, and it is trying to get [2] when only [0] or [1] is allowed
21:59:00raptorand i imagine hordes of programmers out of jobs
21:59:00Zoombermine sam?
22:00:00raptorsam686: i'm fixing that now
22:01:00Zoomberhey raptor: what ever happened to those circles that would spawn and follow you in game?
22:01:00raptorwelll... after I wood glue back together a walmart piece of trash
22:02:00raptorZoomber: they're there, i think...
22:02:00raptorsomewhere
22:02:00Zoomberwhat is it? circleitem 0 0 1?
22:02:00raptornot sure
22:04:00sam686i found CircleSpawn
22:04:00Zoomberoh ok
22:04:00ZoomberC
22:05:00ZoomberCircle 0 0 will spawn just one circle at 0 0
22:05:00sam686when coding, adding a new object, do "Circle *circle = new Circle();" instead of "Circle *circle = dynamic_cast<Circle *>(TNL::Object::create("Circle"));"
22:05:00Zoomberbitfighter using 6.30 GB virtual memory
22:06:00Zoomberusing 4.74 GB real memory
22:06:00Zoomberop, crashed
22:06:00sam686umm, thats not possible for my 32-bit computer, no single process can use more then 4 GB...
22:07:00Zoomberits the circle spawn i think
22:07:00sam686Circle, or CircleSpawn
22:07:00LordDVG Quit (Remote host closed the connection)
22:07:00Zoomberit goes up to 4.7 ram, 10 GB virtual, then crashes
22:07:00Zoombercircle ok, circlespawn i think
22:08:00Watusimotomine is using about 4PB of disk
22:08:00Watusimotoall these levels I'm hosting
22:08:00ZoomberPB?
22:08:00Watusimotopetabyte
22:08:00Watusimotoit's like a gigabyte, but bigger
22:09:00Watusimotowaaaay bigger
22:09:00Zoomberwhat could take up 4 PB of memory?
22:09:00Watusimotonot memory, disk
22:09:00Zoomberwhat takes up 4PB disk space?
22:09:00raptora teenage girl's phone logs
22:10:00WatusimotoI'm just joking... making fun of your 10GB memory usage
22:10:00Watusimotowhich does seem a bit high
22:10:00Zoomberlol
22:10:00Watusimoto1PB is 10^6 * 1 GB
22:10:00Zoomber1 petabyte = 13.3 YEARS of HD-TV video
22:10:00Zoomberfor raptor and his knowledge about teenage girls: 1.5 petabytes = size of the 10 billion photos on Facebook.
22:11:00Zoomber20 petabytes = THE AMOUNT OF DATA PROCESSED BY GOOGLE IN ONE DAY!
22:11:00Watusimotowell, that's about the size of all the game videos we've uplaoded to mytube
22:11:00Zoomberlol
22:12:00sam686just think of how much digital data digital TV is being broadcast through the air, hundreds of Gigabytes each month, i think..
22:14:00raptorwhen i /kickbots that crashes the leaderboard
22:14:00raptorit's trying to get the ClientInfo of the bot
22:14:00sam686i think i found the problem, mLeadingPlayerScore < mGame->getClientCount() is no longer true...
22:15:00raptoryes
22:15:00sam686oh, and becasue clientInfo get stored in ServerGame, instead of GameType, that might be one reason the score won't reset
22:17:00raptorshould mLeadingPlayer be stored in Game?
22:17:00sam686as in mLeadingPlayerScore fails to update when players left, stays stuck as a high number, like 8, when players leave, other crash due to out of range of remaining ClientInfo
22:17:00raptorhow does the mLeadingTeam handle it?
22:17:00raptorit's on GameType
22:17:00sam686teams never get removed or added in mid game
22:17:00raptorbah
22:20:00raptorok, i can put updateLeadingPlayerAndScore() in a method somewhere where clients disconnect
22:20:00raptorwhich method would that be?
22:21:00raptors2cRemoveClient?
22:21:00BFLogBot - Commit aefd4ad3d283 | Author: watusim...@bitfighter.org | Log: Fix warning
22:21:00BFLogBot - Commit 37686d8c3044 | Author: watusim...@bitfighter.org | Log: Add NexusOpen and NexusClosed events... still need testing
22:21:00BFLogBot - Commit f855c498c77c | Author: watusim...@bitfighter.org | Log: Unneeded includes
22:21:00BFLogBot - Commit 46dd5345fa9f | Author: watusim...@bitfighter.org | Log: Move includes into undedicated section
22:21:00BFLogBot - Commit ae0b2587cb82 | Author: watusim...@bitfighter.org | Log: whitespace
22:21:00sam686probably
22:21:00BFLogBot - Commit d8bb73eb3ab5 | Author: watusim...@bitfighter.org | Log: Strip out unused x,y coords from onMouseMoved and onMouseDragged functions
22:21:00BFLogBot - Commit c74504d0af3b | Author: watusim...@bitfighter.org | Log: Merge
22:22:00raptorhey that works!
22:22:00raptorthanks sam686
22:38:00raptorthere, pushed leaderboard fixes
22:41:00BFLogBot - Commit 4e94f791d36b | Author: buckyballreaction | Log: Add pointer in ClientGame to the ClientInfo received from the server that corresponds to the local client
22:41:00BFLogBot - Commit c5cb81e0ceef | Author: buckyballreaction | Log: Use the new LocalRemoteClientInfo to fix leaderboard. Also, fix various crashes
22:54:00raptorWatusimoto: opinions on the top score showing for rabbit/bitmatch?
22:54:00Watusimotoah, I'll try it when I can compile again!
22:54:00Watusimotowhat's your feeling?
22:54:00raptorha! ok
22:54:00raptorit's functional
22:55:00raptorhow does it look from the screenshot?: http://sam686.maxhushahn.com/upload/screenshot_9.png
22:55:00Watusimotowell, that's pride!
22:55:00Watusimotowhat's goal?
22:55:00raptorscore to win
22:55:00raptori can change it
22:56:00Watusimotoah, you mean the bm/10 number?
22:56:00raptoryes
22:56:00raptor'Objective'
22:56:00raptor'Score-to-Win'
22:56:00Watusimotomaybe we could add a thrid copy on the center left :-)
22:56:00raptorha!
22:56:00raptori didn't even notice that
22:56:00raptorwow
22:57:00Watusimotook, so it's #1 player and you?
22:57:00Watusimotoor you and #2 if you are in first?
22:57:00raptornot #1
22:57:00raptorit will be you, you
22:57:00raptorbecause right now i only keep track of the leading one
22:57:00Watusimotoah, I see
22:57:00raptorI can easily keep track of a sorted List instead - because i like the idea of #1 (you) #2
22:58:00WatusimotoI like that too
22:58:00raptori mean, if you're #1
22:58:00Watusimotoyou are tracking the scores yourself?
22:58:00Watusimotono, you;re tracking the leading players
22:58:00raptorplease rephrase
22:58:00Watusimotoyou said you only track the leading score
22:58:00WatusimotoI was trying to understand what that meant
22:59:00raptoryes - what i mean was that on a scoring event, the leading player score is updated
22:59:00raptoron client/server
22:59:00raptori can instead update a sorted list
22:59:00Watusimotoand you the refigure who leading plaryer is and use that for display until a new score comes in
23:00:00raptoryes
23:00:00raptorsee GameType::updateLeadingPlayerAndScore()
23:00:00Watusimotoshould probably keep track of at least two players so you can do you, #2
23:00:00raptorok
23:00:00raptori can do that
23:01:00Watusimotothe only other thing is that it might look better if the numbers were smaller (size of BM/10 text?) and was closer to the clock and was right-aligned with the clock
23:01:00Watusimotoand maybe some more color?
23:01:00raptorabout alignment
23:02:00raptorhttp://sam686.maxhushahn.com/upload/screenshot_10.png
23:02:00raptori used the same alignment as team games
23:02:00Watusimotoleading player in red, 2nd in darker red?
23:02:00Watusimotojust tossing out ideas
23:02:00raptorok
23:02:00Watusimoto:-)
23:02:00raptori'll accept any
23:02:00raptori already know i don't have a very good eye for UI stuff
23:02:00Watusimotomaybe I'll scootch the timer over to align with the score
23:03:00Watusimotojust trying to make it look more interesting'
23:03:00Watusimotoso smaller and closer
23:03:00Watusimotofor sure
23:03:00raptorok, remove the 'Goal:' line?
23:03:00Watusimototry red and darker red
23:03:00Watusimotoyes, definitely
23:04:00WatusimotoI think it will be good when you're playing
23:04:00Watusimotostaring at screenshots makes everything look bad
23:04:00Watusimotoyou find faults all over
23:05:00raptorhaha
23:05:00raptorok next screenshot:
23:05:00Watusimotowhen there's stuff moving around and you;re running for your life, details get washed out
23:05:00raptorhttp://sam686.maxhushahn.com/upload/screenshot_11.png
23:06:00raptorthat is red/darker red and same font as score
23:06:00Watusimotoare they both the same size??
23:06:00Watusimotothe raptor looks smaller
23:06:00raptoryep
23:06:00raptorit is lower case
23:06:00Watusimotowow
23:07:00Watusimotodrop them down on top of the clock, and I think that will look fine
23:07:00raptorlet me reduce the line spacing
23:07:00Watusimotoof course!
23:07:00Watusimotoso are they r-aligned with the same coordinate as the team scores?
23:08:00raptoryes
23:08:00zoomber_mbp has joined
23:09:00zoomber_mbp Quit (Client Quit)
23:10:00raptorok next: http://sam686.maxhushahn.com/upload/screenshot_12.png
23:13:00raptorlet me brighten the red
23:13:00raptorhttp://sam686.maxhushahn.com/upload/screenshot_13.png
23:20:00Watusimotothat's looking pretty good... why not scootch it down a tiny bit more
23:21:00Watusimotoso the lower tio of the p is 2 or 3 px above the 7
23:22:00raptortada!: http://sam686.maxhushahn.com/upload/screenshot_14.png
23:28:00Watusimotogreat!
23:29:00WatusimotoI think there needs to be a tiny bit more gap
23:29:00Watusimotobut it looks good
23:29:00Watusimotovery unobtrusive
23:29:00raptorhttp://sam686.maxhushahn.com/upload/screenshot_16.png
23:29:00raptorenough gap?
23:30:00raptor2 more entire pixels!
23:31:00WatusimotoPERFECT!
23:31:00Watusimotohow do you like it?
23:32:00raptorstill functional
23:32:00raptorbut i like that it's not blinding me as much
23:33:00raptornot to add that second place...
23:33:00raptornow

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.