Mudlet - influencer/harvester

by Unknown

Back to Mechanic's Corner.

Unknown2011-03-18 14:16:47
QUOTE (Calixa @ Mar 18 2011, 10:03 AM) <{POST_SNAPBACK}>
Turn GMCP off in the mudlet config, I believe this still uses ATCP. Turning it off can potentially break other stuff that relies on GMCP, however!

It is off. sad.gif
Unknown2011-03-18 19:02:50
QUOTE (Phoebus @ Mar 18 2011, 11:16 AM) <{POST_SNAPBACK}>
It is off. sad.gif


I've had no issues with my character, who is rogue with monk skills, harvesting. Just har and it's good to go. No issues with the influencer either, except sometimes it says no target in room so I repeat the syntax and it works.
Unknown2011-03-18 19:35:12
QUOTE (Kayte @ Mar 18 2011, 03:02 PM) <{POST_SNAPBACK}>
I've had no issues with my character, who is rogue with monk skills, harvesting. Just har and it's good to go. No issues with the influencer either, except sometimes it says no target in room so I repeat the syntax and it works.

Yeah, it's really frustrating me, because it works for everyone else but for some reason doesn't do anything when I try to do it. The influencer works fine and I've been using it for ages, but nothing happens when I try to harvest.
Unknown2011-03-18 20:22:43
QUOTE (Phoebus @ Mar 18 2011, 04:35 PM) <{POST_SNAPBACK}>
Yeah, it's really frustrating me, because it works for everyone else but for some reason doesn't do anything when I try to do it. The influencer works fine and I've been using it for ages, but nothing happens when I try to harvest.


Try re-installing it?
Unknown2011-03-18 20:23:06
QUOTE (Kayte @ Mar 18 2011, 04:22 PM) <{POST_SNAPBACK}>
Try re-installing it?

Have done so multiple times. confused.gif
Unknown2011-03-18 23:16:23
QUOTE (Phoebus @ Mar 18 2011, 05:23 PM) <{POST_SNAPBACK}>
Have done so multiple times. confused.gif


What version of Mudlet and for what OS?
Vadi2011-03-18 23:17:24
Checking for errors in the error view would be a really helpful thing to do.
Unknown2011-03-18 23:39:40
What happens exactly:
QUOTE
har kafe
plants
The following plants are growing in this room:
A kafe bean (kafe) 52 left.
2914h, 3666m, 4899e, 10p, 9330en, 16570w elrx-

Then... nothing. And the next time a prompt shows up, it tries to do nature growth (unsuccessfully, because I don't have nature growth.)

QUOTE (Kayte @ Mar 18 2011, 07:16 PM) <{POST_SNAPBACK}>
What version of Mudlet and for what OS?

pre6, Windows 7.

QUOTE (Vadi @ Mar 18 2011, 07:17 PM) <{POST_SNAPBACK}>
Checking for errors in the error view would be a really helpful thing to do.

Thought of that, nothing shows up.
Vadi2011-03-19 00:55:55
Oh, ew. Well, next bext thing is too go to the triggers directly responsible for this, and put echos in places where should get to. If echos don't show, see where does it stop.
Aison2011-05-10 09:40:43
ediiit: Kelly fixed my stuff!
Unknown2011-05-11 08:07:23
Just thought I would share the changes I made to this to support GMCP.

Change the CharVitalsHandler function to:

CODE
function CharVitalsHandler( msg, arg )
--NL:89/100 H:3770/3770 M:4860/4860 E:4404/4404 P:10/10 N:16740/16740 W:22440/22440
    -- ATCP
    charVital_regex = rex.new(])
    local nl, h, mh, m, mm, e, me, p,mp, n,mn, w,mw = charVital_regex:match(arg)
    demonnic_nextLevel = tonumber(gmcp.Char.Vitals.nl)
    demonnic.curHealth = tonumber(gmcp.Char.Vitals.hp)    
    demonnic.maxHealth = tonumber(gmcp.Char.Vitals.maxhp)
    demonnic.curMana = tonumber(gmcp.Char.Vitals.mana)
    demonnic.maxMana = tonumber(gmcp.Char.Vitals.maxmp)
   demonnic.curEgo = tonumber(gmcp.Char.Vitals.ego)
    demonnic.maxEgo = tonumber(gmcp.Char.Vitals.maxego)
    demonnic.curPower = tonumber(gmcp.Char.Vitals.pow)
    demonnic.maxPower = tonumber(gmcp.Char.Vitals.maxpow)
    demonnic.curWillpower = tonumber(gmcp.Char.Vitals.wp)
    demonnic.maxWillpower = tonumber(gmcp.Char.Vitals.maxwp)
    demonnic.curEndurance = tonumber(gmcp.Char.Vitals.ep)
    demonnic.maxEndurance = tonumber(gmcp.Char.Vitals.maxep)
end
Lorina2011-05-22 20:29:21
Sooo, I am wondering if anyone else has this problem. I am on 2.0 rc1 Mac and I get this....

Lua error:
Lilia2011-05-22 21:48:47
Assuming you have GMCP enabled, change maxEgo to gmcp.Char.Vitals.maxego . You'll probably have to change curEgo as well (gmcp.Char.Vitals.ego). This was originally written for ATCP, which you're not getting if you're using GMCP.
Unknown2011-05-23 10:33:22
Just pass it to tonumber() and it will work.
Unknown2011-05-23 18:36:02
This is one of my targets for rewriting this week. Aim to support both ATCP and GMCP, and to squash some bugs.

So just a tinge of patience and then I'll be back supporting this.