#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-05-08

Timestamps are in GMT/BST.

00:01:34raptorwell, i cannot change the date... it says UTC timezone now, but clock is still off
00:01:41raptormust be a VPS problem
00:01:49raptorheading to bed, good night!
00:01:52raptor Quit ()
01:14:34sam686 has left
01:44:16watusimoto has joined
01:44:17ChanServ sets mode +o watusimoto
03:44:49CrazyLinuxNerd has joined
07:52:55bobdaduck has joined
08:24:04bobdaduckSomeone sometime should do something about the game segfaulting if objects are deleted too quickly in sequence.
08:24:32bobdaduck(see number 8)
09:09:54thread_ has joined
09:12:00bobdaducksup thread
09:12:05raptor has joined
09:12:06ChanServ sets mode +o raptor
09:12:08bobdaduckWorking on implementing it now
09:12:15bobdaduckCan't get the scoreboard to work
09:12:50raptorbobdaduck: can you get a simple test case that crashes?
09:12:57bobdaduckWhat?
09:13:06raptorfor your bug #8
09:13:10bobdaduckoh
09:13:26bobdaduckYeah sure
09:13:29bobdaduckits not like its hard
09:13:38bobdaduckI run into it like literally every time I work on levelgen carnival
09:15:03raptorwatusimoto: did you want the frames-per-second displayer to have a fancy box?
09:15:10watusimotohi
09:15:15raptorhello
09:15:27watusimotono
09:15:32watusimotoI don't think so
09:15:36raptorok, then that bug is fixed!
09:15:39watusimotodo you think it needs one?
09:15:48raptornot really, but I was curious
09:15:48watusimotoI think it would just add a bit of clutter
09:15:54raptoryeah, me too
09:15:59watusimotook, good
09:16:35watusimotoI made a big breakthrough last night in my understanding of all the idle path garbage
09:16:47raptoroh boy!
09:16:53watusimotoI'm going to rename them so that we can better understand what they do
09:16:58watusimotoI think the current names are terrible
09:17:05raptorwhich, the stuff sam686 added or how garagegames implemented it?
09:17:10watusimotogg
09:17:15raptoroh yes
09:17:22raptorok
09:17:42raptoronce upon a time I figured out what all the idle call paths actually did and meant, but i don't remember now
09:17:59watusimotowell, when you need to know, I've got it
09:18:17watusimotoit's really only a "problem" in ship
09:18:30watusimotoeverywhere else it's very simple: client or server
09:18:40bobdaduckOkay raptor done
09:18:45watusimotowith ship there's 2 variations on server, and 3 client variants
09:18:50bobdaduckhttp://pastie.org/7818433
09:19:04raptorexcellent, thanks bobdaduck
09:19:21bobdaduckNot like its hard to do
09:19:36raptorbobdaduck:
09:19:42raptori have a concern with your script
09:19:53bobdaduckWHICH ONE?
09:20:20raptordoes this crash immediately, or after a little while?
09:20:29raptorimmediately == right at start up
09:20:33bobdaduckIt won't crash unless you shoot the spybug.
09:20:42bobdaduckAnd then the script isn't crashing, the entire game crashes.
09:20:50raptoroh..
09:20:52raptorwell that's worse
09:20:54raptorok
09:21:48raptorwatusimoto: i remember that the journalling came into play with the ship object at one point..
09:22:01watusimotonot any more
09:22:13raptorwasn't that one of the pathways?
09:22:22watusimotonot sure -- it's not now
09:22:23raptoror maybe that would have made 4 client variants
09:22:34watusimotomaybe :-)
09:31:08watusimotoin any event it's a mess and makes things very hard to follow... though a tad easier once you've really grasped the paths
10:05:26bobdaduckOkay!
10:05:35bobdaduckDance Dance Revolution added to levelgen carnival
10:05:43bobdaduck crosses off his todo list
10:06:02raptoryou got thread_ to do it? yay
10:06:12bobdaduckAll the hard parts, yeah xD
10:06:18thread_lol
10:06:33bobdaduckAnd its not quite optimal
10:06:52bobdaduckI couldn't figure out a way to make it so it only sends goalzones from teams that are in the area
10:07:58thread_what if you had a zone around the game. whenever a player enters the zone, you can register their team.
10:08:11bobdaduckYeah that's what I tried
10:08:15bobdaduckThen what happens?
10:08:31thread_unregister the team when they leave
10:09:27bobdaduckRight right
10:09:31thread_I guess thats oversimplified but that's what I would try
10:09:39bobdaduckAnd that's what I tried
10:10:02bobdaduckThe problem was "how do I pull from that array randomly to get a team"?
10:11:37bobdaduckIts still kind of fun though
10:11:42bobdaduckwith lots of zones flying everywhere
10:11:58thread_let's see... registeredUsers[math.random(table.getn(registeredUsers))] should at least get a random player
10:12:26bobdaducklol
10:12:31bobdaduckIts kay I'm moving on
10:12:36thread_alright
10:12:44bobdaduckIts "good enough", which is passable in levelgen carnival.
10:13:25bobdaduckLessee what's next.... *checks list*
10:13:35bobdaduck"spy laser dodging room"
10:13:41raptor"learn to code c++ and fix real bugs for 019"
10:13:47bobdaduckrofl
10:13:57bobdaduckI can't fix bugs I can just find them
10:15:14bobdaduckAnd I don't have the time to learn bitfighter's code!
10:15:20bobdaduckI'm far to busy actually playing the game.
10:16:40bobdaduckOr at least, making stupid levels in it.
10:17:45watusimotoI'm losing my enthusiasm for testing... already...
10:18:15watusimotoall the interesting thigs I'd like to test are very complex, and I have no idea how to implement them
10:18:44bobdaduckjust script it in completely arbitrarily
10:19:46watusimotohow do I check if the loadout gets set properly after you die and respawn?
10:20:42bobdaduckif what the loadout is set to is the same as the loadout its supposed to be?
10:21:16watusimotoyeah, but you have to simulate a client and a server and ship and kill it somehow and then check. there are a lot of bits that need to be working properly
10:21:16raptoroh goo, then we get you back for real coding again!
10:21:35watusimotoprobably :-)
10:22:10watusimototonight, probably back to work on the help
10:22:13raptoralso
10:22:23raptori think you should try the cmake project now
10:22:37watusimotoyes, ok. we can discuss more tonight
10:24:05bobdaduckMake everything OP
10:24:11bobdaduckIf everything is OP then nothing will be
10:38:58raptorwhich runs faster, hot or cold?
10:39:06raptorhot. everyone can catch a cold
10:39:45thread_I... that's actually really funny.
10:39:54thread_lol
10:40:07raptor is eating laffy taffy. forgive him
10:40:32bobdaduckrofl
10:54:16watusimoto Quit (Quit: Leaving.)
10:59:52bobdaduckyo raptor my man
10:59:59raptorhi
11:00:02bobdaduckhow do generate non-explosive bullets via levelgen?
11:00:20raptorlike a phaser?
11:01:01bobdaduckyeah
11:01:39bobdaduckVia levelgen I can only make mines or bursts or seekers
11:01:44raptorhave you tried just doing Projectile.new()
11:01:53bobdaduckI have not
11:01:58bobdaduckWould that really work?
11:02:02raptortry that (i'm curious if it'll work)
11:02:07raptor:)
11:02:14raptorhttp://bitfighter.org/luadocs/class_projectile.html
11:02:38bobdaduckgetWeapon like what.
11:02:46bobdaduckWhat are those public member functions.
11:02:47bobdaduckWHAT ARE THEY.
11:02:51raptori don't know...
11:03:02raptori think getWeapon only returns 1, 2, 3
11:03:22raptoractually... hmmm
11:03:31raptorthe Projectile code (non-Lua) is a mess
11:03:35bobdaduckokay
11:03:44bobdaduckit actually worked
11:03:48raptorwait what??
11:03:50bobdaduckIt made a phaser
11:03:53raptorha!
11:04:00raptorthat's probably all you can do though..
11:04:29bobdaduckAnd since I did it onTick levelgen carnival now has a permanent phaser bullet on the nexus.
11:04:38raptoruhhh
11:04:46raptoryou mean, it's creating a new one every tick
11:04:47bobdaducklol
11:04:49bobdaduckyeah
11:04:54raptorand dies after like 600 ms
11:04:58bobdaduckyeah.
11:05:00raptorso there'd be like 20 of them there
11:05:01thread_I dare you to touch it
11:05:10bobdaduckrofl
11:05:17bobdaduckYeah there's like 20 of them there.
11:07:26raptori want to see!
11:09:19bobdaduck immediately creates a script that covers a level in phasers
11:11:35thread_With this, you could make homing phasers... hmmm...
11:12:04bobdaduckHMMMMM
11:12:05raptoractually... you can't set velocity on them as it stands...
11:12:13bobdaducksure you can
11:12:16bobdaduckthey're a subclass of...
11:12:20bobdaduckWait can't you?
11:12:23bobdaduck*checks*
11:12:27raptorno... they're not a 'moveObject'
11:12:38raptorthey're their own ugly class
11:12:49thread_but you can do maths and setLoc
11:13:24bobdaduckhttp://pastie.org/7818917
11:13:35raptorsetLoc is equivalent to network abuse
11:13:42bobdaducklol
11:13:51bobdaducklevelgen carnival
11:15:01thread_wait, why can I getVel for them but not setVel?
11:15:14raptorbecause the is the first iteration of the working Lua API
11:15:14bobdaduckIKR
11:15:23raptorand give us poor developers a break!
11:15:25raptor:)
11:15:35raptorwhat you should do
11:15:36bobdaduckIts like the devs didn't even consider that I wanted to make loadoutzone swords
11:15:39thread_..........................................fine
11:15:45raptoris conspire together
11:15:54raptoropen an issue on all the missing Lua API stuff
11:15:59raptorand add to it as you find it
11:16:34raptorplease
11:16:34bobdaduckGoalZone:setVel()
11:16:38raptorwhat
11:16:40raptorno
11:16:50bobdaduckMISSING FUNCTIONALITY.
11:17:00thread_i feel like that is wrong on many levels
11:17:36bobdaduckGoalZone:setVel() deserves your vote
11:17:38raptorbut i'm serious about opening the issue...
11:17:40bobdaducksetVel for president!
11:17:46raptorotherwise i'll forget
11:17:57thread_yes I will open an issue for the phasers.
11:19:00bobdaduckSoccerBallItem:setTeam()
11:23:58raptorwhat did one penny say to the other?
11:24:03thread_On another note, is there documentation on the levelgen class?
11:24:07raptorlet's get together and make some sense
11:24:48bobdaduckxD
11:25:11raptorthread_: yes, here it is in all it's glory: http://bitfighter.org/luadocs/class_lua_level_generator.html
11:25:27bobdaduckdag yo
11:25:33bobdaduckfo shizzle
11:25:38raptoras you can see... it needs work
11:25:46thread_its... empty
11:25:57raptoryup
11:27:54raptoryou can take a look at zap/luaLevelGenerator.cpp
11:28:00raptorin the source code
11:28:28raptori don't know why the documentation isn't being generated, but it's there on a lot of the methods
11:30:20thread_where is the source code at?
11:30:34bobdaduckwhere I linked you
11:30:39bobdaducksomewhere around there
11:30:40raptorhttp://code.google.com/p/bitfighter/source/browse/
11:30:46raptoryou can browser it
11:30:57raptorselect the 018a tag
11:31:13raptorotherwise you may see some stuff that's different than expected
11:33:51thread_sorry, but I don't see a luaLevelGenerator in the zap folder
11:34:19raptoruhh... google might only show the first 100 files. click 'next' somewhere..
11:35:12thread_ha, I feel smart :)
11:35:39raptorlook for LuaLevelGenerator::luaMethods
11:35:42raptorthat shows all of them
11:35:48raptorfor 018a
11:35:52raptorsome are deprecated
11:36:10raptorlike addWall and addLevelLine (so don't use them please)
11:36:58raptoroh and getGridSize
11:38:12thread_heh. Should I write all these down while I'm at it and post it in the forums somewhere?
11:40:18bobdaduckARG
11:40:24bobdaduckcannot add robot via levelgen
11:40:45raptornah
11:40:58raptori think they're all here: http://bitfighter.org/wiki/index.php/Scripting_018
11:41:02raptorand have been posted before
11:41:15raptorthat documentation needs to merge sometime (it's on the bug list)
11:41:47raptoroh wait... maybe the 'levelgen' stuff isn't there...
11:42:15raptorhere it is: http://bitfighter.org/wiki/index.php/Programming_levelgens
11:42:28raptorthat will have to go, too
11:42:42thread_make a ticket for it then?
11:43:56raptorsure
11:44:09raptorupdate/merge all documentation from here, here, and here...
11:45:17raptorthank you
11:48:10bobdaduck Quit (Remote host closed the connection)
11:56:17thread_done. ticket made
11:58:30raptorthanks!
12:52:36BFLogBot2 Commit: 608f184dd9bd | Author: buckyballreaction | Message: Fix Release build in vc++ generated files from CMake
13:05:06bobdaduck has joined
13:09:51LordDVG has joined
13:26:11bobdaduckhow do I run multiple levelgen scripts?
13:26:20bobdaduckOr how do I call a script from a script?
13:26:52raptoryou can specify one via global script in the INI
13:26:59raptorbut
13:27:09raptoryou can 'include' other scripts in Lua
13:28:41raptorat the top of a file do something like this: require "somescript"
13:28:41bobdaduckhow?
13:28:54bobdaduckSo if I use my phaser field script
13:29:02bobdaduckand then I do "require blizzard.levelgen"
13:29:06bobdaduckit would run both scripts?
13:29:10raptorrequire "blizzard"
13:29:22raptorno it doesn't run the 'requires'
13:29:30raptorit just makes the functions available
13:30:32bobdaduckHandy
13:30:40thread_which modules use energy fastest/
13:30:57bobdaduckshield is fastest
13:31:04bobdaduckfollowed by either boost or repair
13:31:14bobdaduckI think repair but you can double-tap boost
13:31:40raptorshield will be even faster in 019..
13:35:46BFLogBot2 Commit: 973b167093ba | Author: buckyballreaction | Message: CMake: Fix setting proper compile flags on specific configurations (works for both Windows and Linux now)
13:36:29-card.freenode.net- *** Looking up your hostname...
13:36:29-card.freenode.net- *** Checking Ident
13:36:30-card.freenode.net- *** Couldn't look up your hostname
13:36:38-card.freenode.net- *** No Ident response
13:36:44BFLogBot has joined
13:36:44Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
13:36:44Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 UTC 2013
13:36:44-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
13:48:48bobdaduckWell then, I'm gonna compile your helper functions into one script and just require it instead!
13:49:00bobdaduckAlso I'll release it on the forums, if you won't mind.
13:52:21raptoractually that's a good idea and what i had intended all along
13:52:29raptorsome sort of 'helper' library
13:55:21raptorhelper_functions
13:56:05thread_If I look at it sideways, my Lua code looks kind of like mountains! ^^
13:56:13bobdaduckrofl
13:56:24bobdaduckThat means you have too many tiered if statements.
13:56:34raptorwhitespace is your (future maintainers) friend!
13:57:32bobdaduck--This method does something!
13:57:50raptoris that one of mine or your comments?
13:57:57bobdaduckmine
13:57:59bobdaduckxD
13:58:01raptorheh
13:58:09raptora documentation placeholder..
14:00:44bobdaduckOkay hows this look
14:00:47bobdaduckhttp://pastie.org/7819590
14:01:34raptorfirst function has a spurious space at the start
14:01:36raptor:)
14:02:11raptorlooks good
14:06:30thread_ Quit (Ping timeout: 245 seconds)
14:13:34bobdaduckposted
14:47:44raptorwhat is the definition of a farmer?
14:48:07raptorsomeone who is outstanding in his field
14:48:32bobdaduckrofl
14:48:41bobdaduckdid grin.
14:48:58bobdaduckWhere you get the laughy taffy? Share?
14:49:08raptora coworker's desk
14:49:30bobdaduckShare?
14:50:06raptornot until matter-energy conversion and transportation has become ubiquitous in society
14:52:14bobdaduckpfffft
15:11:24fordcars has joined
15:16:03bobdaduckSup ford
15:24:01fordcarsnot the best
15:24:10bobdaduckaw, why?
15:24:22fordcarsa friend I had
15:35:23thread_ has joined
15:42:19raptorwatusimoto probably isn't coming back..
15:42:25raptortoday, i mean
15:49:47bobdaducklol
15:49:56LordDVG Quit (Remote host closed the connection)
15:52:37bobdaduck Quit (Remote host closed the connection)
15:53:27fordcarshi
16:18:54fordcarslater guys
16:23:10fordcars Quit (Ping timeout: 245 seconds)
16:36:56fordcars has joined
16:40:28thread_ has left
16:46:15raptor Quit ()
17:24:14CrazyLinuxNerd Quit (Quit: Leaving)
18:06:53sam686 has joined
18:06:54ChanServ sets mode +v sam686
18:20:48THREAD_ has joined
18:21:35THREAD_ is now known as thread_
18:22:32thread_ has left
19:57:20fordcars Quit (Ping timeout: 245 seconds)
20:46:41raptor has joined
20:46:41ChanServ sets mode +o raptor
20:47:48raptorbug fixin' time!
21:08:05BFLogBot Commit: 61aa8c97ee6f | Author: buckyballreaction | Message: Lua API: Add onPlayerTeamChanged event
21:20:55BFLogBot Commit: e80674565e3a | Author: buckyballreaction | Message: Turrets no longer target cloaked players carrying a ResourceItem. Fixes issue 198
21:44:06raptor Quit (Ping timeout: 264 seconds)
21:56:16raptor has joined
21:56:17ChanServ sets mode +o raptor
22:38:03bobdaduck_ has joined
22:38:03bobdaduck has joined
22:39:30raptorbobdaduck has forked
22:39:36bobdaduck Quit (Remote host closed the connection)
22:39:41bobdaduck_Too much spooning, definitely
22:39:47bobdaduck_ is now known as bobdadawk
22:42:30bobdadawksowait what?
22:45:33raptorhello
22:46:03bobdadawksup
22:49:32bobdadawkRe: OnPlayerScored event raptor: Yeah we just need playerInfo and scoreAmount.
22:49:33BFLogBot Commit: f99d7fb41ad7 | Author: buckyballreaction | Message: Add missing virtual destructors to TNL Address and Socket classes
22:49:36BFLogBot Commit: 8f6b68ad9d8f | Author: buckyballreaction | Message: Clean-up of the tnlUDP.h header
22:49:37BFLogBot Commit: 4923fd1e6122 | Author: buckyballreaction | Message: Add missing virtual destructors to a number of UI classes.. Maybe some weird editor crashes will disappear?
22:49:56raptorok
22:50:03raptorwhat about team?
22:51:17bobdadawkoh yeah, that too.
22:51:23bobdadawkThough, you could do getPlayerTeam
22:52:02raptoroh yeah
22:52:07raptorso not needed
22:52:12raptorwell
22:52:28raptormaybe it'd be simpler to provide the team
22:55:12bobdadawksimpler yes
23:05:33BFLogBot Commit: 97c642d4e055 | Author: buckyballreaction | Message: Missed one
23:20:16raptorheading to bed
23:20:18raptornight!
23:20:20bobdadawknight
23:20:24BFLogBot Commit: bb1d13f71d13 | Author: buckyballreaction | Message: Remove debug compiler flag
23:20:44raptor Quit ()
23:23:44bobdadawk Quit (Remote host closed the connection)
23:31:48ozbitfighter has joined
23:33:45ozbitfighter Quit (Client Quit)

Index Search ←Prev date Next date→

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