#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-02-16

Timestamps are in GMT/BST.

00:00:01Watusimotowe can do a lot of work to make it marginally harder
00:00:24karamazovapyI'm just pointing it out - some of our members actually seem to crave negative attention
00:00:31Watusimotobut you can always cook up a level to make getting a particular achieement easy
00:00:37Watusimotoyup
00:00:50karamazovapyI mean for everything
00:00:52raptormaybe ultimately we'll just have to wield the sword of bans and achievement deletion
00:01:07Watusimotobut is a cooked level even cheating?
00:01:20WatusimotoI mean it is in once sense, but not in another
00:01:23karamazovapyI think the easy achievements will be meaningless because they'll all be gotten in a matter of days after their release
00:01:33Watusimotoyes
00:01:45Watusimotowe do want some that are easy though
00:02:02raptorlike 'download bitifighter!'
00:02:07raptorthat's an easy one...
00:02:10karamazovapywell...yes, but I'd make them more community-based or experience-based than game-performance-related
00:02:11raptorwe need more of that
00:02:15sam686one problem is when there is so many achievements, it doesn't seem to fit in the score board
00:02:21WatusimotoI'm not making any final decisions on what our first achievent should be until i get a little feedback from my proposal
00:02:26Watusimotosam686: yes
00:02:44Watusimoto2 ideas -- badges aer currently 10x10
00:02:57Watusimotocould show 2 rows of 5x5 badges easily
00:03:07Watusimotobadges will be broken into tiers
00:03:12Watusimotoeasy, med, hard
00:03:29karamazovapyeach person's scoreboard will only show their own achievements, right?
00:03:30Watusimotocould show 10x10 for ones in the highest tier you've achieved, smaller ones for lower tiers
00:03:52WatusimotoI was thinking that scoreboard would show everyone's
00:04:10Watusimotoeach client knows achievements of each other player
00:04:24Watusimotoso the only limiation is screen space
00:04:38karamazovapycurrently connected players, or all registered players?
00:04:38Watusimotocould also just display 3 easy, 5 med, 1 hard
00:04:45raptornot a limitation with vector graphics! :)
00:04:57Watusimotoonly registered players can get acheivements
00:05:33raptorok, well, i gotta head home
00:05:38Watusimotolater
00:05:38karamazovapyright, but will we display all registered players' achievements, or the registered players currently connected?
00:05:45raptorbye
00:05:49Watusimotooh, only current players
00:05:58Watusimotonext to their name
00:06:00raptor Quit ()
00:06:18Watusimotomaybe we could color their name by highest achiement won
00:06:27karamazovapyohhh, so we're talking the in-game normal scoreboard here
00:06:33Watusimotoah, yes, sorry
00:06:49Watusimotowe could tie it into the forums as well
00:07:43Watusimotothat was the whole issue about badges being displayed out-of-game that we went through yesterday
00:07:44karamazovapyI say we just let players pick the one badge they want to display
00:07:52Watusimotoin-game?
00:08:02karamazovapyyeah
00:08:14Watusimotoor maybe just the highest-ranknig one
00:08:15karamazovapythe one their most proud of
00:08:38Watusimotochoosing would require a mechansims for choosing, storing, and trasmitting choice
00:09:09Watusimotoso what do you think about the 20 flags achiemevent?
00:18:02karamazovapyeh - it's fine
00:18:14karamazovapyI'm not excited about it, but I don't really care
00:20:20karamazovapyyou've gotten two prize CleverBot responses to each of your posts
00:22:55WatusimotoI never realized cleverbot was a linguist
00:23:01Watusimotoa cunning one at that :-)
00:24:25raptor has joined
00:24:26ChanServ sets mode +o raptor
00:24:33raptorok haven't gone home yet
00:24:37raptormore owrk to do
00:24:51raptorlooks like cleverbot gets the 'reading comprehension fail' achievement
00:26:12WatusimotoI created a stats_level table; feel free to alter
00:26:35raptorok
00:26:49karamazovapyI've decided that CleverBot is a fitting name
00:27:02karamazovapyhe posts things that resemble human intelligence at first blush without actually possessing any
00:27:37raptorgame_type is not needed, it's in stats_game
00:27:56raptorshould we move it?
00:28:02Watusimotosure
00:28:11Watusimotowell hold on
00:28:22Watusimotomaybe it should *only* be in stats_level
00:28:25raptorand level_name in stats_game should probably point to the hash...
00:28:39raptoror the level id
00:28:44Watusimotoyes
00:29:00Watusimotowe can change those when we start actually collecting the level stats
00:29:03raptorretro-active on this may be a problem...
00:29:07raptorok
00:29:13Watusimotommmm.... yes
00:29:21Watusimotoretroactive will be a problem
00:29:30raptori can do it
00:29:36Watusimotomaybe leave duplicate gametype field for the moment
00:30:08Watusimotocan do what?
00:30:16raptoryeah, we can collect stats, then i'll back fill the table
00:30:29raptoror we could start afresh
00:30:52Watusimotomaybe we collect both in parallel for a while, then purge the older stats when we have enough new ones
00:30:57raptoryes
00:31:29Watusimotowe really should create a weekly leaderboard
00:31:37Watusimotoi think we have enough to do it
00:31:47karamazovapyfeaturing what statistics?
00:31:57raptorwould weekly mean in last 7 days, or every 7 days?
00:32:02Watusimotowinningiest player, most plaing player
00:32:09Watusimotomaybe sun-sun?
00:32:20WatusimotoI kind of like having an award that persists for a few days
00:32:37Watusimoto"didn't get it this week, maybe I can get it next week"
00:32:59Watusimotothat seems more satisfying than "maybe I can up my 7-day rolling average and win for a day"
00:33:04raptorwe could probably create a view with that data...
00:33:10Watusimotothat would be great
00:33:22Watusimotomaybe what... top 3?
00:33:35Watusimotopeople with most games (legal or illegal)
00:33:43Watusimotopeople with most wins (legal only)
00:33:46raptori'd say at least 5
00:33:49raptoroh...
00:33:50Watusimotook
00:33:51raptorwait
00:33:55raptorif multiple, then 3
00:34:11Watusimotowe want to reward people playing frequently, I think
00:34:23karamazovapyI think you want to display in parallel a "current" view and a view for the past week's winners
00:34:29Watusimotobut wins are only meaningful in a "official" game
00:34:33karamazovapyso people can track their progress
00:34:42Watusimotowhat's current? that day?
00:34:49raptorwe definitely should have a view with official games
00:34:58raptorwhich we can leech off of
00:35:07Watusimotoah, just a filter on the games table, essentially?
00:35:16Watusimotothat's a great idea
00:35:28Watusimotowrite once, use many
00:35:29karamazovapyif they're awards that track cumulative stats over the week, you want the current standings for the given week
00:35:47Watusimotothe award is being listed on the leaderboard
00:35:54karamazovapyso you can see that you're currently in second place, but with work you could win
00:36:06Watusimotoah, so maybe last week's winners, this week's current leaders?
00:36:20karamazovapyright
00:36:24Watusimotoyes, I likeit
00:36:27karamazovapybut current is always changing until it becomes last week
00:36:48Watusimotolast week persists for a week until it;s replaced wiht this week
00:36:54karamazovapyright
00:36:57WatusimotoI like it
00:37:12karamazovapyas a bonus, you could do last month/this month
00:37:12Watusimotolet's start with that
00:37:24karamazovapyor even year over year
00:37:30karamazovapyall-time
00:37:40raptori don't like all-time much...
00:37:49raptorbecause players go stale
00:37:50Watusimotoraptor, if you can create a view or view(s) that show that info, I'll see about adding it to the home page
00:38:20WatusimotoI like it from a sense of curiosity, but maybe not something on the home page
00:38:33raptorwhich data specifically?
00:38:39karamazovapyyeah, I'm not making any suggestions for integration, just tracking ideas
00:38:59Watusimototo be clear: top 3 (or 5) week-to-date most official wins, most plays (official + unofficial)
00:39:12Watusimototop 3( or 5) last week wins + plays
00:39:37Watusimotoplayer name + registerd status
00:40:12Watusimotoweek starting at the border btween sat and sun
00:40:20WatusimotoPST
00:40:38Watusimotoor should sunday be the last day?
00:41:40Watusimotoincluding registered and unregisterd players
00:42:11Watusimotowho's names are ilike "watusimoto"
00:42:43raptorexplain 'week-to-date' sunday UTC to sunday UTC, or last midnight UTC - 7 to last midnight UTC?
00:43:30Watusimotoweek starting at the border btween sat and sun
00:43:30WatusimotoPST
00:43:58karamazovapyoh - if we're tracking anything to do with winning, do we want to think about team-changing rules?
00:43:59Watusimotoor border btwn sun and mon if you thinkg that's better
00:44:06karamazovapyor team-inequality
00:44:07karamazovapy?
00:44:25Watusimoto@k for now... not sure how to do that
00:44:40Watusimotobest way is to enforce game changing rules in-game, I think
00:45:03Watusimoto@r -- use border btwwn sun and mon
00:45:11raptorsunday monday i like
00:45:18Watusimotoso if players are up late on saturday they won't spill over
00:45:28Watusimotoand they can waste their whole weekend trying to catch up
00:45:33karamazovapyI'm just wondering if the "winning" team in a 3v1 game actually deserves anything for it
00:46:02Watusimotothis is a question that we won't resolve tonight
00:46:04Watusimotobut
00:46:16WatusimotoI think there are limits to what we can do
00:46:51WatusimotoI think if we restrict team changing to be from winning teams to losing teams, and from teams with more players to ones with fewer players, that will help
00:47:04raptorok heading out again, i'll work more on this later..
00:47:09Watusimotolater!
00:47:14raptor Quit ()
00:47:47Watusimotoif you play a game that's 3v3 and one player on losing team quits in the last minute, why should winning 3 not get credit?
00:48:31Watusimotobut if it's you and sam686 v me & raptor, that's such an unfair lineup that it shouldn't count
00:48:50Watusimotothere are real mesurement difficulties here
00:49:36Watusimotoso in your 3v1 scenario, how did those teams come about?
00:49:56Watusimoto3v3 and 2 players quit at the last minute?
00:50:03Watusimoto2v2 and one player switchted teams?
00:50:25sam6863 vs 2, a player left, now it becomes 3 vs 1
00:50:39Watusimotosam686 vs. me and raptor and cleverbot? and we manage to eke out a victory anyway?
00:51:06Watusimotoall I'm saying is that making these judgements is hard
00:51:53Watusimotoso I think we start with what we've got, and address the issues if it proves unfair and/or upsetting
00:52:37sam686there is always a chance that, in 2 vs 1, player joins, it becomes 2 vs 2
00:52:52Watusimotoexactly
00:53:25Watusimotok + sam686 v. me, score is 2000 to 0, cleverbot joins, now game "looks" fair
00:54:10sam686though, it might have not been fair for... half of the play time, scorint 2000
00:54:47sam686game reports only see the team stats when the game ends, but not in the start or middle of game
00:57:12karamazovapyI guess my expectation is that none of these achievements/rankings will actually mean anything
00:57:46karamazovapyand my 3v1 scenario was from a 2v2 game where an immature player wanted to be with a friend or on the "good" team
01:05:18Watusimotothey mean nothing
01:05:28Watusimotoleaderboard is fleeting glory
01:05:53Watusimotothe point is it's hard to discern a plaery's motive
01:06:07Watusimotoif we banned changing to winnign team, that would fix your 3v1 scenario
01:06:20karamazovapynot at the beginning of the game
01:07:14Watusimototrue
01:07:29Watusimotounless we also banned changing to team with more players
01:07:43Watusimotoor to create a team with more players
01:08:14Watusimotowhich I wuould only allow if you are changin to a losing team
01:08:22sam686it is possible to use multiple clients or adding robots, which could be abused to make you change team
01:08:30Watusimotoyes
01:08:43Watusimotopoint being it is impossible to create a truly fair system
01:09:06Watusimotomost of the potential fixes are easily gamed
01:09:17Watusimotoso we do our best and hope the communtiy does likewise
01:09:29karamazovapywhatever...I've decided this is on the list of things that don't matter to me
01:10:13Watusimotoheading to bed
01:10:19karamazovapynight
01:10:40Watusimotosam, I just checked in a stub of a fn for sending level stats to master. take a look and see if there's anything else you feel needs to be there
01:10:44Watusimotolater all!
01:11:22sam686ok
01:13:32BFLogBot - Commit d0fdfcef4095 | Author: watusim...@bitfighter.org | Log: Added skeleton for sending achievement data to master
01:13:33BFLogBot - Commit 2b127fc0e92c | Author: watusim...@bitfighter.org | Log: Level stats
01:26:13Watusimoto Quit (Ping timeout: 252 seconds)
02:16:49sam686 Quit (Read error: Connection reset by peer)
02:19:46sam686 has joined
02:19:46ChanServ sets mode +v sam686
02:41:20zoomber_mbp has joined
02:41:24zoomber_mbphey
02:41:28zoomber_mbpsam686 you on?
02:41:38sam686hi
02:41:48zoomber_mbpcan you do a huge favor for me?
02:42:00karamazovapyhe's not gonna buy you drugs
02:42:03karamazovapyDON'T ASK
02:42:04sam686what is it?
02:42:25zoomber_mbpthis is strictly about alcohol, keep your suspicions down.
02:42:59zoomber_mbpok so
02:43:21zoomber_mbpwe still have all the servers up on 15a
02:43:32zoomber_mbpcan you help me move the stock/user map servers to 016?
02:43:34karamazovapynot I, said the pig
02:44:08zoomber_mbpBut I, said the giraffe. Who's neck was long and broad, a gleaming tower amongst us
02:44:09karamazovapybut you can just drag and drop the directory...
02:44:21sam686the servers probably only need to be updated...
02:44:41zoomber_mbpmy hands are in a bit of a tight know. I'll try my best to do my part. Don't worry about my gibed and whatever servers
02:45:13zoomber_mbpits my fault for not getting not there to update them, i don't ask you to do those for me
02:45:23zoomber_mbpI just want to get the ones I host for watusimoto up to date
02:45:48zoomber_mbpman. ok let me see if i can quickly put some time aside and do this
02:46:12sam686only problem is, there is 3 servers at 216.231. that is in 015 (which i don't have the password on)
02:46:42zoomber_mbpdon't worry about those, they're my problem hahaha, they don't deserve to live/be running right now
02:46:52zoomber_mbp(iPointblank server i assume)
02:47:01zoomber_mbp^doesn't deserve to live at the moment
02:47:24zoomber_mbpsniper rifle should be no more, forum users shall cry about it and ill yell get over'tit
02:48:42sam686otherwise, there is only 2 servers up for 015, coming from 74.122.
02:48:50zoomber_mbpexcellent
02:48:53sam686that i can update
02:49:08zoomber_mbpoh, is it as easy as updating? i suppose we can do that, and don't need to worry about the cron scripts
02:51:03zoomber_mbplets see, i think 216 server is www.maxhushahn.com dns
02:59:57sam686hg pull https://code.google.com/p/bitfighter/
03:04:43zoomber_mbpi forgot all my server passwords for ipointblank and privat
03:06:56zoomber_mbpsam686: watch as all 216 servers disappear
03:06:57zoomber_mbppoof
03:09:02sam686so many ping timed out
03:10:29zoomber_mbphey sam686, what is the master server ip for the new bit fighter server?
03:10:44zoomber_mbpi tried deleting it from ini file, but still get segmentation faults when trying to connect to server in 016
03:10:50zoomber_mbpconnect to master server*
03:11:09zoomber_mbpi have MasterServerAddressList=IP:67.18.11.66:25955
03:11:24sam686MasterServerAddressList=IP:199.192.229.168:25955,bitfighter.org:25955 (but you can delete the MasterServerAddressList= line and it will use the default
03:11:42zoomber_mbpi tried that
03:11:46zoomber_mbpit still connects to 67 one
03:12:00zoomber_mbp has left
03:12:21zoomber_mbp has joined
03:12:44zoomber_mbpok i just put the new master in and it works
03:12:57zoomber_mbpwait whaaaa
03:13:08zoomber_mbpits putting my server on 15a
03:13:19karamazovapydid you remember to update and not just pull?
03:13:34sam686hg up bitfighter-016
03:13:45zoomber_mbpwierd
03:13:48zoomber_mbpyeah i did both
03:13:49sam686then, make dedicated
03:13:52zoomber_mbpits like, its using the
03:13:53zoomber_mbpoh
03:13:55zoomber_mbpnevermind
03:14:00zoomber_mbpi forgot to use the make command
03:14:01zoomber_mbphah
03:14:04sam686oh, make clean may be needed first
03:14:04karamazovapymight even want to make clean then make dedicated
03:14:23zoomber_mbpnono see, using the command "make" just seemed to pass my head
03:14:43zoomber_mbpalso, I'm really disorganized apparently, i have no idea what that server was, it had a bunch of random levels in it
03:15:06karamazovapywas that the zany server you and raptor had up?
03:15:24zoomber_mbpridiculous raptor server?
03:15:29karamazovapyyeah, whatever it was
03:15:34karamazovapywith the nonsense levels
03:15:39zoomber_mbpthat thing has disappeared from the universe
03:15:53zoomber_mbpbut iPointblank is the one with that stupid sniper rifle, if you mean that one
03:16:08karamazovapyno, you said random levels, so I was thinking of the crazy level server
03:16:20zoomber_mbpoh haha no, i ran that on a completely different server
03:16:23zoomber_mbpphysical one
03:16:50zoomber_mbpi guess we have a game going on 016 right now
03:17:10karamazovapy"anal frustrater" classy.
03:17:18zoomber_mbpi was just going to say
03:17:36zoomber_mbphe/she left as soon as i started playing
03:17:45zoomber_mbpguess they got too frustrated..
03:18:00zoomber_mbpi feel like i know who that is
03:18:14zoomber_mbpsam, who has the same ip as that player? i bet i can guess it
03:18:53zoomber_mbpoh no, make errors
03:19:10zoomber_mbpoh looks like a linking error
03:19:27karamazovapydid you make clean first?
03:19:28zoomber_mbpill try make clean
03:19:32zoomber_mbpaaah you beat me too it
03:19:42zoomber_mbpyeah, using your suggestion helped, thanks
03:25:30zoomber_mbpBFLogbot irc log link please
03:25:38zoomber_mbp!irclog
03:25:39zoomber_mbp!logs
03:25:42zoomber_mbp!BfLogBot
03:25:47zoomber_mbpBfLogBot
03:25:47BFLogBotI'm a real boy.... I think?
03:25:58zoomber_mbp!rc
03:25:59zoomber_mbp!irc
03:26:03zoomber_mbpBflogbot irc
03:26:19zoomber_mbpforget it, ill try and find the irc logs myself
03:26:23zoomber_mbp has left
03:26:28zoomber_mbp has joined
03:27:02zoomber_mbpuhh, might just want to change the logbot to say "http://bitfighter.net/irclogs/" instead of that long ip adress
03:28:15sam686i see a mystery, why is the 216.231 still being listed on 015 server list, even though they are ping timed out?
03:29:05zoomber_mbpyeah, i see those too
03:29:10zoomber_mbpthats wierd
03:29:44sam686darn it, now my ip address 208.107 is staying listed on 015a server list...
03:29:48zoomber_mbpi couldn't shut them down manually because I forgot the passes, and didn't know where they were located until now, but i did "killall bitfighterd"
03:30:12sam686i think the 015 master seems a little bit broken now...
03:30:23zoomber_mbpi think its broken, because my server doesn't show the old servers running at all
03:30:52zoomber_mbphey sam686, are user levels and classic levels on 96 server up to 016 date?
03:31:57sam686i haven't checked 96 server, all i did is disable all 96 server from auto starting up except bitfighter sam686
03:32:36raptor has joined
03:32:37ChanServ sets mode +o raptor
03:32:43sam686i had problems with out of memory, it turns out shutting down mysql and httpd frees enough memory to compile (then i can start up the stuff i shut down)
03:33:34zoomber_mbpok excellent
03:33:52-leguin.freenode.net- *** Looking up your hostname...
03:33:52-leguin.freenode.net- *** Checking Ident
03:33:52-leguin.freenode.net- *** No Ident response
03:33:52-leguin.freenode.net- *** Couldn't look up your hostname
03:33:56BFLogBot has joined
03:33:56Topic is 'Latest release 016 http://bitfighter.org | Forums: http://bitfighter.org/forums/ | GC Project: http://code.google.com/p/bitfighter/'
03:33:56Set by raptor!~raptor@unaffiliated/greenmachine on Wed Feb 01 04:14:39 GMT 2012
03:33:56-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
03:33:59zoomber_mbpI'm working on 74 servers as we speak
03:34:09zoomber_mbpnow all 015a master dead
03:34:14sam686hey raptor, i think the 015 master is having a little problem with connection never dies.. it thinks all the server (and some players like Edwin win) is still up
03:35:01raptorodd
03:35:08raptorno one but watusimoto can take it down...
03:35:16raptor!log
03:35:16BFLogBotThis channel is logged - http://bitfighter.org/irclogs/
03:35:22raptor!commands
03:35:22BFLogBotCommands: airlock bbb bitfighter bot bug bugs dedicated feature help hg log log logs mercurial ninja watusimoto
03:35:35zoomber_mbpraptor, change the bot to point to bitfighter.net/irclogs instead of that long irc address
03:35:43raptoralready done
03:35:48zoomber_mbpexcellent good sir
03:35:49raptorbe back...
03:35:50raptor has left
03:38:47zoomber_mbpwho owns 153.19.7.19 server? i go on the webpage and shows "all your base belong to us"
03:38:55zoomber_mbpprobably _k's?
03:41:02sam686174.37.6. (probably old kserv on 015) and 173. (used for bbb8)
03:42:46zoomber_mbpah ok
03:42:53zoomber_mbpmust be all his new levels then
03:43:36sam686http://bitfighter.org/gamereports/ says IP:153.19.7.19:2800 = Otwieracz Policja!
03:47:33zoomber_mbpwhy is -IP:ANY:28000 now an unrecognized command line arguement
03:56:36zoomber_mbp Quit (Quit: zoomber_mbp)
03:58:36sam686it is -dedicated -hostaddr any:28013 (you may ignore the -dedicated if you did "make dedicated")
04:05:50zoomber_mbp has joined
04:16:01karamazovapy153.19.7.19 was never mine
04:17:14zoomber_mbpstrange
04:17:15zoomber_mbpit is
04:17:59raptor has joined
04:17:59ChanServ sets mode +o raptor
04:18:07karamazovapymy current server is 173.193.226.34
04:18:09raptorwhy is master server on moscow standard time?
04:18:16karamazovapywhy wouldn't it be?
04:18:19zoomber_mbp^
04:18:31raptorbecause it was on UTC I think
04:18:50karamazovapybut moscow is best cow
04:19:11zoomber_mbpyour russian accent very strange russian accent
04:19:37zoomber_mbpMy russian accent is real russian accent
04:20:48karamazovapymoss cau ease behst cau
04:22:08raptorsam686: what is cookie41.php in your home directory on the master?
04:22:56sam686oh, it was an unfinished stuff for setting phpbb cookies (bitfighter.net fails on cookies after database update)
04:23:24raptorok
04:23:31raptorjust loking for suspicious stuff
04:23:34raptorloooking
04:24:19sam686i think it was based on http://www.phpbb.com/kb/article/fixing-incorrect-cookie-settings/ (2. A special file)
04:24:43sam686i haven't even got no where besides transferring a file to my home dir
04:26:41raptorhmmm, i don't see much suspicious...
04:26:56raptorok, i guess moscow time is normal..
04:27:13sam686http://sam686.maxhushahn.com/upload/phpbb_cookie_options.PNG was my near-empty phpbb
04:27:28raptorneat
04:27:53sam686i guess the extra options, like cookie settings might only appear if you are super-admin on phpbb
04:29:00raptorbe back later again..
04:29:04raptor Quit ()
04:32:11raptor has joined
04:32:12ChanServ sets mode +o raptor
04:32:59sam686i see, http://sam686.maxhushahn.com/upload/phpbb-admin-types.png it looks like we don't have "FULL" admin in phpbb...
04:33:02raptorsam686: when you go here, what is the time of the most recent game as it shows you?: http://bitfighter.org/gamereports/
04:33:43sam686Game ending on 15 Feb 2012 09:04:50 PM Server barf's home IP Adress IP:69.169.
04:34:14raptorso that is an hour an half in the past for you?
04:34:46sam686yes, looks like it is 1.5 hours past
04:34:48raptorbecause i did 1/2 hour ago...
04:35:06sam686its probably time zone problem
04:35:15raptoryeah...
04:37:33raptorok, i need to add a note on the top of the page about the timezone...
04:41:39raptorok, added a note and changed the timezone to america pacific
04:43:36sam686what time zone are you in?
04:43:40raptorMST
04:43:42raptormountain
04:43:52raptorit was in mountain
04:43:58raptorwhich was nice for me :)
04:44:36sam686it seems like most topic in bitfighter forum often use eastern time zone (_k, mostly)
04:46:06raptoryeah but watusimoto seems to think things should be Pacific
04:49:43sam686i see several places in TNL that uses mSendPacketList->sendTime < getCurrentTime() (or similar), which is a bad idea when getCurrentTime can overflow and wrap around to zero..
04:50:54raptoris getCurrentTime() not set to the unix epoc?
04:50:58raptorepoch
04:52:05sam686U32 getCurrentTime() { return mCurrentTime; }
04:52:13sam686mCurrentTime = Platform::getRealMilliseconds();
04:52:23raptorhmmm...
04:52:40raptoryeah that's not good
05:00:22sam686i can change: getCurrentTime() > pending->mConnectLastSendTime + PuzzleSolutionTimeout
05:00:22sam686to this : getCurrentTime() - pending->mConnectLastSendTime > PuzzleSolutionTimeout
05:00:53sam686and that can fix a problem in case a number overflow
05:01:48raptorhave we ever run into a number overflow?
05:02:30sam686i think the old master 015 has ran into overflow milliseconds
05:02:46sam686and that causes the connection to never die
05:02:51raptorhmm...
05:02:55raptorok
05:13:08zoomber_mbp Quit (Quit: zoomber_mbp)
05:22:28zoomber_mbp has joined
05:22:55zoomber_mbphey sam686 sorry for all of a sudden ditching you on that mesh zone game. my laptop died on me
05:24:26sam686hi
05:24:34zoomber_mbpcome back on the server, if you have time
05:25:29sam686Diamond revenge collection level have problems...
05:25:49sam6861. probably can't get past bouncy objects
05:26:12sam6862. the message "server don't restart when you leave" is wrong
05:26:25zoomber_mbpyeah, because its new code and i need to re implement that
05:26:32zoomber_mbpand i forgot where that modification was, dang
05:37:36sam686thats kind of dumb .. even with the input mode set to keyboard, it still controls menu with a joystick... that didn't happen on 015a (on 015a, keyboard input completely disables joytick from anything in game and menus)
05:40:09sam686i was running 2 clients, one with keyboard input, i was expecting the keyboard input client to ignore all button of joystick (but it entered menu and quit the game instead)
05:41:02zoomber_mbphmm
05:41:20sam686link, for easy finding
05:42:39zoomber_mbplink?
05:43:10sam686just found it
05:45:35zoomber_mbpok
05:46:01zoomber_mbpsee what would rather/like to see, even if you'd rather have a square shape instead of octagon, whatever, and host it
05:46:07zoomber_mbpill join when done
05:46:07raptortop wins for the last week: http://pastie.org/3392397
05:46:18raptorfinally got the query right
05:47:57zoomber_mbpyou know what would be cool? is if text could rotate in game
05:49:05zoomber_mbpwhen I'm pressing tab in the editor, and holding down the "R" button, i can see it rotate, and i must say, I've never seen something sooo cool
05:49:20BFLogBot - Commit f2415438bf5d | Author: sam8641 | Log: Fixed some TNL problem causing game connection to never die, after getRealMilliseconds overflows
05:57:42zoomber_mbpsam686 still on?
05:58:17sam686hi
05:59:44sam686zoomber_mbp zoomber_hello
06:01:33zoomber_mbpwhat do you think of the map? any ideas yet?
06:02:29raptor8 servers online!!
06:03:08zoomber_mbpmostly mine lol
06:04:25sam686it is possible to have a levelgen do al the work of curving a line of text
06:05:22zoomber_mbpok, lets do that then
06:05:36zoomber_mbpbut should we have it be bigger?
06:05:43zoomber_mbpthen make obstacles within it?
06:05:54zoomber_mbpoh wait, you mean the text?
06:06:09zoomber_mbpok, but is there yet a way to make the text rotate live in game?
06:06:11sam686yes
06:06:28sam686rotate live, like speedzone of my one map?
06:06:32zoomber_mbpyes
06:07:02sam686probably need a bit of c++ programming, but it can be done on existing version
06:07:29zoomber_mbpsweet
06:07:32zoomber_mbplets do it!
06:07:35zoomber_mbpif you have some time..
06:08:31raptorwait wait wait...
06:08:43raptori thought we were going to tone down the 'sandbox' aspect a bit...
06:08:54sam686probably should make some way so it can be done in LUA
06:09:21karamazovapy"we" never did any sandboxing
06:09:34raptoryes, i used the royal 'we'
06:09:42sam686a levelgen with a onTick that can change position of anything (except barriers, due to the way it is sent to clients)
06:10:14raptorsam686: that is sounding like the fabled supervisor script
06:10:57sam686it kind of is like a supervisor script, that could do anything a robot could
06:11:07karamazovapyraptor: I don't think zoomber_mbp was privy to the conversations where "we" decided "we" wouldn't do so much custom-server stuff
06:11:24sam686with, adding much more editing lua stuff
06:11:26karamazovapyand I don't think sam agreed int he first place
06:12:13raptorah, well, ok then... i didn't remember who was in the conversation
06:12:34karamazovapyI think it was you and watusimoto, and sam and I were present but uninvolved
06:13:10karamazovapynot totally unlike the conversation you and I are having right now
06:14:02karamazovapybut I believe zoomber has stated his intent to create a sandbox branch on the forums
06:15:37raptorha!
06:15:40raptorok
06:16:45karamazovapyhey, I'm with you on this one, but I was never in the other camp
06:17:07zoomber_mbpsorry, I'm a bit unreliable on the forums now, I don't read the forums like I used to, due to the huge number of posts that go in every day now.
06:18:03zoomber_mbpThough I can't deny the my intent to continue my iPointblank sandbox, I didn't say that server was going up for sure
06:18:12raptori just think it would be good to spend our efforts on bugs/issues/features than sand-boxing too much...
06:18:31karamazovapywell the rogue client is the reason I'm not hosting kserv anymore
06:18:32zoomber_mbpin fact, I'll probably end up being too lazy to change anything on it
06:19:00raptoryes, i think we should let /getmaphack die with 015
06:19:24karamazovapyI just assumed all the rogue code had been ported all along
06:19:28zoomber_mbpwell, i never made anything on iPointblank to be harmful or even completely new
06:19:29raptornope
06:19:34zoomber_mbpand no, no rogue code gets ported all along
06:19:35raptorit was never in the main branch
06:19:49raptoronly on sam's mercurial branch
06:19:53karamazovapyit doesn't really have to be in the main branch
06:19:58zoomber_mbpif you haven't noticed, I said in that same post about pointblank, that i discarded any of my old ipointblank mods
06:19:59zoomber_mbplike sniper
06:20:19zoomber_mbpand sniper was just to test the request by people who wanted it to actually be implemented in the game
06:20:37zoomber_mbpgiant turrets were just a cool graphical look
06:20:49raptortrue, but his branch show it isn't publically ported to 016: https://code.google.com/r/sam8641-bitfighter04/source/list
06:20:49zoomber_mbpand its not like thats where all the games went
06:21:13karamazovapyzoomber...your novelty mods aren't really my concern
06:21:19zoomber_mbpah, ok,
06:21:20raptorthat was the only branch it was created on, and it kepy 015a compatibility
06:21:24zoomber_mbpexcellent :)
06:21:26raptor*kept
06:22:19karamazovapygranted, I still think the sandbox thing is a bad idea, but you're free to do whatever you want
06:23:20raptorok, well, now that i got weekly basic stats set up in the database, i'm heading to bed
06:23:27zoomber_mbpwell, just to hear my opinion, as long as the sandbox additions aren't rogue/harsh in any way, and or attracting all the players to just that server, i don't see much harm
06:23:27raptorgood night!
06:24:11karamazovapynight raptor
06:24:32raptor Quit ()
06:24:34karamazovapyI don't think they do serious harm, but I don't really like seeing unvetted features sneak their way into the game...slipzones, energy items
06:25:12karamazovapyI don't actually know if the varied turrets made it
06:25:25karamazovapythose were my idea and I think they were a disaster!
06:26:34zoomber_mbpoh, those things used in the emperor's revenge dungeon maps?
06:26:40karamazovapyyeah
06:26:41sam686if you don't like that feature, then don't use it (that goes with speedzone, slip zone, turret shooting burst..)
06:27:14karamazovapyI don't get to pick which features show up when I join a server, though
06:27:31karamazovapyand it's a small enough community that you can't reasonably just go somewhere else if you want a game
06:27:42zoomber_mbpI think what he means, go somew
06:27:43zoomber_mbpwell...yeah
06:28:24zoomber_mbpbut, don't we?
06:28:33karamazovapy?
06:28:34zoomber_mbpclassic levels, gibbed, user levels?
06:28:47karamazovapymost of the time I just leave when bad levels come up
06:28:53zoomber_mbpretro level server ( i need to restart some of these though, since they're left behind in 15a)
06:29:10sam686you can pick a server, several servers have limited level that don't have any levels with slip zone / energy item
06:29:13karamazovapyand with map uploads, most of the levels that come up are pretty bad
06:29:29zoomber_mbpall of my servers have map upload disabled, besides sam's server
06:29:46karamazovapywell for better or worse, sam's server is where most of the action is
06:29:54zoomber_mbpthere's really only need for one server with map_upload
06:30:49zoomber_mbpthats true, but he is also the center of popularity in this game, possibly because he plays with all the users a lot, therefore, his name and by extension server, probably have gained good reputation
06:31:00sam686there is map uploads, mostly becasue when that player host, everyone lags or have trouble punching through firewall
06:31:19zoomber_mbpand, to share maps
06:31:26karamazovapyI think it's actually that the young players are more interested in social club than good gameplay
06:31:52zoomber_mbpkaramazovapy, I know where your pain is coming from, considering I hosted servers that would never get any attention either,
06:32:02karamazovapyoh, I could care less about that
06:32:20zoomber_mbpok, so what exactly is the issue then?
06:32:35zoomber_mbpnot sarcastically, i actually am confused
06:32:42karamazovapythat I don't like playing poorly designed maps
06:32:48sam686though, it seems like the good players just don't play very much at all, and the young players play a log...
06:32:58sam686play a lot...
06:32:58zoomber_mbp^
06:33:25zoomber_mbpi back that, because I'm not so active like I used to be on bitfighter. Mainly because I'm so busy
06:33:40karamazovapywell I waste a couple minutes here or there, but because I have adult responsibilites, I can't usually sit around and play game after game
06:34:05zoomber_mbpAnd I think thats perfectly understandable
06:34:34karamazovapyif I have 15 or 20 minutes to waste and I see a few people are playing, I hop on and the maps are lousy
06:34:45karamazovapyso I play a game or two, or whatever I can tolerate, and then I bail
06:34:47zoomber_mbpi don't see a problem with how active one is on bitfighter
06:35:40sam686all levels seems kind of a lowsy blue walls, are you blue?
06:35:44zoomber_mbpwell, believe it or not, it's not all socializing there. I think its more of a 'greed' desire, which gets implemented into maps, obscuring a need for better gameplay
06:36:17karamazovapyyeah, all I'm saying is that I don't like playing poorly designed maps, that unvetted features lead to maps with bigger problems built-in, and that map uploading has allowed the bad maps to proliferate
06:36:20zoomber_mbpfast flags, fast nexus, whatever that map is called, for example
06:36:31sam686fast nexus?
06:36:34zoomber_mbpyes
06:36:53zoomber_mbpok karamazovapy, i understand that, but how can we fix that? That's their lasting opinion, it might change, it might not
06:37:09karamazovapyI can't fix it because it's out of my control
06:37:10zoomber_mbpI'm just grateful I can for once in my life come on bit fighter and actually see people playing
06:37:24karamazovapyand sam doesn't think it's a problem
06:37:27karamazovapyso it is what it is
06:37:45karamazovapyI like the game less, and that's the end of it
06:38:02zoomber_mbpwell, I'm sorry to hear that
06:38:15karamazovapylike I said, it is what it is
06:38:25zoomber_mbpI guess your ultimate solution is to call some old players up, like quartz, and bobdaduck, and play a match with them
06:38:30karamazovapyanyway - I've got a morning meeting
06:38:31karamazovapynight
06:38:35zoomber_mbpgood night karamazovapy
06:38:48zoomber_mbpand just wait, I'm sure light will shine on this soon enough
06:48:28zoomber_mbp Quit (Quit: zoomber_mbp)
06:48:40sam686 has left
08:05:36LordDVG has joined
08:12:17Watusimoto has joined
08:19:33BFLogBot - Commit 62fab517d55f | Author: watusim...@bitfighter.org | Log: Add teamCount
08:19:35BFLogBot - Commit 6659ffdabfd1 | Author: watusim...@bitfighter.org | Log: Merge
08:19:36BFLogBot - Commit d41da036a79e | Author: watusim...@bitfighter.org | Log: S32 ==> U32
08:23:55Watusimoto Quit (Ping timeout: 240 seconds)
09:00:18watusimoto has joined
09:00:18ChanServ sets mode +o watusimoto
10:20:07karamazovapy Quit (Read error: Connection reset by peer)
10:20:50karamazovapy has joined
14:28:06watusimotokaramazovapy: see the home page
14:28:15watusimotowe have a leaderboard!
16:00:30raptor has joined
16:00:31ChanServ sets mode +o raptor
16:00:51raptorwatusimoto: want me to adjust the player_games views to include all games?
16:12:36raptorwatusimoto: i adjusted it - most games' views now include official + unofficial games
16:22:16raptor Quit ()
16:24:32watusimotoraptor -- yes, great, thanks!
16:28:59watusimotokaramazovapy: Cheater!
16:29:17karamazovapywho, me?
16:31:10karamazovapybut I'm so innocent and naive!
16:35:10watusimotoadded total plays to the crude leaderboard
16:49:17raptor has joined
16:49:17ChanServ sets mode +o raptor
16:50:37raptorthe table style makes my eyes bleed
16:52:14raptorwatusimoto: how did you pull the data from the database... i'm looking at the PHP and i don't see where you're using credentials..
17:00:36raptoroh wow, the table changed - it's like magic
17:01:20watusimotoI have changed the table edge colors to match those of the page frame... not sure I like it but it's better
17:01:41raptoryeah, i think it's a bit better
17:01:58watusimotoI added the bf_drupal user (I forget which one it was, it came up in an error msg) to have read-only permissions to the bf_stats db
17:02:09watusimotokind of amazed it worked....
17:02:10raptorahh... cool
17:02:11watusimotobut it did
17:02:29watusimotoat some point you might want to verify I did it right
17:02:34raptoryou did
17:02:37watusimotobut I really like the phpadmin tool
17:02:45watusimotoexcept I can't see view defs there
17:02:57raptoryes - what i do is export the view
17:03:00watusimotoI'm curious about the official game view, how that was generated
17:03:04watusimotook, I'll try that
17:03:10raptorit's pretty hairy
17:03:23raptorabsolutely bonkers
17:04:36raptorwe need to replace teh screenshots with ones from the last BBB
17:05:06watusimotoindeed
17:05:35raptorsam686 has lots of nice ones here: http://sam686.maxhushahn.com/bitfighter/BBB8/index.html
17:06:15watusimotoexport the view as what... sql?
17:06:15raptorhe recorded the last BB losslessly
17:06:20watusimotowow
17:06:20raptoryep
17:06:37watusimotoI get this:
17:06:39watusimotoCREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_authenticated_game` AS select `stats_player`.`stats_game_id` AS `stats_game_id`,count(`stats_player`.`stats_player_id`) AS `authenticated_count` from `stats_player` where (`stats_player`.`is_authenticated` = 1) group by `stats_player`.`stats_game_id`;
17:06:46watusimotowhich is difficult to understand
17:07:11raptorCREATE VIEW `v_authenticated_game` AS
17:07:13raptorSELECT `stats_player`.`stats_game_id` AS `stats_game_id`,
17:07:14raptor COUNT(`stats_player`.`stats_player_id`) AS `authenticated_count`
17:07:16watusimotoin fact, don't even see where authenticated coulg gets used
17:07:17raptorFROM `stats_player`
17:07:17raptorWHERE (`stats_player`.`is_authenticated` = 1)
17:07:19raptorGROUP BY `stats_player`.`stats_game_id`
17:07:39raptorthat is a helper view, that i created to work around a mysql bug
17:08:00watusimotoah, official_game
17:08:02raptorso that view builds up all games with authenticated players
17:08:15raptorthen v_official_game uses it to calculate official games
17:08:42watusimotogot it
17:08:52watusimotoauthenticated_count` > 1 ==> >= 2
17:08:59watusimotoetc.
17:09:01watusimotoyes, ok
17:09:06raptoryes
17:09:08watusimotocan these be edited via the interface?
17:09:30raptorsure, to edit a view, just paste the same code in, but change 'create' to 'alter'
17:09:44raptorwhat did you want to edit?
17:10:06raptor(i found that using ' > x - 1' was slightly faster than ' >= x'
17:10:20raptorwhich shouldn't be...
17:15:40watusimotojust wondering... it works fine, and while >= would be slightly clearer, it's hardly worth changing if it's not trivial.
17:15:50watusimotoand it's not
17:16:04watusimotoso... great! we have our leaderboard!
17:16:31raptorwe can go crazy with views... i don't know why i didn't think about them before..
17:16:51karamazovapyviews?
17:17:10raptorviews = predefined queries in database to build up the exact data we want
17:17:22karamazovapyah
17:17:30karamazovapyare little_apple and blackbird homeschooled...?\
17:17:36raptorfootloose is
17:17:42raptorsometimes i wonder about those two..
17:18:07karamazovapyaside from other homeschool baggage, I was just wondering based on the way they seem to post on the forums throughout the day
17:18:25raptoroh, that's because they post from mobile devices all day long
17:18:50karamazovapymost schools - especially elementary and middle schools - don't allow mobile devices
17:19:34LordDVG Quit (Remote host closed the connection)
17:19:42raptori don't know much about the school system anymore - i just know high school was a complete joke for me... and that was before 'no child left behind'
17:20:55karamazovapynext time I teach highschool, I'm going to be biased. I'm going to tell people they can use mobile devices, but not if they're apple products
17:21:03raptorhahaha
17:21:05raptorawesome
17:21:25karamazovapythat oughta rile them up
17:22:35watusimotook, out of here
17:22:38watusimotolater gators,
17:24:19raptorbye
17:30:11watusimoto Quit (Read error: Operation timed out)
17:31:29raptorkaramazovapy: did you have 4 clients open this morning?
17:36:29sam686 has joined
17:36:30ChanServ sets mode +v sam686
17:37:01karamazovapyof course!
17:42:16karamazovapylooks like 016 is overrun with servers like 015a was
17:42:29raptori was enjoying the 3 or 4 count
17:42:37karamazovapyme too
17:44:11karamazovapyoh well. free country.
17:44:16raptori was thinking -
17:44:39raptormaybe we could crasht hem somehow with a known server-crashing level...
17:44:48raptorbut uploads would have to be enabled
17:45:08raptor(I'm in an exploitative mood)
17:45:55raptorbut nah, i can't be mean
17:46:50karamazovapyyeah, zoomber went through a lot to put them back up last night
17:48:08raptoroh man - a new Mac OS X is on it's way already
17:50:20karamazovapyhah...from Lion to Mountain Lion
17:50:51raptoroh man, and it looks like we'll have to cryptographically sign bitfighter or it won't run
17:50:58raptorsigh
17:50:58karamazovapy"Several popular iOS apps have been rolled up into the OS and will run across all Apple devices, harmonising the experience for users. It's all backed by iCloud accessed through the user's Apple login."
17:51:15karamazovapywhy do apple users want to give so much power to one company?
17:51:19raptori knew it...
17:51:49raptorthen everyone's laptop becomes a 5 -10 pound smart phone
17:51:50karamazovapyoooooh "deep Twitter integration"
17:52:48karamazovapy"Thanks to Gatekeeper the default setting of Mountain Lion OS is that you can only run software from Apple-approved sources - unless you can be bothered to dismiss warnings from the system."
17:52:59raptor^^ yes
17:53:06raptorthat's what i mean by needed to sign applications
17:53:12karamazovapyyeah, I figured
17:53:13raptorblessed from apple
17:53:36karamazovapyI wonder if that will spark any anti-trust cases
17:54:15karamazovapyI know they don't have significant enough marketshare, but that's certainly an aggressive anti-competitive maneuver
17:54:40raptorwell, apple has been worse than microsoft at aggressive anti-competitive maneuvers for some time
17:55:43karamazovapyyeah, but making the default setting prompt warnings against unsigned software seems like a new level of hostility
17:56:04raptorprobably
17:56:07karamazovapyit's the default aspect that I think is disturbing
17:56:12raptoryep
17:56:40raptori wonder... it almost seems as though their end goal is to get people off of computers and onto media consuming mobile devices for good
17:57:02karamazovapydidn't steve jobs say the laptop was dead?
17:57:07raptorso if anyone wants to actually get work done, you'd have to stay away from apple (which is practically how it is now)
17:57:17raptori don't know
17:57:24raptornever paid attention to him
17:57:52LordDVG has joined
17:58:49karamazovapyI did, insomuch as I wanted to see where apple was headed
17:58:55karamazovapybut yeah, "The laptop is dead."
17:59:17karamazovapyI heard rumblings that they were planning on unifying OSes
17:59:33raptorfrom the looks of it 'mountain lion' is another step in that direction
17:59:53karamazovapyyeah, looks like this is the first big step...that and their "magic" mouse
18:00:38raptorlooking at the actual OS libraries and core workings in 10.7 (Lion) it actually looks like they already took a big step in that release
18:00:57karamazovapyhm
18:01:10karamazovapyI wonder if there's a point where they'll actually lose users
18:01:26raptornot if they keep brainwashing the young
18:02:07raptorbrainwashing everyone actually...
18:02:15karamazovapywell...but my brother-in-law does some semi-technical work, and he uses both apple and pc products
18:02:52karamazovapyI wonder if they'll reach a point where those people finally throw up their hands
18:03:24raptori think their message caters to a certain class of people: "you are cool if you have an apple product"
18:03:42karamazovapyyes and no.
18:03:54sam686 Quit (Ping timeout: 245 seconds)
18:04:08karamazovapymy oldest sister (who's a bit of a rage-a-holic) was always frustrated by computers, and her apple "just works"
18:04:24karamazovapyshe also sees it as a premium product
18:04:48karamazovapymy mother uses a real computer at work and also has a laptop for travel, but she loves her ipad
18:04:52raptorah, yes
18:05:04karamazovapyboth my sisters and my mother all have iphones now
18:05:21sam686 has joined
18:05:21ChanServ sets mode +v sam686
18:05:40raptorthat's right. i temporarily forgot about that class of people
18:05:53raptori'm just so used to people at work who have apples as status symbols
18:05:59karamazovapyyeah, they play up the hipster angle, but they also appeal to tech-dumb folks
18:07:48raptorone of the changes they made in 10.7 was to remove the dock indicator that an application was running by default
18:08:15karamazovapyhuh. wonder if that's so they can keep things running in the background without you noticing
18:08:26raptori think they wanted to remove the idea of application running status
18:08:38raptorto simplify further
18:21:24sam686 Quit (Read error: Connection reset by peer)
18:24:59sam686 has joined
18:24:59ChanServ sets mode +v sam686
20:23:33koda has joined
20:40:32Watusimoto has joined
20:44:19sam686 Quit (Ping timeout: 245 seconds)
20:46:38sam686 has joined
20:46:38ChanServ sets mode +v sam686
20:57:10LordDVG Quit (Read error: Connection reset by peer)
20:57:29LordDVG has joined
20:57:30LordDVG Quit (Changing host)
20:57:30LordDVG has joined
21:29:51sam686 Quit (Read error: Connection reset by peer)
21:32:51sam686 has joined
21:32:51ChanServ sets mode +v sam686
21:39:09Watusimotohi
21:45:59sam686 Quit (Ping timeout: 245 seconds)
21:46:56sam686 has joined
21:46:56ChanServ sets mode +v sam686
21:54:00raptorhi
21:54:09raptorsave me from linux configuration files..
22:02:59raptorWatusimoto: to se a view in phpmyadmin: show create view <view name>
22:04:31Watusimotocool
22:04:40Watusimotosuicide. it's the only answer.
22:04:55Watusimotolinux config is hell
22:05:17raptori'm usually pretty good at it - but this problem is nuts
22:05:27raptorhave to step back
22:06:19Watusimototake a walk
22:07:55Watusimotois show a button?
22:11:15BFLogBot - Commit 15362ab2323e | Author: watusim...@bitfighter.org | Log: Add stubs for sending leaderboard info to client
22:11:17BFLogBot - Commit e0dc9a60ca37 | Author: watusim...@bitfighter.org | Log: Comments
22:23:42raptorno, it isn't - you have to put it in the SQL part
22:26:20WatusimotoI see
22:26:24Watusimotospeaking of sql...
22:26:34Watusimotothis database.cpp is horrible!
22:26:48Watusimotonot poorly written, just... a lot of stuff
22:29:22Watusimotolike...
22:29:25Watusimotowhat's this:
22:29:27WatusimotoU64 DatabaseWriter::getServerFromCache(const GameStats &gameStats)
22:29:28Watusimoto{
22:29:28Watusimoto // Check cache for server info
22:29:28Watusimoto for(S32 i = cachedServers.size() - 1; i >= 0; i--) // Counting backwards visits newest servers first
22:29:28Watusimoto if(cachedServers[i].ip == gameStats.serverIP && cachedServers[i].name == gameStats.serverName )
22:29:29Watusimoto return cachedServers[i].id;
22:29:31Watusimoto return U64_MAX;
22:29:33Watusimoto}
22:29:34LordDVG Quit (Remote host closed the connection)
22:29:43Watusimotoand how do I adapt it for saving achievements?
22:34:09koda Quit (Quit: I used to be chatting like you. Then I took an arrow in the knee)
22:35:56raptorhi
22:36:10raptorumm...
22:36:12raptorask sam686?
22:36:47raptori don't actually think i wrote any of the c++ connector stuff
22:38:35Watusimotosam686: are you around?
22:38:54sam686hi
22:39:14Watusimotohi -- I'm trying to figure out how to get an achievement into the database
22:39:31Watusimototrying to duplicate the methodology used for inserting stats
22:39:53Watusimotoand I'm trying to understand what the getServerFromCache() method (pasted above) is doing
22:40:10Watusimotowhat are we caching, and what is the relationship to stats?
22:40:47sam686all that getServerFromCache does is to try to speed up inserting stats to database by avoiding one "SELECT" query..
22:42:30Watusimotoah, so it keeps a list of recently seen servers in memory, and looks at that list instead of going to the database
22:42:47Watusimotook, I get it
22:43:02WatusimotoI can probably ignore that for achievements
22:43:29Watusimotoalso, there is a Query object kicking around that looks like it has no member functions or data fields
22:43:47Watusimotoclass Query {
22:43:47Watusimoto // Empty class
22:43:47Watusimoto};
22:43:51Watusimotowhat does that do?
22:44:01raptortakes up space!
22:45:23sam686` has joined
22:46:24sam686 Quit (Ping timeout: 245 seconds)
22:48:02sam686` is now known as sam686
22:48:02ChanServ sets mode +v sam686
22:55:59sam686 Quit (Ping timeout: 245 seconds)
22:56:25raptorlater!
22:56:46raptor Quit ()
22:58:10Watusimotosam: in your disconnect issues, did you see my question about the Query class?
23:00:53sam686 has joined
23:00:53ChanServ sets mode +v sam686
23:01:24BFLogBot - Commit 81b51ec3bc60 | Author: sam8641 | Log: Not sure how that got there, removed it to allow compiling as non-debug mode
23:25:51Watusimotosam686: any recollection why serverID is a U64?
23:26:29sam686well... we could get so many reports, that we would ran out of numbers in U32
23:29:53Watusimotobut does the database have more than U32?
23:30:00Watusimotolooks like an int
23:30:40Watusimotoi agree our cached value should have the same type as the database value
23:31:01Watusimotobut I think our cached value is a different type
23:33:21Watusimotoint is a S32
23:33:35Watusimotobigint is a S64
23:34:24Watusimotothey also have a 3 byte int called a medium int
23:34:30WatusimotoS24
23:34:44sam686i guess it is the way "getServerFromDatabase" returns U64, so i end up using U64
23:36:06sam686i haven't written the "getServerFromDatabase" function (i think raptor or someone might have written that)
23:36:27WatusimotoI was mostly wondering because I wasn't sure what type gameId should be
23:36:39WatusimotoI think S32 is the answer
23:37:06WatusimotoI think that even if bitfighter is more popular than minecraft, we'd never see 2 billion servers :-)
23:39:11WatusimotoI guess we can dream though!
23:50:44Watusimoto!@#$%^&
23:50:56WatusimotoI need a gameID before stats have been written
23:51:07Watusimotocrap
23:51:12Watusimotocrap crap crap crap

Index Search ←Prev date Next date→

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