Search found 4 matches

by Smurf
Tue Jul 28, 2020 1:35 pm
Forum: Scripts & Packages
Topic: Mudlet and Python
Replies: 0
Views: 90

Mudlet and Python

Yes, you can now use Mudlet from Python. Or vice versa, I'm not picky.

https://github.com/smurfix/pymudlet

Have fun. Improvements gladly accepted.
by Smurf
Mon Jul 27, 2020 4:43 pm
Forum: General Forum
Topic: Mudlet packages for Debian
Replies: 1
Views: 147

Mudlet packages for Debian

This is 4.9.1, in a nice Debian package for stable/Buster. cd /tmp; wget http://build.smurf.noris.de/info/SETUP; sudo sh ./SETUP; sudo apt install mudlet I looked into getting Mudlet back into Debian, but that's a whole lot of work; somebody would need to package the 3rd-party code that is current...
by Smurf
Sat Jul 25, 2020 11:33 am
Forum: Scripts & Packages
Topic: Wayfinder, an alternate route finder package
Replies: 0
Views: 92

Wayfinder, an alternate route finder package

I'm not happy with the built-in route finder in Mudlet, so I wrote my own. The attached package contains one function: "findWayToRoom(sourceRoom, checkFn)". The check function gets four arguments (distance, roomToBeChecked, roomlist, directionlist). It is responsible for saving its arguments if the ...
by Smurf
Sat Jul 18, 2020 1:20 pm
Forum: Scripts & Packages
Topic: Find closest room with user attribute / env-ID / character?
Replies: 1
Views: 372

Find closest room with user attribute / env-ID / character?

Question: "my" mud has banks. I want to write a function that speed-walks me to the closest bank. Is there a built-in way to do that? (I'm quite flexible in how to designate that a room is a bank.) Alternately does anybody know of a breadth-first room search function I could adapt?