Search found 26 matches

by takilara
Sun May 09, 2021 11:08 pm
Forum: Scripts & Packages
Topic: Cross Profile Communication - CPC
Replies: 7
Views: 8743

Re: Cross Profile Communication - CPC

I also found one strange thing while testing the code. lets say i have the below code setup: sendAll("get water from bag", "give water to (profile A/B)", false) expandAlias("#bid (profile A/B) put water in bag", false) when fire from profile A, the code work perfectly....
by takilara
Sun May 09, 2021 10:51 pm
Forum: Scripts & Packages
Topic: Telegram Connector Package
Replies: 1
Views: 14638

Telegram Connector Package

For those that play muds where they can script or otherwise play while being afk, it is useful to have other mechanics to monitor or control your characters. I have made a package out of the code i use to link Mudlet to Telegram, I hope it is useful to someone. I use it primarily to monitor and resp...
by takilara
Sun Feb 14, 2021 8:16 pm
Forum: Scripts & Packages
Topic: Cross Profile Communication - CPC
Replies: 7
Views: 8743

Cross Profile Communication - CPC

I've made a simple package that make it convenient to "send orders" to other profiles. Package is here: https://github.com/takilara/cpc/releases/latest Currently supported commands: #HELP - In game help #ALL <command> - Asks all profiles to execute the command #DO <command> - Asks all prof...
by takilara
Sun Jan 03, 2021 6:19 pm
Forum: Mudlet Development
Topic: MQTT support?
Replies: 8
Views: 18013

Re: MQTT support?

Update: So, adding the LUA_PATH and LUA_CPATH from luarocks path --bin almost works. At this point: Lua interpreter started from command line can now happily require rocks ive installed (tested with mqtt, luasocket and luacjson). Trying the same in Mudlet yields a "The specified module could no...
by takilara
Sun Jan 03, 2021 2:15 pm
Forum: Mudlet Development
Topic: MQTT support?
Replies: 8
Views: 18013

Re: MQTT support?

Mudlet will (and whatever Lua interpreter you are using should) consider the LUA_PATH (Lua script modules) and LUA_CPATH (C binary library modules) environmental variables as places where they will locate for the libraries/modules that Lua and Luarocks provide that are asked for when you do a requi...
by takilara
Wed Dec 23, 2020 10:28 pm
Forum: Mudlet Development
Topic: MQTT support?
Replies: 8
Views: 18013

Re: MQTT support?

Thanks, Yea, understood the luarocks would go into the path, when i got that to work on the linux build. I am looking abit more at build chains now. have gotten a linux container to build mudlet on linux for me, and ill try to setup the windows build flow(s) also. However looking into if i can get t...
by takilara
Wed Dec 23, 2020 10:03 pm
Forum: Mudlet Development
Topic: Compiling and building for Windows on Linux? (mingw-w64 or MXE)
Replies: 0
Views: 15585

Compiling and building for Windows on Linux? (mingw-w64 or MXE)

I was wondering if anyone has compiled mudlet for windows targets on Linux? I am fairly new to build chains, i have managed to setup a linux docker container that builds for linux using the provided steps from the compilation wiki. I would prefer to also build for Windows on the same, or similar con...
by takilara
Mon Dec 21, 2020 11:56 pm
Forum: Mudlet Development
Topic: MQTT support?
Replies: 8
Views: 18013

Re: MQTT support?

Update: Still unable to get luarocks to work correct in windows, but at least on the path there... I did the following interesting experiments in WSL2 though: installed luarocks installed luasocket and luamqtt now i tried to copy the script folders out to the windows instance Mudlet and then tried t...
by takilara
Mon Dec 21, 2020 10:58 pm
Forum: Mudlet Development
Topic: MQTT support?
Replies: 8
Views: 18013

Re: MQTT support?

Thanks, I'll give that a try. I actually think i tried loading luarocks before for something else (luasocket i believe), and got somewhat stuck on getting it (luarocks) to work. I guess its just me being a newbie in using Lua (outside of Mudlet), i think i actually got stuck on getting a Lua interpr...
by takilara
Mon Dec 21, 2020 12:12 am
Forum: Mudlet Development
Topic: MQTT support?
Replies: 8
Views: 18013

MQTT support?

I tried to search, but the search wouldnt work. If this has already been asked, i apologize. As i frequently run many sessions, and often several instances of Mudlet, and sometimes even on different computers. I was thinking it would have been good to have a way to communicate between instances, pre...