Treant Combat System

by Unknown

Back to Mechanic's Corner.

Unknown2008-12-09 18:05:55
Okay, I went back and tried again and here's what I get in the shell:

jess@jess-laptop:~/Desktop$ ./mush_treant.sh &
2573
jess@jess-laptop:~/Desktop$ fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented
wine: Unhandled page fault on read access to 0x00000000 at address 0xb7cb7283 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0xb7cb7283).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:b7cb7283 ESP:0032ecfc EBP:0032ed48 EFLAGS:00010246( - 00 -RIZP1)
EAX:00000000 EBX:7ee26548 ECX:00000000 EDX:00000001
ESI:1087ffd0 EDI:0015c3b0
Stack dump:
0x0032ecfc: 7ed9c966 00000000 fffffffa 00000000
0x0032ed0c: 00000000 00154c50 00000001 00000000
0x0032ed1c: 00000000 00400000 006152f8 0000c3b0
0x0032ed2c: 00000000 00892640 001555aa 00605328
0x0032ed3c: 7ee26548 0015c3b0 001555aa 0032edf8
0x0032ed4c: 7eda4dbe 0002006e 00000000 0015b560
Backtrace:
=>1 0xb7cb7283 strlen+0x33() in libc.so.6 (0x0032ed48)
2 0x7eda4dbe in user32 (+0x54dbe) (0x0032edf8)
3 0x7eda7632 EditWndProcA+0x22() in user32 (0x0032ee08)
4 0x7ee015ba WINPROC_wrapper+0x1a() in user32 (0x0032ee38)
5 0x7ee01c9e WINPROC_wrapper+0x6fe() in user32 (0x0032ee78)
6 0x7ee05af2 CallWindowProcA+0x52() in user32 (0x0032eeb8)
7 0x0053431f in mushclient (+0x13431f) (0x0032eed8)
8 0x005349d2 in mushclient (+0x1349d2) (0x0032eef4)
9 0x0053390a in mushclient (+0x13390a) (0x0032ef54)
10 0x00533b25 in mushclient (+0x133b25) (0x0032ef74)
11 0x7ee015ba WINPROC_wrapper+0x1a() in user32 (0x0032efa4)
12 0x7ee01c9e WINPROC_wrapper+0x6fe() in user32 (0x0032efe4)
13 0x7ee07071 in user32 (+0xb7071) (0x0032f024)
14 0x7edca11a in user32 (+0x7a11a) (0x0032f094)
15 0x7edcd39d in user32 (+0x7d39d) (0x0032f0f4)
16 0x7edcd7ae SendMessageA+0x4e() in user32 (0x0032f134)
17 0x004a0e50 in mushclient (+0xa0e50) (0x0032f170)
18 0x00437169 in mushclient (+0x37169) (0x0085ab60)
19 0x0085abb0 (0x0058aac0)
20 0x0041ba10 in mushclient (+0x1ba10) (0x0054f80c)
21 0xc8b8c300 (0x594590b8)
0xb7cb7283 strlen+0x33 in libc.so.6: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (105 modules)
PE 400000- 5f4000 Export mushclient
PE 930000- 9a7000 Deferred en
PE 10000000-10034000 Deferred lua5.1
ELF 7b800000-7b92d000 Deferred kernel32
\\-PE 7b820000-7b92d000 \\ kernel32
ELF 7bc00000-7bca4000 Deferred ntdll
\\-PE 7bc10000-7bca4000 \\ ntdll
ELF 7bf00000-7bf03000 Deferred
ELF 7de4c000-7de96000 Deferred riched20
\\-PE 7de60000-7de96000 \\ riched20
ELF 7de96000-7dea9000 Deferred riched32
\\-PE 7dea0000-7dea9000 \\ riched32
ELF 7dea9000-7debd000 Deferred midimap
\\-PE 7deb0000-7debd000 \\ midimap
ELF 7debd000-7dee3000 Deferred msacm32
\\-PE 7dec0000-7dee3000 \\ msacm32
ELF 7dee3000-7defa000 Deferred msacm32
\\-PE 7def0000-7defa000 \\ msacm32
ELF 7defa000-7dfbd000 Deferred libasound.so.2
ELF 7dfbd000-7dff3000 Deferred winealsa
\\-PE 7dfd0000-7dff3000 \\ winealsa
ELF 7dff3000-7dff7000 Deferred libgpg-error.so.0
ELF 7dff7000-7e044000 Deferred libgcrypt.so.11
ELF 7e044000-7e054000 Deferred libtasn1.so.3
ELF 7e054000-7e057000 Deferred libkeyutils.so.1
ELF 7e057000-7e089000 Deferred libcrypt.so.1
ELF 7e089000-7e0ff000 Deferred libgnutls.so.13
ELF 7e0ff000-7e122000 Deferred libk5crypto.so.3
ELF 7e122000-7e1af000 Deferred libkrb5.so.3
ELF 7e1af000-7e1d8000 Deferred libgssapi_krb5.so.2
ELF 7e1d8000-7e20b000 Deferred libcups.so.2
ELF 7e26e000-7e2a1000 Deferred uxtheme
\\-PE 7e270000-7e2a1000 \\ uxtheme
ELF 7e2a1000-7e333000 Deferred winmm
\\-PE 7e2b0000-7e333000 \\ winmm
ELF 7e333000-7e39d000 Deferred msvcrt
\\-PE 7e340000-7e39d000 \\ msvcrt
ELF 7e39d000-7e3c9000 Deferred ws2_32
\\-PE 7e3a0000-7e3c9000 \\ ws2_32
ELF 7e3c9000-7e3e3000 Deferred wsock32
\\-PE 7e3d0000-7e3e3000 \\ wsock32
ELF 7e3e3000-7e3ec000 Deferred libxcursor.so.1
ELF 7e3ec000-7e3f1000 Deferred libxfixes.so.3
ELF 7e3f1000-7e3f4000 Deferred libxcomposite.so.1
ELF 7e3f4000-7e3fa000 Deferred libxrandr.so.2
ELF 7e3fa000-7e402000 Deferred libxrender.so.1
ELF 7e402000-7e405000 Deferred libxinerama.so.1
ELF 7e405000-7e425000 Deferred imm32
\\-PE 7e410000-7e425000 \\ imm32
ELF 7e425000-7e42a000 Deferred libxdmcp.so.6
ELF 7e42a000-7e442000 Deferred libxcb.so.1
ELF 7e442000-7e444000 Deferred libxcb-xlib.so.0
ELF 7e444000-7e447000 Deferred libxau.so.6
ELF 7e447000-7e52e000 Deferred libx11.so.6
ELF 7e52e000-7e53c000 Deferred libxext.so.6
ELF 7e53c000-7e541000 Deferred libxxf86vm.so.1
ELF 7e541000-7e559000 Deferred libice.so.6
ELF 7e559000-7e561000 Deferred libsm.so.6
ELF 7e562000-7e56a000 Deferred libkrb5support.so.0
ELF 7e56a000-7e56d000 Deferred libcom_err.so.2
ELF 7e56f000-7e606000 Deferred winex11
\\-PE 7e580000-7e606000 \\ winex11
ELF 7e645000-7e666000 Deferred libexpat.so.1
ELF 7e666000-7e690000 Deferred libfontconfig.so.1
ELF 7e690000-7e6a5000 Deferred libz.so.1
ELF 7e6a5000-7e712000 Deferred libfreetype.so.6
ELF 7e720000-7e7c2000 Deferred oleaut32
\\-PE 7e730000-7e7c2000 \\ oleaut32
ELF 7e7c2000-7e7d5000 Deferred olepro32
\\-PE 7e7d0000-7e7d5000 \\ olepro32
ELF 7e7d5000-7e7e8000 Deferred libresolv.so.2
ELF 7e7f6000-7e814000 Deferred iphlpapi
\\-PE 7e800000-7e814000 \\ iphlpapi
ELF 7e814000-7e875000 Deferred rpcrt4
\\-PE 7e820000-7e875000 \\ rpcrt4
ELF 7e875000-7e919000 Deferred ole32
\\-PE 7e880000-7e919000 \\ ole32
ELF 7e919000-7e940000 Deferred oledlg
\\-PE 7e920000-7e940000 \\ oledlg
ELF 7e940000-7e976000 Deferred winspool
\\-PE 7e950000-7e976000 \\ winspool
ELF 7e976000-7ea35000 Deferred comctl32
\\-PE 7e980000-7ea35000 \\ comctl32
ELF 7ea35000-7ea8e000 Deferred shlwapi
\\-PE 7ea40000-7ea8e000 \\ shlwapi
ELF 7ea8e000-7eba1000 Deferred shell32
\\-PE 7eaa0000-7eba1000 \\ shell32
ELF 7eba1000-7ec4c000 Deferred comdlg32
\\-PE 7ebb0000-7ec4c000 \\ comdlg32
ELF 7ec4c000-7ec9e000 Deferred advapi32
\\-PE 7ec60000-7ec9e000 \\ advapi32
ELF 7ec9e000-7ed39000 Deferred gdi32
\\-PE 7ecb0000-7ed39000 \\ gdi32
ELF 7ed39000-7ee80000 Export user32
\\-PE 7ed50000-7ee80000 \\ user32
ELF 7efa0000-7efab000 Deferred libnss_files.so.2
ELF 7efab000-7efb5000 Deferred libnss_nis.so.2
ELF 7efb5000-7efcd000 Deferred libnsl.so.1
ELF 7efcd000-7eff2000 Deferred libm.so.6
ELF 7eff7000-7f000000 Deferred libnss_compat.so.2
ELF b7c41000-b7c45000 Deferred libdl.so.2
ELF b7c45000-b7d94000 Export libc.so.6
ELF b7d95000-b7dad000 Deferred libpthread.so.0
ELF b7dbb000-b7ef1000 Deferred libwine.so.1
ELF b7ef3000-b7f0f000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\\Program Files\\MUSHclient\\MUSHclient.exe
00000019 0
00000018 0
00000009 0 <==
0000000c
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000015 0
00000014 0
00000011 0
00000010 0
00000016
00000017 0
Backtrace:
=>1 0xb7cb7283 strlen+0x33() in libc.so.6 (0x0032ed48)
2 0x7eda4dbe in user32 (+0x54dbe) (0x0032edf8)
3 0x7eda7632 EditWndProcA+0x22() in user32 (0x0032ee08)
4 0x7ee015ba WINPROC_wrapper+0x1a() in user32 (0x0032ee38)
5 0x7ee01c9e WINPROC_wrapper+0x6fe() in user32 (0x0032ee78)
6 0x7ee05af2 CallWindowProcA+0x52() in user32 (0x0032eeb8)
7 0x0053431f in mushclient (+0x13431f) (0x0032eed8)
8 0x005349d2 in mushclient (+0x1349d2) (0x0032eef4)
9 0x0053390a in mushclient (+0x13390a) (0x0032ef54)
10 0x00533b25 in mushclient (+0x133b25) (0x0032ef74)
11 0x7ee015ba WINPROC_wrapper+0x1a() in user32 (0x0032efa4)
12 0x7ee01c9e WINPROC_wrapper+0x6fe() in user32 (0x0032efe4)
13 0x7ee07071 in user32 (+0xb7071) (0x0032f024)
14 0x7edca11a in user32 (+0x7a11a) (0x0032f094)
15 0x7edcd39d in user32 (+0x7d39d) (0x0032f0f4)
16 0x7edcd7ae SendMessageA+0x4e() in user32 (0x0032f134)
17 0x004a0e50 in mushclient (+0xa0e50) (0x0032f170)
18 0x00437169 in mushclient (+0x37169) (0x0085ab60)
19 0x0085abb0 (0x0058aac0)
20 0x0041ba10 in mushclient (+0x1ba10) (0x0054f80c)
21 0xc8b8c300 (0x594590b8)


