#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-06-24

Timestamps are in GMT/BST.

00:34:05raptorso tell me about your database additions? one fake materialized view with a trigger to refresh it every so often?
00:41:05kaentwo triggers to update it on insertions
00:41:17kaenone for stats_player and stats_player_shots each
00:41:27raptortwo?
00:41:33kaenyes
00:42:00raptorso you insert the stats_player data first, then later add back in the shots data (and this to not do enormous joins?)
00:42:22raptor^^ my guess
00:42:41kaenspot on.
00:43:03raptordude - you're a fast learner
00:43:10kaenheh thanks
00:45:03BFLogBot - Commit 099b9d9fec88 | Author: buckyballreaction | Log: Fix compile warnings
00:49:36raptordinner time!
00:49:38raptoroh
00:49:40raptoralso
00:50:09raptorif you create a directory 'public_html' in your home directory you can have stuff live at bitfighter.org/~kaen/
00:50:24kaenawesome. thanks :)
01:25:50raptormmm dinner
02:08:58raptoryeah, so... the classical Greeks were a messed up bunch of people..
02:11:03raptorthey were proud that they could be lost at sea, stumble upon a peaceful culture, sack the city, kill the men and children, take the women, then tell the story to strangers to gain favor
02:26:39kaenI can't disagree with that.
02:26:47kaenAlexander the Great was a pretty cool guy, though
02:29:17kaenI guess I'm just basing that off of watching reign: the conqueror though
02:36:38kaenI have always been a fan of pythagoras, too. Something about a cult of mathematics is appealing to me.
02:42:40raptorhaha
03:13:36raptor Quit ()
03:30:47BFLogBot - Commit e5e7cdd2d4d5 | Author: buckyballreaction | Log: Hopefully handle all remaining cases of interrupting engineered teleport exit placement
04:20:00raptor has joined
04:20:01ChanServ sets mode +o raptor
04:36:08kaenraptor, I uploaded the stats stuff to ~/gamereports
04:36:18raptorhi
04:36:22kaenyou'll have to run the sql queries before the scripts will work
04:36:24kaenhello :)
04:36:40raptorok, let me look...
04:36:59kaenwhen I did that locally, I got an error regarding utf8_unicode_ci blah blah
04:37:14kaenwhich necessitated my converting the charsets of the tables involved to match
04:37:58raptorwait wait...
04:38:07raptorwhat was the original charset?
04:39:06raptoroh good, you excluded robots
04:40:03kaenI think it was because my table (player_mv) was created with utf8_general_ci, and the ones imported were utf8_unicode_ci
04:40:17raptorah
04:40:18raptoryes
04:40:28raptori always do stuff unicode...
04:40:29kaeneither will work, they just need to match
04:40:36raptorhabit from work
04:40:48raptorsomeday we'll have japanese translations!
04:40:55kaen:)
04:42:07raptor analyzed the triggers...
04:42:14raptoranalyzes...
04:42:17kaenoh good
04:42:37raptorwow
04:42:39raptorso
04:42:56raptoryou: insert in the mv if it's a new player
04:43:06raptorif not, you update the old with new calculations
04:43:22kaenyep
04:43:42raptori don't think i've ever created a trigger this complex before...
04:44:00kaenit looks more complex than it is because of the damn pivot tables
04:44:10kaener, I guess it really is that complex
04:44:21kaenbut it shouldn't be @_@
04:44:21raptorwhat do you consider pivot tables?
04:44:38kaenthose if() cascades
04:44:50kaenwere referred to as pivot tables in some stuff I was reading
04:45:02raptorquestion
04:45:28raptorif i use all 5 weapons in a match, is that trigger launched 5 times for my one player?
04:45:41raptoror will it depend on if i insert all 5 rows at once?
04:45:49kaenyes, because stats_player_shots will have 5 insertions
04:46:07raptorhave you tested speed of these triggers?
04:46:48kaentakes ~5 minutes to insert all of stats_player and stats_player_shot with these triggers on my laptop
04:46:56kaenis the best I can give you
04:47:01kaenoh, that was with bots included
04:47:26raptorevil bots
04:47:31kaenyes
04:47:57kaenoops
04:48:07raptoryes?
04:48:10kaenjust tried to use the mysql shell in ssh window >.<
04:48:16raptorhaha
04:49:34raptorok, table and triggers set-up...
04:49:49kaenthe suspense is killing me
04:49:54raptorhehe
04:50:18kaendeployments always get me worked up :P
04:51:49raptoroh good, you figured out that i safely kept the credentials in a separate php file
04:52:09raptori suppose that wasn't hard to figure out..
04:52:12kaenheh
04:52:14raptorbut you kept it that way... thanks
04:52:28kaenyou bet
04:52:37raptorfirst run...
04:52:43raptorhttp://bitfighter.org/gamereports/stats.php
04:52:56kaen:)
04:53:01raptorit works!!
04:53:14raptorit's ALIIIIIVE!!
04:53:25kaenlol
04:53:44raptoryour search beats the pants off of my crude one on gamereports...
04:54:04raptorok, testing trigger...
04:58:38kaenmuahahhahahahahhha
04:58:44kaenVICTORY!
04:58:49raptorit works!!!
04:58:53raptorsplendid!
04:58:58kaenI honestly can not believe it
04:59:02raptorok, now the real test...
04:59:14raptorpost about it in the forums under announcements :)
04:59:15kaen:o
04:59:29kaenme?
04:59:31raptoractually wait
04:59:34kaenalright
04:59:48raptorlet me do some restructuring...
04:59:56kaenyou got it
05:00:11kaenI'll be back in just a few
05:12:10kaenback
05:12:15raptorok, almost done
05:14:16raptorok, on the server at /var/www/html/stats
05:14:28raptori gave you access to your three files to update it directly
05:14:32raptor*to update
05:14:41kaenawesome!
05:17:28raptorok, this is crude: http://bitfighter.org/stats/
05:18:12raptorso, i can post in the anouncements if you want me to - but maybe you'd provide more shock value since the community knows you less? :)
05:18:25kaenI'd love to :)
05:24:40raptorwell, i think it's a job fantastically done
05:24:59kaenthanks. I don't think it's done though ^^
05:25:31raptorthe fans will scream for more, i'm sure...
05:25:38raptoralso hobbies are never done...
05:25:50kaentoo true
05:33:04kaenand now we wait for the money to roll in!
05:33:11raptorhahaha
05:33:13raptorhee hee
05:33:15raptorhoo hoo
05:33:19kaen:)
05:44:55raptorgood post!
05:45:12kaenthanks. I'm not much for words
05:45:32raptorme neither - just drop the data and get outta there..
05:45:45kaenexactly
05:46:33raptorwould you like to do some testing with the teleports with me? that last commit of mine fixed a bunch..
05:46:44kaenyou bet
05:46:48kaenlemme update
05:47:29kaen19 changesets. I guess it's been a while :P
05:48:14raptorwatusimoto loves to do like 10 at once
05:48:28raptorusually cleaning up my formatting errors... :/
05:48:33kaenalright I've rebuilt
05:48:34kaenlol
05:48:40raptorok
05:48:49raptori'm the 69.169... server
05:49:07kaen-.-
05:49:09kaensegfault
05:49:20kaenrebuild *harder*
05:49:20raptordid you do a full rebuild?
05:49:27raptor(I changed loads of headers...)
05:49:29kaenno, I was hoping I would get lucky
05:49:32kaenheh
05:49:36raptorha
05:51:36raptorhow long does it take you to fully compile?
05:51:51raptorI usually just do the zap/ directory to shave off some time...
05:51:59kaensomething like 3-4 minutes
05:52:20kaendoing Triangle right now, should be almost done
05:52:27raptorahh triangle
05:52:39raptorthat's the library that would keep us from selling the game...
05:52:41raptor:)
05:54:33sam686i haven't been looking at bitfighter for a few days, until just now.... found 2 files with mixed line ending..
05:55:04raptorhi sam686
05:55:11raptorcompile the latest and join my server
05:55:45sam686compiling... it takes about 4 minutes for me to full compile zap...
05:56:42sam686i think i have one more minute to finish compiling..
05:56:50raptoryay
05:57:26sam686done, now running it..
06:06:55raptornight kaen
06:21:00raptorgood ngiht!
06:21:05sam686night..
06:21:07raptor Quit ()
06:59:49sam686 Quit ()
07:33:56Watusimoto has joined
08:21:28koda has joined
08:56:02Watusimoto Quit (Read error: Connection reset by peer)
10:14:56koda Quit (Quit: koda)
10:24:42LordDVG has joined
10:31:40Watusimoto has joined
10:57:55Watusimoto Quit (Ping timeout: 260 seconds)
11:31:55koda has joined
12:07:08koda Quit (Quit: koda)
12:18:39koda has joined
13:39:29koda Quit (Quit: koda)
13:56:32raptor has joined
13:56:32ChanServ sets mode +o raptor
14:04:46aussiebitfighter has joined
14:06:14aussiebitfighter has left
14:47:00BFLogBot - Commit 9ef35a1819fc | Author: buckyballreaction | Log: Fix game lobby chatting (again,) this time when there are servers in the list
15:07:03BFLogBot - Commit 2f2312d181a3 | Author: buckyballreaction | Log: Engineered teleporters are harder to destroy; they have same health as other engineered items. Do we need some sort of health feedback?
15:27:48koda has joined
15:40:34Watusimoto has joined
16:07:39Watusimoto Quit (Ping timeout: 272 seconds)
16:46:40Watusimoto has joined
16:48:40Watusimotohi
16:55:14kaenahoy
17:05:45raptor Quit ()
17:33:51Watusimotoahoy, welcome aboard
18:02:49sam686 has joined
18:02:49ChanServ sets mode +v sam686
20:16:02Watusimoto Quit (Read error: Connection reset by peer)
20:17:14Watusimoto has joined
21:30:59LordDVG Quit (Remote host closed the connection)
22:35:33WatusimotoI'm heading to bed
22:36:22Watusimotoraptor, if you read this, I did a little teleporter refactoring for my own purposes, and it touched on your stuff. I think I was able to simplify it a tiny bit, and engineering still seems to work, so... fingers crossed!
22:42:47BFLogBot - Commit c21f3dddca61 | Author: watusim...@bitfighter.org | Log: Remove redundant getClassId methods
22:42:49BFLogBot - Commit 72c9190ab7cd | Author: watusim...@bitfighter.org | Log: Move Telerporter from lunar to luaW
22:42:50BFLogBot - Commit 9cc66d80b448 | Author: watusim...@bitfighter.org | Log: Delegate teleporter destination management to a new class
22:42:52BFLogBot - Commit 20c223b286f1 | Author: watusim...@bitfighter.org | Log: Formatting
22:42:53BFLogBot - Commit 2b4e8a8cc901 | Author: watusim...@bitfighter.org | Log: Removed some variables, reworked some things, and now teleporters can be added from Lua scripts WITHOUT crashing. Except they go nowhere, and I had to remove teleporters from the editor to avoid crashes. This needs to be fixed, obviously.
22:42:55BFLogBot - Commit 30de070c896f | Author: watusim...@bitfighter.org | Log: Now, without explanation, teleporter works in the editor again... perhaps it was that whitespace I added in teleporter.cpp
22:42:56BFLogBot - Commit 7e3c2a5a7032 | Author: watusim...@bitfighter.org | Log: Merge -- hope I got it right!
22:52:59BFLogBot - Commit 14101eb43d33 | Author: watusim...@bitfighter.org | Log: Comment
22:55:25Watusimoto Quit (Ping timeout: 260 seconds)
23:18:13raptor has joined
23:18:14ChanServ sets mode +o raptor
23:42:29raptoryeah
23:42:40raptorteleporter still works after his refactor... phoew!
23:42:46raptoror is it: phew!
23:42:51raptoror whew!
23:48:05BFLogBot - Commit bff24ec61db0 | Author: buckyballreaction | Log: Fix compiling in Linux. Why was a pointer used for teleport destinations?
23:51:30koda Quit (Quit: koda)

Index Search ←Prev date Next date→

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