code logs -> 2009 -> Fri, 06 Feb 2009< code.20090205.log - code.20090207.log >
--- Log opened Fri Feb 06 00:00:28 2009
00:00
<@TheWatcher>
Okays, unpacked...
00:02
<@TheWatcher>
And it works.
00:02
<@TheWatcher>
Going to have a mess around, but it seems to be running fine
00:02
<@Derakon>
Yaaaaay!
00:03
<@Derakon>
Three main things: does it run on default settings? Do changes to the config stick? Do high scores stick?
00:03
<@Derakon>
By "run on default settings" I mean, is it playable without changing the controls.
00:04
<@TheWatcher>
No, it doesn't
00:04
<@Derakon>
What happens?
00:04
<@TheWatcher>
It works if I rebind the controls, controls I haven't rebound don't appear to do anything
00:04
<@Derakon>
Dammit, I could swear I fixed that...
00:04
<@TheWatcher>
ouch
00:04
<@McMartin>
Runs in VMware >_>
00:05
<@TheWatcher>
one sec
00:05
<@Derakon>
Hee.
00:05
<@McMartin>
Quit/Restart fixed the rebind problem.
00:05
<@TheWatcher>
I just tried to rebing up and it quit
00:05
<@TheWatcher>
trying to reproduce it
00:08
<@TheWatcher>
what's your config file called?
00:08
<@Derakon>
.bmlconfig.txt
00:08
<@Derakon>
...and the scorefile is .bmlscores.xml, that's silly. It's not XML!
00:09
<@TheWatcher>
hmm
00:09
<@TheWatcher>
traceback coming in pm
00:12
<@McMartin>
Suggestion for nag screen: put it at the end, not the beginning.
00:12
<@McMartin>
Or when they hit "register".
00:12
<@McMartin>
Put "demo version" in the corner or something.
00:12 * McMartin is using Aquaria as his example of excellence here =)
00:12
<@Derakon>
You mean, when they quit instead of when they start?
00:12
<@McMartin>
Yeah.
00:12
<@McMartin>
Alternately, have a counter that makes the nag screen go away after N runs.
00:13 * Derakon nods.
00:13
<@Derakon>
I plan to do a fullscreen ad when they quit if they aren't registered.
00:13
<@Derakon>
But IMO giving them the register dialog on quit is just weird.
00:13
<@McMartin>
Yeah. I'd say, leave it at that and otherwise only pop the reg screen if they try to run an reg-required course.
00:13
<@Derakon>
Since if they want to reg, they then have to quit the app to do so.
00:13
<@McMartin>
Hm, point.
00:13
<@McMartin>
I like the "have a button to click to get info on how to register" thing though.
00:14 * McMartin watches his computer explode
00:14
<@Derakon>
The reg dialog will be more helpful once I have a website~
00:14
<@Derakon>
...uh, in a good way or a bad way?
00:14 * McMartin goes to quietly reverse a test that he got backwards.
00:14
<@McMartin>
bad. App fork bombed itself.
00:14 * Derakon chokes.
00:14
<@McMartin>
The "should I stay where I am" test was backwards >_>
00:15
<@McMartin>
The hilarious thing is that this would have failed more concisely in release mode.
00:15
<@McMartin>
Because it would have decided it needed to make more kids, but the test was backwards so it would just run as one.
00:15
<@McMartin>
But for debug, the target number was one, so...
00:16
<@Derakon>
Okay, that should put paid to the binding issue.
00:17
<@Derakon>
The default controls were a map of strings (action names) to ints (character codes).
00:17
<@Derakon>
The controls loaded from the file were a map of strings to strings.
00:17
<@Derakon>
Same actual values, but failing equality tests.
00:28
<@Derakon>
Hm. May have to change the default controls.
00:28
<@Derakon>
Holding left, up, and inflect at the same time causes up to be ignored.
00:29
<@Derakon>
(In Windows)
00:31 * Derakon quietly replaces beta1 with a version that fixes the controls bug.
00:31
<@Derakon>
I think it's time to announce it~
00:42
<@Derakon>
Okay, now I really must start working on a website to host things. At bare minimum I'll need a forum for coordinating beta testing, and I should set up a mod DB as well.
00:42
<@Derakon>
I want to encourage more courses ASAP so that there's more incentive to register~
01:02 You're now known as TheWatcher[T-2]
01:05 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
01:08 You're now known as TheWatcher[zZzZ]
01:26 Tarinaky [~Tarinaky@88.83.110.ns-10776] has quit [Ping Timeout]
02:07 * McMartin bluescreens his guest OS.
02:08
<@McMartin>
Driver development! Not for the faint of heart.
02:08
<@gnolam>
Or Creative Labs.
02:09 * McMartin fixes some constants, wins
02:09
<@McMartin>
Derakon: that's not "in windows"
02:09
<@McMartin>
That's a quirk of the keyboard you're using.
02:10
<@McMartin>
Most keyboards have arbitrary keychords they refuse to send
02:10
<@gnolam>
Not so much refuse to send as "can't detect".
02:10
<@gnolam>
Depending on how their key matrices are laid out.
02:16
<@Derakon>
McM: Oh? Thought it was an OS limitation. My bad.
02:17
<@Vornicus>
it's actually a very very old limitation.
02:17
<@Derakon>
One you'd think would have been fixed ages ago.
02:17
<@Vornicus>
Input buffers, etc. It predates /computers/.
02:18 * Derakon prods Vorn to download the beta.
02:18
<@Vornicus>
Windows beta?
02:18
<@Derakon>
Yes.
02:18
<@Vornicus>
Where?
02:18
<@Derakon>
Check LJ.
02:18 * Vornicus just got here.
02:19
<@Derakon>
http://derakon.dyndns.org/~chriswei/temp/bulletml-beta1.zip
02:19
<@Derakon>
LJ has the reg code.
02:19 * Vornicus downloadies.
02:20
<@Vornicus>
For the record my computer is positively ancient.
02:20
<@Derakon>
Define "ancient"?
02:20
<@Vornicus>
Built in 2000.
02:21
<@Vornicus>
Can just barely handle Total Annihilation at 1280x1024 at 10fps.
02:21
<@Derakon>
Hm.
02:21
<@Derakon>
You will probably experience some slowdown then. Let me know how bad it is.
02:21
<@Vornicus>
checkerooni.
02:24 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
02:26
<@Vornicus>
I'm getting 5fps on the title screen with Fan Dance going.
02:26
<@Derakon>
That is...suboptimal.
02:26
<@Derakon>
What happened to your Mac, anyway?
02:28
<@Vornicus>
Heat.
02:28
<@Derakon>
Ack.
02:28
<@Vornicus>
It can't go for more than ten minutes without hitting 60C; it hits 80 and automatic shutdown in about half an hour.
02:28
<@Vornicus>
I get about 10FPS in-game on beginner loop 0.
02:29
<@Vornicus>
And if that's "beginner" I'll eat my hat.
02:29
<@Derakon>
So shouldn't you be able to just replace the fan?
02:29
<@Vornicus>
Der: the fan is running.
02:29
<@Derakon>
Heh.
02:29
<@Vornicus>
The air is coming out cool.
02:29
<@Derakon>
...weird.
02:29
<@Derakon>
So the thermometer is broken?
02:29
<@Vornicus>
I don't know.
02:30
<@Vornicus>
It may be that the thermal paste dried up and so the heat sink isn't sinking heat.
02:31
<@Vornicus>
Uh.
02:32
<@Vornicus>
I seem to be missing Instructions. How do I inflect?
02:32
<@Derakon>
Default key is apostrophe.
02:32
<@Derakon>
You can reconfigure in the options page.
02:32
<@Vornicus>
aha
02:36 * Vornicus sucks even worse when he tries inflecting...
02:37
<@Derakon>
That is rather the idea. Inflecting makes patterns that would ordinarily be easy significantly harder.
02:42 * Derakon adds the ability to pause.
02:43
<@Derakon>
Currently I've bound that to the Escape key; should that button be rebindable?
02:52
<@Derakon>
Blah. I need to highlight the most recent score in the highscores table. My options are: go through everywhere I've called drawText and replace alphas with RGBA colors; add yet another argument to drawText for the color (leaving alpha as is); find some non-color way to indicate the score.
02:55
<@Derakon>
...I have 33 calls to drawText in my code. ;.;
02:56
<@Vornicus>
Pause? I don't think so.
02:56
<@Vornicus>
esc seems a good spot for it.
03:09
<@Derakon>
...my attempt at "gold" came out more "piss yellow".
03:09
<@Derakon>
http://derakon.dyndns.org/~chriswei/temp2/scores.png
04:15 Derakon is now known as Derakon[DDR]
05:04 Derakon[DDR] is now known as Derakon[showah]
05:23 Derakon[showah] is now known as Derakon
05:29
<@Derakon>
...well, I feel terrible about that.
05:30
<@Derakon>
Several people have reported a bug wherein attempting to rebind keys causes the game to crash.
05:30
<@Derakon>
I've traced this down to the code that does surface fading.
05:30
<@Derakon>
But I don't know why it's happening, since it's very inconsistent. My repro case involves mashing buttons.
05:30
<@Derakon>
So I just slapped a try/catch block around the thing, so if an exception gets thrown, the text just doesn't draw for one frame. This has fixed the crash, but it's ugh such a hideous hack.
05:54
<@Derakon>
...I now have a loop wrapped around code that might except, so that it keeps trying until it works. ;.;
05:55
<@Derakon>
Actually, best to just return quietly if there's an exception. Not drawing for one frame is better than (potentially) looping infinitely.
06:58 UndeadAnno [~farkoff@Nightstar-29373.neoplus.adsl.tpnet.pl] has joined #Code
06:58 mode/#code [+o UndeadAnno] by ChanServ
07:47 Derakon is now known as Derakon[AFK]
08:03 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Quit: ]
09:08 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
09:08 mode/#code [+o Attilla] by ChanServ
09:34 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
09:34 mode/#code [+o gnolam] by ChanServ
09:46 You're now known as TheWatcher
10:51 Consul [~consul@Nightstar-541.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
10:54 Consul [~consul@Nightstar-541.dsl.sfldmi.ameritech.net] has joined #code
10:55 mode/#code [+o Consul] by ChanServ
11:05 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
12:19 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
12:21 gnolaptop [~lenin@Nightstar-23533.netlogon.liu.se] has joined #Code
12:23
< gnolaptop>
Beautiful and expensive Orange Boxes - FOR EVERYONE
12:24
<@TheWatcher>
but.. but... the Orange Box is only 17 quid....
12:25
< gnolaptop>
Pfft.
12:26
< gnolaptop>
(We were expecting just vanilla HL2. Instead, the client is getting us the Orange Box.)
12:26 * TheWatcher laughs
12:29 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
12:29 mode/#code [+o Attilla] by ChanServ
13:12 gnolaptop [~lenin@Nightstar-23533.netlogon.liu.se] has quit [Ping Timeout]
13:13 gnolaptop [~lenin@Nightstar-23533.netlogon.liu.se] has joined #Code
13:43 gnolaptop [~lenin@Nightstar-23533.netlogon.liu.se] has quit [Quit: Blargh]
14:19 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Connection reset by peer]
14:19 Attilla_ [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
14:48 UndeadAnno [~farkoff@Nightstar-29373.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:06 KBot [AnnoDomini@Nightstar-29780.neoplus.adsl.tpnet.pl] has joined #Code
15:07 UndeadAnno [~farkoff@Nightstar-29780.neoplus.adsl.tpnet.pl] has joined #Code
15:07 mode/#code [+o UndeadAnno] by ChanServ
15:09 KBot is now known as KarmaBot
16:24 Attilla_ [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Ping Timeout]
16:26 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
16:26 mode/#code [+o Attilla] by ChanServ
16:52 Derakon[AFK] is now known as Derakon
17:18 You're now known as TheWatcher[afk]
18:21
<@gnolam>
http://www.cyd.liu.se/~torha229/temp/SRV-2000.jpg <- note the manufacturer's name. I'm very tempted to sneak some samples from GLaDOS into the project. :)
18:28 * Derakon scores a whopping zero points in 7.64 seconds. Woot.
18:56 You're now known as TheWatcher
19:28
<@Derakon>
Aghlblarghlbal.
19:28
<@Derakon>
Declaring a list in Python, and then accidentally putting a comma after the closing ] changes the type into a tuple containing a list.
19:29
<@McMartin>
Only if it's also in parentheses!
19:29
<@Derakon>
self.errorText = ['Yadda', 'yadda', 'yadda'],
19:30
<@Derakon>
That was causing an error when I passed it to my drawText function. Because of the comma, I was passing in (['Yadda', 'yadda', 'yadda']) instead of the plain list.
19:30
<@McMartin>
Huh.
19:30
<@McMartin>
Oh right, Print.
19:31
<@Derakon>
...I assume, then, that this is fixed in Python 3.0 which no longer treats print as its own special unique flower?
19:31
<@McMartin>
Posssibly, but unsure
19:31
<@McMartin>
print is just the place where you usually use this
19:31
<@ToxicFrog>
19:31
<@ToxicFrog>
How does that even work?
19:32
<@Derakon>
I don't know!
19:32
<@McMartin>
But there's still an ambiguity between (x) - which is x, in parentheses - and (x,), which is a 1-tuple containing x.
19:32
<@McMartin>
This is ugly but you have to do *something* to separate the two.
19:32
<@Derakon>
But bereft of parens, the comma should be a syntax error.
19:32
<@McMartin>
Right.
19:32
<@Derakon>
We're talking the difference between "x" and "x,".
19:32
<@McMartin>
The "oh right print" is because "print x" is printing x and a new line and "print x," is printing x and space
19:33 * Derakon refactors all of his various pages/dialogs into separate classes.
19:34
<@Derakon>
(And thus moves some text from being just in the call to drawText, to being member fields. Hence the bug)
19:38 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Ping Timeout]
19:38 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
19:38 mode/#code [+o Attilla] by ChanServ
19:43
<@Derakon>
Hrm...wonder if it's worth the effort of supporting pasting from the clipboard.
19:43
<@Derakon>
It'd be a different solution for each OS.
19:49
<@McMartin>
What would be being pasted in?
19:50
<@McMartin>
(Also, Bigspiral-4, 43,286)
19:50
<@McMartin>
(I hereby dub pinwheel2 "whiplash")
19:50
<@Derakon>
McM: registration code.
19:52 * Derakon ponders extra modes.
19:52
<@Derakon>
Inflector locked on.
19:52
<@Derakon>
No frame limiting (game runs as fast as possible)
19:53
<@Derakon>
How about a mode where you try to get as many bullets into stable orbit as possible? Every five seconds or so a bullet is fired at you and you have to keep every bullet a) from hitting you, b) from leaving the screen, and c) from leaving the influence of your inflector.
19:53
<@Derakon>
That'd be completely outside the course/pattern paradigm, of course.
19:55
<@McMartin>
Heh. That sounds more like a free-play mode
19:55
<@McMartin>
Speaking of
19:55
<@McMartin>
The inflector oughta have a minimal build rate maybe?
19:55
<@McMartin>
As it is there's no one-up mechanism that isn't "die like crazy"
19:56
<@Derakon>
Are you saying that the inflector being on, alone, should always increase the meter at least a little?
19:56
<@Derakon>
Or that it builds too slowly when bullets are further away?
19:56
<@Derakon>
Charge speed decreases with the square of range, as does the influence of the inflector. I could make that linear instead.
20:00
<@McMartin>
I was saying the former, but it translates to the latter.
20:11
<@Derakon>
It's been less than 24 hours since beto1 went out and my changelist has 10 items on it so far~
20:11
<@McMartin>
My point is actually a balance issue, not a bug per se
20:11
<@McMartin>
Also, I can't replicate the controls screwup for some reason
20:11
<@Derakon>
Mash buttons, wiggle joystick~
20:11
<@McMartin>
Also also, it fails horribly if your screen is 800x600~
20:12
<@Derakon>
...
20:12
<@Derakon>
Yes, it would.
20:12
<@McMartin>
... and possibly if it's 1024x768; how tall is the window?
20:12
<@Derakon>
650.
20:12
<@McMartin>
OK, that should be fine, then.
20:12
<@McMartin>
Fullscreen will be wacky on 4:3, of course.
20:12
<@Derakon>
And it occurs to me that the game is not resolution-independent in the slightest.
20:14
<@McMartin>
... it's not?
20:14
<@McMartin>
How are you doing the demo screen?
20:14
<@Derakon>
I meant in the sense of displaying more stuff on larger screens.
20:14
<@Derakon>
Which would change the game balance.
20:14
<@McMartin>
Oh. Right.
20:14
<@Derakon>
I could of course scale things up/down.
20:14
<@Derakon>
As I am for the demoscreen.
20:38
<@Derakon>
Hm. Falloff is linear. I can increase the strength of the inflector though.
20:38
<@Derakon>
("is linear" i.e. "always has been linear")
20:41 * Derakon coughs. http://derakon.dyndns.org/~chriswei/temp2/whoops.png
20:41
<@UndeadAnno>
IT'S UNDER 0!
20:42
<@Derakon>
Hm. Alternate game mode: deflector.
20:42
<@Derakon>
Works just like the inflector in reverse, but penalizes your score and bomb count when used, instead of improving them.
20:43 * TheWatcher approves of this idea
20:52
<@Derakon>
McM -- what's required to run Pygame without a parent console window in Windows?
20:53
<@McMartin>
I'm not sure offhand.
20:53
<@McMartin>
What happens if you rename the main .py to ".pyw"?
20:53
<@McMartin>
Otherwise it's some switch.
20:53
<@McMartin>
Generally the way you do this in a Python install is to run Pythonw.exe instead of Python.exe
20:53
<@McMartin>
Which disconnects the console
20:54
<@McMartin>
Note that it *disconnects* it, it does not send it to /dev/null
20:54
<@McMartin>
stdout will not exist
20:54
<@Derakon>
Causing an error if printed to?
20:54
<@McMartin>
yup
20:54
<@Derakon>
I can live with that.
20:55
<@McMartin>
I don't know how to make py2exe do that though
20:57
<@Derakon>
Given that running py2exe involves telling it the name of the "root" script, I don't think that'll be a problem.
20:57
<@Derakon>
I just need to get the most recent version of the game transferred over...
21:02
<@Derakon>
Argle bargle fargle stupid "hide file extensions" defaults to on who the bloody hell thought that was a good idea rasser frassin' OS...
21:02
<@Derakon>
My file is not makeexe.py.txt!
21:04 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
21:09
<@Derakon>
Switching to pyw didn't change it. :\
21:10
<@Derakon>
I mean, if I run it directly, it works fine, but py2exe still generates the console window.
21:13
<@Derakon>
Ahh, there we go.
21:18 * ToxicFrog implements CLOSURE(LR-item-set)!
21:19 * Derakon releases beta-2.
21:19
<@Derakon>
Windows: http://derakon.dyndns.org/~chriswei/temp/bulletml-beta2.zip
21:19
<@Derakon>
Mac: http://derakon.dyndns.org/~chriswei/temp/bulletml-beta2.tgz
21:20 * TheWatcher downloadies
21:27
<@UndeadAnno>
Hooge.
21:27
<@Derakon>
It's only 23MB~
21:27
<@Derakon>
About half of which is the explosion graphic.
21:29
<@UndeadAnno>
I gather.
21:29
<@UndeadAnno>
I didn't expect you to use a fuzzy-neural AI in that.
21:29
<@Derakon>
Heh.
21:35
<@TheWatcher>
Minor niggle - the binary is back to being 'bulletml.exe' again
21:35
<@UndeadAnno>
I heard from a buddy of mine that he got to play a game of cross and circle (dunno what's in called in English, it's a connect 3 on a 3x3 grid) with an adaptive AI. The first couple of games, it was easy to win, but as you played, a certain file got bigger and bigger, and before you knew, it was only possible to draw or lose.
21:35
<@Derakon>
TW: whoops.
21:36
<@Derakon>
Anno: in the USA we call that "tic-tac-toe", and no, I don't know why.
21:37
<@UndeadAnno>
How I shot bullet?!
21:37
<@Derakon>
Tsk. How violent.
21:37
<@Derakon>
Your ship is peaceful, maaan.
21:38 * Derakon ponders billing Fusillade as a protest game~
21:38
<@UndeadAnno>
...I had no idea.
21:39
<@Derakon>
Fusillade is all about dodging.
21:39
<@Derakon>
I view it as being the logical progression of the "bullet hell" genre, in which you can shoot, but the main focus is on surviving waves of boss patterns.
21:40
<@Consul>
It's called "naughts and crosses" in England.
21:40
<@Consul>
I don't know why I know that.
21:42
<@UndeadAnno>
Derakon: Not my type of game, I'm afraid. I'm all about ANNO SMASH BUTTON DIE~!
21:42
<@Derakon>
Ahh, well.
21:42
<@Derakon>
Thanks for checking it out.
21:43
<@Derakon>
My next game will let you kill things.
21:45
<@UndeadAnno>
No problem.
21:46 * UndeadAnno briefly ponders reverse engineering parts of DF's wound system for personal use. ;)
21:49
<@Consul>
Ooh, you should paint a peace symbol with a tie-dyed pattern on your ship!
21:49 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
21:49 mode/#code [+o Vornicus] by ChanServ
21:56
<@McMartin>
I believe the correct answer is that "You get shot by bullet by pushing '"
21:57
<@Derakon>
Heh.
21:57
<@Derakon>
New beta out, Vorn.
21:57 * Vornicus saw.
22:16 You're now known as TheWatcher[afk]
22:29
<@gnolam>
UndeadAnno: was your friend's computer opponent called W.O.P.R. by any chance?
22:32
<@UndeadAnno>
He didn't say.
22:32
<@gnolam>
Because it's a strange game, that. The only winning move is not to play.
23:02 UndeadAnno [~farkoff@Nightstar-29780.neoplus.adsl.tpnet.pl] has quit [Quit: I like my random encounters like I like my tea and my women - deadly.]
23:24 You're now known as TheWatcher
23:38 * TheWatcher eyes this code, is attempting to determine whether it is genius or madness
23:39
<@TheWatcher>
I think it may well be both, I'm not entirely sure what I was on when I wrote this.
--- Log closed Sat Feb 07 00:00:39 2009
code logs -> 2009 -> Fri, 06 Feb 2009< code.20090205.log - code.20090207.log >