I'm running Mushclient 4.27

Also, you mentioned a /wine switch for Mushclient but I have no idea where/how to find that. Sorry to take up the page with all the errors, but I really want this system confused.gif
Unknown2008-12-09 18:11:13
Firstly, you need MUSHclient 4.37. The main MUSHclient page is outdated and shows the wrong version. My web page has a direct link to the installer, for convenience.

Secondly, a "switch" is a command-line parameter you pass to the executable when you run it (i.e., mushclient.exe /wine).
Unknown2008-12-09 23:44:37
Okay, well I got the newest version of Mushclient and I tried it again, with the switch. However, the error isn't in running Mush under Wine, its when I tried to upload the template from Treant, as per the directions. Not quite sure what's going on, though I tested on another comp in the house with Windows XP and it works just fine..I may have to just start dual booting or something. Been bugging myself for a while to start that, but never got around to it..ugh! sad.gif

Any other suggestions? :/
Unknown2008-12-09 23:49:38
QUOTE(Iphigenia @ Dec 9 2008, 06:44 PM) 592251
Okay, well I got the newest version of Mushclient and I tried it again, with the switch. However, the error isn't in running Mush under Wine, its when I tried to upload the template from Treant, as per the directions. Not quite sure what's going on, though I tested on another comp in the house with Windows XP and it works just fine..I may have to just start dual booting or something. Been bugging myself for a while to start that, but never got around to it..ugh! sad.gif

