code logs -> 2009 -> Sat, 15 Aug 2009< code.20090814.log - code.20090816.log >
--- Log opened Sat Aug 15 00:00:28 2009
00:04
<@McMartin>
(Ceilingcat is watching you deallocate)
00:12 You're now known as TheWatcher[zZzZ]
00:22
<@SmithKurosaki>
<McMartin> (Ceilingcat is watching you deallocate
00:27
<@McMartin>
Mmmnyes?
00:53
<@Vornicus>
My brother has a Garmin GPS. He calls is San Diego.
01:58
< Consul>
Derakon[AFK]: I have a question for you when you get back. :-P
02:38
<@SmithKurosaki>
It was extremely amusin
03:02 Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout]
03:04 Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code
03:49 Attilla [~The.Attil@92.16.127.ns-3667] has quit [Quit: ]
04:04 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
04:04 mode/#code [+o gnolam] by ChanServ
05:07 Derakon[AFK] is now known as Derakon
05:36
< Consul>
There you are...
05:36
<@Derakon>
Yeah, I've been busy today. What's up?
05:36
< Consul>
Weapon sounds...
05:36
<@Derakon>
Ahh.
05:37
< Consul>
What kind of weapons will Jetblade feature?
05:37
<@Derakon>
The plan is for a mix of melee and sci-fi ranged.
05:37
< Consul>
Actually, I'll BRB...
05:37
<@Derakon>
The protagonist gets blades on his limbs that he can hit with, but he starts out without them so it's fists and feet.
05:40
< Consul>
For me, that means meat and a baseball bat. :-)
05:40
<@Derakon>
Heh. Have fun.
05:40
< Consul>
So I'll want some air-swoosh kind of sounds, too?
05:40
<@Derakon>
Yeah, might be a good idea.
05:40
<@Derakon>
I've never done sound design.
05:41
< Consul>
Well, you still have a good idea what things will need to make sounds.
05:41
<@Derakon>
If you want to trigger a sound effect, put the sound in data/sfx and then call game.soundManager.playSound('soundname.ogg').
05:42
<@Derakon>
And you can, in the current version, get into a fight with a very stupid but nevertheless effective opponent, and either of you can die (with zero fanfare).
05:43
< Consul>
Are you still planning a round-robin sound switcher like we discussed?
05:43
<@Derakon>
Oh, yeah, yeah, that's planned (though I'd forgotten it). It's not yet implemented though.
05:43
< Consul>
I'll just worry about recording for now.
05:43 * Derakon nods.
05:44
< Consul>
I'm going to try to get various footfalls this weekend.
05:44
<@Derakon>
Cool.
05:44
<@Derakon>
I'll have to add a playFootFall to TerrestrialObject and a FootfallSfx field to Block objects.
05:44
< Consul>
So, I take it laser weapons make an appearance? I have my slinky and a contact mic at the ready. :-)
05:44
<@Derakon>
Not gonna be this weekend though; my brother's getting married so my dev time is limited.
05:45
<@Derakon>
Hee.
05:45
<@Derakon>
Lasers or some generic blaster or whatever; it's planned but only fuzzily.
05:45
<@Derakon>
Of course, we can give whatever we want to the opponents.
05:45
< Consul>
Maybe a light saber type sound as well?
05:45
<@Derakon>
Hrm...hadn't planned anything along those lines, but if you want to, by all means. I'm sure we can find a use.
05:46
< Consul>
Just as well. Light saber sounds are actually hard to do.
05:47
<@Derakon>
It's surprising sometimes what is and isn't easy.
05:47
< Consul>
Burtt's original solution was bloody ingenious.
05:48
<@Derakon>
What was it?
05:48
< Consul>
He had a tape loop of the basic hum sound. To get the doppler effect from the swinging, he attached a mic to a saber-like pole, then swung it around in front of a speaker playing the basic hum, in syn with the film.
05:49
< Consul>
sync*
05:49
<@Derakon>
Hah! Nice.
05:49 * Rhamphoryncus types in a random hg command, hopes it's the right one.. given his history of cvs, svn, bzr, and git...
05:49
< Rhamphoryncus>
hmm says to run hg update. Sure, I'll try that!
05:56
< Consul>
Anyway, off to bed for me. Night!
05:57
<@Derakon>
Night, Consul. Sleep well.
05:57
< Consul>
Tomorrow is a busy day. Cleaning and detailing the cars. DIY.
05:57
<@Derakon>
Heh.
05:58
<@Derakon>
Tomorrow my brother gets married.
05:58
< Consul>
Ooh, have fun!
05:58
<@Derakon>
I plan to!
05:58
<@Derakon>
Though the one-hour drive to and from the location isn't so great.
05:59
< Rhamphoryncus>
Derakon: I can't get it to run. I installed the cython package, now I get "error: Cython does not appear to be installed on platform 'posix'"
06:00
<@Derakon>
Ergh, I got that a lot too...lemme try to remember how I fixed it.
06:00
<@Derakon>
Are you running Jetblade with the same python you installed Cython under?
06:00
< Rhamphoryncus>
just tried python 2.6 as well as python 2.5
06:01
< Rhamphoryncus>
2.6 gives a slightly different error
06:02
<@Derakon>
The shebang is for /usr/local/bin/python2.5, though I recognize many people won't actually have that installed.
06:02
<@Derakon>
What's 2.6's error?
06:02
< Rhamphoryncus>
/var/lib/python-support/python2.6/pyximport/pyximport.py:23: DeprecationWarning: the md5 module is deprecated; use hashlib instead
06:03
< Rhamphoryncus>
import imp, ihooks, glob, md5
06:03
< Rhamphoryncus>
error: Cython does not appear to be installed on platform 'posix'
06:03
<@Derakon>
Heh. That's the same error, but with an added deprecation warning for more fun.
06:03
< Rhamphoryncus>
yeah, at first I edited it to be /usr/bin/python2.5, then I switched to giving python2.5 on the command line and reverted the shebang
06:03
<@Derakon>
Damn...I had to do a bunch of little tweaking to get it working, but I can't remember what it involved.
06:04
<@Derakon>
Hrm...did Cython install properly? ISTR it might need a special directory made for it.
06:04
< Rhamphoryncus>
no freaking clue. I installed the package
06:04 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:05
<@Derakon>
Ah. I installed from source.
06:07
<@Derakon>
Man, I just can't brain right now.
06:07
<@Derakon>
I spent like four and a half hours driving today.
06:07
<@Derakon>
Sorry. :\
06:08
< Rhamphoryncus>
wtf is giving that error message..
06:08
<@Derakon>
I recall it being distinctly unhelpful.
06:13
< Rhamphoryncus>
aha, found the fucker. It's a multiline string
06:14
<@Derakon>
Ahh, naturally.
06:14
< Rhamphoryncus>
if PyrexError == None:
06:14
< Rhamphoryncus>
raise DistutilsPlatformError, \
06:14
< Rhamphoryncus>
("Cython does not appear to be installed "
06:14
< Rhamphoryncus>
"on platform '%s'") % os.name
06:15
< Rhamphoryncus>
and that's a delayed error because.. some part of Cython couldn't be imported
06:16
<@Derakon>
Sounds like an installation failure, then.
06:16
<@Derakon>
IIRC I had to manually make a directory somewhere in /usr for it when I installed...though my brain could be lying to me.
06:16
< Rhamphoryncus>
sounds like.. isn't
06:17
< Rhamphoryncus>
File "/home/rhamph/src/jetblade/animationmanager.py", line 5, in <module>
06:17
< Rhamphoryncus>
from vector2d import Vector2D
06:17
< Rhamphoryncus>
ImportError: No module named vector2d
06:17
<@Derakon>
It says that because vector2d hasn't been compiled yet.
06:17
< Rhamphoryncus>
WOOOHOO! GO PYTHON! Miserable import fucker!
06:17
< Rhamphoryncus>
you named a module "platform"
06:17
<@Derakon>
Oh, that's right!
06:17
<@Derakon>
Yeah, that should be gone now.
06:17
<@Derakon>
Renamed it to floatingplatform
06:18
< Rhamphoryncus>
I just did a hg pull and hg update
06:18
<@Derakon>
I guess hg update doesn't delete the old versions of moved files? *blink*
06:18
< Rhamphoryncus>
said it did
06:18
<@Derakon>
Oh, but the pyc file was still there.
06:18
<@Derakon>
And that's enough to import off of.
06:18
< Rhamphoryncus>
was just gonna say that
06:18
< Rhamphoryncus>
yup
06:18
<@Derakon>
Bloody things...
06:19
< Rhamphoryncus>
/home/rhamph/src/jetblade/vector2d.c:3802: warning: implicit declaration of function 'PyBool_CheckExact'
06:19
< Rhamphoryncus>
lead to
06:19
< Rhamphoryncus>
ImportError: /home/rhamph/src/jetblade/_pyxbld/lib.linux-x86_64-2.5/vector2d.so: undefined symbol: PyBool_CheckExact
06:19
<@Derakon>
Okay, I haven't seen that one before.
06:19
<@Derakon>
Sounds like your gcc is more strict than mine.
06:20
< Rhamphoryncus>
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
06:20
<@Derakon>
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
06:21
<@Derakon>
Looks like http://trac.cython.org/cython_trac/ticket/134
06:22
<@Derakon>
Or http://www.mail-archive.com/cython-dev@codespeak.net/msg04592.html
06:22
< Rhamphoryncus>
Cython version 0.10.3
06:22
<@Derakon>
Use 0.11, or I can change bool to bint.
06:25 * Derakon taps his foot while Mercurial figures out what files he's changed.
06:25
< Rhamphoryncus>
from vector2d cimport Vector2D
06:25
< Rhamphoryncus>
from vector2d import Vector2D
06:25
< Rhamphoryncus>
^
06:25
< Rhamphoryncus>
------------------------------------------------------------
06:25
< Rhamphoryncus>
/home/rhamph/src/jetblade/polygon.pyx:5:21: Assignment to non-lvalue 'Vector2D'
06:26
< Rhamphoryncus>
changed it to bint myself
06:26
<@Derakon>
...okay, that's just weird.
06:26
< Rhamphoryncus>
Is there supposed to be two imports? What's it mean?
06:27
<@Derakon>
Going off of http://docs.cython.org/docs/sharing_declarations.html , cimport only grabs C data types/functions/variables, so if you want to grab both those and Python types you need both statements.
06:28
<@Derakon>
For example, the PerimeterOrder and NEWSPerimeterOrder variables in vector2d.pyx are pure Python.
06:28
<@Derakon>
...okay, I seem to be unable to push the bint change...getting HTTP errors / broken pipes. Bah.
06:30
< Rhamphoryncus>
works with the second import commented out
06:31
<@Derakon>
What the Christ. Okay, I've made a note. Thanks.
06:32
< Rhamphoryncus>
my impression is you only need the normal import for the python objects.. or, from the bottom of that doc page, python methods on a C object
06:32
< Rhamphoryncus>
I don't think either apply
06:32
<@Derakon>
Yeah, but on the off-chance that I did need to import a Python object, adding the import statement seemed harmless...
06:33
< Rhamphoryncus>
should be
06:33
< Rhamphoryncus>
may be new in 0.11
06:33
< Rhamphoryncus>
hee, I got stuck!
06:33
<@Derakon>
Fortunately this is only an issue in Cythonized modules.
06:33
< Rhamphoryncus>
wait, it actually hung
06:33
<@Derakon>
Accessibility code hasn't been touched in over a month now.
06:34
<@Derakon>
And I think I took out the "whoops, you're stuck, better zip you" code when I refactored physics.
06:34
< Rhamphoryncus>
tried to pull up onto a 1-wide ledge only 2-tall. Not enough room to stand up so it put me lower down, crawling, halfway in a wall.. then hung
06:34 * Derakon nods.
06:34
<@Derakon>
Forced-crawling code is also badly in need of updating.
06:34
< Rhamphoryncus>
File "/home/rhamph/src/jetblade/quadtree.py", line 163, in runTerrainCollisionDetection
06:34
< Rhamphoryncus>
game.map.collideObject(object)
06:34
< Rhamphoryncus>
File "/home/rhamph/src/jetblade/map.py", line 1079, in collideObject
06:34
< Rhamphoryncus>
lowerRight = poly.lowerRight.add(loc).toGridspace().add(Vector2D(2, 2))
06:34
< Rhamphoryncus>
KeyboardInterrupt
06:35
<@Derakon>
I've mostly been testing enemy logic in the handwritten arena map (data/mapgen/maps/arena.map).
06:35
<@Derakon>
Which is a very boring place.
06:36
< Rhamphoryncus>
bluh, hung it again. Oh well.
06:37
<@Derakon>
Yeah, it just needs to zip you if you get stuck, and then instead of hanging you'll get a nonfatal glitch.
06:37
< Rhamphoryncus>
shouldn't get stuck in the first place.. but that's just me ;)
06:38
<@Derakon>
Yup.
06:38
<@Derakon>
In other words, when you fail, which you shouldn't, you should fail gracefully. :)
06:38
< Rhamphoryncus>
well, true
06:39 * Rhamphoryncus concedes defeat ;)
06:39
<@Derakon>
There's a bunch of hard problems, and I only have so much attention to devote to the project.
06:41 * Rhamphoryncus nods
06:45 Vornicus is now known as Vornicus-Latens
06:48 Derakon is now known as Derakon[AFK]
06:53 Alek [~omegaboot@Nightstar-7016.dsl.emhril.sbcglobal.net] has joined #code
06:58 Alek [~omegaboot@Nightstar-7016.dsl.emhril.sbcglobal.net] has left #code []
09:21 You're now known as TheWatcher
12:06 Attilla [~The.Attil@92.16.127.ns-3667] has joined #code
12:06 mode/#code [+o Attilla] by ChanServ
12:13 Rhamphoryncus [~rhamph@Nightstar-16476.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
12:18 Reiver [~reaverta@Admin.Nightstar.Net] has quit [Ping Timeout]
13:24 Thaqui [~Thaqui@121.98.166.ns-22683] has quit [Client exited]
13:27 Reiver [~reaverta@Nightstar-24006.xdsl.xnet.co.nz] has joined #Code
13:27 mode/#code [+o Reiver] by ChanServ
13:30 Reiver [~reaverta@Nightstar-24006.xdsl.xnet.co.nz] has quit [Ping Timeout]
13:34 Reiver [~reaverta@Admin.Nightstar.Net] has joined #Code
13:34 mode/#code [+o Reiver] by ChanServ
13:37 Reiver [~reaverta@Admin.Nightstar.Net] has quit [Ping Timeout]
13:47 Vornicus-Latens [~vorn@ServicesOp.Nightstar.Net] has quit [Quit: Leaving]
13:48 Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code
13:48 mode/#code [+o Vornicus] by ChanServ
13:54 Reiver [~reaverta@Nightstar-24006.xdsl.xnet.co.nz] has joined #Code
13:54 mode/#code [+o Reiver] by ChanServ
14:02 You're now known as TheWatcher[afk]
14:24 Reiver [~reaverta@Nightstar-24006.xdsl.xnet.co.nz] has quit [Ping Timeout]
14:27 Reiver [~reaverta@Nightstar-24006.xdsl.xnet.co.nz] has joined #Code
14:27 mode/#code [+o Reiver] by ChanServ
15:03 Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout]
15:06 Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code
16:06 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:07 Syloqs_AFH is now known as Syloqs-AFH
16:55 You're now known as TheWatcher
17:22 Derakon[AFK] is now known as Derakon
19:35 Derakon is now known as Derakon[AFK]
20:26 Namegduf [~namegduf@Nightstar-7714.148.broadband5.iol.cz] has quit [Ping Timeout]
20:36 Namegduf [~namegduf@Nightstar-9056.infra.grepnet.cz] has joined #code
20:52 Namegduf [~namegduf@Nightstar-9056.infra.grepnet.cz] has quit [Ping Timeout]
21:06 Namegduf [~namegduf@Nightstar-9056.infra.grepnet.cz] has joined #code
21:10 Namegduf [~namegduf@Nightstar-9056.infra.grepnet.cz] has quit [Ping Timeout]
21:13 Namegduf [~namegduf@Nightstar-7714.148.broadband5.iol.cz] has joined #code
21:25 Rhamphoryncus [~rhamph@Nightstar-16476.ed.shawcable.net] has joined #code
21:40 Vornicus [Vornicus@Admin.Nightstar.Net] has quit [Quit: ]
--- Log closed Sun Aug 16 00:00:42 2009
code logs -> 2009 -> Sat, 15 Aug 2009< code.20090814.log - code.20090816.log >