#haven wrote:(18:11:31) <loftar> Dear diary, tonight the Hafen server passed the old Haven server in lines code.
(18:23:23) <loftar> And, well, to be fair, it's not entirely obvious how to interpret the fact about lines of code, given the very different structures of old and new Haven, but it's fun nonetheless.

(18:23:49) <loftar> And yes, it's 87533 lines of code for the server.
(18:28:34) <loftar> For the record, 826 of those lines have been present since the first commit, according to Git.

(18:35:36) <loftar> Though, to be fair, the original Haven does use a fair amount of code generation, which certainly decreases the number of lines of code, at least.
(18:36:18) <loftar> Those techniques don't really make as much sense for Salem/Hafen, though, since the underlying systems are so much more flexible.
(18:37:13) <loftar> Not that I wouldn't enjoy having something like it, but I haven't figured out a way to do similar things without losing all the flexibility.
(18:38:30) <Rawrz> you keep generation code in the server?
(18:38:43) <Rawrz> though you might just use an outer utility =p
(18:38:55) <loftar> Well, the original Haven server uses a meta-language to generate code for a lot of the simpler items and stuff.
(18:39:21) <loftar> It just compiles it to a temporary C file which is compiled and thrown away again.
(18:40:33) <loftar> And, well, yes, the mapgen is an external utility.

(18:40:51) <loftar> Haven's was written in Python; Hafen's is written in CL.
(18:41:01) <Alg> Wait
(18:41:17) <Alg> Is fishing implemented through that meta language?
(18:41:27) <loftar> Not the fishing mechanic itself.
(18:41:33) <Rawrz> not aware of CL
(18:41:37) <loftar> But most of the items involved in fishing, like the lures and stuff, are.
(18:41:45) <loftar> Common Lisp, surely you've heard of it?
(18:41:45) <Rawrz> what made you switch from python?
(18:41:49) <Rawrz> ah
(18:41:50) <Alg> Yea, that is what I was asking
(18:41:51) <Rawrz> sorry
(18:41:52) <loftar> Mostly speed.
(18:41:56) <Rawrz> yeah i know lisp
(18:41:59) <Alg> The use this rod and this lure at this water spot at this time
(18:41:59) <loftar> But also macros.
(18:42:01) <Alg> for this fish
(18:42:12) <Rawrz> i just didnt know people abbreviated to CL =p
(18:42:14) <Alg> That is all generated through it, right?
(18:42:41) <loftar> Well, that mostly just uses a couple of random seeds and garbles them together into something that can't be predicted at all. ^^
18:42:53) <Alg> That explains so much
-
(18:43:20) <loftar> Well, Hafen's fishing is... changed, at least.

(18:43:27) <Rawrz> is it like salem?
(18:43:30) <loftar> There are, in fact, two parallel ways to fish.

(18:43:30) <Alg> Any little detail to share?
(18:43:32) <Rawrz> all i can think of is england
(18:43:32) <Rawrz> all i can think of is england
(18:43:34) <Alg>

(18:43:39) <loftar> lol ^^
(18:43:56) <Alg> The hafen thread is kind of lacking recently
(18:43:59) <loftar> One of the ways to fish is more passive, slow and akin to Haven's current mechanic.
(18:44:03) <Alg> We need something new to discuss!
(18:44:11) <loftar> While the other is, well, not *like* Salem's, but more akin to it.
(18:44:18) <loftar> It is, at least, active and faster.
(18:45:09) <Alg> Very important question regarding hafen
(18:45:11) <loftar> But to be sure, fishing will always be strange and weird. ^^
(18:45:17) <loftar> I won't stand for it being otherwise. ^^
(18:45:19) <Alg> Can you bake more then 4 items at a time in an oven
(18:45:24) <loftar> lol ^^
(18:45:25) <Rawrz> haha, i didnt hate the salem one
(18:45:29) <Rawrz> it just made me laugh the first time i tried it
(18:45:32) <loftar> That you'll just have to wait and find out. ^^
(18:45:50) <Alg> Come on, this is the biggest hafen question
(18:45:54) <Alg> We need it answered!
(18:46:20) <loftar> I'll reduce it to two items if you don't stop asking. ^^
-
(18:49:47) <Rawrz> how big of a map are you aiming for hafen?
(18:50:13) <loftar> Hmm, that will remain a secret until you find out for yourselves.

(18:50:30) <deus> i bet it will be based on the players
(18:50:38) <Rawrz> alright
(18:50:55) <Rawrz> how do you plan to deal with death and respawning in hafen?
(18:50:59) <Rawrz> in regards to owning land =p
(18:51:06) <deus> youve said things along those lines before
(18:51:31) <loftar> With regards to owning land, of all things?
(18:51:36) <Rawrz> well, i mean
(18:51:39) <loftar> Anything particular?
(18:51:40) <Rawrz> if its random wilderness spawn
(18:51:48) <Rawrz> and you die, are you able to rez at your land?
(18:52:18) <loftar> Ah, well, yes, I think we're still a bit undecided on that. I think it's going to be possible to respawn at your previous character's hearth, as now.
(18:52:34) <Rawrz> had a friend earlier talking about how he was going to be a peaceful farmer this world
(18:52:36) <loftar> Jorb seems to want to make it harsher than that though, but I'm not exactly sure.
(18:53:25) <VDZ> More like, dying and finding out after walking back that the gate is locked and the key is still inside
(18:53:31) <Rawrz> jaja
(18:53:33) <Alg> Can we still KO people and kill them with leeches?
(18:53:48) <Alg> Are leeches even in hafen?!
(18:53:48) <Rawrz> my favourite part of early world
(18:54:37) <loftar> We actually haven't implemented leeches yet, but I cannot possibly imagine we wouldn't keep that mechanic.

(18:54:52) <Rawrz> good man
(18:54:56) <loftar> If anything, we might fix so that it causes you to leave murder scents, I guess.
(18:55:56) <Rawrz> well, how are you handling quality?
(18:55:59) <Alg> I'll just take their shoes and make them die to thorn in foot
(18:56:06) <loftar> That's also a secret.
