Treant Combat System

by Unknown

Back to Mechanic's Corner.

Unknown2010-01-14 21:17:35
Nope, but I've thought about adding one for future releases, to avoid confusion and questions, if nothing else.
Toracu2010-01-15 00:39:30
Hey it's toracu. I have been customizing the gui bar and I noticed you had stuff set aside for beast stats as well. I looked over it but couldnt find a variable to activate it. so what am I missing to activate the beast stats?

also, trying to add endurance and willpower to my gui, i filled in all the stuff for the endurance, but am getting this:

Run-time error
World: Treant
Immediate execution
error loading module 'gui' from file '.\\gui.lua':
.\\gui.lua:43: '=' expected near ')'
stack traceback:
: ?
: in function 'require'
:110: in main chunk


i traced everthing and checked everything and I see nothing amiss. Maybe I'm missing something?

if you can give me a tip, I could add willpower, and even reserves to my gui. For now I am saving it as gui2 so I can function with basic gui.
Unknown2010-01-15 00:56:47
You're missing my beast add-on, not part of the basic system package.
Unknown2010-01-15 07:08:19
I'm curious, I've used Treant before and thought it was great, but how would I go about running it on a Linux box? Sorry if this has already been asked, but there are 42 pages in this thread.
Zallafar2010-01-15 07:41:57
QUOTE (Enigma @ Jan 14 2010, 11:08 PM) <{POST_SNAPBACK}>
I'm curious, I've used Treant before and thought it was great, but how would I go about running it on a Linux box? Sorry if this has already been asked, but there are 42 pages in this thread.

The advice always given is to install Wine on the Linux box. Get Treant set up under Windows, and then move the files over to Linux.
Toracu2010-01-15 16:23:29
heh nevermind about the coding up top, I figured i tout, I had a doublepost.

beast add on, I'll buy it, how much?
Unknown2010-01-15 16:28:02
All add-ons are described and priced on the Treant site. It's currently set at ten credits.
Unknown2010-01-15 18:29:57
My only concern is that Mushclient has to be set to start looking in the Treant folder first, and I'm not quite sure how to do that under wine.
Unknown2010-01-15 19:55:32
I don't use Wine, either, but I think you just have to start MUSHclient/Wine from the Treant directory.
Unknown2010-01-16 00:20:27
Okay, I got it to stop crashing MUSHclient and now I have it working, except when I do treant:Install(), I get this:
CODE
Line  808: Unexpected end-of-file while looking for (problem in this file)
Line 1246: Unexpected end-of-file inside element definition for trigger (problem in this file)
Line  385: Unexpected end-of-file inside element definition for trigger (problem in this file)
Line  395: Unexpected end-of-file inside element definition for trigger (problem in this file)
Line  858: Unexpected end-of-file inside element definition for trigger (problem in this file)
Line   24: Unexpected end-of-file inside element definition for alias (problem in this file)
Line   58: Unexpected end-of-file inside element definition for trigger (problem in this file)


Now, I've downloaded the newest copy of Treant twice, and I have no clue to what files this refers. Anyone else getting this that could tell me the problem files?

Edit: I'm running MUSH 4.45, which I assume is the newest version.
Unknown2010-01-16 01:17:04
You seem to have misunderstood Zallafar's advice. You have to install Treant on Windows MUSHclient and then copy your world file over to Linux. Wine has some key file functions missing or bugged yet.
Unknown2010-01-16 01:20:27
Oh, I see what is meant now. Thanks, I appreciate the clarification.
Toracu2010-01-16 16:03:05
alright more about the gui
I have added two more bars to display willpower and endurance by duplicating and modifying the script in gui.lua, my problem now is that although it tracks my max wp and en, it refuses to track and show my current wp and en, leaving me with two empty bars. Did I miss something?
Unknown2010-01-16 16:28:11
I'd say you did, but without your code, there's nothing to go on.

Also, this thread isn't for support questions... but if someone else wants to answer you, I can't stop them.
Toracu2010-01-16 18:44:57
i just basically took the mana codes, copy and pasted them, then modified the GetVars to pull endurance and willpower. every section that had mana pulls was duplicated and made to pull endurance, and then willpower.
Ilyarin2010-01-16 20:13:56
I'd suggest you buy Zarquan's support contract if you want help with modifying his system.
Saran2010-01-18 03:11:09
so... I installed the influencer add on. everything appears to work except for the actual inf command which appears to do nothing at all sad.gif any ideas?
Unknown2010-01-18 03:16:25
Firstly, send me e-mail or a tell to ask for help. Secondly, check BALS?
Lawliet2010-01-31 19:08:39
Ok, trying to update Treant, or at least I was, wasn't working so I deleted everything and started again, now when I try to do the step: Setup a new script file for your character on the menu with Game -> Configure -> Scripts (Shift+Ctrl+6), and then click the "New..." button. Save the file as anything you like (in C:\\Treant), When I save it and then go to edit the script there's no script to edit, what've I done?

Edit: When I boot up the template I'm now greeted by the message:

Run-time error
World: Treant
Immediate execution
:108: attempt to index global 'treant' (a nil value)
stack traceback:
:108: in main chunk
Error context in script:
104 : }
105 : --]]
106 :
107 : require "treant"
108*: treant:Init()
109 :
110 : require "treant"
111 :
112 : require "gui"
Run-time error
World: Treant
Immediate execution
:108: attempt to index global 'treant' (a nil value)
stack traceback:
:108: in main chunk
Error context in script:
104 : }
105 : --]]
106 :
107 : require "treant"
108*: treant:Init()
109 :
110 : require "treant"
111 :
112 : require "gui"
Razenth2010-01-31 19:46:44
Why do you have it require treant twice? Is your treant.lua file in the right place?