#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-04-08

Timestamps are in GMT/BST.

00:03:53raptorwhole-wheat biscuits!
00:21:35raptorok, looks like i'll need to make my own add_struct_array_to_lua...
00:21:47SolumnMushroom Quit (Quit: Leaving)
00:22:01raptorbut how to dynamically detect the type
00:22:37Watusimoto Quit (Ping timeout: 248 seconds)
00:22:40raptorif i use stringstream, and pass that to Lua, will Lua auto-detect the type of each member?
00:22:45raptor...and goodbye
00:26:28Platskies has joined
00:57:55fordcars has joined
01:05:11bobdaduck has joined
01:15:28bobdaduckraptor help?
01:15:31raptorhi
01:15:40bobdaduckI got it to delete the sword on exiting zone
01:15:42bobdaduckbut
01:15:47bobdaduckit doesn't give you a sword back when you reenter
01:15:48bobdaduckxD
01:16:01raptorhow did you delete it?
01:16:20bobdaduckNot correctly.
01:16:43bobdaduckhttp://pastie.org/7358905
01:17:45raptorwhat event is that in?
01:18:05bobdaduckonshipleftzone
01:18:31raptorare you using playerInfo for each of those tables? or is one the players name?
01:18:54bobdaduckplayerinfo
01:18:55bobdaduckI think
01:19:00raptorregisteredZoneSwords
01:19:02bobdaduckProbably.
01:19:03bobdaduckxD
01:19:08raptoruses player name...
01:19:58bobdaduckokay nothing
01:20:28bobdaduckoooh
01:20:33bobdaduckI managed to crash the game
01:20:48bobdaduckWhen I passed "name" into playersinswords instead of playerInfo
01:20:56Platskies Quit (Remote host closed the connection)
01:21:04bobdaduckI CALL THAT PROGRESS.
01:22:31raptorwrong one
01:22:35raptorsearchAndRemoveFromTable(registeredZoneSwords, name)
01:22:43raptoroh wait
01:22:45raptor..
01:22:47bobdaduckcrashes it
01:23:18bobdaduckWe need to kill the "ship has a sword" assosiation
01:23:19bobdaduckyah?
01:23:39raptorha.. too much work being done..
01:23:59raptorsince its a dictionary you don't need a for loop
01:24:35bobdaduckokey
01:24:39bobdaduckwhat do
01:25:20raptortry just this: http://pastie.org/7358976
01:26:10bobdaduckcrash!
01:26:33bobdaduckLike, game crash.
01:26:48raptortry swapping out the nil line with this: table.remove(registeredZoneSwords, name)
01:26:57raptorWHAT
01:26:59raptorWAIT
01:27:34bobdaduckthat makes it so the sword disappears but doesn't come backstill
01:28:00raptorhere: http://pastie.org/7358994
01:28:09raptori did the wrong table at the bottom
01:28:12raptorin the first pastie
01:29:23bobdaduckcoo
01:29:24bobdaduckit works
01:29:28bobdaduckand then it crashes
01:29:41bobdaduckI must not have done registerIfUnique somewhere
01:31:29bobdaducknope
01:31:36bobdaduckI did insertIfUnique... Hm
01:33:58bobdaduckHOWEVER if I use BOTH then it doesn't crash, and the sword never comes back.
01:34:09raptoris that good?
01:34:18bobdaduckno sword is supposed to come back
01:34:28raptortry just the table.remove one...
01:34:38bobdaduckthat crashes it.
01:34:45bobdaduckokay so
01:35:10bobdaduckwith just the top one it doesn't always crash. It let me go in and out of there like six times before it crashed (on leaving)
01:35:23raptorok
01:35:32bobdaduckand then that time it crashed on trying to leave.
01:36:32bobdaduckcrash
01:37:12raptorhmmm
01:37:18raptorwhen you exited, right?
01:37:20bobdaduckright
01:37:34raptormaybe because you didn't have a health pack? i.e. wasn't registered/
01:37:46bobdaduckno
01:37:51bobdaduckbecause I'm not using that table anyway
01:38:07bobdaduckAnd also its not crashing on me right now. Its like a really random chance.
01:39:02bobdaduckand... I think its not crashing if I teleport out of the zone
01:39:09bobdaduckNOPE NEVERMIND
01:39:18raptorsounds like memory corruption...
01:39:29bobdaduckright...
01:39:41bobdaduckWant me to throw the scripts and stuff at you so you can try for a stack trace?
01:39:45raptorsure
01:39:56raptorprivate pastie is fine... don't want this to get into the wrong hands
01:52:34bobdaduckanything?
01:52:46raptoryeah...
01:53:13raptorregisteredZoneSwords is messed up somehow.. .keeps returning zero size
01:58:46bobdaduckSo... Its most likely not my fault?
01:58:54raptorheh...
01:59:13raptorit's a coding error for sure... but whether it's yours or mine - i'm still not sure
02:01:16raptorit might have something to do with the fact one registry is an array table and the other is a dictionary table
02:02:17bobdaduckI still barely know the difference so don't look at me
02:02:17bobdaduckxD
02:02:37raptorsegfault!
02:06:20bobdaduckBIG BOY ERRORS.
02:06:36raptorit's funny because it's true..
02:06:38kaenI got segfaults writing an editor plugin today \o/
02:06:44raptorhooray!
02:07:02kaenyou'll like it raptor
02:07:07raptoroh boy!
02:07:10kaengeneration of objects via parametric equations
02:07:22kaensupports lineitems barriermaker polywall and zones
02:07:35raptorso a graphing calculator?
02:07:38kaenyep
02:07:39raptor:)
02:07:40kaenfor bitfigher
02:07:43raptorha!
02:08:01kaenand if you type in your equation wrong
02:08:04kaenit segfaults \o/
02:08:42bobdaducklol
02:08:54kaenbut you can make some crazy shapes with it
02:08:54raptorhaha
02:09:07kaenit's actually an iterative parametric grapher
02:09:18kaenI'll show you some screenshots...
02:09:44kaenoops meatballs are done
02:10:04kaenso you'll just have to live with the unbearable suspense!
02:10:52bobdaduckTHE SUSPENSE
02:19:06raptori still don't see how this crashes...
02:20:23bobdaducklol
02:20:27bobdaduckStress testing lua
02:20:35bobdaduckGotta make sure its solid before I leave
02:22:21raptorfound the problem
02:22:31raptorbut i'm not sure what to do about it...
02:22:40bobdaducklol
02:22:42bobdaduckWhat is it?
02:22:57raptorso, you call removeFromGame()
02:23:01raptorBUT
02:23:49raptoryou hit onShipLeftZone when remove the zone
02:23:57raptorwhen removing the swordzone, i mean
02:24:01raptorbut you just removed it
02:24:35raptorso... remove swordzone -> onShipLeftZone(swordZone) but swordZone is missing
02:25:33bobdaduckwait what
02:25:47raptorbecause you're right on top of the zone as you remove it
02:26:07bobdaduckmaybe a timer to remove swords?
02:26:17raptoryes
02:26:25bobdaduckbut wait I got it to crash when teleporting into and out of the zone
02:26:33raptoror a recycling bin
02:37:38raptorok bobdaduck, got it fixe
02:38:16raptorthe relevant code looks like this: http://pastie.org/7359653
02:38:26raptori created some helper function that can be used elsewhere...
02:39:00raptormaybe we should start putting the helper functions into another lua file to just import - that way you can reduce code in the main script
02:41:09raptorback later
02:45:26bobdaduck Quit (Ping timeout: 245 seconds)
02:46:19fordcars Quit (Ping timeout: 245 seconds)
03:46:20bobdaduck has joined
03:48:25bobdaduckWhat was the problem? Hows the fix work?
03:48:32raptorhi
03:48:35raptoryou got the code?
03:48:54bobdaduckimplementing now
03:49:16bobdaduckoooh
03:49:24raptorthe problem was removing the zone at the exact moment a onShipLeftZone for the removed zone was being triggered
03:49:43bobdaduckremoveObjectFromGameWithDelay! I was going to put that in for a different thing anyway!
03:49:51raptorsolution was to delay the removeFromGame() in a timer..
03:49:53raptoroh good!
03:49:55raptor:)
03:50:29bobdaduckFor a "popcorn room"
03:51:08raptorhaha
03:51:13raptori can only imagine..
03:51:19bobdaducklol
03:51:28bobdaduckyep and I ain't saying anything!
03:51:38bobdaduckThough its next in line
03:53:54raptornote that i added a method to remove from a dictionary along side the searchAndRemoveFromTable
03:54:05raptorwhich should be renamed to searchAndRemoveFromArray
03:54:58bobdaduckhm?
03:55:25raptorremoving from a dictionary is different than an array
03:55:46raptorso searchAndRemoveFromTable won't really work well with a dictionary..
03:55:51raptorunless... unless
03:56:06raptorunless you use 'pairs' in that method, too
03:56:11raptorinstead of ipairs
03:56:53bobdaduckI told you I swore I'll never use ipairs again because pairs works without crashes and problems :P
03:57:15raptorhaha
03:57:27raptorand the reason is because ipairs only works on array-tables
03:57:34raptorand you don't always work with those..
03:57:43bobdaduckright so since pairs works so much better why not just use pairs
03:57:49raptorexactly
03:58:13raptorunless you need an ordered list - but I don't think you've really needed order in any tables yet
04:01:14bobdaduckcode works, btw
04:01:20raptorhooray!
04:04:19kaenhttp://imgbin.org/index.php?page=image&id=12680 http://imgbin.org/index.php?page=image&id=12681 http://imgbin.org/index.php?page=image&id=12682 http://imgbin.org/index.php?page=image&id=12683 http://imgbin.org/index.php?page=image&id=12684 http://imgbin.org/index.php?page=image&id=12685
04:04:27kaensome screenshots ^
04:04:53bobdaduckooh
04:05:01raptor!
04:05:07bobdaduckI wish I knew how to math so that I could do those
04:05:10raptorgreat!
04:05:13bobdaduckWonderful designs for my levels
04:05:37raptorkaen: next level: http://mathworld.wolfram.com/BatmanCurve.html
04:05:51bobdaduckrofl
04:07:08kaenI'd definitely just use the svg converter for that :)
04:07:26bobdaduckbut that would be EASY.
04:07:37kaenI actually haven't tapped the full power of my plugin. I'm still figuring out something cool to do with iterations
04:07:43kaenlike the logarithmic sine
04:09:07raptori don't remember what that looks like... researches..
04:10:19raptora function that uses it, I mean
04:10:31kaenI don't think that's the proper term for it
04:10:38kaenbut it's the first screenshot I posted
04:10:46raptordecaying sine?
04:10:48raptoroh
04:10:58kaeneach wave has an amplitude of log(i+1)
04:11:04kaenwhere i is the iteration
04:11:49kaennow, to figure out how to allow "sin(t)" instead of "math.sin(t)"
04:15:25raptoryou mean like alias the function?
04:15:46kaenyeah, I'm gonna use setfenv
04:15:59kaenclone the math functions into a table with some other junk (PI, TAU, etc)
04:16:11raptorcool
04:16:29raptorI was just thinking that maybe we need to start collection helper functions into our own libraries
04:16:31kaenmuch like javascript, I hate lua slightly less every time I learn something about it
04:16:57raptorbecause I know I've written loads of handy helper functions for bobdaduck
04:17:14kaenwell then definitely
04:17:14bobdaduckThey're all in levelgen carnival
04:17:21kaenfor heaven's sake don't write them twice!
04:18:24raptori wonder - if I were to include a utility library in a script - how would the size of that utility library affect script performance?
04:18:47kaenI can not imagine it being a significant impact
04:18:47bobdaduckLevelgen carnival seems to run fine with like 5 ontick functions
04:18:56raptorhaha
04:19:18kaenwe're talking a few hundred kilobytes at most, including file contents and compiled bytecode
04:19:20raptor5? you've added some since 2 hours ago..
04:19:28bobdaduckpopcorn will be ontick
04:24:02bobdaduckoh man
04:24:05bobdaduckThis room is going to be great
04:24:37bobdaduckWant to see my todo list for levelgen carnival currently?
04:25:10kaensuccess!
04:26:01bobdaduckuh dudes, I can't add a neutral ship via levelgen yet
04:26:05bobdaduckfix pl0x
04:26:32raptornever!
04:26:40bobdaduckBut... The popcorn room!
04:33:25bobdaduckNOT YET.
04:33:26raptorhaha
04:33:28bobdaduckjust a few more tweaks.
04:39:08bobdaduckAhah!
04:39:18bobdaduckEditor has its first persistent neon yellow warning!
04:39:28bobdaduckOkay
04:39:34bobdaduckYou guys have permission to come see now
04:46:02bobdaduckraptor?
04:48:05bobdaduckhah!
04:50:28bobdaducknew bug.
04:50:33bobdaduckSort of.
05:10:58raptorbobdaduck: I'm not sure that level should be a good introduction to the game...
05:13:19bobdaducklol
05:13:20bobdaduckikr
05:13:33bobdaduckbut every time I host anything crazy
05:13:38bobdaduckall the people always join
05:13:40bobdaduckxD
05:21:10raptorargh, I don't want to do my current coding task...
05:21:16bobdaducklol
05:21:19bobdaduckwhich one is that?
05:21:30raptorporting over the old Lua classes
05:21:36raptorto the new API
05:21:44raptorI have ModuleInfo and WeaponInfo left..
05:21:54bobdaduckThat's not too bad?
05:22:05raptorI saved the worst for last
05:24:25raptormaybe I should just not do them...
05:24:30raptorthat sounds great
05:24:35raptorand delete them
05:24:41raptorit's not like they're being used..
05:26:07bobdaducklol
05:26:13bobdaduckI /would/ use them
05:26:21bobdaduckif I could setModuleInfo and setWeaponInfo
05:26:35bobdaduckbut nooo you can only get them. pfft.
05:26:52bobdaduckLevelgen carnival is now over 800 lines of code
05:28:00raptorwe currently only expose them as read-only... you'd want to be able to change them?
05:28:15bobdaduckReading most of these things is useless
05:28:23bobdaduckSetting things is power!
05:28:43raptorexactly! that's why I should just delete them..
05:28:56raptoruh because.. we only read from them..
05:29:06bobdaduckxD
05:31:34bobdaduckLike I guess I might use them.
05:31:38bobdaduckOn some weird edge case
05:31:59bobdaduckIf I wanted to give like, tank ninjas swords or something
05:35:53raptorour weapon and module code is pretty locked - even in c++ it's set as readonly
05:36:25raptorbut I wonder if allowing it to be modifiable might give some advantages..
05:36:37raptor(but I wouldn't do it)
05:37:53bobdaduckWeren't I hoping that you were planning to add ship:setloadout() to the code?
05:38:25raptoroh, yeah - i'm planning on that... but I have to finish my current project
05:42:14bobdaduckThe current project of moving across weaponInfo and ModuleInfo?
05:42:37raptoryeah, we use an old c++ -> Lua library called Lunar
05:42:40raptorit needs to go
05:42:57raptorwe use a new one called LuaW
05:43:11raptorand those are the last two Lua objects still using Lunar
05:45:13bobdaduckhm
05:45:16bobdaduckWill this affect me?
05:45:18bobdaduckxD
05:45:36raptorno
05:45:41raptoryou haven't used much of the objects
05:45:45bobdaduckOkay cool
05:45:50bobdaduckobjects like what?
05:45:51raptorbut there have been some minor API changes...
05:45:56raptorModuleInfo
05:46:01raptoroh
05:46:23raptorPlayerInfo was converted but it stayed the same with how you use it
06:01:48raptorI think I hate iDevices
06:02:03raptorthey have this great hardware, then put a piece of trash OS on top
06:02:27raptorpiece of trash == I can't play with it as much as I want
06:07:55bobdaducklol
06:08:24bobdaduckIn the words of UnknownJoe (my neighbor): "Hey, apple makes great hardware. Apple computers are great once you install windows on them!
06:09:49raptorhahaha
06:14:13raptornow i'm researching to see if i can install android on this thing...
06:15:49raptoriDroid haha
06:16:23bobdaducklol
06:16:25bobdaduck Quit (Remote host closed the connection)
06:22:51raptornight!
06:22:54raptor Quit ()
10:14:34Platskies has joined
10:33:55Watusimoto has joined
10:36:47Platskies Quit (Remote host closed the connection)
11:49:30Watusimoto Quit (Ping timeout: 264 seconds)
12:26:24watusimoto has joined
12:26:24ChanServ sets mode +o watusimoto
12:46:37Darrel has joined
13:07:05Watusimoto_ has joined
13:30:52Watusimoto_ Quit (Ping timeout: 246 seconds)
14:56:40bobdaduck has joined
14:57:11bobdaduck_ has joined
15:42:14bobdaduckSo the playerinfo method has both getRating and getScore(). What are the differences?
15:44:47kaenI think rating is your +1.00 business whereas score is the points you've scored
15:44:52kaenalso good morning
15:45:18kaenspectator mode is proving absolutely intractable...
15:47:27bobdaduckGood morning
15:47:53bobdaduckYou should just re-implement hostile takeovers of other people's ships
15:48:04bobdaduckIt would work easist
15:48:16kaentrue. that was literally three lines of code...
15:48:48bobdaduckSurprisingly easy...
15:48:56kaenright now I'm subclassing Ship and I haven't overridden any methods at all
15:49:11kaenand yet it doesn't move on the server
15:49:18kaenbut the client tries to move it then gets corrected
15:49:36bobdaduckWhat part is proving difficult?
15:49:49watusimotohi
15:49:53kaencurrently the ability to move your "spectator ship"
15:49:54kaenhi
15:50:30watusimotokaen: when I've thought about spectator mode, I figured it would just be an ordinary ship that is invisible to other players (i.e. no updates for that ship are sent to others)
15:50:32bobdaduckYou're making a whole new ship for people to play on if they're on spectator?
15:50:52watusimotoit might actually make sense to superclass ship, rather than subclass it
15:51:12kaenwatusimoto, I tried just adding an mSpectating boolean to ship and it gave me tons of crazy behavior
15:51:19kaenI hadn't thought of a superclassing...
15:51:38watusimotowell, a spectator ship is really just a ship that sends no updates
15:51:46watusimotoit could go either way
15:51:58kaenbut there's the problem of scoping
15:52:00watusimotobut... why did mSpectating cause problems? or what sorts of problems didi it cause
15:52:14watusimotoscoping should be more or less the same, no?
15:52:32watusimotoexcept maybe more objects are visible on the cmdrs map
15:52:53kaenhmm. a new approach is starting to materialize
15:53:12kaenpreviously I tried just setting mControlObject to the target (obviously not the way to do it)
15:53:13watusimotoI'd say for the immediate moment, leave scoping the same as for regular ships
15:53:35kaenI hadn't thought of letting the player keep his old ship as the control object then using a boolean
15:53:54watusimotoyeah, try that... it should be pretty easy
15:54:01kaenI hope so...
15:54:05watusimotome too!
15:54:22watusimotowork on ui code for a few days, then spectator mode will seem like a dream
15:54:40kaenI like my brain not being in the shape of a pretzel
15:54:45kaenso I'll let you do the UI stuff
15:54:48bobdaducklol
15:54:49watusimotogreat!
15:54:56bobdaduckSo
15:54:57watusimotoit's not hard just... tedious!
15:55:03bobdaduckNext order of business:
15:55:14bobdaduckIt was brought to my attention that I can set an asteroid's team.
15:55:18bobdaduck..."what"
15:56:37watusimotoyeah, you probably can; won't do anything though
15:57:00watusimotoit's easier to let you do it than to try to prevent it
15:57:06bobdaducklol
15:57:35watusimotoan asteroid is a moveObject, and moveObjects have teams
15:57:43watusimotoor something like that
15:58:17watusimotoI wonder if team asteroids would be useful
15:58:17bobdaduckYeah
15:58:31bobdaducklol
15:58:35watusimotohurt everyone but your teammates
15:58:44bobdaduckI'm gonna go ahead and say not.
15:58:56bobdaduckI mean they would be
15:59:03bobdaduckbut not to an extent that its worth it. I think.
15:59:15bobdaduckHaving difficulty conceptualizing it, honestly.
15:59:55kaenI used doxygen to make a collaboration diagram of all of bitfighter's classes once
16:00:02kaenreminded me of nautical navigation charts.
16:00:41watusimotoraptor usually keeps a fairly up-to-date doxygen build somewhere
16:01:20kaenyeah, but not with all the extra graphics and stuff enabled
16:01:23watusimotohttp://bitfighter.org/~raptor/doxygen/current/
16:01:49watusimotohmmmm looks like nothing is enabled, currently
16:02:07watusimotooh, there we go... under classes
16:26:19bobdaduckhttp://www.bitfighter.org/wiki/index.php/Add_the_Bitfighter_logo_in_your_levels
16:38:47kaenso, 2v2 tournament
16:39:00kaenI'm thinking round robin style on stock team maps
16:39:26kaen1 match per week, 1 point for losses, 2 for wins, 0 for no-play
16:39:38bobdaduckThis is the bot programming tournament?
16:39:49kaenno a regular bitfighter tournament
16:40:27bobdaduckOh.
16:41:02bobdaduckSo... What else?
16:41:11kaenuhh.. that's it
16:41:17kaenoh, each round is best of three
16:42:05bobdaduckpreset teams? Random teams? people choosing their teamates?
16:42:13kaenyeah you choose your team
16:42:48bobdaduckPrizes?
16:42:54kaenglory?
16:42:59bobdaducklol
16:43:09kaenbeing a hero to those less skilled with a keyboard and mouse than you
16:43:13bobdaducklol
16:43:16bobdaduckOR
16:43:16kaenthat's all I've got
16:43:22bobdaduckI could make a personalized troll map for the winners
16:43:34bobdaduckYou can't win because you already got one
16:43:45kaenoh maaaaaan
16:44:11bobdaduckLamp can't win either
16:44:53bobdaduckI think that's it though.
16:45:11bobdaduckLogically then, your partner for the tournament should be Lamp.
16:45:31kaenlol
16:45:50kaenthumbs up/down?
16:46:02kaenI'd be happy if we got four teams
16:46:06bobdaduckI'd like some sort of prize though
16:46:13kaensuggestions?
16:46:21kaenkeeping in mind I have zero disposable income.
16:47:09kaenbest I could do unilaterally is add something on the stats page
16:47:16bobdaduckWe can do badges
16:47:20kaenmaybe I could talk the others into a badge
16:47:25kaenbut it wouldn't show up until 019
16:47:31kaenin-game at least
16:47:36bobdaduckYeah
16:48:03bobdaduck019 is not I think too far out?
16:48:11kaenI hope not
16:48:21kaenI should spend more time fixing bugs instead of adding features...
16:48:26bobdaduckxD
16:48:36bobdaduckYes, but spectator mode will be a really nice feature.
16:49:04kaenI've hit yet another technical wall with it in my new approach...
16:49:14kaenbut if I persevere, wat's idea will work
16:49:25bobdaduckWhat wall?
16:49:32kaenI just have to scour a code path to make sure I hit all the needed conditionals
16:50:01kaenbasically I have to add logic to the game in places where it manipulates or queries player ships
16:50:23bobdaduckWow
16:50:27bobdaduckLooking at the bug list
16:50:37kaenit's smaller than it looks
16:50:40bobdaduckMakes me want to actually work on fixing things myself
16:50:43bobdaduckITS OVER 30 ITEMS.
16:50:50bobdaduckLike I don't think its ever been this big.
16:50:59kaenthere's a bunch of doc stuff and holdovers from the last release
16:52:09bobdaduckI bet I could fix some of these myself...
16:52:29bobdaduckSpecifically looking at the teleporter delay=0 one
16:52:51kaenI've fixed it but we're undecided on what to do with Delay
16:53:15bobdaduckI think Quartz used it in a level
16:53:37kaenand then also whether delay=0 needs to be supported itself
16:53:42bobdaducknah
16:54:01bobdaduckdelay=0.1 is effectively the same
16:54:11kaenthat's what I did on kaen test
16:54:12kaenworks well
16:56:35bobdaduckI keep distracting raptor from fixing bugs by finding more bugs
16:56:45bobdaduckAnd then I tell him to fix my bugs instead of his bugs
16:57:10bobdaduckI find bugs faster than he can fix them
16:57:27bobdaduckGood news is the game is becoming evermore robust!
17:00:13watusimotokaen: I'll make an executive decision on the teleporter delay. Let's keep it, fix it by setting the delay to some minimum value, and not add it to the editor.
17:00:34kaensounds good to me
17:01:23watusimotothough probably at some point we should add some sort of indicator to show when the teleporter is ready for action again if people are setting silly delays (read: using the feature at all)
17:02:18watusimotomaybe on the teleporter we could have a bit of text "Opens in xxx seconds" like with nexus. Omitted if delay is normal, of course
17:02:55bobdaduckThere's already a sort of animation for it built in. If the delay is high the teleporter just disappears completely until one second before it opens
17:05:22BFLogBot Commit: 6439235e0d06 | Author: kaen | Message: set minimum teleporter delay to 100 milliseconds
17:05:25watusimotoit does that now?
17:05:35bobdaduckIts always done that
17:05:52bobdaduckThe teleporter disappears completely until it reaches the normal respawn time, and then plays the animation like normal
17:07:07kaenbobdaduck can you help me with this:
17:07:10kaen"ghost (neutral) ship touching a levelgen'd zone (goalzone did the job)"
17:07:40kaenI levelgen'd a zone (of every kind), pushed a neutral ship onto it, and nothing happened.
17:07:56kaenI also made sure to test goalzones in every gamemode
17:08:14bobdaduckOkay so the one that I can get consistent is in levelgen carnival
17:08:23bobdaduckwhere the neutral ship is pushed into the bouncehouse
17:08:42bobdaduckits added into an array, and then the gravity effect happens for every ship in the array
17:09:19bobdaduckDo you want me to send you the level?
17:09:24kaenplease
17:09:39bobdaduckOkay no wait.
17:09:44bobdaduckAre you *sure*.
17:10:31kaenlol
17:10:34kaenyeah
17:10:42bobdaduckOkay
17:10:45bobdaduckbut I warned you
17:10:46kaenI'll just plug my nose
17:11:42bobdaduckGood luck.
17:15:54bobdaduckSo put the neutral ship above the bounce house and push it in.
17:16:11bobdaduckAlso the slipzone is walled off because it crashes people so if you want to take a look at that as well
17:27:41watusimoto Quit (Ping timeout: 248 seconds)
17:30:35kaennext!
17:30:40BFLogBot Commit: 11b07ffd5769 | Author: kaen | Message: add null checks in LuaBase::returnPlayerInfo
17:30:48bobdaduckDid you look at the slipzone?
17:31:21kaenguess I will
17:31:34kaenhow does it crash?
17:31:38bobdaduckFor me instead of reducing friction, it like, increases my speed a ton
17:31:50bobdaduckWhen another player joins and enters the slipzone, the screen goes black
17:31:58kaenwhoa
17:32:00bobdaduckAnd then four secondsish later the game crashes.
17:32:14kaenoh boy...
17:32:39bobdaduckIf you get the blackscreen hosting from editor (from repeated entry/leaving the slipzone or something) you can go into the level edtior before it crashes, but if you host game again it crashes.
17:32:58bobdaduckAnd raptor isn't sure if I'm just using a faulty copy of 018b or if its something bigger.
17:33:14kaenno I've gotten similar behavior before in my own testing
17:33:29bobdaduckYou have?
17:33:31kaennot with speedzones though
17:33:33kaenbut yes
17:33:58bobdaducknot with slipzones? With what then?
17:34:06kaenzones with no geometry
17:34:18kaener, not with slipzones**
17:34:43bobdaduckDo you get the behavior in levelgen carnival? I haven't tested it from someone elses computer yet
17:34:48bobdaduckMake sure its not just my copy acting up
17:34:52kaenchecking
17:35:03kaenI just need to join my own game and go into the slipzone?
17:35:13bobdaduckJust go into the slipzone. It'll be immediately apparent if something is wrong.
17:36:31bobdaduckJoining your own game and going into the slipzone is what's going on for me but I'm still not sure if ifs a global problem
17:37:35kaenjust duplicated it
17:37:42kaenand this is a crazy bug...
17:37:51bobdaduckI'M NOT CRAZY
17:37:51kaenthe crash is in the movement spark emission logic for me
17:37:53bobdaduckWHOO
17:38:01bobdaduckHm?
17:38:16kaenyeah. the function it crashes in has nothing to do with slipzones...
17:38:42bobdaduckWell I figured that.
17:39:00bobdaduckNo other zone crashes though so that's where we start.
17:41:05bobdaduckAnd didja see how big the levelgen code for it is? I'm proud of how hideously large it is.
17:41:15Watusimoto has joined
17:41:28kaenlooks like ship shape support is causing the bug...
17:41:49bobdaducklolwhat
17:42:06bobdaduckliterally last place I would expect.
17:42:24kaennot certain how yet...
17:42:30kaendo slipzones work elsewhere?
17:42:49bobdaduckActually no.
17:42:58bobdaduckI haven't gotten them to work like they're supposed to in 018b
17:43:48bobdaducknowait
17:44:02bobdaduck*tests further* They're working when I just threw one into this level.
17:44:08kaenuh I just added one in a plain level in 019
17:44:18kaenit doesn't crash, but it acts like a weird speedzone
17:44:22kaenI don't even.
17:44:29bobdaduckYeah exactly
17:44:34bobdaduckbut I just made one that's working normal
17:44:49kaenwell I copied your level line from carnival
17:44:54kaenso maybe you have a weird parameter
17:45:11bobdaduckWoahhh
17:45:21bobdaduckOkay so a square one works and a hexagon gets the speedzone effect?
17:45:35bobdaduckTHECRAP IS THIS BUG.
17:45:51kaenare you serious?
17:46:28bobdaduckWell I added one using the plugin and it works completely normal
17:47:17bobdaduckokay no
17:47:34bobdaduckmaking the one copied from levelgen carnival a square continues the weird behavior.
17:48:32kaenis it because the slip coefficient is negative?
17:48:39bobdaduckuh
17:48:41bobdaduck...yes.
17:48:44kaen:|
17:48:49bobdaduckThecrap.
17:49:02bobdaduckIs that what that is?
17:49:12kaenyeah
17:49:22kaenso none of this explains why the game crashes
17:49:32kaenwhile trying to find the right-most corner of the ship...
17:49:40bobdaduckNo but we at least have a lead now.
17:49:47kaenyeah.
17:50:50bobdaduckI wouldn't think that I would change that first number to negative...
17:51:28bobdaduckMaybe I copied it from some other zone...
17:51:54kaenmaybe you were trying to make it hostile?
17:51:59kaen:)
17:52:47bobdaduckMore likely I just copied a goalzone and then in the text file changed the goal to slip
17:53:41bobdaduckI had no idea slipzones had an arg there
17:53:46bobdaduckI thought they went straight into coords
17:55:47kaenit's optional
17:55:56kaenthe argument processing code for slipzones is absurd.
17:56:01kaenimo
17:56:44bobdaduckI bet
18:14:46kaenokay slipzones with negative slip
18:14:49kaenfeature or bug?
18:15:08raptor has joined
18:15:08ChanServ sets mode +o raptor
18:16:23bobdaduckFeature
18:16:25bobdaduckdefinitely!
18:16:33bobdaduckWhy are you even ASKING me? :P
18:16:37bobdaduckHi raptor!
18:16:39raptorbug!
18:16:50kaenI'm coming down on "bug" too
18:16:50bobdaduckRemember how in levelgen carnival the slipzones were all crazy speedzone crashy weird?
18:16:56raptorbug
18:17:07raptorbecause you copypastad some other zone line?
18:17:10kaen"bug" means a one line fix
18:17:17kaen"feature" means more logic
18:17:34raptorbug - because it's an 'unsupported' game object... :)
18:17:45bobdaduckThe problem is apparently that when you give a slipzone negative slip, the game crashes while trying to find the right-most corner of the ship.
18:17:59raptorinteger overflow!
18:19:25kaennope
18:19:29kaendivision by zero
18:19:55kaenthere's a conditional that isn't smart enough to handle negative slip factors
18:20:13raptorblack-hole creation!
18:20:21bobdaduckMake all ints in bitfighter's code signed pl0x
18:20:25kaenand then the division by zero thwarts a transversal of the vertices, so it uses a default index to dereference an array
18:20:28kaenand that index is negative
18:20:35raptoroh levely
18:20:38raptor*lovely
18:20:44kaenand also levely
18:20:49raptorheh
18:20:58bobdaduckSo just make a 0 check?
18:21:18kaenthat's how I'd disable the negative slip
18:21:22kaengood idea bob!
18:21:58bobdaduckoh xD
18:22:24kaenyep definitely a bug imo
18:22:59bobdaduckBut negative slip slipzones could be so fun!
18:24:25bobdaduckWhy does it only crash some of the time?
18:25:04kaenit crashes every time for me
18:28:14kaenoh, it only crashes if you're trying to move while you get into it
18:28:23kaenif you double boost then coast into it you're fine
18:29:10kaenwait... now it's randomly not crashing at all
18:29:14kaen"randomly"
18:33:55bobdaducklol
18:39:45bobdaduckHave you figured anything out?
18:41:09BFLogBot Commit: 56aa2967a979 | Author: kaen | Message: handle slipzone factors using the absolute value of acceleration limit (fix negative slip zone factors)
18:41:12kaenfixed the bug and saved the feature :)
18:43:56bobdaduckWhoo!
18:44:40bobdaduckokay I just realized
18:45:02bobdaducklevelgen carnival is starting to feel a lot like Lamps lab level
18:45:25Watusimoto Quit (Ping timeout: 245 seconds)
18:54:45BFLogBot Commit: f4f477b7aeee | Author: kaen | Message: render pickups behind ships
19:01:46raptor Quit ()
19:14:05raptor has joined
19:14:06ChanServ sets mode +o raptor
19:14:24raptoris it 2013 already?
19:15:33raptoryay kaen. bugfixing!
19:16:05raptori've never seen getRenderSortValue() before... weird
19:17:35raptor Quit (Disconnected by services)
19:17:43raptor has joined
19:17:43ChanServ sets mode +o raptor
19:18:04bobdaduck_ Quit (Ping timeout: 245 seconds)
19:18:04bobdaduck Quit (Ping timeout: 245 seconds)
19:21:05LordDVG has joined
19:30:50raptorGSOC has rejected us!
19:36:17DarrelAwwww, too bad
19:36:24DarrelHedgewars got rejected, too
19:36:27DarrelPySoy too
19:37:22raptoroh really!?
19:37:26raptoreven hedgewars?
19:38:09Darrelyep
19:38:13raptorwow
19:38:17Darrelthey are like "what the hell happened"
19:39:33raptorheh
19:54:51raptormaybe the great Google want new projects
19:55:48raptorhere are the accepted ones: https://www.google-melange.com/gsoc/accepted_orgs/google/gsoc2013
19:57:12raptorand the list is growing... slowly
20:02:11Darrelheh
20:02:21Darrelsome projects are ... quite unimpressive
20:08:41raptori'm unfamiliar with a lot of them..
20:13:40Watusimoto has joined
20:16:27raptorWatusimoto: did you get the news?
20:16:37Watusimotoapparently not
20:16:45Watusimotowhat news?
20:16:49raptorGSoC
20:16:53raptorwe've been...
20:16:58raptorREJECTED
20:17:07Watusimotoreally?
20:17:15raptoryup
20:17:18raptorso was hedgewars
20:17:34WatusimotoI knew we shouldn't have let them vouch for us!!!
20:17:38raptorhaha
20:17:40Watusimotowell that's a bummer
20:17:44Watusimotoall around
20:17:50Watusimotobut also a tiny bit of a relief
20:17:52raptorbummer summer
20:17:55Watusimotobut mostly a bummer
20:18:32raptoryou didn't get an e-mail? (if not I can forward mine)
20:18:35Watusimotowell, by the time gsoc starts, kaen will probably have finished most of our gsoc projects
20:18:39Watusimoto:-)
20:18:59Watusimotoyes, I see the email
20:19:24Watusimotosays very little
20:19:28Watusimotonot even a checkbox
20:19:50raptormaybe we should show up at the IRC meeting mentioned
20:19:53Watusimotoyour project is a) too small b) dysfunctional c) totally lame
20:21:25kaenthat's pretty ridiculous
20:22:48raptorthat we're a, b, and c?
20:23:18raptori agree :)
20:23:49raptorI bet hedgewars folks are pretty bummed... they were really expecting to get in
20:23:59Darrelyep, they were
20:24:39Darrel(I'm spying on several orgs, lol)
20:26:01WatusimotoI was thinking they'd just check one box
20:26:07Watusimotonot all 3 :-)
20:26:18Watusimotohi Darrel
20:26:29WatusimotoI never know if you listen in or not :-)
20:26:56Darrelhey :) well yeah, I don't really listen, usually
20:27:02Watusimoto:-)
20:27:25Darrelbut when I'm not busy I like to read what's going on
20:27:33WatusimotoDarrel: are you participating in gsoc?
20:27:45Darrelnope, still too young :))
20:28:04Watusimotowell, that will be cured in time
20:28:13Darrel*with time :P
20:31:59bobdaduck has joined
20:32:14bobdaduck_ has joined
20:32:39bobdaduck_goodmorning peepz
20:33:49raptorhi
20:34:13raptorso Footloose asked me to make it so admins can kick other admins
20:34:27raptorI responded by telling her to give out the admin password more responsibly...
20:34:50raptorbut then, we tested changing the admin password with multiple admins connected
20:35:04raptorand everyone kept their admin status
20:35:23raptoris that the behavior we want?
20:35:44raptoras opposed to revoking status when password is changed (on-the-fly in-game)
20:36:06bobdaduck_Revoking status when password is changed is better.
20:36:33bobdaduck_like yeah, give it out responsibly
20:36:51bobdaduck_but there should be a fallback.
20:37:02raptorright now you have to restart the server
20:37:09bobdaduck_If you change levelchange password in-game do levelchangers lose their privs?
20:37:18raptori woudl say yes
20:37:30bobdaduck_test?
20:37:32raptoroh wait
20:37:40raptoryou mean like what it really does...
20:37:45raptorok, lets test, you host?
20:37:58bobdaduck_hosting
20:38:03bobdaduck_assuming you can join from my work comp
20:40:21bobdaduck_k
20:41:42raptorthanks bobdaduck_
20:41:44bobdaduck_Even gives a message "You must enter new password to change levels"
20:42:10raptorso the one thing about admin
20:42:19Watusimotomaybe we should have a new level ... owner
20:42:22raptoris if you have a troll admin - he'll jump on and change password fast
20:42:31Watusimotoowner can do everything an admin can, plus kick admins
20:42:39raptorWatusimoto: that was footies idea, too - owner == admin +... yes
20:42:39Watusimotoand that's it
20:43:01Watusimotothat woudl reduce the temptation to give out owner pw... you can;t do anything with it an admin can't
20:43:17WatusimotoI think that would make sense
20:43:19bobdaduck_perfect
20:43:40raptorok, so would the implementation basically be the same as admin?
20:43:50Watusimotoyes. if you change admin pw, what should happen?
20:44:04Watusimotoif owner changes admin pw, I think all admins should be kicked
20:44:10raptoryes
20:44:12bobdaduck_I think they should just get demoted
20:44:20raptormaybe only owner can change admin password, then?
20:44:22Watusimotobut if an admin changes admin pw, they should keep admin
20:44:25Watusimotoyes
20:44:29raptorbecause right now admin can change admin password..
20:44:33raptorok
20:47:25raptorjust for kaen, I'm going to enter this into the google tracker
20:47:37bobdaduck_lol
20:48:36Watusimotoin 2 weeks, footloose is going to ask you to let owners kick other ownser
20:49:27raptorhahaha, i bet
20:50:20bobdaduck_lol
20:50:48bobdaduck_We should just make a server with the admin password in the server description and see what happens
20:51:03raptorkaen test started out that way...
20:51:19raptorit took like 1/2 day to change it (once Lamp got the password, I think)
20:51:48raptormaybe force it so only one person has ownership at a time?
20:51:58bobdaduck_lol
20:52:13raptorand should they show up as normal admin in scoreboard with '@' ?
20:52:18bobdaduck_Yeah
20:52:22raptoryeah, me too
20:52:24bobdaduck_I don't think that needs to be changed
20:52:58bobdaduck_What did happen, that made you need to change the admin on kaen test, kaen? I remember there was something about abuse but...
20:53:08kaen<raptor> it took like 1/2 day to change it (once Lamp got the password, I think)
20:53:18kaenthat's all.
20:53:37raptorenough complaints eventually got to kaen...
20:54:02bobdaduck_I don't remember what the specific complaints were
20:54:18bobdaduck_All I remember was Lamp was telling everyone who joined the server what the admin pass was. xD
20:54:47raptorI remember that Lamp stayed connected, but would go AFK by holding down the fire button and leave
20:56:09bobdaduck_...Can't you still do that anyway?
20:56:41raptoryes, but the consequence was that after 1/2 an hour there was still one player skewing the teams but not playing (because he never went idle)
20:58:06bobdaduck_Surely that isn't the only reason to revoke admin though
20:59:31raptorit would pretty much be a repentant move - one admin would make poor judgement about another...
20:59:41raptorand give away the password
21:00:02bobdaduck_Lamp giving away password to everyone who joins server, for example.
21:00:15raptorno the error was giving it to Lamp in the first place
21:00:24bobdaduck_xD
21:00:27raptorwhich I even made once
21:01:49bobdaduck_Really? How
21:01:51bobdaduck_How.
21:02:02Darrel Quit (Quit: Closed IRC client)
21:02:41raptori was testing something once - as soon as i gave permission away he made choice that slowed down my testing
21:02:46raptor*choices
21:03:04bobdaduck_he does that. Why'd you give permission away?
21:03:17bobdaduck_On the test server it was a massive chain of user to user to user to user to user to Lamp
21:03:20raptorpoor judgement on my part (and it was probably part of the test)
21:03:43raptori don't rememebr the specifics very well..
21:03:57raptorbut anyways - no Google $$!
21:04:02raptori mean t-shirt
21:04:05bobdaduck_What?
21:04:08bobdaduck_Oh xD
21:04:18raptorwe were rejected as a Google Summer of Code project
21:04:50bobdaduck_that's too bad?
21:05:44raptormaybe...
21:06:00raptorwe lost the chance for more visibility
21:06:27raptormaybe next year..
21:06:55raptorWatusimoto: i wonder - if we've been rejected, does that mean the great Google will give our souls back?
21:07:06raptorI remember having to sign mine away...
21:08:00Watusimotounlikely
21:08:05Watusimotothey take but never give
21:08:12Watusimotosouls, anyway
21:09:59bobdaduck_what?
21:15:58bobdaduck_Raptor I just found this on my bitfighter todo list: "Remind raptor to add /announce command to lua api"
21:16:12raptoroh good
21:17:41raptorwritten down: https://code.google.com/p/bitfighter/issues/detail?id=196
21:17:57bobdaduck_coolthanks
21:30:54raptorheading out... back later
21:33:02bobdaduck_Have fun!
21:33:08raptor Quit ()
21:35:28LordDVG Quit (Remote host closed the connection)
22:33:35BFLogBot Commit: b07b2bd54304 | Author: watusimoto | Message: Comments, rename function
22:33:37BFLogBot Commit: 6712c2f2631b | Author: watusimoto | Message: Sex up the fps display
22:33:39BFLogBot Commit: 005cf37e3321 | Author: watusimoto | Message: Merge
22:33:40BFLogBot Commit: df0ebc4bd440 | Author: watusimoto | Message: Pull out FPS management into its own class
22:33:42BFLogBot Commit: e03554669a22 | Author: watusimoto | Message: Enable sliding effect
22:33:44BFLogBot Commit: f84ec24e9d08 | Author: watusimoto | Message: Merge
22:39:50bobdaduck_Sex up the fps display
22:39:57bobdaduck_We're trying to keep our game G rated yes?
22:44:17BFLogBot Commit: 604978b7e063 | Author: kaen | Message: write out repop delay for pickup items even when it's set to zero
22:44:18BFLogBot Commit: 9847817e31ab | Author: kaen | Message: merge
22:44:49kaenThis game is rated G for GRAVITATIONAL
22:45:42bobdaduck_Our gravitational pull is rather small, methinks.
22:47:19kaenI fixed like a half-dozen bugs today...
22:47:24kaenwhy doesn't that list look any smaller?
22:47:50bobdaduck_lol
22:49:24bobdaduck_ Quit (Remote host closed the connection)
22:53:53bobdaduck Quit (Ping timeout: 245 seconds)
23:19:49raptor has joined
23:19:49ChanServ sets mode +o raptor
23:23:34Platskies has joined
23:31:25bobdaduck has joined
23:45:28raptoryay commits!
23:45:41raptoralso two-part epoxy is awesome
23:56:53Platskies Quit (Remote host closed the connection)

Index Search ←Prev date Next date→

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