#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-08-12

Timestamps are in GMT/BST.

00:13:36raptorwell we have at least two badges...
00:13:57raptormaybe we should make at least one more that you can actually earn
01:21:57sam686 has joined
01:21:57ChanServ sets mode +v sam686
01:36:16sam686master / 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:42Watusimoto Quit (Ping timeout: 240 seconds)
02:03:55raptorhi sam686
02:04:18raptorah the schema
03:23:46raptor Quit ()
07:37:31Watusimoto has joined
08:12:59sam686kaen, 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:13sam686anyway, good night
08:14:16sam686 has left
08:45:51LordDVG has joined
08:50:31kaen Quit (Ping timeout: 276 seconds)
10:04:46LordDVG Quit (Remote host closed the connection)
10:18:04watusimoto1 has joined
11:58:06Watusimoto Quit (Ping timeout: 256 seconds)
12:06:11watusimoto1 Quit (Quit: Leaving.)
12:08:05watusimoto has joined
12:08:05ChanServ sets mode +o watusimoto
12:12:56watusimoto Quit (Client Quit)
13:27:17LordDVG has joined
13:30:53raptor has joined
13:30:53ChanServ sets mode +o raptor
13:59:19watusimoto has joined
13:59:20ChanServ sets mode +o watusimoto
14:14:43raptorbuenos
14:18:10Watusimoto_ has joined
14:49:21watusimotohi
14:49:25raptorhello
14:49:36watusimotojust figured oiut how we can hook our unused console up to a lua interpreter
14:49:50watusimotoso we can add objects and such to the game in real time
14:49:55raptoras in run code directly in the console?
14:49:57raptor!
14:49:58raptorha
14:49:59watusimotohaven't actually tried it yet, of course
14:50:04watusimotobut now Iknow how
14:50:06raptoroh the potential for abuse....
14:50:16watusimotowe could disable it except during test mode
14:50:20raptorwe could implement a dungeon master
14:50:25watusimotoor at least limit it somehow
14:50:43raptorlimit to admin to start
14:51:06watusimotoanyway, it looks really easy
14:51:33watusimotoI read the naev code, and I the worst part of it will be dealing with oglconsole crapcode
14:51:54raptorha
14:53:12watusimotoyour mail is bouncing
14:53:15watusimotoThis 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:18watusimoto...
14:53:29raptoroh wonderful
14:53:31watusimotothat's why you didn't get the msg I sent yesterday
14:53:44raptori need to get my own domain...
14:53:56watusimotoyou can have a bitfighter.org email if you want
14:54:17raptorwell, i'm just being lazy - i need to do it for my family anyways...
14:54:22watusimotoyes
14:54:49watusimotoi should give you and sam mail forwarders at least
14:55:09raptorso raptor@bitfighter.org -> whereever i please?
14:55:15watusimotoyes
14:55:26watusimotoI have that watusimito set up that way
14:55:57raptordo you respond via bitfighter.org
14:55:58raptor?
14:58:34watusimotoyes
14:58:42Watusimoto_ Quit (Ping timeout: 245 seconds)
15:02:14raptorif you have a forward, how do you respond via the bitfighter.org e-mail?
15:02:17watusimotoI can use wat@bf.org as a regykar enauk address
15:02:26watusimotomy email client is thusly configured
15:02:43watusimotothe email is presented as being sent to bf.org, and the client responds appropriately
15:02:43raptorah ok
15:03:05watusimotomore of a redirect than a conventional forward, I suppose
15:28:43watusimoto Quit (Quit: Leaving.)
15:31:14Watusimoto has joined
15:32:45kaen has joined
15:52:02LordDVG Quit (Remote host closed the connection)
16:13:22Watusimotoso we will have problems if someone changes level gemometry during a game -- botzones will need to be recomputed
16:13:38Watusimotoand bots will need to be alerted
16:23:30raptorhmmm
16:23:37raptorbotzones
16:30:13raptori read something once on real-time botzone updating with dynamic environments...
16:54:30raptorWatusimoto: i'm thinking about coding one more badge, one you can earn, similar to the 25flags one. Any ideas?
16:56:14Watusimotodinner time... let met hink it over and give you some ideas in about an hour or so
16:56:25raptorok
17:01:13Watusimoto Quit (Ping timeout: 268 seconds)
17:53:32Watusimoto has joined
17:54:34Watusimotosome ideas
17:54:46Watusimoto1. capture all zones in zc game in one sweep
17:54:58Watusimoto2. hold flag for n time in rabbit game
17:55:10Watusimoto3. kill n players in bitmatch
17:55:19Watusimoto4. (maybe) use all weapons and modules in one game
17:55:56Watusimotoperhaps with a minimum usage requirement on each (shoot 100x with each gun, use each module for 20 secs, whatever)
17:56:50raptori like the ZC one
17:56:59raptornot sure how to do the 'one sweep' part
18:10:42Watusimotojust 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:28Watusimotomay also want to set a minimum number of zones; otherwise mazeracer would count
18:11:53Watusimotowhen any player takes falg, reset the counter -- even if the previous player had it before
18:12:06Watusimotoyou drop the flag, you break your sweep
18:14:18raptori thought you mean 100% of the score for a level
18:14:26raptorso if a touchdown was 6 zones
18:14:32raptorbut winning score was 24
18:14:38raptoryou'd have to get 24
18:14:57Watusimotoah, no I meant capture all 6 zones without dying or dropping flag
18:15:17Watusimotothough either way would work
18:15:19raptorwoudl that be too easy?
18:15:32raptorbecause that's how it happens all the time it seems
18:15:53Watusimotomaybe it would be
18:20:33Watusimotowhat if they captured every zone needed to win the game?
18:20:36Watusimotothat would be hard
18:20:38Watusimotoish
18:27:19raptoryes
18:27:24raptori like that one...
18:29:05raptorgreat.. now i have to figure out a name and a graphic..
18:29:12raptorZC master
18:31:57WatusimotoZonemaster
18:32:19WatusimotoZonehunter
18:32:24WatusimotoZonetaker
18:32:38Watusimotozonecontroller
18:32:57Watusimotothere should be a minimum number of captures required
18:33:07Watusimototo protect against weak levels
18:33:18Watusimotoyou could recored player who captures first zone
18:33:19raptoryes, like 3 total touchdowns of at least 3 zones each
18:33:36Watusimotothen with each subsequent capture verify the name is the same
18:33:53Watusimotoif the name differs, game is inelligible for award
18:34:14Watusimotocould allow player to be killed or drop flag, as long as he is the one who captures everything
18:34:24raptoroh wow, that's stricter than i thought
18:34:25raptoryes
18:34:44raptoras long as all zones are captured
18:34:52sam686 has joined
18:34:52ChanServ sets mode +v sam686
18:35:17raptori 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:20raptorbut maybe that's harder..
18:36:13raptorharder to code, i mean
18:38:50raptorwe could have something similar for retrieve...
18:39:30Watusimotonot if you use the method I suggested -- name will remain the same throughout
18:39:47Watusimotobut that would change the number of captures required to win, for better or worse
18:39:58WatusimotoI guess it would never reduce the number
18:40:35Watusimotobasically, every thouchdown durnig a game would need to be by the same player, right?
18:43:08raptoryes
18:43:19raptora touchdown = all zones at once
18:43:32raptorso each zone in each touchdown
18:47:56Watusimotoso simplify to every capture during a game
18:48:13Watusimotodon't worry about touchdowns... once a capture is made by different player, award is canceled
18:48:30Watusimotoif last td is made by same player as first, and award hasn't been canceled, award award
18:54:20raptor is stuck designing a badge again
19:02:33WatusimotoInteresting book review
19:02:34Watusimotohttp://bldgblog.blogspot.co.uk/2012/06/various-forms-of-lithic-disguise.html
19:02:44LordDVG has joined
19:02:59WatusimotoPick one of the geometric designs already created
19:03:59Watusimotoor make a big Z in a box
19:08:04raptori read something like that about switzerland recently
19:10:53LordDVG Quit (Ping timeout: 245 seconds)
19:17:26raptorWatusimoto: not too bad for my first attempt: http://sam686.maxhushahn.com/upload/1screenshot_21.png
19:18:33raptorbetter: http://sam686.maxhushahn.com/upload/1screenshot_22.png
19:18:38raptor(slightly smaller text)
19:19:03WatusimotoI like it
19:19:17Watusimotowhat will the award be called?
19:19:33raptorstill not sure...
19:19:44raptorzonemaster sounds nice but could be applied to several gametypes
19:19:55Watusimotoif, for example, zonemaster, award could be ZM instead of ZC
19:20:03WatusimotoZCMaster
19:20:38Watusimotogo with zonemaster; we'll think of other names as we need them
19:20:40Watusimotozone commander
19:20:44Watusimotozone grabber
19:20:58raptorhttp://thesaurus.com/browse/master?s=t
19:21:07Watusimotozonegineer
19:21:16raptorzone overlord
19:21:49raptorha
19:22:09Watusimotozonelord
19:22:23raptormaybe zonemaster isn't so bad...
19:22:26Watusimotozonefighter
19:22:35Watusimotozonemaster zc
19:22:48raptori like that
19:22:53Watusimotowhat other games could have zonemaster?
19:23:01raptorretrieve?
19:23:05raptorhold the flag
19:23:06Watusimotoretrievemaster
19:23:12raptorheh
19:23:15raptornot bad...
19:23:18Watusimotoflaggrabber
19:23:27Watusimotogo with zonemaster
19:23:29raptorzonemaster
19:23:29Watusimotozonetastic
19:23:33raptorhaha
19:23:40Watusimotozoneilicous
19:23:48Watusimotozoneragous
19:23:58Watusimotozoneiphillic
19:24:06Watusimotozoneophile
19:24:36Watusimotozoneowner
19:24:42Watusimotozonehood
19:24:52Watusimotozoner
19:24:56raptorhaha
19:25:06Watusimotolots of options
19:25:09raptorsounds like some of my not-so-bright friends in high school
19:25:11Watusimotozone collector
19:25:21Watusimotozone out
19:25:25Watusimotozone in
19:25:46Watusimotozonecontroller
19:25:56Watusimotozonetroller
19:26:17Watusimotomaybe zonecontroller??
19:26:25sam686zone cap
19:26:30Watusimotozonephant
19:26:41Watusimotozone vader
19:26:54Watusimotocapt'n zone
19:27:00Watusimotozz zone
19:27:04sam686zone flagger
19:27:08Watusimotozone jagger
19:27:29Watusimotozonicator
19:27:35sam686zone laugher
19:27:37Watusimotothe zone chef
19:27:42Watusimotozone wrangler
19:27:54Watusimotozone snagger
19:28:02raptoryeah...
19:28:04Watusimotozone snatcher
19:28:16Watusimotozone snaggler
19:28:18raptorthis is where too many options start to hurt..
19:28:25raptor:)
19:28:45sam686zone hurter
19:29:03Watusimotozone controller, zonemaster are my two faves. that and zone hurter.
19:29:24Watusimotozone smasher
19:29:38Watusimotozone kung fu master
19:29:45Watusimotozonefu
19:31:06Watusimotozone sinker
19:31:19Watusimototoblerzone
19:31:26Watusimotoozone
19:31:46Watusimotogive a dog a zone
19:31:57sam686retrieve 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:24raptorsooo... rabbitmaster?
19:32:29raptorduck season?
19:32:41sam686bitmatch... bitmaster?
19:33:08Watusimotofor rabbit if you hold flag long enough could be stayin' alive
19:34:30LordDVG has joined
19:37:01raptori'm liking zonecontroller, too now... especially since it fits with ZC so nicely..
19:42:53Watusimotozone commander
19:43:03raptorooo, i like that too
19:43:03Watusimotozone conquistidor
19:43:11Watusimotozone conqueror
19:43:29Watusimotozone clepto
19:43:33raptorhaha
19:43:34Watusimotozone criminal
19:44:05Watusimotoyeah, those all suck
19:44:49raptornow to code the requirement...
19:46:56BFLogBot - Commit 2899c4f762bd | Author: buckyballreaction | Log: Add Zone Controller badge graphic
19:55:18Watusimotook, for now, can't modify walls that are in a game
19:55:23Watusimotoonly add new ones
19:55:46Watusimotoso it's best for levelgens only
19:58:37sam686here I could have been a "zone controller" or "zone master" during a BBB. http://www.youtube.com/watch?v=6oZ3yB7KO9U#t=3m43s
20:05:20raptorheh, i just came across a funny named object: ItemOfInterest
20:35:41kaensam686, were you just putting raw html into a db record?
20:36:09kaenregarding the stats pages
20:37:29sam686yes
20:37:52kaenk cool
20:38:05sam686well not in database
20:38:09sam686but in URL link
20:38:48kaenoh, I see
20:39:06sam686the normal player stats is fine, my special link make it look screwed up
20:39:45kaenright
20:40:25sam686here is a more simpler bug: http://bitfighter.org/stats/stats.php?page=2_hello_there
20:40:36sam686it will say "Page 2_hello_there of 3"
20:41:12raptordriveby HTML injection attack!
20:41:37kaenoh wow that's just ridiculous.
20:42:05sam686this problem happens on game report and graphs too, using days=3_hello_there instead of page..
20:43:18kaenwell, I avoided sql injection with diligent sanitizing, only to completely overlook xss.
20:43:48raptorand that is why i hate web development
20:43:54kaenamen
20:44:11kaenI'm just glad none of the players are savvy and malicious enough to have exploited it yet.
20:44:35sam686the 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:55kaenyes, but more immediately I shoudl run the get params through htmlspecialchars()
20:46:03kaen$_GET, rather
20:46:21sam686another test, what if a player name contains a <font size=9>sam686</size>
20:46:41kaenthat's not protected against either
20:47:14sam686its protected against a list of "Players online", i know that...
20:50:31sam686http://bitfighter.org/stats/gamereports.php GIANT FONT, though I couldn't find my giant font name on player stats..
20:51:27sam686something 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:03kaenlikely some css
20:52:10kaenoh wait, you put it in a font tag?
20:52:30kaenwho knows, but anyway I don't have write perms to the stats.php or player.php pages anymore
20:53:00raptori give you them
20:53:31raptorwait wait
20:53:50kaenwierd. they're o+rw
20:53:50raptorkaen: you should have rights to /var/www/html/stats/player.php, etc
20:53:53sam686http://bitfighter.org/stats/stats.php?order=player_name&sort=ASC look at moving sam686,,
20:53:53kaenyeah
20:54:07kaenI'm looking at that, but I'm getting permission denied. wtf.
20:54:34kaenoh wow
20:54:45kaenmv didn't work but cp did
20:55:00kaenah, my umask must be messed up
20:55:16kaenlol that was awesome
20:55:21raptorwhat?
20:55:22raptor:)
20:55:24kaen:)
20:55:33kaenI didn't know that could even happen
20:56:11sam686clicking on player names seems broken in player stats..
20:56:22raptorha!
20:56:32raptori always wanted to try that, kaen
20:57:19raptorsam686 log onto bitfighter.org
20:57:25raptorvia ssh
20:57:35sam686ok, logged in
20:58:54kaenugh, why is this 404'ing?
21:02:38kaenoh, it's a 500. even better.
21:05:47kaenwell, 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:11kaenbut stats.php should be html-injection free. although you can still do goofy things by passing strange parameters
21:06:28sam686I 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:57kaenah, thank you!
21:07:04raptorWatusimoto: 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:05kaenI used new array syntax instead of array()
21:08:01kaenthere, works now
21:08:14kaenI cleaned up as much of the notice spam as I could, as well
21:09:05Watusimotoraptor: yes, that would probably work
21:09:22Watusimotobut for the moment, I think I'll just document it is unsupported
21:09:39Watusimotowalls are a pita in any case
21:11:13sam686kaen, does tail /var/log/httpd/error_log work for you now?
21:12:25kaenyep, thanks!
21:14:34kaenI'll be back shortly to fix game reports.
21:27:09Watusimotoalright, what should happen when you run setloc() on a wall (or zone, for that matter)?
21:27:18Watusimotoright now, the first vertex is moved to that location
21:27:40Watusimotomaybe the whole object should be moved such that the centroid is at the specified location?
21:27:50raptorhmmm
21:28:00raptorwhat happens when you run getLoc()?
21:28:08raptoris the centroid returned?
21:28:30Watusimoto return LuaObject::returnPoint(L, getCentroid()); // Do we want this to return a series of points?
21:28:35Watusimotofor a zone
21:28:40raptorso yes
21:28:44raptorkeep it centroid
21:28:46Watusimotoyes, I think so too
21:32:10Watusimotoyay! first commits in weeks!
21:32:50raptoroh boy oh boy
21:32:51sam686now it becomes a bit worse, http://bitfighter.org/stats/gamereports.php my player name isn't even showing up...
21:33:24raptorand you forked yourself?
21:33:37raptoroh no, i guess not
21:34:02WatusimotoI did not
21:34:11kaenI haven't touched gamereports yet, sam686
21:36:32raptoryeah, merged ok
21:37:07BFLogBot - Commit 76aed8c6813e | Author: watusim...@bitfighter.org | Log: Reduce turn speed of heat seekers... seems to work well on stationary targets
21:37:08BFLogBot - Commit 25bee6108ef6 | Author: watusim...@bitfighter.org | Log: Formatting
21:37:10BFLogBot - Commit c972020da93e | Author: watusim...@bitfighter.org | Log: Return nothing rather than nil
21:37:11BFLogBot - 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:13BFLogBot - Commit a284208a6c15 | Author: watusim...@bitfighter.org | Log: Can add walls via Lua script and wallitem object
21:37:15BFLogBot - Commit a619fe1eaa44 | Author: watusim...@bitfighter.org | Log: Merge
21:37:16BFLogBot - Commit 74aa75aacc80 | Author: watusim...@bitfighter.org | Log: Merge
21:38:05raptori'm usually wary of any commit with the phrase 'seems to...'
21:38:12kaenheh
21:39:42kaenwould you mind making gamereports.php o+w?
21:39:51kaen(this time it really isn't :P)
21:40:22raptordone
21:40:41kaentyvm
21:40:47raptorywvm
21:42:12kaenwee
21:42:16kaenlooks like I fixed it.
21:42:37kaenwait a minute...
21:44:12sam686completely missing teams and players in game reports...
21:44:39kaenlol yeah
21:44:45kaenbut no more xss :P
21:47:13raptorbrb
21:51:28sam686the 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:32kaenalright, should be done.
21:53:34LordDVG Quit (Remote host closed the connection)
21:54:26kaenI also protected against server and level names which contain html in the db.
22:00:14sam686It 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:34kaenyep.
22:00:55kaenbut I have to do some work stuff now, so I just fixed the actual vulnerabilities.
22:01:18sam686ok.. better then before, thats for sure..
22:05:55sam686new 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:33Watusimotokaen: 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:54sam686also, click on <&> it instead tries to search for "<" on http://bitfighter.org/stats/stats.php?order=player_name&sort=ASC
22:14:05sam686same goes with if player name contains #
22:16:36sam686# will have to turn into %23, and & will have to turn into %25, on URL links..
22:19:06sam686as 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:42raptorback
22:20:32raptorok
22:20:34raptorso
22:21:13raptorcapturing all zones consecutively in zone control is actually practically impossible
22:21:50raptorso i'm thinking about doing away with the consecutive requirement
22:22:29raptorbut then i'd need a way to still keep track of who scores each of the total points
22:22:45Watusimotowhat do you mean consectutive?
22:22:48sam686capture all zones without letting other players get the flag after flag returns from touch down?
22:22:56raptorand as long as it's the same person for each and every one, then the badge is awarded
22:23:12raptorso, i take zone 1 (of 4)
22:23:16raptorthen sam takes it
22:23:28raptorthen i take it again and proceed to take all the rest in the game
22:23:42Watusimotoso you get award
22:23:44raptoryes
22:24:04raptorthat allows for some leeway with zones going back and forth between teams
22:24:21raptorbut you can still get the badge if you captured each and every point
22:24:40Watusimotoso you want to win award if your team wins and you did all the capturing
22:24:44raptoryes
22:24:45sam686Would I have gotten an award about zone control in this video? http://www.youtube.com/watch?v=6oZ3yB7KO9U#t=3m43s
22:24:51raptorbecause otherwise it's impossible
22:25:03Watusimotoas in not possible?
22:25:17raptorwell, it is possible - if all other players don't move
22:25:47sam686it is possible if all the enemies suck and have really poor aiming..
22:25:52raptori.e. it is highly unlikely that after scoring a touchdown, you'll get the flag immediately afterwards each and every time
22:26:46sam686on some zone levels, the fastest way to get the flag after you touchdown is to suicide..
22:26:58raptoryes...
22:27:06Watusimotothat's why it's called zoneMASTER and not zoneNOTTOOHARD
22:27:11Watusimoto:-)
22:27:12raptorhaha
22:27:31Watusimotowe don't want to just give these away, but they shoudl be achievable
22:27:58Watusimotomaybe should be called SoloEffort
22:28:42raptori don't think it's achievable in an official game with even semi-competent players
22:29:04raptorunless we allow for the leeway of stealing from the other team..
22:29:14raptorthen it's still super hard, but achievable
22:30:08raptorbut i'm am willing to be persuaded to keep it that hard (because its easier to code)...
22:31:45raptorbut i'm not sure how to keep track if we were to allow recaptures...
22:31:57raptorbecause then it's no longer a simple flag toggle
22:32:49sam686maybe each zone could have a mCapturedByThisShip, and the award is given when all zones points to the same ship?
22:33:07raptoryes, something like that... but all zones are reset after a touchdown
22:33:45raptori have an idea..
22:34:07raptorno i don't
22:34:20sam686doesn't matter if mCapturedByThisShip is not reset, if neutral, it HAS to be set by other ship capturing that zone..
22:35:11sam686and when touched down if mCapturedByThisShip of all zone is all the same, then maybe an award?
22:38:01raptorwell the award is if the same play gets ALL touchdowns, as well
22:38:04raptor*player
22:39:33sam686another 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:13sam686but that will screw up with multiple flags in zone control..
22:40:29raptoryeah, i'll have to do it by zone
22:41:13Watusimoto>>>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:27sam686also, 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:38Watusimotothe question is do we allow enemy team to grab zones and still award the award
22:42:05raptoryes, but the end score is still 24-0 or whatever and all 24 is captured by you
22:42:37Watusimotoright, but 24-0 with blue winning does not preclude red having captured some, or even most zones at some point
22:42:49raptorWatusimoto: your feeling is that, yes, we should allow enemy grabs as longs as ultimately all points belong to you?
22:43:02WatusimotoI don't think red controlling the flag should disqualify
22:43:06raptorexcellent!
22:43:13WatusimotoI do sort of think that red capturing a zone should disqualify
22:43:17raptoroh
22:43:25Watusimotobut I'm not dead set on that
22:43:34raptorthat's the impossible part i'm suggesting...
22:43:51WatusimotoI thought it was preventing red from even grabbing flag
22:43:57raptoroh no
22:44:02raptorwell yes
22:44:09Watusimotoso you thnk it is inevitable that red will capture a zone
22:44:11raptorthat + the difficulty of chasing someone
22:44:15raptoryes
22:44:31Watusimotoin any sufficiently complex level
22:44:34raptorcorrect
22:45:02Watusimotowell... we could try it with allowing red to capture zones, as long as they don;t get touchdowns
22:45:07raptoryes
22:45:10raptorthat is my idea
22:45:13Watusimotoright
22:45:16raptorhowever, i'm not sure how to track that...
22:45:27Watusimotoyes
22:45:28WatusimotoI see
22:45:38raptorbecause otherwise it is easy to code...
22:45:40Watusimotowhat if there are 4 players
22:45:44Watusimotob1 b2 r1 and r2
22:45:59raptorr2 where are you?
22:46:32Watusimotob1 caps, r1 capturess, b2 caps, r2 caps, all players could still get award, right?
22:46:43Watusimotoha, just got your joke
22:46:46sam686maybe, 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:55raptorright
22:47:38raptorthat was in response to Watusimoto's question
22:47:53raptorsam686: maybe a member on class GoalZone to keep track?
22:49:09Watusimotosam686: that wouldn't work: if r1 captured, then b1 captured all, both would show mHasCapZone as true
22:49:39Watusimotomaybe add a mCapturer to each zone and track the most recent capture person
22:49:46raptorit'd have to keep track of the name
22:49:47raptoryes
22:49:52Watusimotoat touchdown, look at all zones and see if all are same
22:50:08Watusimotothen create a gametype level touchdown socrer var
22:50:17Watusimotoand make sure that is the same every touchdown
22:50:28sam686or 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:41raptorand flip a bool to disqualify the award if it is ever different
22:51:42sam686or 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:46raptorok, i think i can do that: mCapturer on GoalZone, and check all of them touchdown to touchdown
22:52:35raptorshould I use the Ship, ClientInfo, playerName?
22:52:50raptornot ship
22:52:57raptorthat could be destroyed
22:54:00sam686unless 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:45raptori guess i'll just use player name
22:55:14raptorhow do the constraints of it being in a map with a minimum of 3 touchdowns of 3 zones each?
22:55:22raptor*sound
22:59:42Watusimotook, so when you do setLoc on gofast, what should happen?
22:59:52Watusimotothe item should move to that location, right?
23:00:00raptoryes?
23:00:06Watusimotoand for teleporters?
23:00:22Watusimotointake should go there?
23:00:43raptoryes?
23:00:45Watusimotothose are both simpleLine objects
23:00:50Watusimotobut text item
23:01:08Watusimotowhat should happen there?
23:01:27Watusimotoalso a simpleLine
23:01:55raptordoes getLoc() on all simleLine return vert(0)?
23:03:46Watusimotoyes
23:03:53raptorso same with textitem
23:03:56raptormove vert(0)
23:04:15Watusimotoexcept that seems wrong -- if you move the text item, you don't expect it to change direction on you
23:04:25Watusimotoshift it right and now the text is upside down
23:04:36raptorsorry, i meant fully displace
23:04:38WatusimotoI think that one needs special handling
23:04:51raptortranslating to a new location at vert(0)
23:05:09Watusimotobut if I do setLoc on teleporter, output shouldn't move
23:05:15raptoraaach
23:05:20raptori see now
23:05:23Watusimotobut I guess on gofast it shuold
23:05:31Watusimotootherwise it will also change direction
23:05:34raptoryes
23:05:39Watusimotoso... maybe teleporter is the oddball
23:05:41raptorso teleporter is really the exception
23:05:58Watusimotothat one shoudl only move intake, and we need to provide 2nd method for moving outlet
23:06:14Watusimotoour outlets, as teleporter can have more than one exit
23:06:23Watusimotook
23:06:24raptoroh boy
23:06:35raptori forgot about the merged ones
23:16:04Watusimotowell, it's a mess
23:20:26raptordinner!
23:26:44Watusimotolater
23:42:27BFLogBot - Commit f277727000b4 | Author: watusim...@bitfighter.org | Log: Polygon setLoc function now shifts centroid to specified location (rather than just first point)
23:42:29BFLogBot - Commit 9ad5e45142b7 | Author: watusim...@bitfighter.org | Log: SetLoc() now works properly for polylines (i.e. walls) as well as polygons
23:42:30BFLogBot - Commit 49ba61f48049 | Author: watusim...@bitfighter.org | Log: Add more checks to throw errors when they try to modify in-game walls
23:42:37raptormore commits!
23:53:22Watusimotogood night
23:57:10raptornight
23:57:26raptorquick question: can a ClientInfo* pointer change for a player during a game?
23:57:40raptorserver-side
23:58:20Watusimoto Quit (Ping timeout: 256 seconds)

Index Search ←Prev date Next date→

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