Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Plugins
➜ Plugins for Aardwolf MUD
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
3
Posted by
| Nick Gammon
Australia (23,046 posts) Bio
Forum Administrator |
Date
| Reply #30 on Sat 10 Sep 2011 01:21 AM (UTC) |
Message
| Can you post the whole thing? It is hard to debug out of context. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| DaemonChilde
(3 posts) Bio
|
Date
| Reply #31 on Mon 12 Sep 2011 03:37 AM (UTC) |
Message
|
Nick Gammon said:
Can you post the whole thing? It is hard to debug out of context.
I can't since I can't post large scripts (can't even quote them apparently)
On the 1st page the, the LevelTracker is it.
<!-- Plugin "LevelTracker" generated by Plugin Wizard --> | Top |
|
Posted by
| Nick Gammon
Australia (23,046 posts) Bio
Forum Administrator |
Date
| Reply #33 on Tue 20 Sep 2011 11:26 PM (UTC) |
Message
| I didn't write this so it is hard to know exactly what is going on. From what I can see, @clevel is not set (that is, the variable "clevel" does not exist).
This sets it (amongst other things):
<trigger
group="FingerInfo"
match="^Level (\d+) (none|male|female) .* \(Tier (\d)\)\.$"
regexp="y"
send_to="12"
sequence="100"
>
<send>world.setvariable "clevel", "%1"
world.setvariable "tiers", "%3"
world.setvariable "alevel", (%1 + (%3 * 10))</send>
</trigger>
So if you can get that processed it might work.
Maybe add:
SetVariable "clevel", "1"
to inside lvlsetup, and then type "lvlsetup" again.
eg. here:
world.EnableTriggerGroup "FingerInfo", True
world.setvariable "Classes", "1"
world.send "finger"
end if
SetVariable "clevel", "1"
</send>
Maybe ditto for "tiers" and "classes".
Sorry, it is hard to debug something written 5 years ago, by someone else, for a MUD I don't play frequently, in a language I don't use very often. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
155,073 views.
This is page 3, subject is 3 pages long:
1
2
3
It is now over 60 days since the last post. This thread is closed.
Refresh page
top