Any other suggestions? :/


If it's something specific to creating a new world based on an existing world, try just pre-creating your world outside of MUSHclient. Copy template.mcl to your own whatever.mcl, open it in some text editor, change relevant fields such as the path to the Lua script file you want to execute, and then open that world file in MUSHclient without creating a new one. The template is actually a ready-to-go world file already with certain options preset to make it a little easier for you, and all you need to do is add your own little details such as name, password, logging, etc.
Unknown2008-12-10 00:30:04
Still makes it crash...I think its probably just an issue with Wine..I mean, the shell shows errors for "get file" for crying out loud, so I guess I'll just have to run it on Windows itself, or try some sort of vmware. Thanks so much though for all your help (and speedy responses!) biggrin.gif
Unknown2008-12-12 16:26:24
Should we send you trigger lines for mob afflictions too?

edit: nevermind, it says on the site you don't do that. Whoops
Unknown2008-12-12 17:05:09
I have my own bashing triggers I import. I may sell them for a very small fee if folks contact me directly about them, but they're not all-inclusive or anything. Heh. (Anyone with a support contract may ask for my bashing triggers for free or ask for help in setting up their own.)

Just another note: I'm revamping the GUI a bit using the InfoBox script I found on the MUSHclient forums. It's pretty spiffy, and I hope to make more useful items. When 4.38 gets released, I'm hoping to make buttons finally!
Unknown2008-12-13 01:03:38
I think there is a problem with writhing out of grapple, where once I had writhed out, it would still try to writhe out every few seconds. For some reason I didn't receive the You have writhed out of grapple message. Would it be possible to trigger "You aren't grappled! You begin to writhe helplessly, throwing your body off balance." to say, you are not grappled, stop writhing? This has happened quite a few times.
Unknown2008-12-13 03:59:36
QUOTE (Solanis @ Dec 12 2008, 08:03 PM) <{POST_SNAPBACK}>
I think there is a problem with writhing out of grapple, where once I had writhed out, it would still try to writhe out every few seconds. For some reason I didn't receive the You have writhed out of grapple message. Would it be possible to trigger "You aren't grappled! You begin to writhe helplessly, throwing your body off balance." to say, you are not grappled, stop writhing? This has happened quite a few times.


