Difference between revisions of "Larn"

From NetHackWiki
Jump to navigation Jump to search
(Larn is another roguelike. Despite my ToME and Crawl experiences, I never played Larn, so I mostly write about Larn references in NetHack.)
 
m (add link)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''''Larn''''' was an old [[roguelike]] game. Larn took inspiration from ''[[Rogue]]'' and ''[[Hack]]''. In the past, ''Larn'' and ''[[NetHack]]'' had contemporary development, and some Larn references entered NetHack.
+
'''''Larn''''' was an old [[roguelike]] game. Larn took inspiration from ''[[Rogue (game)|Rogue]]'' and ''[[Hack]]''. In the past, ''Larn'' and ''[[NetHack]]'' had contemporary development, and some Larn references entered NetHack.
  
 
But NetHack continued development and became a popular game with a large community, while Larn stalled. Larn is now an obscure game with few players.
 
But NetHack continued development and became a popular game with a large community, while Larn stalled. Larn is now an obscure game with few players.
Line 9: Line 9:
  
 
; This seems to be junk mail addressed to the finder of the Eye of Larn.
 
; This seems to be junk mail addressed to the finder of the Eye of Larn.
: This message appears when you read a [[scroll of mail]]<ref>[[read.c#line657]]</ref> from a [[bones level]]<ref>[[bones.c#line87]]</ref> or a [[wish]].<ref>[[objnam.c#line2523]]</ref> A comment in NetHack's source code explains, "the game Larn actually sends you junk mail if you win!"
+
: This message appears when you read a [[scroll of mail]]{{refsrc|read.c|657}} from a [[bones level]]{{refsrc|bones.c|87}} or a [[wish]].{{refsrc|objnam.c|2523}} A comment in NetHack's source code explains, "the game Larn actually sends you junk mail if you win!"
 
; The LRS would be very interested to know you have that much.
 
; The LRS would be very interested to know you have that much.
: This message appears when you attempt to drop a negative amount of gold. You cannot directly input a negative number, but you can enter a large 2^32-n number that triggers [[integer overflow]]. Try the key sequence 'd4294967286$' to trigger this message. A comment in NetHack's source code explains that older versions of NetHack and Larn had the same bug to permit drops of negative gold.<ref>[[invent.c#line996]]</ref>
+
: This message appears when you attempt to drop or throw a negative amount of gold. You cannot directly input a negative number, but you can enter a large 2^32-n number that triggers [[integer overflow]]. Try the key sequence 'd4294967286$' to trigger this message. A comment in NetHack's source code explains that older versions of NetHack and Larn had the same bug to permit drops of [[negative gold]].{{refsrc|invent.c|996}}
  
== Source code references ==
+
(A related crash when you drop zero gold has been fixed on [[nethack.alt.org]].)
 +
 
 +
==References==
 
<references />
 
<references />
  
 
== Links ==
 
== Links ==
 
{{wikipedia|Larn}}
 
{{wikipedia|Larn}}
 +
{{RogueBasin}}
  
 
If you seek more information about Larn, then try these links.
 
If you seek more information about Larn, then try these links.
Line 26: Line 29:
 
** [http://marc.info/?t=120200905700001&r=1&w=2 'larn, and other games' thread of netbsd-tech-userlevel] with some Larn history
 
** [http://marc.info/?t=120200905700001&r=1&w=2 'larn, and other games' thread of netbsd-tech-userlevel] with some Larn history
 
* [http://ularn.sourceforge.net Ularn], a variant
 
* [http://ularn.sourceforge.net Ularn], a variant
 +
* [http://nlarn.sourceforge.net NLarn], a rewrite of Larn from scratch with color, improved UI and ranged weapons
  
 
[[Category:Roguelikes]] [[Category:Messages]]
 
[[Category:Roguelikes]] [[Category:Messages]]

Latest revision as of 05:26, 11 March 2020

Larn was an old roguelike game. Larn took inspiration from Rogue and Hack. In the past, Larn and NetHack had contemporary development, and some Larn references entered NetHack.

But NetHack continued development and became a popular game with a large community, while Larn stalled. Larn is now an obscure game with few players.

The Larn Revenue Service or LRS is the tax agency that seeks to collect from wealthy Larn players.

Larn references in NetHack

Two messages in NetHack reference Larn.

This seems to be junk mail addressed to the finder of the Eye of Larn.
This message appears when you read a scroll of mail[1] from a bones level[2] or a wish.[3] A comment in NetHack's source code explains, "the game Larn actually sends you junk mail if you win!"
The LRS would be very interested to know you have that much.
This message appears when you attempt to drop or throw a negative amount of gold. You cannot directly input a negative number, but you can enter a large 2^32-n number that triggers integer overflow. Try the key sequence 'd4294967286$' to trigger this message. A comment in NetHack's source code explains that older versions of NetHack and Larn had the same bug to permit drops of negative gold.[4]

(A related crash when you drop zero gold has been fixed on nethack.alt.org.)

References

Links

If you seek more information about Larn, then try these links.