#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-05-17

Timestamps are in GMT/BST.

00:23:09Platskies Quit (Remote host closed the connection)
00:46:06Fordcarsok, night!!!!!!
00:46:16Fordcarsgoing to bed, later
00:46:18Fordcars Quit (Quit: Leaving)
00:57:41Platskies has joined
00:57:51Platskies Quit (Remote host closed the connection)
01:03:10sam686 Quit (Ping timeout: 245 seconds)
01:09:46koda has joined
01:56:01koda Quit (Read error: Connection reset by peer)
02:00:32watusimoto has joined
02:00:33ChanServ sets mode +o watusimoto
02:07:23Watusimoto_ has joined
02:30:43Watusimoto_ Quit (Ping timeout: 276 seconds)
02:56:20koda has joined
05:04:50Platskies has joined
06:27:45Platskies Quit (Remote host closed the connection)
06:50:33Watusimoto_ has joined
07:03:31Watusimoto_ Quit (Ping timeout: 240 seconds)
07:04:35Watusimoto_ has joined
07:19:17Watusimoto_ Quit (Ping timeout: 256 seconds)
08:19:15bobdaduck has joined
08:28:28watusimotokaen: when you have some time, take a look at this; do you think this would be helpful for us? it looks super easy to use
08:28:29watusimotohttps://www.assembla.com/spaces/hippomocks/wiki/aUuNH-Lqur3Bj7ab7jnrAJ
09:22:47raptor has joined
09:22:51ChanServ sets mode +o raptor
09:24:21raptorgood mornign!
09:27:05raptori should double check my changes last night to make sure I didn't commit bad stuff..
09:33:30bobdaduckgood morgnin!
09:34:27raptorbobdaduck: new scoreboard: http://sam6.25u.com/upload/3screenshot_25.png
09:36:14bobdaduckbadges don't look good on it.
09:36:49raptorhow so? black on black?
09:38:17bobdaduckyeah
09:38:23bobdaduckbadges will need some sort of border
09:40:33thread_ has joined
09:43:39bobdaduckSup thread
09:44:11raptorhmm
09:44:19raptorok, how about the overall changes?
09:45:42bobdaduckto the scoreboard?
09:45:45bobdaduckOverall looks good
09:46:11raptorI'm not sure I like the font..
09:46:16raptortoo curvy
09:49:42watusimoto Quit (Quit: Leaving.)
09:55:29bobdaduckIt fits with the other new fonts though
10:08:42kaenI agree on both points
10:09:36kaenit fits, but my gut says that a different font would be better for the scoreboard
10:09:54raptormonospace is all we ever need...
10:09:59raptorhi kaen
10:10:05kaenhello
10:10:13kaenand good day all
10:13:39koda Quit (Read error: Connection reset by peer)
10:46:27raptorshould we re-font the server messages and make them smaller?
10:46:38raptorbecause in that screenshot, they look so ugly
10:47:12bobdaduckwhich server messages?
10:48:33kaen"robot added" etc
10:48:39kaenI like the font for those
10:48:46raptorhttp://sam6.25u.com/upload/3screenshot_25.png
10:49:20kaenI think the problem with tenby is that it feels more like an accent font
10:49:38bobdaduckmaybe just the team names for that
10:49:44bobdaduckand everything else back in the other font?
10:49:48kaenthan something you'd use as the central font in a design
10:49:58kaenI think it's be good to at least try that
10:50:01raptoryes, I think I agree
11:10:52bobdaduckMaking a goalzone with 60 points crashes DnD
11:11:24bobdaduckor at least
11:11:34bobdaduckcausing some REALLY weird behaviors before it crashes
11:11:46bobdaduck...such as missing half its points and turning neon pink.
11:12:03raptoroooo... memory error!
11:12:48bobdaduckinvalid bstream packet
11:12:58raptorhahaha
11:13:10raptortoo much data for a single network packet maybe?
11:13:25bobdaduckI thought the game could handle up to 64 point goalzones technically
11:13:41raptor62
11:13:50raptorwell, 63
11:14:06bobdaduckyeah
11:14:11bobdaduckthere's only 60 points...
11:17:53bobdaduckI guess I'll have to do something else then. Hm.
11:54:42bobdaduckif I make a teamed health pack will it do anything?
12:23:09bobdaduckSOMEONE GIVE ME AN ETA ON 019 I'M SO EXCITED FOR IT
12:23:30kaennot soon
12:24:03bobdaduckhas so much functionality that I need/want
12:24:11kaenthat's why it'll take a while :/
12:24:36kaenwe added a bunch of junk and changed a lot of fundamental things and even the organization of the codebase
12:24:52kaenand there have been some weird bugs cropping up...
12:24:55bobdaduckyeah
12:24:59bobdaduckI know but like
12:25:01kaenF5 screen got broken
12:25:10kaenso that all it did was toggle the busy indicator
12:25:13bobdaducklua things like onPlayerKilled(killer) is important right now xD
12:25:39bobdaduckThough I did think of a way I *might* be able to get around it.
12:28:08bobdaduckbut I remember there being some bug
12:28:20bobdaduckraptor onshipenteredzone(zone)
12:28:24bobdaduckwhat is (zone)?
12:28:34bobdaduckIts the zone object right?
12:28:38kaenI would imagine
12:29:06bobdaduckI remember there being some bug with that not working though
12:29:11bobdaduckwhen we were first trying to get swords to work
12:29:20kaendoesn't trigger when the level starts?
12:29:43bobdaduckno it was like
12:29:55bobdaduckIt was with the logic involving "is the zone a sword"
12:30:22bobdaduckWhat we're currently using is point count. If the zone has more than five points then its a sword
12:30:36bobdaduckand then we check if its on a different team then us
12:31:31bobdaduckI don't remember. There was just some problem with the zone.
12:32:56kaenprobably the fact that you could "tag" the sword Zone objects with some property like zone["isSword"] = true, except that you actually get a reference to a different (but equivalent) table
12:33:09kaeneach time the event is fired
12:42:06thread_onshipenteredzone uses the parameters (ship, zone, zoneType, zoneId) right? if you are using onshipenteredzone(zone) I don't know what zone is
12:42:49bobdaduckyeah
12:42:58bobdaduckI'm talking specifically about the zone parameter though
12:49:07bobdaduckKaen can you explain what you just said?
12:49:20bobdaduckWe currently have an array of sword zones tied by player names
12:49:45bobdaduckand when I try to check if the ship entered a specific players sword zone I get nothing
12:50:08kaenokay
12:50:13kaenhow are you checking that?
12:50:28kaenswords[player] == zone ?
12:50:36bobdaduckuhhh
12:50:36bobdaduckhttp://pastie.org/7921997
12:50:39bobdaducksomething like htat
12:50:56kaenokay, well basically if you're comparing the stored zone to the zone from the callback
12:51:10bobdaducksounds like what I'm doing
12:51:21kaenit will always return false, because in lua two tables are equal if and only if they have the same memory address
12:51:28kaeni.e. they are the same chunk of physical memory
12:51:43bobdaduckSo... How do I get around that?
12:51:48kaennow, the zone you create and store has its own memory address, and a set of info which describes the zone
12:52:06kaenthe zone from the callback is the same information as the stored table, but it's a different chunk of memory
12:52:09kaenhas a different address
12:52:12bobdaduckyeah
12:52:24kaenso it's never going to be equal, even though they're talking about the same zone
12:52:31kaentry comparing the zone IDs instead
12:52:48bobdaduckI'm pretty sure I can't do that
12:52:50kaenbecause those will be the same for the two tables
12:52:54kaen99% sure you can
12:52:59bobdaduckI can pass in zone ID from the onshipenteredzone function of course
12:53:01kaenyou get the zone ID in the callback
12:53:06bobdaduckbut there is no zone:getID() function
12:53:20bobdaduckso I can't check the zone in the table
12:54:30kaenhttp://bitfighter.org/luadocs/class_bf_object.html#a7e44d4f26d1117327b81b853a96e9b4d
12:54:35kaenall objects have getId
12:54:46kaenall BfObjects anyway
12:54:48bobdaduckohh
12:54:50bobdaduckexcellent
12:55:18bobdaduckIf this solves my dillema
12:55:30bobdaduckI'll be able to COMPLETE DnD
12:55:59bobdaduckokay maybe slight exaggeration
12:56:23thread_ has left
12:56:25bobdaduckWow it worked.
12:56:44bobdaduckIn case you didn't know kaen, you're a genius.
12:56:47kaen:)
12:56:51kaenglad to help
12:59:20bobdaduckOkay so do ships get EXP for capturing zones, and gold for killing players, or do ships get exp for killing players and gold for capturing zones?
13:03:01kaenexp for killing, gold for capturing
13:03:53bobdaduckDone and done
13:04:09bobdaduckDnD now has a working scoring system as well as a skeletal shop system.
13:06:28bobdaduckthe real shop system will probably take several days...
13:12:02kaenthe shop system seems straight forward enough
13:12:06kaenhave zones represent items
13:12:17kaenonenter zone if the player has enough gold he buys the item
13:12:25bobdaduckYes
13:12:26kaenthe harder part will probably be the items itself...
13:12:30kaenthemselves
13:12:31bobdaduckNow see
13:12:36bobdaduckI plan to let people buy speedzones.
13:12:50bobdaduckAmong other things.
13:12:54kaento follow them?
13:13:00bobdaducknah
13:13:13kaento deploy?
13:13:16bobdaduckyeah
13:13:18kaenoh
13:13:25kaenso that's an inventory system
13:13:33kaengood luck my friend.
13:13:44bobdaduckIt will probably take several days
13:13:44bobdaduckxD
13:21:56bobdaduckGotta think of something useful that exp can be used for though
13:51:49kaenclass tiers
13:52:03bobdaduckhm?
13:53:47kaenlike when you pass a certain level your weapon gets more awesome or something
13:54:13bobdaduckCool except
13:54:27bobdaduckthat that's a ton (more) arbitrary coding.
13:54:33kaenpfft
13:55:14kaennah the hard part is making x * n more weapon graphics where x is the number of additional tiers and n is the number of classes
13:55:34bobdaduckuh, exactly.
13:55:36bobdaduckn is 20
13:55:38kaenthe coding is: when player passes some level -> change the weapon geometry it uses
13:55:45kaenyeah but that's not coding
13:55:46bobdaduckCoding is easy
13:55:47kaenthat's drawing
13:55:57bobdaduckits that its stupidly time consuming xD
13:56:32bobdaduckI've already done 500 lines of sword geometries so far
13:57:07bobdaduckI don't think I'd be willing to do that unless someone else did it for me.
13:59:13bobdaduckQuartz did some of that, he drew me the goalzones in the editor and such
14:00:16bobdaduckbut I had to convert the geometry for it and add it. At the very least someone would have to do the geometry. Which I did make a sword editor to assist that slightly
14:05:58bobdaduckcrap I'm becoming a dev
14:28:31bobdaduckOkay what's wrong with this line of code: newPlayer["Inventory"] = {"Insurance" = false, }
14:28:42bobdaduckerror: '}' expected near =
14:28:56raptorremove comma?
14:29:56bobdaducknope same error
14:31:55bobdaduckand removing the line completely the script runs fine
14:33:25bobdaduckSeperating it out works fine too.
15:02:55bobdaduckguys
15:03:02bobdaducktrying to math.random(0) crashes the script
15:03:05bobdaduckJust so you know.
15:11:59bobdaduckOkay so what's the most intuitive way to deploy an item? On module use? With chat commands? Timers?
15:12:09bobdaduckUSING A RUNE DRAWING SYSTEM OFF OF SHIP ANGLES?
15:15:52Watusimoto has joined
15:16:41bobdaduckWatusimoto what do you think about a rune drawing magic system for bitfighter?
15:16:54Watusimotoawesome!!
15:17:25bobdaduckK I will probably implement that into DnD sometime next month
15:28:16bobdaduckSomeone help.
15:28:30bobdaduckHow do I add a value to an array at the end?
15:29:05raptorso you want order
15:29:09raptororder is important?
15:29:21bobdaduckYes.
15:29:25bobdaduckiPairs
15:29:42raptorok, you'd use this: table.insert(someTable, someValue)
15:29:54raptorbut 'someTable' MUST be an array, not a dictionary
15:30:32koda has joined
15:31:06bobdaduckSay for swords
15:31:13bobdaduckif I want to add another point onto the sword geometry
15:31:42raptoryep, just use that
15:32:32bobdaduckTable expected, got userdata
15:32:40bobdaduckI THINK I DID SOMETHING WRONG.
15:34:22raptoryou didn't pass in a table?
15:35:19bobdaduckYeah pretty sure.
15:43:11raptorwhat does a sword point table look like again?
15:44:11bobdaduckGeom = { blah blah points}
15:45:46raptorlike this?: { 0, 0, 1, 1, 1, 2}
15:47:44bobdaduckOkay I got the script running its just not doing anything...
15:49:18bobdaduckand yeah its like that
15:52:33bobdaduckregisteredPlayers = {}
15:52:33bobdaduckregisteredLineItems = {}
15:52:33bobdaduckGeom = {
15:52:33bobdaduck point.new(0, 0),
15:52:33bobdaduck point.new(100, 0), -- not an actual point I just added it to see if the line shows at all
15:52:34bobdaduck}
15:52:36bobdaduckfunction addObjectGeom(inputGeom, newPoint)
15:52:39bobdaduck local outputGeom = {}
15:52:41bobdaduck
15:52:43bobdaduck for index, value in ipairs(inputGeom) do
15:52:45bobdaduck table.insert(outputGeom, point.new(newPoint.x, newPoint.y))
15:52:48bobdaduck end
15:52:50bobdaduck
15:52:52bobdaduck return outputGeom
15:52:54bobdaduckend
15:52:56bobdaduckfunction doLines()
15:52:59bobdaduck for index, value in ipairs(registeredPlayers) do
15:53:01bobdaduck if value ~= nil then
15:53:03bobdaduck -- The 'value' here is PlayerInfo
15:53:05bobdaduck local playerName = value:getName()
15:53:07bobdaduck local playerTeam = value:getTeamIndx()
15:53:10bobdaduck local ship = value:getShip()
15:53:12bobdaduck
15:53:14bobdaduck if registeredLineItems[playerName] == nil then
15:53:16bobdaduck local newLine = LineItem.new()
15:53:18bobdaduck newLine:setGeom(Geom)
15:53:21bobdaduck newLine:setTeam(-1)
15:53:23bobdaduck levelgen:addItem(newLine)
15:53:25bobdaduck registeredLineItems[playerName] = newLine
15:53:27bobdaduck end
15:53:29bobdaduck local line = registeredLineItems[playerName]
15:53:32bobdaduck
15:53:34bobdaduck
15:53:36bobdaduck local ship = value:getShip()
15:53:38bobdaduck if ship ~= nil then
15:53:41bobdaduck local shipLoc = ship:getLoc()
15:53:43bobdaduck local newGeom = addObjectGeom(Geom, shipLoc)
15:53:45bobdaduck --table.insert(line, shipLoc)
15:53:47bobdaduck was kicked from #bitfighter by raptor
15:55:35bobdaduck has joined
15:55:48bobdaduck.... http://pastie.org/7923006
16:06:05bobdaduckbe back later
16:06:08bobdaduck Quit (Remote host closed the connection)
16:07:40raptor Quit ()
17:23:08fordcars has joined
17:43:26sam686 has joined
17:43:26ChanServ sets mode +v sam686
18:13:01koda Quit (Quit: koda)
18:47:04Watusimoto_ has joined
18:48:15raptor has joined
18:48:15ChanServ sets mode +o raptor
18:48:29raptorhello all
18:48:37raptorand there's two Watusimoto_s
18:48:48Watusimoto Quit (Ping timeout: 252 seconds)
18:54:22kaengreetings
18:54:30raptorhi
19:00:18Watusimoto_and they're both going to bed
19:00:23Watusimoto_good night!
19:00:25raptornight!
19:00:31raptornothing to commit?
19:05:36Watusimoto_ Quit (Ping timeout: 264 seconds)
19:07:50raptorI always get scared when watusimoto has committed for a couple days...
19:07:54raptor*hasn't
19:23:44kaenhehe
19:26:35BFLogBot Commit: 6b73e9a274e9 | Author: sam8641 | Message: Fix robot's module not working right.
19:29:29sam686on 3 teams and LineItem, it looks like any selected LineItem is in team yellow...
19:30:06raptorLineItems can be 'Global' now
19:31:15raptorthere is a crash with lineitems
19:31:46sam686All line item looks like yellow when you select every LineItem in editor
19:31:46raptorhttp://pastie.org/pastes/7923907/text
19:32:04sam686I haven't gotten a crash on me yet..
19:32:20raptoroh...
19:32:22raptorwhen selected
19:32:26raptoryes
19:32:55raptorthat has always been the case because a selected object with a spine has the spine turn yellow
19:32:58sam686its hard to tell which team is which when selected..
19:37:02raptoryeah... i'm not sure what would be a good solution..
19:37:09raptormaybe stripe the lineitem?
19:39:38sam686weird memory bug? (the comments in lineEditor.h)
19:40:03raptoroh yeah - I added that to prevent this exact memory issue in 018a
19:40:11raptorit worked, sort of... but it's back again
19:40:24raptorwhich means that my solution wasn't really a fix and I just got lucky
19:52:59fordcarshehe
19:53:22fordcarsbrb in around 25.47 minutes
19:57:39fordcars Quit (Ping timeout: 250 seconds)
20:46:12fordcars has joined
20:48:09fordcarshi
20:48:20raptor Quit ()
21:08:11Platskies has joined
21:33:54kaen018a runs at 30.2 fps for me
21:33:58kaen019 runs at the framecap
21:34:04kaen(60fps)
21:36:52fordcarsnice!
21:46:37bobdaduck has joined
21:46:43bobdaduckSUP BROSKIZ
21:52:55kaenadding a plugin panel
21:52:57kaenand shiz
21:53:02bobdaduckAwesome
21:53:07bobdaduckcome play dnd with my sister and I?
21:53:13kaenokay
22:06:49BFLogBot Commit: 38ac33c428b0 | Author: sam8641 | Message: Added some TNLAssert for team cast
22:06:51BFLogBot Commit: 53ac2e75b537 | Author: sam8641 | Message: Fix double delete crash from having Turret, CoreItem, or any movable objects in editor Clipboard when quitting.
22:39:35fordcarskaen: setReqLoadout() what does this use as input? (loadout)
22:51:03kaenit takes a LuaLoadout object
22:51:14kaenwhich apparently has not docs, but here's the interface: http://pastie.org/7924440
22:51:23kaen(although that's from 019, so ymmv)
22:51:58kaenfordcars, ^
22:52:08BFLogBot Commit: bcbbd53ade5c | Author: kaen | Message: Add plugin dock to editor (press F8 and F9 to switch docks)
23:02:33BFLogBot Commit: 04d06ffe38fe | Author: kaen | Message: sort plugin dock alphabetically
23:03:21fordcarsok thanks :)
23:30:52raptor has joined
23:30:53ChanServ sets mode +o raptor
23:31:26raptorkaen: nice dock!
23:31:35kaenthanks!
23:31:46raptorwe could probably remove the stupid INI stuff...
23:32:01raptorunless you're using that..
23:34:23kaenwell, I was thinking it would be could to keep the keybindings
23:34:35kaenI was actually going to display them in that dock on the right side
23:34:38raptoroh yeah.. that's true
23:34:55kaen"it would be could"
23:35:03kaenhmm... should probably sleep soon
23:35:43raptorwould we need page 6 of the editor help?aaaaaaaaaaaaaa
23:35:47raptoruh
23:35:49raptoryeah, me too
23:36:12kaenthe part that list the bindings and filenames?
23:36:13kaennope
23:36:24raptoryeah, and the script titles
23:36:42kaenI'll actually list the script titles instead of the file names
23:37:22kaenand then I'm thinking about some sort of button for toggling the dock mode
23:37:32kaenso that someone who's never used the editor has a chance to find it
23:37:58kaenanyway, good night
23:39:00raptornight!
23:59:02bobdaduckraptor did you take a look at the code I pastied before I left?
23:59:47raptorno, sorry, i had to leave too
23:59:59raptori don't remember what was wrong?

Index Search ←Prev date Next date→

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