My grapple tracking is okay, except that there does seem to be a problem with those secondary failsafes now. I've fixed that for the next release. If you have details (a log, preferably with DEBUG ON) on the initial grapple writhing failure, please e-mail it to me.
Unknown2008-12-13 04:01:22
QUOTE (Solanis @ Dec 12 2008, 08:03 PM) <{POST_SNAPBACK}>
I think there is a problem with writhing out of grapple, where once I had writhed out, it would still try to writhe out every few seconds. For some reason I didn't receive the You have writhed out of grapple message. Would it be possible to trigger "You aren't grappled! You begin to writhe helplessly, throwing your body off balance." to say, you are not grappled, stop writhing? This has happened quite a few times.


Sounds like the person did a grapple ender on you and the system didn't pick it up.
Isinar2008-12-14 17:48:46
How do I set up a targetting alias since treant uses Lua and people keep giving me a VB alias
Unknown2008-12-14 17:59:19
Consider this your one freebie. tongue.gif

CODE

     name="target__"
   match="^\\s*t\\s+(+)\\s*$"
   enabled="y"
   regexp="y"
   send_to="12"
   ignore_case="y"
   sequence="100"
  >
  SetVariable("target", "%1")
display.Info("Targeting: " .. GetVariable("target"))
if IsConnected() then
  Send("")
