Arundor2008-01-19 07:42:47
Plugin attached.
Typing 'kills' will show what you've killed. Typing 'deaths' will show what has killed you.
Edit on Jan 29: I've just fixed the required version field, so the plugin will now tell you if you're running a version of MUSHClient that's too old.
Sample 'kills' output:
Sample 'deaths' output:
Typing 'kills' will show what you've killed. Typing 'deaths' will show what has killed you.
Edit on Jan 29: I've just fixed the required version field, so the plugin will now tell you if you're running a version of MUSHClient that's too old.
Sample 'kills' output:
CODE
You have killed:
      a cheuped
      a female krokani
      a large carnivorous plant
      a long kudzu vine
      a krokani guard
Total kills: 51
      a cheuped
      a female krokani
      a large carnivorous plant
      a long kudzu vine
      a krokani guard
Total kills: 51
Sample 'deaths' output:
CODE
You have been killed by:
        a two-headed eagle
        Krellan
        a sadistic mitran
Total deaths: 4
        a two-headed eagle
        Krellan
        a sadistic mitran
Total deaths: 4
Pentu2008-01-19 08:59:03
Thank you!
Unknown2008-01-19 12:10:09
Sorry to sound all clueless and such, but what do I do to er.. plug it in?
Pentu2008-01-19 13:04:23
Safe the file, then on Mushclient go to File -> Plugins..., click Add and find the file.
Tzekelkan2008-01-19 13:10:59
Wow, Arundor's great! Thank you!
Is there any way to reset the counter?
Is there any way to reset the counter?
Simimi2008-01-19 14:57:25
We DO have a sticky for these, you know... HMPH *point sig*
But thanks for looking out for us!
But thanks for looking out for us!
Saaga2008-01-19 15:03:12
I love you, Arundor.
Unknown2008-01-19 16:35:50
Thank you so much!
Arundor2008-01-19 20:03:38
QUOTE(tzekelkan @ Jan 19 2008, 08:10 AM) 478327
Wow, Arundor's great! Thank you!
Is there any way to reset the counter?
Is there any way to reset the counter?
A user-friendly way to reset is a good candidate feature for future versions.
For the moment you'll need to delete the state file, which can be a little tricky. Look in your "MUSHClient/worlds/plugins/state" folder. You should see some files with names composed of random letters and numbers. Look for the one named "something-89a37b5474615e91e0d01542-state.xml". Delete that to reset the counter.
QUOTE(Simimi @ Jan 19 2008, 09:57 AM) 478338
We DO have a sticky for these, you know... HMPH *point sig*
But thanks for looking out for us!
But thanks for looking out for us!
Oh, sorry. I thought that thread was only for your plugins.
Arundor2008-01-19 20:09:06
I've also just uploaded a new version (on the first post) with efficiency improvements only. No changes in features. If you're happy with the efficiency of the old one there's no need to upgrade, but you can if you want.
If MUSHClient is not running, the upgrade procedure is:
1. Overwrite the old XML file with the new one.
2. Done.
If MUSHClient is running, the upgrade procedure is:
1. Remove the plugin from MUSHClient.
2. Overwrite the old XML file with the new one.
3. Add the plugin to MUSHClient.
4. Done.
Your kills and deaths list will be compatible with the new version.
If MUSHClient is not running, the upgrade procedure is:
1. Overwrite the old XML file with the new one.
2. Done.
If MUSHClient is running, the upgrade procedure is:
1. Remove the plugin from MUSHClient.
2. Overwrite the old XML file with the new one.
3. Add the plugin to MUSHClient.
4. Done.
Your kills and deaths list will be compatible with the new version.
Unknown2008-01-20 16:44:09
Hmm, mine works for the first kill I make after adding the plugin, but this error message pops out:
"Trigger function "RecordKill" not found or had a previous error." also appears after the "You have slain.." line, for every kill I make with the plugin active.
I think I did something wrong..
QUOTE
Error number: 0
Event: Run-time error
Description: :10: attempt to call field 'save_simple' (a nil value)
stack traceback:
:10: in function <:3>
Called by: Function/Sub: RecordKill called by trigger
Reason: processing trigger ""
Event: Run-time error
Description: :10: attempt to call field 'save_simple' (a nil value)
stack traceback:
:10: in function <:3>
Called by: Function/Sub: RecordKill called by trigger
Reason: processing trigger ""
"Trigger function "RecordKill" not found or had a previous error." also appears after the "You have slain.." line, for every kill I make with the plugin active.
I think I did something wrong..
Arundor2008-01-20 20:33:23
There's a certain module made by Nick Gammon that I use in the kill counter. It comes with most versions of MUSHClient, but that error seems to indicate you may not have it. I'd suggest getting the newest version of MUSHClient.
If you've already tried that and it didn't work, I'll see if I can post a copy of the module.
That's my fault, by the way. I didn't set the minimum version requirement on the plugin properly.
If you've already tried that and it didn't work, I'll see if I can post a copy of the module.
That's my fault, by the way. I didn't set the minimum version requirement on the plugin properly.
Nemerle2008-01-22 23:25:33
Im using the 4.19 version of mush but am getting a mushclient save error when i close down and it ends up not saving kills data from the session.
This is the error:
unable to create the plugin save state file: c:\\...\\plugins\\state\\50c6b93659044e29746a78-89a37b5474615e91e0d01542-state.xml
any idea what could be causing this?
This is the error:
unable to create the plugin save state file: c:\\...\\plugins\\state\\50c6b93659044e29746a78-89a37b5474615e91e0d01542-state.xml
any idea what could be causing this?
Arundor2008-01-23 00:45:52
Hmm, I've never seen that error before. Do you have write access to the c:\\...\\plugins\\state\\ directory?
Tajalli2008-01-23 01:37:04
QUOTE(nemerle~ @ Jan 22 2008, 06:25 PM) 479534
Im using the 4.19 version of mush but am getting a mushclient save error when i close down and it ends up not saving kills data from the session.
This is the error:
unable to create the plugin save state file: c:\\...\\plugins\\state\\50c6b93659044e29746a78-89a37b5474615e91e0d01542-state.xml
any idea what could be causing this?
This is the error:
unable to create the plugin save state file: c:\\...\\plugins\\state\\50c6b93659044e29746a78-89a37b5474615e91e0d01542-state.xml
any idea what could be causing this?
Being the coding newbie I am -I'm having the same issue - though with Eth's system, it's not lua...this plugin reads as lua, so would the error be coming across with that conflict?
Arundor2008-01-23 03:49:58
I think that's unlikely. MUSHClient can handle multiple plugins in various different languages. This appears to be an issue regarding saving the state file to the file system. It may be attempting to save to a location where you don't have write access, or perhaps it is attempting to save to a non-existent directory.
What I would suggest is going to "File > Global Preferences" in MUSHClient, then click the "Plugins" tab. Down at the bottom of the window it will show the plugins directory. Make sure that directory actually exists, and is in a location where your OS allows you to save files.
What I would suggest is going to "File > Global Preferences" in MUSHClient, then click the "Plugins" tab. Down at the bottom of the window it will show the plugins directory. Make sure that directory actually exists, and is in a location where your OS allows you to save files.
Nemerle2008-01-23 07:41:35
QUOTE(Arundor @ Jan 23 2008, 04:49 PM) 479668
What I would suggest is going to "File > Global Preferences" in MUSHClient, then click the "Plugins" tab. Down at the bottom of the window it will show the plugins directory. Make sure that directory actually exists...
Thankyou! That was it.