Treant Combat System

by Unknown

Back to Mechanic's Corner.

Unknown2008-11-29 04:03:33
umm I looked but did not see anything that made much sense. Maybe I should not open it in notepad. Sorry
Esano2008-11-29 04:20:05
No, no, notepad's fine. Or you can open it with the mushclient editor, which is ... notepad.
Unknown2008-11-29 08:38:34
QUOTE(Zarquan @ Nov 28 2008, 01:23 PM) 587423
Over time, the engine and the interface have evolved in a slightly less than graceful manner. It's remained very full of features and extremely fast, but it could use an overhaul to make it more user friendly now. That's why I had started my own client based on the MUSHclient engine, but it's really just a large project for any one person.

Oho, are you Mr. Mudlet? I've been cajoled to try that when it's released (hopefully in time for ToP - I figured a new game would work well for trying to learn a new setup). I'm trying MUSHclient out, as of tonight (sniffle, my poor zmud-infused brain is in overdrive trying to manage it all) - will the coding I learn how to do be the same stuff the new client will run on? That'll be a definite perk in mush's favour.

Edit: And yes, not being able to make simple aliases quickly through the command line is driving me nuts. I make about 50% of my settings in zmud that way. Even worse is having to close it all to type in the game, instead of having a rollup/pin opion. sad.gif
Unknown2008-11-29 13:06:24
QUOTE(Sadhyra @ Nov 29 2008, 03:38 AM) 587624
Oho, are you Mr. Mudlet? I've been cajoled to try that when it's released (hopefully in time for ToP - I figured a new game would work well for trying to learn a new setup). I'm trying MUSHclient out, as of tonight (sniffle, my poor zmud-infused brain is in overdrive trying to manage it all) - will the coding I learn how to do be the same stuff the new client will run on? That'll be a definite perk in mush's favour.

Edit: And yes, not being able to make simple aliases quickly through the command line is driving me nuts. I make about 50% of my settings in zmud that way. Even worse is having to close it all to type in the game, instead of having a rollup/pin opion. sad.gif


I am involved with Mudlet, but I have not contributed to the code. No, my client was my own little project that I've since shelved in favor of just using MUSHclient.

If you look on the MUSHclient forums, you can find a thread or two showing how to make MUSHclient behave a little more like zMUD, even allowing you to create simple settings from the command line. It's an extremely powerful and flexible client, but it requires a good bit of knowledge and setup to make it do what you really want.

I'd personally recommend you make some of your aliases in the dialog editor, but then you can copy one of those aliases and paste it into a text editor to make another, similar alias. I've never really liked how the settings dialogs are modal (meaning you can't go back to your world command line until you've dismissed the dialog) and that's why I edit almost everything outside of MUSHclient or build my scripts and aliases offline before connecting to test them.
Isinar2008-11-29 22:41:54
everytime I shut down my laptop and then turn it back on I run mush and treant and this comes up when I load the world Run-time error
World: Lusternia
Immediate execution
:1: module 'treant' not found:
no field package.preload
no file '.\\treant.lua'
no file 'C:\\Program Files\\MUSHclient\\lua\\treant.lua'
no file 'C:\\Program Files\\MUSHclient\\lua\\treant\\init.lua'
no file 'C:\\Program Files\\MUSHclient\\treant.lua'
no file 'C:\\Program Files\\MUSHclient\\treant\\init.lua'
stack traceback:
: in function 'require'
:1: in main chunk
Error context in script:
1*: require "treant"
2 : treant:Init()

I have to remake a new world and do the scripting bit all over again, and suggestions to what I can do to fix it?
Esano2008-11-29 23:16:38
It looks like there's an error with the shortcut, the third step in the installation guide. It's looking for Treant in the standard installation folder, rather than C:\\Treant. Remember to open Mushclient using that shortcut!
Celina2008-11-29 23:32:48
Just wanted to say I love the system. It's a huge step up from palisade. I'm on crappy dial-up, and Zmud lags really bad with it. Mush, however, doesn't. I love you and Treant. Thanks so much!
Unknown2008-11-30 00:39:34
You're quite welcome! Let me know if you have feedback on bugs or generally useful features. It's getting better all the time. smile.gif
Ayisdra2008-11-30 00:44:01
QUOTE(Zarquan @ Nov 29 2008, 08:39 PM) 587767
You're quite welcome! Let me know if you have feedback on bugs or generally useful features. It's getting better all the time. smile.gif