end

  
Isinar2008-12-14 18:08:39
I have no idea what to do with that code heh
Rakor2008-12-14 18:16:42
Paste it in the command line, if mush works like that too? Won't hurt to try.
Shishi2008-12-14 18:30:05
QUOTE (Isinar @ Dec 14 2008, 11:08 AM) <{POST_SNAPBACK}>
I have no idea what to do with that code heh

copy it, then go to aliases and press the paste button.
Isinar2008-12-14 18:32:35
okay now how do I use it?
Unknown2008-12-14 22:03:11
I have a question. How recently updated is this Client, and is it combat worthy?
Unknown2008-12-14 23:20:12
QUOTE (Shadow Aes @ Dec 14 2008, 05:03 PM) <{POST_SNAPBACK}>
I have a question. How recently updated is this Client, and is it combat worthy?


This combat system is very current and is being updated regularly. Check the initial date of the first post, as that's when I started distributing it. It's very combat worthy, and any issues you find with it should be reported to me via e-mail (with a log and enough description to help me reproduce and fix the problems).
Unknown2008-12-15 18:41:34
Good to know.....I have quite a few scores to settle.

I Downloaded both of them on to my USB stick. Oh Geez there is no compass on here....I'm scared.


will we have to keep downloadeing new versions or will it update itself whenever the next version is ready?

EDIT: there a scroll for this client?
Unknown2008-12-15 19:05:49
QUOTE (Shadow Aes @ Dec 15 2008, 01:41 PM) <{POST_SNAPBACK}>
Good to know.....I have quite a few scores to settle.

I Downloaded both of them on to my USB stick. Oh Geez there is no compass on here....I'm scared.


will we have to keep downloadeing new versions or will it update itself whenever the next version is ready?

EDIT: there a scroll for this client?


There's no compass, but there is a map plugin that shows you your current minimap in the upper right corner. That should be so much more useful than a simple little compass.

You'll have to download new versions to do an upgrade. Just extract the new archive over your existing files and run the treant:Install() again to load the updated triggers and aliases. (If you're the careful sort, you'll backup your existing files before the upgrades, just in case.)

For MUSHclient help, you can post on the MUSHclient forums. For Treant help, you start with the web page, then look at the txt files that came with the archive you downloaded, and if that's still not enough, you send me credits to purchase a support contract and get one-on-one assistance.