Page 1 of 2

Confused Tree's brother is up

Posted: 30 Jan 2015, 11:55
by pclouds
It's quite new so could be buggy. It's at the same place Confused Tree was. This time if I quit (and you don't mind using Gauche Scheme), source code is available [1].

If you want to help, please search your chat log, collect all Confused Tree's famous words so I can add them back. I added a few back already (in file brain.scm)

[1] https://github.com/pclouds/crazytree

Re: Confused Tree's brother is up

Posted: 30 Jan 2015, 12:04
by Cassy
I so need to test this.
Among things is miss in TMW Confused Tree is one of the most ♥

Thanks pclouds :alt-3:
*won't bite*

Re: Confused Tree's brother is up

Posted: 31 Jan 2015, 03:47
by AnonDuck
I don't know what to say but :) :) :) :) :P :P :P :P
Amazing work! I'm sure it took some effort to figure out the packets, login sequence, etc. It's great to see an implementation in something other than c/python/perl too.

Re: Confused Tree's brother is up

Posted: 02 Feb 2015, 18:11
by wushin
He appeared to crash so we kicked him. You should look at the manamarket start script to see how we keep MM online and reboot them.

meko asked it what the meaning to life, the universe and everything was and it crashed.

So far CrazyTree is a big hit.

Re: Confused Tree's brother is up

Posted: 02 Feb 2015, 18:17
by gumi
Do you think you can make it imitate emotes like confused tree did?
celestia also says that is used to heal when you did the :alt-1: emote

also:
[18:40] Celestia: I think it would give the scard emotion to freak out if anybody taked about fire, axes, saws and cutting down trees
[18:42] Celestia: ouside of healing it was mainly different emotes in response to certain keywords

Re: Confused Tree's brother is up

Posted: 02 Feb 2015, 18:58
by Cassy
meko wrote:celestia also says that is used to heal when you did the :alt-1: emote
Oh yeah, that was a nice feature too.

IIRC Melkior changed it later so CT only did a :alt-1: emote too when someone did, same with :alt-2:
But when typing in the chat "heal me tree" or something like that CT healed you with a chance of 1/10, otherwise it replied with something like "go and eat an apple, they're healthy".

I don't mind if :alt-1: or "heal me" though :D

Re: Confused Tree's brother is up

Posted: 03 Feb 2015, 00:26
by AnonDuck
Healing's borderline-okay if it's just a 1/10 chance to save someone a few seconds of sitting.

Just keep in mind that to be a friendly bot on TMW it shouldn't do anything that affects gameplay. Emoting, punning, joking around etc is perfectly fine.

You need to avoid things like holding items/gp for people, attacking anything, #betsanc, etc or the bot will have to be code-reviewed and ran on the TMW server itself so we can trust it.

Re: Confused Tree's brother is up

Posted: 03 Feb 2015, 01:53
by pclouds
wushin wrote:He appeared to crash so we kicked him. You should look at the manamarket start script to see how we keep MM online and reboot them.

meko asked it what the meaning to life, the universe and everything was and it crashed.
I was wondering about that this morning, the connection to map server was maintained, but nothing sent from the server. Thanks for the pointer.

Re: Confused Tree's brother is up

Posted: 03 Feb 2015, 02:02
by pclouds
Cassy wrote:
meko wrote:celestia also says that is used to heal when you did the :alt-1: emote
Oh yeah, that was a nice feature too.

IIRC Melkior changed it later so CT only did a :alt-1: emote too when someone did, same with :alt-2:
Will try. It does not look hard to parse or send emotes..
Cassy wrote:But when typing in the chat "heal me tree" or something like that CT healed you with a chance of 1/10, otherwise it replied with something like "go and eat an apple, they're healthy".

I don't mind if :alt-1: or "heal me" though :D
Okay.. I need to level up CT first.. :P then do it 1/10. BTW, I try to keep README.md on CT repo up to date, so even if you don't read Scheme, you should know what's implemented.

Any other suggestions are welcome. Also, I do make special phrases for the regulars [1] or calling them using nick names instead of char name [2]. I don't mind adding more (as long as it's funny and not offensive) so if anybody has something, post here or whisper me.

[1] https://github.com/pclouds/crazytree/bl ... in.scm#L84
[2] https://github.com/pclouds/crazytree/bl ... n.scm#L234

Re: Confused Tree's brother is up

Posted: 03 Feb 2015, 02:45
by wushin
Aye, MadCamel I've been perving the source and watching it. Once it gets a bit more stable we can offer to host a copy. Although I've always considered just taking the logic in the Tree and making it a NPC script. It would be one of the easier bots to convert.

Re: Confused Tree's brother is up

Posted: 03 Feb 2015, 17:07
by gumi
can you make it do :alt-1: when someone say "Platyna" ?

Re: Confused Tree's brother is up

Posted: 03 Feb 2015, 17:25
by wushin
I'd not like to negativity single out any player no matter what they did to the project.

Re: Confused Tree's brother is up

Posted: 03 Feb 2015, 20:52
by Rill
pclouds wrote:If you want to help, please search your chat log, collect all Confused Tree's famous words so I can add them back.
If I recall correctly, one exchange with Confused Tree included a paraphrased line from Wordsworth's "Daffodils", and went like this:

Question: Tell us a poem, Tree
Answer: I wandered lonely as a tree

P.S. Here is an alternative answer, courtesy of Joyce Kilmer:

I think that I shall never see
A poem lovely as a tree.

:alt-3:

Re: Confused Tree's brother is up

Posted: 04 Feb 2015, 10:36
by pclouds
wushin wrote:Aye, MadCamel I've been perving the source and watching it.
Just noticed today there's some lispy code for magic handling on the server side. Hehe..
Once it gets a bit more stable we can offer to host a copy.
Yeah i thought about this too. My connection could be unstable sometimes.
Although I've always considered just taking the logic in the Tree and making it a NPC script. It would be one of the easier bots to convert.
No problem with that. At least I managed to finally make devs do something about the departure of CT :D I don't know much about NPC scripting but the one for current NPCs does not look flexibile enough for CT. And forcing people to go through multiple-choice dialog sounds like a step down.

Re: Confused Tree's brother is up

Posted: 04 Feb 2015, 12:43
by Avenn
I hate confused tree and now this fake confused tree, but im glad that useless thing is back,
thanks to that i can again use my favourite sentence on hello: "Die Tree".
So umm thanks pclouds.