Timestamps are in GMT/BST.
| 00:13:36 | raptor | well we have at least two badges... |
| 00:13:57 | raptor | maybe we should make at least one more that you can actually earn |
| 01:21:57 | | sam686 has joined |
| 01:21:57 | | ChanServ sets mode +v sam686 |
| 01:36:16 | sam686 | master / schema / everything is not up to date (missing loadout table), and bitfighter.sqlite3.sql is mostly not needed because it is at the bottom of /master/database.cpp |
| 01:46:42 | | Watusimoto Quit (Ping timeout: 240 seconds) |
| 02:03:55 | raptor | hi sam686 |
| 02:04:18 | raptor | ah the schema |
| 03:23:46 | | raptor Quit () |
| 07:37:31 | | Watusimoto has joined |
| 08:12:59 | sam686 | kaen, I broke your player reports (and graphs, game report) using a special link I posted in forum, http://bitfighter.org/forums/viewtopic.php?f=29&t=1558 |
| 08:14:13 | sam686 | anyway, good night |
| 08:14:16 | | sam686 has left |
| 08:45:51 | | LordDVG has joined |
| 08:50:31 | | kaen Quit (Ping timeout: 276 seconds) |
| 10:04:46 | | LordDVG Quit (Remote host closed the connection) |
| 10:18:04 | | watusimoto1 has joined |
| 11:58:06 | | Watusimoto Quit (Ping timeout: 256 seconds) |
| 12:06:11 | | watusimoto1 Quit (Quit: Leaving.) |
| 12:08:05 | | watusimoto has joined |
| 12:08:05 | | ChanServ sets mode +o watusimoto |
| 12:12:56 | | watusimoto Quit (Client Quit) |
| 13:27:17 | | LordDVG has joined |
| 13:30:53 | | raptor has joined |
| 13:30:53 | | ChanServ sets mode +o raptor |
| 13:59:19 | | watusimoto has joined |
| 13:59:20 | | ChanServ sets mode +o watusimoto |
| 14:14:43 | raptor | buenos |
| 14:18:10 | | Watusimoto_ has joined |
| 14:49:21 | watusimoto | hi |
| 14:49:25 | raptor | hello |
| 14:49:36 | watusimoto | just figured oiut how we can hook our unused console up to a lua interpreter |
| 14:49:50 | watusimoto | so we can add objects and such to the game in real time |
| 14:49:55 | raptor | as in run code directly in the console? |
| 14:49:57 | raptor | ! |
| 14:49:58 | raptor | ha |
| 14:49:59 | watusimoto | haven't actually tried it yet, of course |
| 14:50:04 | watusimoto | but now Iknow how |
| 14:50:06 | raptor | oh the potential for abuse.... |
| 14:50:16 | watusimoto | we could disable it except during test mode |
| 14:50:20 | raptor | we could implement a dungeon master |
| 14:50:25 | watusimoto | or at least limit it somehow |
| 14:50:43 | raptor | limit to admin to start |
| 14:51:06 | watusimoto | anyway, it looks really easy |
| 14:51:33 | watusimoto | I read the naev code, and I the worst part of it will be dealing with oglconsole crapcode |
| 14:51:54 | raptor | ha |
| 14:53:12 | watusimoto | your mail is bouncing |
| 14:53:15 | watusimoto | This is the mail system at host gateway1.nyi.mail.srv.osa. #################################################################### # THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. # #################################################################### Your message could not be delivered for more than 6 hour(s). It will be retried until it is 1 day(s) old. For further assistance, please send mail to postmaster. If you do so, please in |
| 14:53:18 | watusimoto | ... |
| 14:53:29 | raptor | oh wonderful |
| 14:53:31 | watusimoto | that's why you didn't get the msg I sent yesterday |
| 14:53:44 | raptor | i need to get my own domain... |
| 14:53:56 | watusimoto | you can have a bitfighter.org email if you want |
| 14:54:17 | raptor | well, i'm just being lazy - i need to do it for my family anyways... |
| 14:54:22 | watusimoto | yes |
| 14:54:49 | watusimoto | i should give you and sam mail forwarders at least |
| 14:55:09 | raptor | so raptor@bitfighter.org -> whereever i please? |
| 14:55:15 | watusimoto | yes |
| 14:55:26 | watusimoto | I have that watusimito set up that way |
| 14:55:57 | raptor | do you respond via bitfighter.org |
| 14:55:58 | raptor | ? |
| 14:58:34 | watusimoto | yes |
| 14:58:42 | | Watusimoto_ Quit (Ping timeout: 245 seconds) |
| 15:02:14 | raptor | if you have a forward, how do you respond via the bitfighter.org e-mail? |
| 15:02:17 | watusimoto | I can use wat@bf.org as a regykar enauk address |
| 15:02:26 | watusimoto | my email client is thusly configured |
| 15:02:43 | watusimoto | the email is presented as being sent to bf.org, and the client responds appropriately |
| 15:02:43 | raptor | ah ok |
| 15:03:05 | watusimoto | more of a redirect than a conventional forward, I suppose |
| 15:28:43 | | watusimoto Quit (Quit: Leaving.) |
| 15:31:14 | | Watusimoto has joined |
| 15:32:45 | | kaen has joined |
| 15:52:02 | | LordDVG Quit (Remote host closed the connection) |
| 16:13:22 | Watusimoto | so we will have problems if someone changes level gemometry during a game -- botzones will need to be recomputed |
| 16:13:38 | Watusimoto | and bots will need to be alerted |
| 16:23:30 | raptor | hmmm |
| 16:23:37 | raptor | botzones |
| 16:30:13 | raptor | i read something once on real-time botzone updating with dynamic environments... |
| 16:54:30 | raptor | Watusimoto: i'm thinking about coding one more badge, one you can earn, similar to the 25flags one. Any ideas? |
| 16:56:14 | Watusimoto | dinner time... let met hink it over and give you some ideas in about an hour or so |
| 16:56:25 | raptor | ok |
| 17:01:13 | | Watusimoto Quit (Ping timeout: 268 seconds) |
| 17:53:32 | | Watusimoto has joined |
| 17:54:34 | Watusimoto | some ideas |
| 17:54:46 | Watusimoto | 1. capture all zones in zc game in one sweep |
| 17:54:58 | Watusimoto | 2. hold flag for n time in rabbit game |
| 17:55:10 | Watusimoto | 3. kill n players in bitmatch |
| 17:55:19 | Watusimoto | 4. (maybe) use all weapons and modules in one game |
| 17:55:56 | Watusimoto | perhaps with a minimum usage requirement on each (shoot 100x with each gun, use each module for 20 secs, whatever) |
| 17:56:50 | raptor | i like the ZC one |
| 17:56:59 | raptor | not sure how to do the 'one sweep' part |
| 18:10:42 | Watusimoto | just set a counter when capturing a loadout zone; when different player takes flag, reset the cuonter; when touchdown is scored, if counter == number of zones, then award ribbon |
| 18:11:28 | Watusimoto | may also want to set a minimum number of zones; otherwise mazeracer would count |
| 18:11:53 | Watusimoto | when any player takes falg, reset the counter -- even if the previous player had it before |
| 18:12:06 | Watusimoto | you drop the flag, you break your sweep |
| 18:14:18 | raptor | i thought you mean 100% of the score for a level |
| 18:14:26 | raptor | so if a touchdown was 6 zones |
| 18:14:32 | raptor | but winning score was 24 |
| 18:14:38 | raptor | you'd have to get 24 |
| 18:14:57 | Watusimoto | ah, no I meant capture all 6 zones without dying or dropping flag |
| 18:15:17 | Watusimoto | though either way would work |
| 18:15:19 | raptor | woudl that be too easy? |
| 18:15:32 | raptor | because that's how it happens all the time it seems |
| 18:15:53 | Watusimoto | maybe it would be |
| 18:20:33 | Watusimoto | what if they captured every zone needed to win the game? |
| 18:20:36 | Watusimoto | that would be hard |
| 18:20:38 | Watusimoto | ish |
| 18:27:19 | raptor | yes |
| 18:27:24 | raptor | i like that one... |
| 18:29:05 | raptor | great.. now i have to figure out a name and a graphic.. |
| 18:29:12 | raptor | ZC master |
| 18:31:57 | Watusimoto | Zonemaster |
| 18:32:19 | Watusimoto | Zonehunter |
| 18:32:24 | Watusimoto | Zonetaker |
| 18:32:38 | Watusimoto | zonecontroller |
| 18:32:57 | Watusimoto | there should be a minimum number of captures required |
| 18:33:07 | Watusimoto | to protect against weak levels |
| 18:33:18 | Watusimoto | you could recored player who captures first zone |
| 18:33:19 | raptor | yes, like 3 total touchdowns of at least 3 zones each |
| 18:33:36 | Watusimoto | then with each subsequent capture verify the name is the same |
| 18:33:53 | Watusimoto | if the name differs, game is inelligible for award |
| 18:34:14 | Watusimoto | could allow player to be killed or drop flag, as long as he is the one who captures everything |
| 18:34:24 | raptor | oh wow, that's stricter than i thought |
| 18:34:25 | raptor | yes |
| 18:34:44 | raptor | as long as all zones are captured |
| 18:34:52 | | sam686 has joined |
| 18:34:52 | | ChanServ sets mode +v sam686 |
| 18:35:17 | raptor | i was thinking even if they change sides or ownership, as long as the entire touchdown was completed by the same player then it's good |
| 18:35:20 | raptor | but maybe that's harder.. |
| 18:36:13 | raptor | harder to code, i mean |
| 18:38:50 | raptor | we could have something similar for retrieve... |
| 18:39:30 | Watusimoto | not if you use the method I suggested -- name will remain the same throughout |
| 18:39:47 | Watusimoto | but that would change the number of captures required to win, for better or worse |
| 18:39:58 | Watusimoto | I guess it would never reduce the number |
| 18:40:35 | Watusimoto | basically, every thouchdown durnig a game would need to be by the same player, right? |
| 18:43:08 | raptor | yes |
| 18:43:19 | raptor | a touchdown = all zones at once |
| 18:43:32 | raptor | so each zone in each touchdown |
| 18:47:56 | Watusimoto | so simplify to every capture during a game |
| 18:48:13 | Watusimoto | don't worry about touchdowns... once a capture is made by different player, award is canceled |
| 18:48:30 | Watusimoto | if last td is made by same player as first, and award hasn't been canceled, award award |
| 18:54:20 | | raptor is stuck designing a badge again |
| 19:02:33 | Watusimoto | Interesting book review |
| 19:02:34 | Watusimoto | http://bldgblog.blogspot.co.uk/2012/06/various-forms-of-lithic-disguise.html |
| 19:02:44 | | LordDVG has joined |
| 19:02:59 | Watusimoto | Pick one of the geometric designs already created |
| 19:03:59 | Watusimoto | or make a big Z in a box |
| 19:08:04 | raptor | i read something like that about switzerland recently |
| 19:10:53 | | LordDVG Quit (Ping timeout: 245 seconds) |
| 19:17:26 | raptor | Watusimoto: not too bad for my first attempt: http://sam686.maxhushahn.com/upload/1screenshot_21.png |
| 19:18:33 | raptor | better: http://sam686.maxhushahn.com/upload/1screenshot_22.png |
| 19:18:38 | raptor | (slightly smaller text) |
| 19:19:03 | Watusimoto | I like it |
| 19:19:17 | Watusimoto | what will the award be called? |
| 19:19:33 | raptor | still not sure... |
| 19:19:44 | raptor | zonemaster sounds nice but could be applied to several gametypes |
| 19:19:55 | Watusimoto | if, for example, zonemaster, award could be ZM instead of ZC |
| 19:20:03 | Watusimoto | ZCMaster |
| 19:20:38 | Watusimoto | go with zonemaster; we'll think of other names as we need them |
| 19:20:40 | Watusimoto | zone commander |
| 19:20:44 | Watusimoto | zone grabber |
| 19:20:58 | raptor | http://thesaurus.com/browse/master?s=t |
| 19:21:07 | Watusimoto | zonegineer |
| 19:21:16 | raptor | zone overlord |
| 19:21:49 | raptor | ha |
| 19:22:09 | Watusimoto | zonelord |
| 19:22:23 | raptor | maybe zonemaster isn't so bad... |
| 19:22:26 | Watusimoto | zonefighter |
| 19:22:35 | Watusimoto | zonemaster zc |
| 19:22:48 | raptor | i like that |
| 19:22:53 | Watusimoto | what other games could have zonemaster? |
| 19:23:01 | raptor | retrieve? |
| 19:23:05 | raptor | hold the flag |
| 19:23:06 | Watusimoto | retrievemaster |
| 19:23:12 | raptor | heh |
| 19:23:15 | raptor | not bad... |
| 19:23:18 | Watusimoto | flaggrabber |
| 19:23:27 | Watusimoto | go with zonemaster |
| 19:23:29 | raptor | zonemaster |
| 19:23:29 | Watusimoto | zonetastic |
| 19:23:33 | raptor | haha |
| 19:23:40 | Watusimoto | zoneilicous |
| 19:23:48 | Watusimoto | zoneragous |
| 19:23:58 | Watusimoto | zoneiphillic |
| 19:24:06 | Watusimoto | zoneophile |
| 19:24:36 | Watusimoto | zoneowner |
| 19:24:42 | Watusimoto | zonehood |
| 19:24:52 | Watusimoto | zoner |
| 19:24:56 | raptor | haha |
| 19:25:06 | Watusimoto | lots of options |
| 19:25:09 | raptor | sounds like some of my not-so-bright friends in high school |
| 19:25:11 | Watusimoto | zone collector |
| 19:25:21 | Watusimoto | zone out |
| 19:25:25 | Watusimoto | zone in |
| 19:25:46 | Watusimoto | zonecontroller |
| 19:25:56 | Watusimoto | zonetroller |
| 19:26:17 | Watusimoto | maybe zonecontroller?? |
| 19:26:25 | sam686 | zone cap |
| 19:26:30 | Watusimoto | zonephant |
| 19:26:41 | Watusimoto | zone vader |
| 19:26:54 | Watusimoto | capt'n zone |
| 19:27:00 | Watusimoto | zz zone |
| 19:27:04 | sam686 | zone flagger |
| 19:27:08 | Watusimoto | zone jagger |
| 19:27:29 | Watusimoto | zonicator |
| 19:27:35 | sam686 | zone laugher |
| 19:27:37 | Watusimoto | the zone chef |
| 19:27:42 | Watusimoto | zone wrangler |
| 19:27:54 | Watusimoto | zone snagger |
| 19:28:02 | raptor | yeah... |
| 19:28:04 | Watusimoto | zone snatcher |
| 19:28:16 | Watusimoto | zone snaggler |
| 19:28:18 | raptor | this is where too many options start to hurt.. |
| 19:28:25 | raptor | :) |
| 19:28:45 | sam686 | zone hurter |
| 19:29:03 | Watusimoto | zone controller, zonemaster are my two faves. that and zone hurter. |
| 19:29:24 | Watusimoto | zone smasher |
| 19:29:38 | Watusimoto | zone kung fu master |
| 19:29:45 | Watusimoto | zonefu |
| 19:31:06 | Watusimoto | zone sinker |
| 19:31:19 | Watusimoto | toblerzone |
| 19:31:26 | Watusimoto | ozone |
| 19:31:46 | Watusimoto | give a dog a zone |
| 19:31:57 | sam686 | retrieve and hold the flag into zone are nearly the same, almost all levels made for retrieve or hold the flag can work with both retrieve and hold the flag game mode.. |
| 19:32:24 | raptor | sooo... rabbitmaster? |
| 19:32:29 | raptor | duck season? |
| 19:32:41 | sam686 | bitmatch... bitmaster? |
| 19:33:08 | Watusimoto | for rabbit if you hold flag long enough could be stayin' alive |
| 19:34:30 | | LordDVG has joined |
| 19:37:01 | raptor | i'm liking zonecontroller, too now... especially since it fits with ZC so nicely.. |
| 19:42:53 | Watusimoto | zone commander |
| 19:43:03 | raptor | ooo, i like that too |
| 19:43:03 | Watusimoto | zone conquistidor |
| 19:43:11 | Watusimoto | zone conqueror |
| 19:43:29 | Watusimoto | zone clepto |
| 19:43:33 | raptor | haha |
| 19:43:34 | Watusimoto | zone criminal |
| 19:44:05 | Watusimoto | yeah, those all suck |
| 19:44:49 | raptor | now to code the requirement... |
| 19:46:56 | | BFLogBot - Commit 2899c4f762bd | Author: buckyballreaction | Log: Add Zone Controller badge graphic |
| 19:55:18 | Watusimoto | ok, for now, can't modify walls that are in a game |
| 19:55:23 | Watusimoto | only add new ones |
| 19:55:46 | Watusimoto | so it's best for levelgens only |
| 19:58:37 | sam686 | here I could have been a "zone controller" or "zone master" during a BBB. http://www.youtube.com/watch?v=6oZ3yB7KO9U#t=3m43s |
| 20:05:20 | raptor | heh, i just came across a funny named object: ItemOfInterest |
| 20:35:41 | kaen | sam686, were you just putting raw html into a db record? |
| 20:36:09 | kaen | regarding the stats pages |
| 20:37:29 | sam686 | yes |
| 20:37:52 | kaen | k cool |
| 20:38:05 | sam686 | well not in database |
| 20:38:09 | sam686 | but in URL link |
| 20:38:48 | kaen | oh, I see |
| 20:39:06 | sam686 | the normal player stats is fine, my special link make it look screwed up |
| 20:39:45 | kaen | right |
| 20:40:25 | sam686 | here is a more simpler bug: http://bitfighter.org/stats/stats.php?page=2_hello_there |
| 20:40:36 | sam686 | it will say "Page 2_hello_there of 3" |
| 20:41:12 | raptor | driveby HTML injection attack! |
| 20:41:37 | kaen | oh wow that's just ridiculous. |
| 20:42:05 | sam686 | this problem happens on game report and graphs too, using days=3_hello_there instead of page.. |
| 20:43:18 | kaen | well, I avoided sql injection with diligent sanitizing, only to completely overlook xss. |
| 20:43:48 | raptor | and that is why i hate web development |
| 20:43:54 | kaen | amen |
| 20:44:11 | kaen | I'm just glad none of the players are savvy and malicious enough to have exploited it yet. |
| 20:44:35 | sam686 | the page and days should be numbers only, so maybe a way to force into a number is $a = $a + 0; (unless PHP have a convert to integer function) |
| 20:45:55 | kaen | yes, but more immediately I shoudl run the get params through htmlspecialchars() |
| 20:46:03 | kaen | $_GET, rather |
| 20:46:21 | sam686 | another test, what if a player name contains a <font size=9>sam686</size> |
| 20:46:41 | kaen | that's not protected against either |
| 20:47:14 | sam686 | its protected against a list of "Players online", i know that... |
| 20:50:31 | sam686 | http://bitfighter.org/stats/gamereports.php GIANT FONT, though I couldn't find my giant font name on player stats.. |
| 20:51:27 | sam686 | something overrode my font size... http://bitfighter.org/stats/stats.php?player=%3Cfont+size%3D9%3Esam686%3C%2Ffont%3E&authed=&alltime=&year=2012&month=08 |
| 20:52:03 | kaen | likely some css |
| 20:52:10 | kaen | oh wait, you put it in a font tag? |
| 20:52:30 | kaen | who knows, but anyway I don't have write perms to the stats.php or player.php pages anymore |
| 20:53:00 | raptor | i give you them |
| 20:53:31 | raptor | wait wait |
| 20:53:50 | kaen | wierd. they're o+rw |
| 20:53:50 | raptor | kaen: you should have rights to /var/www/html/stats/player.php, etc |
| 20:53:53 | sam686 | http://bitfighter.org/stats/stats.php?order=player_name&sort=ASC look at moving sam686,, |
| 20:53:53 | kaen | yeah |
| 20:54:07 | kaen | I'm looking at that, but I'm getting permission denied. wtf. |
| 20:54:34 | kaen | oh wow |
| 20:54:45 | kaen | mv didn't work but cp did |
| 20:55:00 | kaen | ah, my umask must be messed up |
| 20:55:16 | kaen | lol that was awesome |
| 20:55:21 | raptor | what? |
| 20:55:22 | raptor | :) |
| 20:55:24 | kaen | :) |
| 20:55:33 | kaen | I didn't know that could even happen |
| 20:56:11 | sam686 | clicking on player names seems broken in player stats.. |
| 20:56:22 | raptor | ha! |
| 20:56:32 | raptor | i always wanted to try that, kaen |
| 20:57:19 | raptor | sam686 log onto bitfighter.org |
| 20:57:25 | raptor | via ssh |
| 20:57:35 | sam686 | ok, logged in |
| 20:58:54 | kaen | ugh, why is this 404'ing? |
| 21:02:38 | kaen | oh, it's a 500. even better. |
| 21:05:47 | kaen | well, I reverted player.php until I can find what's causing the error in production (I don't even get a notice on my server) |
| 21:06:11 | kaen | but stats.php should be html-injection free. although you can still do goofy things by passing strange parameters |
| 21:06:28 | sam686 | I see apache error log [Mon Aug 13 01:03:33 2012] [error] [client 213.186.127.2] PHP Parse error: syntax error, unexpected '[' in /var/www/html/stats/player.php on line 96 |
| 21:06:57 | kaen | ah, thank you! |
| 21:07:04 | raptor | Watusimoto: for adding walls mid-game, we'd have to detect what zones they were on, rebuild zones for the affected area, and rebuild connections, and clear the bot zone to zone cache |
| 21:07:05 | kaen | I used new array syntax instead of array() |
| 21:08:01 | kaen | there, works now |
| 21:08:14 | kaen | I cleaned up as much of the notice spam as I could, as well |
| 21:09:05 | Watusimoto | raptor: yes, that would probably work |
| 21:09:22 | Watusimoto | but for the moment, I think I'll just document it is unsupported |
| 21:09:39 | Watusimoto | walls are a pita in any case |
| 21:11:13 | sam686 | kaen, does tail /var/log/httpd/error_log work for you now? |
| 21:12:25 | kaen | yep, thanks! |
| 21:14:34 | kaen | I'll be back shortly to fix game reports. |
| 21:27:09 | Watusimoto | alright, what should happen when you run setloc() on a wall (or zone, for that matter)? |
| 21:27:18 | Watusimoto | right now, the first vertex is moved to that location |
| 21:27:40 | Watusimoto | maybe the whole object should be moved such that the centroid is at the specified location? |
| 21:27:50 | raptor | hmmm |
| 21:28:00 | raptor | what happens when you run getLoc()? |
| 21:28:08 | raptor | is the centroid returned? |
| 21:28:30 | Watusimoto | return LuaObject::returnPoint(L, getCentroid()); // Do we want this to return a series of points? |
| 21:28:35 | Watusimoto | for a zone |
| 21:28:40 | raptor | so yes |
| 21:28:44 | raptor | keep it centroid |
| 21:28:46 | Watusimoto | yes, I think so too |
| 21:32:10 | Watusimoto | yay! first commits in weeks! |
| 21:32:50 | raptor | oh boy oh boy |
| 21:32:51 | sam686 | now it becomes a bit worse, http://bitfighter.org/stats/gamereports.php my player name isn't even showing up... |
| 21:33:24 | raptor | and you forked yourself? |
| 21:33:37 | raptor | oh no, i guess not |
| 21:34:02 | Watusimoto | I did not |
| 21:34:11 | kaen | I haven't touched gamereports yet, sam686 |
| 21:36:32 | raptor | yeah, merged ok |
| 21:37:07 | | BFLogBot - Commit 76aed8c6813e | Author: watusim...@bitfighter.org | Log: Reduce turn speed of heat seekers... seems to work well on stationary targets |
| 21:37:08 | | BFLogBot - Commit 25bee6108ef6 | Author: watusim...@bitfighter.org | Log: Formatting |
| 21:37:10 | | BFLogBot - Commit c972020da93e | Author: watusim...@bitfighter.org | Log: Return nothing rather than nil |
| 21:37:11 | | BFLogBot - Commit 901040e9fcb5 | Author: watusim...@bitfighter.org | Log: Remove extra call to onGeomChanged to fix duplicate wall building problem -- seems to have no impact on functionality |
| 21:37:13 | | BFLogBot - Commit a284208a6c15 | Author: watusim...@bitfighter.org | Log: Can add walls via Lua script and wallitem object |
| 21:37:15 | | BFLogBot - Commit a619fe1eaa44 | Author: watusim...@bitfighter.org | Log: Merge |
| 21:37:16 | | BFLogBot - Commit 74aa75aacc80 | Author: watusim...@bitfighter.org | Log: Merge |
| 21:38:05 | raptor | i'm usually wary of any commit with the phrase 'seems to...' |
| 21:38:12 | kaen | heh |
| 21:39:42 | kaen | would you mind making gamereports.php o+w? |
| 21:39:51 | kaen | (this time it really isn't :P) |
| 21:40:22 | raptor | done |
| 21:40:41 | kaen | tyvm |
| 21:40:47 | raptor | ywvm |
| 21:42:12 | kaen | wee |
| 21:42:16 | kaen | looks like I fixed it. |
| 21:42:37 | kaen | wait a minute... |
| 21:44:12 | sam686 | completely missing teams and players in game reports... |
| 21:44:39 | kaen | lol yeah |
| 21:44:45 | kaen | but no more xss :P |
| 21:47:13 | raptor | brb |
| 21:51:28 | sam686 | the missing player on http://www.bitfighter.org/stats/gamereports.php is actually missing from the database... either the master fails to completely write all stats (i check master logs, no database errors...) or my bitfighter 018 is failing to send the player with the game stats... |
| 21:53:32 | kaen | alright, should be done. |
| 21:53:34 | | LordDVG Quit (Remote host closed the connection) |
| 21:54:26 | kaen | I also protected against server and level names which contain html in the db. |
| 22:00:14 | sam686 | It can still produce this: http://www.bitfighter.org/stats/gamereports.php?days=3%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWWW%20WWWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 22:00:34 | kaen | yep. |
| 22:00:55 | kaen | but I have to do some work stuff now, so I just fixed the actual vulnerabilities. |
| 22:01:18 | sam686 | ok.. better then before, thats for sure.. |
| 22:05:55 | sam686 | new problem, it new problem, http://bitfighter.org/stats/stats.php?order=player_name&sort=ASC Click on <marquee>sam686</marquee>, it says player name don't exist, then click on "Trying searching for authenticated data", it says "Please specify a player" |
| 22:09:33 | Watusimoto | kaen: you should add yourself to the credits at some point. Pick an existing section, or create one for database/web/whatever you think is appropriate |
| 22:13:54 | sam686 | also, click on <&> it instead tries to search for "<" on http://bitfighter.org/stats/stats.php?order=player_name&sort=ASC |
| 22:14:05 | sam686 | same goes with if player name contains # |
| 22:16:36 | sam686 | # will have to turn into %23, and & will have to turn into %25, on URL links.. |
| 22:19:06 | sam686 | as for our phpbb forum, I did find a small problem on http://bitfighter.org/forums/memberlist.php , click on "All" or any letter, it screws up the link and produces "not found" |
| 22:19:42 | raptor | back |
| 22:20:32 | raptor | ok |
| 22:20:34 | raptor | so |
| 22:21:13 | raptor | capturing all zones consecutively in zone control is actually practically impossible |
| 22:21:50 | raptor | so i'm thinking about doing away with the consecutive requirement |
| 22:22:29 | raptor | but then i'd need a way to still keep track of who scores each of the total points |
| 22:22:45 | Watusimoto | what do you mean consectutive? |
| 22:22:48 | sam686 | capture all zones without letting other players get the flag after flag returns from touch down? |
| 22:22:56 | raptor | and as long as it's the same person for each and every one, then the badge is awarded |
| 22:23:12 | raptor | so, i take zone 1 (of 4) |
| 22:23:16 | raptor | then sam takes it |
| 22:23:28 | raptor | then i take it again and proceed to take all the rest in the game |
| 22:23:42 | Watusimoto | so you get award |
| 22:23:44 | raptor | yes |
| 22:24:04 | raptor | that allows for some leeway with zones going back and forth between teams |
| 22:24:21 | raptor | but you can still get the badge if you captured each and every point |
| 22:24:40 | Watusimoto | so you want to win award if your team wins and you did all the capturing |
| 22:24:44 | raptor | yes |
| 22:24:45 | sam686 | Would I have gotten an award about zone control in this video? http://www.youtube.com/watch?v=6oZ3yB7KO9U#t=3m43s |
| 22:24:51 | raptor | because otherwise it's impossible |
| 22:25:03 | Watusimoto | as in not possible? |
| 22:25:17 | raptor | well, it is possible - if all other players don't move |
| 22:25:47 | sam686 | it is possible if all the enemies suck and have really poor aiming.. |
| 22:25:52 | raptor | i.e. it is highly unlikely that after scoring a touchdown, you'll get the flag immediately afterwards each and every time |
| 22:26:46 | sam686 | on some zone levels, the fastest way to get the flag after you touchdown is to suicide.. |
| 22:26:58 | raptor | yes... |
| 22:27:06 | Watusimoto | that's why it's called zoneMASTER and not zoneNOTTOOHARD |
| 22:27:11 | Watusimoto | :-) |
| 22:27:12 | raptor | haha |
| 22:27:31 | Watusimoto | we don't want to just give these away, but they shoudl be achievable |
| 22:27:58 | Watusimoto | maybe should be called SoloEffort |
| 22:28:42 | raptor | i don't think it's achievable in an official game with even semi-competent players |
| 22:29:04 | raptor | unless we allow for the leeway of stealing from the other team.. |
| 22:29:14 | raptor | then it's still super hard, but achievable |
| 22:30:08 | raptor | but i'm am willing to be persuaded to keep it that hard (because its easier to code)... |
| 22:31:45 | raptor | but i'm not sure how to keep track if we were to allow recaptures... |
| 22:31:57 | raptor | because then it's no longer a simple flag toggle |
| 22:32:49 | sam686 | maybe each zone could have a mCapturedByThisShip, and the award is given when all zones points to the same ship? |
| 22:33:07 | raptor | yes, something like that... but all zones are reset after a touchdown |
| 22:33:45 | raptor | i have an idea.. |
| 22:34:07 | raptor | no i don't |
| 22:34:20 | sam686 | doesn't matter if mCapturedByThisShip is not reset, if neutral, it HAS to be set by other ship capturing that zone.. |
| 22:35:11 | sam686 | and when touched down if mCapturedByThisShip of all zone is all the same, then maybe an award? |
| 22:38:01 | raptor | well the award is if the same play gets ALL touchdowns, as well |
| 22:38:04 | raptor | *player |
| 22:39:33 | sam686 | another way, a flag can have a "mPickedUP" counter that reset to zero on touch down, if a player touch down and a mPickedUp counter is 1, then maybe an award? |
| 22:40:13 | sam686 | but that will screw up with multiple flags in zone control.. |
| 22:40:29 | raptor | yeah, i'll have to do it by zone |
| 22:41:13 | Watusimoto | >>>unless we allow for the leeway of stealing from the other team..<<< do you mean before other team scores? I don't think you shoudl have to control the flag the whole time, just score every goal |
| 22:41:27 | sam686 | also, a few zone control levels might have only 1 zone, or 9 teams (where you are the only one on your team), probably no award on those casese.. |
| 22:41:38 | Watusimoto | the question is do we allow enemy team to grab zones and still award the award |
| 22:42:05 | raptor | yes, but the end score is still 24-0 or whatever and all 24 is captured by you |
| 22:42:37 | Watusimoto | right, but 24-0 with blue winning does not preclude red having captured some, or even most zones at some point |
| 22:42:49 | raptor | Watusimoto: your feeling is that, yes, we should allow enemy grabs as longs as ultimately all points belong to you? |
| 22:43:02 | Watusimoto | I don't think red controlling the flag should disqualify |
| 22:43:06 | raptor | excellent! |
| 22:43:13 | Watusimoto | I do sort of think that red capturing a zone should disqualify |
| 22:43:17 | raptor | oh |
| 22:43:25 | Watusimoto | but I'm not dead set on that |
| 22:43:34 | raptor | that's the impossible part i'm suggesting... |
| 22:43:51 | Watusimoto | I thought it was preventing red from even grabbing flag |
| 22:43:57 | raptor | oh no |
| 22:44:02 | raptor | well yes |
| 22:44:09 | Watusimoto | so you thnk it is inevitable that red will capture a zone |
| 22:44:11 | raptor | that + the difficulty of chasing someone |
| 22:44:15 | raptor | yes |
| 22:44:31 | Watusimoto | in any sufficiently complex level |
| 22:44:34 | raptor | correct |
| 22:45:02 | Watusimoto | well... we could try it with allowing red to capture zones, as long as they don;t get touchdowns |
| 22:45:07 | raptor | yes |
| 22:45:10 | raptor | that is my idea |
| 22:45:13 | Watusimoto | right |
| 22:45:16 | raptor | however, i'm not sure how to track that... |
| 22:45:27 | Watusimoto | yes |
| 22:45:28 | Watusimoto | I see |
| 22:45:38 | raptor | because otherwise it is easy to code... |
| 22:45:40 | Watusimoto | what if there are 4 players |
| 22:45:44 | Watusimoto | b1 b2 r1 and r2 |
| 22:45:59 | raptor | r2 where are you? |
| 22:46:32 | Watusimoto | b1 caps, r1 capturess, b2 caps, r2 caps, all players could still get award, right? |
| 22:46:43 | Watusimoto | ha, just got your joke |
| 22:46:46 | sam686 | maybe, each ship have a bool mHasCapturedZone that reset to false on touch down, if only one ship have captured zone, then maybe award? |
| 22:46:55 | raptor | right |
| 22:47:38 | raptor | that was in response to Watusimoto's question |
| 22:47:53 | raptor | sam686: maybe a member on class GoalZone to keep track? |
| 22:49:09 | Watusimoto | sam686: that wouldn't work: if r1 captured, then b1 captured all, both would show mHasCapZone as true |
| 22:49:39 | Watusimoto | maybe add a mCapturer to each zone and track the most recent capture person |
| 22:49:46 | raptor | it'd have to keep track of the name |
| 22:49:47 | raptor | yes |
| 22:49:52 | Watusimoto | at touchdown, look at all zones and see if all are same |
| 22:50:08 | Watusimoto | then create a gametype level touchdown socrer var |
| 22:50:17 | Watusimoto | and make sure that is the same every touchdown |
| 22:50:28 | sam686 | or maybe, each zone can have int mCapturedCounter and maybe SafePtr<Ship> mCapturedByShip that reset, and if all zones mCapturedCounter == 1 and mCapturedByShip is all same, then award? |
| 22:50:41 | raptor | and flip a bool to disqualify the award if it is ever different |
| 22:51:42 | sam686 | or instead of capturedcounter, a global bool mReCaptured that set to true if the goal zone changes from one team (not counting neutral) to another |
| 22:51:46 | raptor | ok, i think i can do that: mCapturer on GoalZone, and check all of them touchdown to touchdown |
| 22:52:35 | raptor | should I use the Ship, ClientInfo, playerName? |
| 22:52:50 | raptor | not ship |
| 22:52:57 | raptor | that could be destroyed |
| 22:54:00 | sam686 | unless we want no reward if one ship does: get flag, capture, capture, destroyed, getflag, capture... and no one else gets the flag and capture.. |
| 22:54:45 | raptor | i guess i'll just use player name |
| 22:55:14 | raptor | how do the constraints of it being in a map with a minimum of 3 touchdowns of 3 zones each? |
| 22:55:22 | raptor | *sound |
| 22:59:42 | Watusimoto | ok, so when you do setLoc on gofast, what should happen? |
| 22:59:52 | Watusimoto | the item should move to that location, right? |
| 23:00:00 | raptor | yes? |
| 23:00:06 | Watusimoto | and for teleporters? |
| 23:00:22 | Watusimoto | intake should go there? |
| 23:00:43 | raptor | yes? |
| 23:00:45 | Watusimoto | those are both simpleLine objects |
| 23:00:50 | Watusimoto | but text item |
| 23:01:08 | Watusimoto | what should happen there? |
| 23:01:27 | Watusimoto | also a simpleLine |
| 23:01:55 | raptor | does getLoc() on all simleLine return vert(0)? |
| 23:03:46 | Watusimoto | yes |
| 23:03:53 | raptor | so same with textitem |
| 23:03:56 | raptor | move vert(0) |
| 23:04:15 | Watusimoto | except that seems wrong -- if you move the text item, you don't expect it to change direction on you |
| 23:04:25 | Watusimoto | shift it right and now the text is upside down |
| 23:04:36 | raptor | sorry, i meant fully displace |
| 23:04:38 | Watusimoto | I think that one needs special handling |
| 23:04:51 | raptor | translating to a new location at vert(0) |
| 23:05:09 | Watusimoto | but if I do setLoc on teleporter, output shouldn't move |
| 23:05:15 | raptor | aaach |
| 23:05:20 | raptor | i see now |
| 23:05:23 | Watusimoto | but I guess on gofast it shuold |
| 23:05:31 | Watusimoto | otherwise it will also change direction |
| 23:05:34 | raptor | yes |
| 23:05:39 | Watusimoto | so... maybe teleporter is the oddball |
| 23:05:41 | raptor | so teleporter is really the exception |
| 23:05:58 | Watusimoto | that one shoudl only move intake, and we need to provide 2nd method for moving outlet |
| 23:06:14 | Watusimoto | our outlets, as teleporter can have more than one exit |
| 23:06:23 | Watusimoto | ok |
| 23:06:24 | raptor | oh boy |
| 23:06:35 | raptor | i forgot about the merged ones |
| 23:16:04 | Watusimoto | well, it's a mess |
| 23:20:26 | raptor | dinner! |
| 23:26:44 | Watusimoto | later |
| 23:42:27 | | BFLogBot - Commit f277727000b4 | Author: watusim...@bitfighter.org | Log: Polygon setLoc function now shifts centroid to specified location (rather than just first point) |
| 23:42:29 | | BFLogBot - Commit 9ad5e45142b7 | Author: watusim...@bitfighter.org | Log: SetLoc() now works properly for polylines (i.e. walls) as well as polygons |
| 23:42:30 | | BFLogBot - Commit 49ba61f48049 | Author: watusim...@bitfighter.org | Log: Add more checks to throw errors when they try to modify in-game walls |
| 23:42:37 | raptor | more commits! |
| 23:53:22 | Watusimoto | good night |
| 23:57:10 | raptor | night |
| 23:57:26 | raptor | quick question: can a ClientInfo* pointer change for a player during a game? |
| 23:57:40 | raptor | server-side |
| 23:58:20 | | Watusimoto Quit (Ping timeout: 256 seconds) |