Dudley's dungeon
Friday, 10 November, 2006 |
by azgor |
The
steals a dark green
!
----------
|........|
|...@n....
###-........|
----------
@ "I've got to start paying more attention to what I'm doing."
|
----------
|........|
|...@.....
###-........|
----------
@ "If I had been paying closer attention, I would have remembered to throw my daggers at that ."
|
#
---- #@#
...| #
....####
...|
----
@ "Time and time again, my inattention gets me into trouble."
|
-----
|...|
|...|
###....|
# |.@.|
### |....
# |...|
### -----
@ "Lack of attention is probably responsible for more deaths than any single monster."
|
The hits the
.
.|
.| ------+--
.| |.......|
.| |.......|
..####@...n...|
.| |.......|
-- ---------
@ "From now on I'm going to play closer attention!"
|
You kill the
.
.|
.| ------+--
.| |.......|
.| |.......|
..####@...!...|
.| |.......|
-- ---------
@ "There! See how easy this can be if you pay attention?"
|
What do you want to
name the dark green
?
------+--
|.......|
|.......|
####....@...|
|.......|
---------
@ "This isn't really so hard provided one isn't careless."
|
t - a called
object detection.
------+--
|.......|
|.......|
####....@...|
|.......|
---------
@ "Well, at least some good has come of this experience."
|
http://dudley.nicolaas.net
|
|
http://dudley.nicolaas.net
Want to contribute? Write an email to dudley@nicolaas.net!
Powered by Nics
Rating
Average rating: Excellent Number of ratings: 13
Comments
Jac |
November 10, 2006 00:11
|
First comment: 26 May, 2006 |
48 comments written |
Subtle. |
Dav |
November 10, 2006 01:06
|
First comment: 26 June, 2004 |
147 comments written |
Well done. |
acheron |
November 10, 2006 01:10
|
First comment: 1 June, 2004 |
63 comments written |
heh. took me a few seconds to get it.
my captcha: "which character represents a ?"... I could have figured that out from the comic. |
Alcari |
November 10, 2006 02:54
|
First comment: 11 September, 2006 |
93 comments written |
It's taking me more then a few seconds to get it.... |
Nesman |
November 10, 2006 05:14
|
First comment: 4 January, 2005 |
112 comments written |
If you're stuck, think of what a normally carries. |
Jmadman311 |
November 10, 2006 06:54
|
First comment: 23 May, 2006 |
17 comments written |
Very nice, I like it. :) |
Veinor |
November 10, 2006 07:21
|
First comment: 1 November, 2006 |
12 comments written |
snicker |
Salix |
November 10, 2006 08:44
|
First comment: 10 November, 2006 |
1 comments written |
Heh.
Now, who's willing to believe that I read the entire archives in a day? Kinda sad, actually. |
A |
November 10, 2006 09:09
|
First comment: 24 October, 2006 |
70 comments written |
Is it just me or is the voting system broken? |
A |
November 10, 2006 09:10
|
First comment: 24 October, 2006 |
70 comments written |
"rating system" I meant, not "voting system". |
Janos |
November 10, 2006 09:42
|
First comment: 18 August, 2005 |
40 comments written |
Huh? What does a normally carry? |
shel |
November 10, 2006 11:16
|
First comment: 19 August, 2005 |
107 comments written |
A: both, I think! |
Roger Barnett |
November 10, 2006 11:49
|
First comment: 7 April, 2006 |
143 comments written |
Nicely subtle :) |
Eemeli |
November 10, 2006 13:29
|
First comment: 2 March, 2005 |
143 comments written |
Ha, another great one! :D |
Eemeli |
November 10, 2006 13:30
|
First comment: 2 March, 2005 |
143 comments written |
The system broke down from too many excellent-ratings. =( |
A |
November 10, 2006 14:45
|
First comment: 24 October, 2006 |
70 comments written |
If I interpeted the PHP error message correctly I think Dion is using a text file to store the ratings and not some kind of database backend.
A database is probably a lot more stable to issues like several clients voting at once (if the code doesn't lock the file while writing it can cause the file to be left broken).
I'm not saying that Dion's code doesn't handle that or that it was this that caused it.
Dion: As I'm a geek I would be very intrested in some details about what caused the rating system to break. ;)
|
Rose |
November 10, 2006 19:17
|
First comment: 3 July, 2006 |
79 comments written |
smiling :) |
Grunt |
November 10, 2006 20:07
|
First comment: 25 July, 2006 |
36 comments written |
What do you want to drink? t - a called object detection.
You feel a change coming over you.
You feel foolish! You haven't been paying attention. |
Gamer_2k4 |
November 10, 2006 21:33
|
First comment: 10 October, 2006 |
13 comments written |
Sorry guys, but apparently this was too subtle for me. Can someone please explain it? |
SomeoneElse |
November 10, 2006 22:13
|
First comment: 11 September, 2006 |
143 comments written |
Gamer_2k4: Nymphs carry potions of object detections a lot of the time, so players name potions they get from nymphs so they know what it is.
That , however, was stolen earlier from Dudley, so who knows what it could be? |
Grey Knight |
November 11, 2006 05:32
|
First comment: 20 October, 2005 |
116 comments written |
A: The culprit error is in ratings.lst, but it seems to be executing its contents, not loading them as some sort of flat-file database... Really, without knowing more about the internal workings of the system, there's not much help we can be :-( |
Dion |
November 11, 2006 14:19
|
First comment: 2 February, 2004 |
100 comments written |
Thanks for caring, guys. The rating system writes a PHP array to disk as a PHP include file, which can then be included to read it. However, somehow the file got truncated. I have a more or less complete file at home, but I'm not at home now. Don't expect ratings in the coming week :-( |
A |
November 11, 2006 16:49
|
First comment: 24 October, 2006 |
70 comments written |
Grey : Looks like I was right then. ;P
Dion: Maybe a database would be a good idea then, a common result of not seralizing write access is truncated files (because writing the data is not an atomic operation). Would be nice to see the source code in fact. (And if it is good maybe could be useful to other webcomics ;) ;P
Oh, and the captcha "Which character represents a or ?" is problematic as you can change that in .nethackrc... It didn't like the one I use for example. (I use a zero for boulders)
|
acheron |
November 11, 2006 19:50
|
First comment: 1 June, 2004 |
63 comments written |
You can change any of the characters in the .nethackrc (or, I use win32, so defaults.nh), if you want. (I leave boulders as ', but I changed ghosts to 8 so I could see them.) It's obviously asking about the default characters. :) |
Grey Knight |
November 11, 2006 21:20
|
First comment: 20 October, 2005 |
116 comments written |
Dion: If you want to get a quick fix in before investigating a database solution, you can lock a file for access with PHP's flock() function. flock() has some problems in certain cases... a case in point is when the system implements it at the process level and two PHP scripts running in parallel threads aren't protected from each other (I've been bitten by that in the past). Another (more complex) solution is to create/remove a "lock" file when the script is writing to the include, and not read/write/including it unless the lock doesn't exist. The 'x' flag to fopen() will come in handy here. |
Am Shaedan |
November 11, 2006 21:23
|
First comment: 18 May, 2004 |
49 comments written |
Cute |
Dion |
November 11, 2006 23:54
|
First comment: 2 February, 2004 |
100 comments written |
PHP's locking is crap. But I don't have a database at my disposal, so I have to do it the primitive way. Until now I got away with a much simpler system, but I'm afraid I'll have to resort to Grey 's lock file solution.
Thanks for the help! |
Alcari |
November 12, 2006 21:49
|
First comment: 11 September, 2006 |
93 comments written |
""As I'm a geek I would be very intrested in some details about what caused the rating system to break. ;)""
We all play nethack, Thus we're all geeks here :P |
Fathead |
November 13, 2006 03:03
|
First comment: 1 April, 2006 |
1136 comments written |
Too "deep", but I liked Grunt's comment. |
Veinor |
November 25, 2006 03:07
|
First comment: 1 November, 2006 |
12 comments written |
Subtle. I like. |
Grognor |
April 20, 2007 08:30
|
First comment: 4 April, 2007 |
1161 comments written |
I love genius comics! |
Fredil |
April 17, 2008 04:12
|
First comment: 17 April, 2008 |
26 comments written |
Ahahaha! Awesome! |
http://dudley.nicolaas.net
Want to contribute? Write an email to dudley@nicolaas.net!
Powered by Nics
|
|