Installing Trent System

by Unknown

Back to Mechanic's Corner.

Unknown2008-10-23 00:28:41
I am having a hell of a time installing trent. I'm chalking it up to my long day at work, but I just can't do it. I know I have to pay for support, but does this count? I would happily pay for it, after I try it. But I can't even install the darnned thing. I'm not trying to skirt around paying, so if this is some sort of violation, I'll just figure later tonight after a nap.

I just updated to the latest MUSHCLient and I got up to step 3:

QUOTE
3. Enable the io.input method (used to load triggers/aliases/etc from the XML
files in the Install function) through File -> Global Preferences -> Lua.
* (Older MUSHclient versions or upgrades from older versions with old
sandbox code):
Comment out the line where it simply says 'io = nil'. You can put the
line back after installing the system if it makes you feel safer, but it
will interfere with future upgrades (and thus need to be removed again).
* (Newer MUSHclient version with configurable sandbox security):
Open your world file in a text editor (after step 4, where you create it)
and copy the 24 character alphanumeric string ID value to your clipboard.
In the sandbox script, add this ID to the list of trusted worlds, as
described in the sandbox comments.
4. Create a world for your character with the following non-default options
configured:
* Appearance -> Output
Check 'Disable compression'
Check 'Convert GA/EOR to newline'
* Scripting -> Scripts
Choose 'Lua'
Set 'Script Prefix' to '/'
Check 'Enable scripting'
Setup a new script file for this character and include the following
code in the file (at a minimum):
require "treant"
treant:Init()


But I keep getting parsing errors. I'm guessing since I have an updated version of MC, I would find this oi=nil, but I can't find it in the world file. (the world file is Lusternia.mcl, right?) Since I couldn't find it, I skipped ahead to Newer versions part that says I'll be creating a file in step 4. So, I continue to follow the directions and when I close the Game Configuration screen from step 4 I got an error, but for some reason, when I tried to recreate it for this post, I didn't get it. Instead, it seemed to work.

So I go to step 5 and enter /trent:Install() to install. then I get:


CODE
:1: attempt to index global 'trent' (a nil value)
stack traceback:
    :1: in main chunk


Well, a little help please?

I think I may just give up and go back to building my own. But I'm very, very, lazy. Plus, I haven't even gotten past the print: "Hello World" stage in any language I try to learn.
Unknown2008-10-23 00:34:03
Diamondais2008-10-23 00:35:34
QUOTE(Deschain @ Oct 22 2008, 08:34 PM) 574264

She said she did. confused.gif
Unknown2008-10-23 00:40:48
QUOTE(diamondais @ Oct 22 2008, 08:35 PM) 574268
She said she did. confused.gif


I don't think she does. For some reason, the version linked on the site is 4.27, and the latest version is actually 4.37.

Plus, the IO error looks like something that would come from that.
Unknown2008-10-23 01:54:29
I did upgrade. I followed the link on the site, downloaded and then checked the help>about afterwards to check. I did start it over at some point, though. Is there anyway it could have reverted back to the old client?
Unknown2008-10-23 02:37:40
It appears to be far simpler than that. You misspelled "treant" as "trent." tongue.gif (That'll be 50 credits. (Just kidding... for now.))
Unknown2008-10-23 02:44:28
QUOTE(Zarquan @ Oct 22 2008, 10:37 PM) 574304
It appears to be far simpler than that. You misspelled "treant" as "trent." tongue.gif (That'll be 50 credits. (Just kidding... for now.))


Nah, the misspelling was just a typo here, I copy and pasted from the installation help file. I wish it was that easy. But something tells me the answer to this is still user error, somehow:confused:
Xenthos2008-10-23 02:45:47
QUOTE(Endlessnite @ Oct 22 2008, 10:44 PM) 574305
Nah, the misspelling was just a typo here, I copy and pasted from the installation help file. I wish it was that easy. But something tells me the answer to this is still user error, somehow:confused:

:1: attempt to index global 'trent' (a nil value)
stack traceback:
:1: in main chunk

You didn't copy and paste this?
Unknown2008-10-23 03:29:09



QUOTE(Xenthos @ Oct 22 2008, 10:45 PM) 574306
:1: attempt to index global 'trent' (a nil value)
stack traceback:
:1: in main chunk

You didn't copy and paste this?


Oh! My bad. I also made the same typo in the post that I wrote and thought he was talking about that:
QUOTE(Endlessnite @ Oct 22 2008, 08:28 PM) 574260
So I go to step 5 and enter /trent:Install() to install. then I get:


Well, I copy and pasted everything I had to type to avoid stuff like this- I think. Now I'll go figure out where that came from. Thanks!!

So if I can stop spending my credits long enough, I may be sending some your way. Zarquan. smile.gif