When I do DEF, it doesn't list the Domoth blessings I have. When I do something like DEF DOMOTH (or anything that will show defs would without the fancy system table thing). Is this a bug?
Unknown2008-11-30 01:00:52
QUOTE(Ayisdra @ Nov 29 2008, 07:44 PM) 587768
When I do DEF, it doesn't list the Domoth blessings I have. When I do something like DEF DOMOTH (or anything that will show defs would without the fancy system table thing). Is this a bug?


When you look at DEF, the system captures all known defense lines, gags them, and prints out the pretty table. If you use DEFS, it shows you that pretty table without checking DEF first. Doing something like DEF DOMOTH isn't supported by the system, and it's not a syntax I even knew one should try...
Esano2008-11-30 01:02:09
It doesn't seem to print domoth defences until you set up your defences in the script file (there's an example in template.lua).
Unknown2008-11-30 01:25:25
QUOTE(Esano @ Nov 29 2008, 08:02 PM) 587770
It doesn't seem to print domoth defences until you set up your defences in the script file (there's an example in template.lua).


Aha! You make a very good point. I'll see about adding that.
Isinar2008-12-01 10:23:35
QUOTE(Esano @ Nov 29 2008, 11:16 PM) 587749
It looks like there's an error with the shortcut, the third step in the installation guide. It's looking for Treant in the standard installation folder, rather than C:\\Treant. Remember to open Mushclient using that shortcut!


I'm using the shortcut I created for it though
Unknown2008-12-01 14:17:24
Version 1.10 is up on the site now. Check the history for full details.

I've added a new plugin for removing the extra blank lines following the prompt, so if the spacing annoys you, you'll want to install that.

Thanks to everyone who's reported things for me to add/fix!

(Edit: speaking of things to fix, it was pointed out to me that there was an issue with the new version of the waking failsafe, so a new 1.10 has been uploaded just now. If you were too quick to download, go download again!)
Isinar2008-12-02 19:50:15
I have to keep making a new world and doing the scripting thing all over again when I log back onto my computer and load the world this comes up

Run-time error
World: Lusternia
Immediate execution
:1: module 'treant' not found:
no field package.preload
no file '.\\treant.lua'
no file 'C:\\Treant\\MUSHclient\\lua\\treant.lua'
no file 'C:\\Treant\\MUSHclient\\lua\\treant\\init.lua'
no file 'C:\\Treant\\MUSHclient\\treant.lua'
no file 'C:\\Treant\\MUSHclient\\treant\\init.lua'
stack traceback:
: in function 'require'
:1: in main chunk
Error context in script:
1*: require "treant"
2 : treant:Init()

I have done all the instructions right and don't know what's going wrong
Ilyarin2008-12-02 19:58:26
Mine does the same. Boo. tongue.gif It's why I don't play Lusternia at the moment >_> (I'M A QUITTER)
Gregori2008-12-02 19:59:07
Did you make a new shortcut, change the working directory in the shortcut, then start mushclient from -that- short cut?

I have been using mush since day 1 and the only time I get that error is when I forget to start from my treant shortcut.

Renaming the actual shortcut can help for making sure you use the right one.


Also, make sure your script file is in the treant folder as well. If it isn't you can sometimes get that error popping up.

Lastly, you don't have to make a new world if you get that error, you can force it to the script file by going into

Game ->

Configure ->

Scripting

then browsing to your script file and selecting it. Don't trust it to use the script file it claims it is using, (obviously it isn't and just reselecting it the old fashioned way will solve the issue) I do this everytime I forget to use my shortcut to start mushclient, and it works just fine.
Ilyarin2008-12-02 20:29:47
See I now get this weird thing. I spoke to Zarquan and he said there's nothing like it in Treant, and I certainly haven't coded anything like this. Anyone got a clue? sad.gif

"There was a problem in script file "E:\\Programs\\MUSHClient\\treant_mush_101\\Treant\\Lusternia Script File.lua":

The timer (RetryHerb) subroutine named "WatchHerb" could not be found."
Gregori2008-12-02 20:30:47
You running any other plugins?
Ilyarin2008-12-02 20:39:51
Only my own, and I've tried removing them and reloading.