Help - Search - Members - Calendar
Full Version: Trevize's Scripts
Achaea's Forums > Off-Topic > Tech Support
Pages: 1, 2
Trevize
http://sites.google.com/site/trevizemoonflair

For those that don't know, I do zMUD and MUSHclient scripts. The site above is my new website where you can find all those.

First, I'm going to start updating and maintaining my scripts and plugins again.

Second, Google changed their free website host thing from Google Pages to Google Sites quite a while ago. I've finally started moving everything over. I have just the MUSHclient plugins up so far, but the rest will soon follow, including my tutorials. Google sites is nice, it has a lot more options and a much better layout, and it'll be easier for me to manage.

Once I finish moving the old stuff over, I'm going to start again on new scripts. You can post bugs/requests now, and I'll get to them when I can. Just keep two things in mind. First, I don't do combat scripts. Utility and convenience only. Second, the more useful and general the script is, the more I'll be willing to make it.

If I won't take on a project you want, if you want something that isn't going to be posted up to everyone, or if you aren't willing to wait until I get to it (sometimes it's not long, sometimes it is) then sheck out Sena's post on Tech Support or the Market forums. She's offering to write zMUD scripts for credits, very reasonable and she is damn good.

Link to her thread: http://forums.achaea.com/index.php?showtopic=38100
Kui_leises

What was wrong with the old site?

also thanks Trevize!
Trevize
And a quick update to those of you who had a problem with the compass. It will now tell you what is wrong if it can't find the images, and disable itself instead of giving you an error. It will also tell you what directory the images need to be in.

QUOTE (Kui_leises @ Jun 7 2009, 06:55 PM) *
What was wrong with the old site?

also thanks Trevize!

Which one? tongue.gif My first site was at freewebs, a long time ago. Ditched it because I couldn't stand it. Got my own website and domain, but it kinda died. My fault, needed money for useful things. Like food. Moved to google pages because it was free and worked well. Google discontinued google pages and started up google sites... and the 'automatic transfer' for old google pages sites uh... looked like completely trash. So I decided to do it manually when I decided to start working on scripts again. Which is now.
Trevize
I put the regex tutorial on the new site, as well as created a downloadable pdf for those of you who, like me, prefer to have references offline.

http://sites.google.com/site/trevizemoonfl...tutorials/regex
Trevize
And my zMUD scripts have all been moved over. Let me know if anything on the site is missing or not working, and I'll fix it as soon as possible. I'm going to start working on updating some of these scripts and plugins.

Also, post any requests/ideas you have on scripts/plugins for either client.
Trevize
By request from Ashadra, here's a concoction sales script for zMUD.

http://sites.google.com/site/trevizemoonfl...concoctionsales

You create a new order and add items to the order. It can then display each item in the order, how many, how much per, and the total of the whole order. How much you charge for each concoction is saved in a variable and is easily configurable. It's set by default to have the oakstone pricelist.
Trevize
MUSHclient version of the above is up.

http://sites.google.com/site/trevizemoonfl...concoctionsales

Sample output:
CODE
4563/4563h, 100m, 100e, 100w, 23xp exbd-
Concoction Sales Summary:
  5 health at 800 per
  5 immunity at 1200 per
  5 mana at 800 per
  5 mending at 2000 per

Concoction Sales Total:
  24000gp
4563/4563h, 100m, 100e, 100w, 23xp exbd-
Trevize
MUSHclient rift script updated for cleaner code, MUSH todo plugin made, MUSH slain tracker made, a third party plugins page added, screenshots of certain scripts added, I have a blog up on request of a few of my script users, I have a link added to the sidebar so you can talk to me if I'm on google talk, without needing any IM account or anything, and I'm working on a crit counter for MUSHclient. Phew.
Trevize
I'm going to make this a plugin, but I ran into a very easy way of drawing your prompt in MUSHclient. One trigger and one piece of script in your script file.

Trigger:
CODE
<triggers>
  <trigger
   enabled="y"
   keep_evaluating="y"
   match="^\d+h(, \d+m)?(, \d+e)?(, \d+w)? [@cexkdb]*-"
   regexp="y"
   send_to="14"
   sequence="25"
  >
  <send>prompt.data = TriggerStyleRuns</send>
  </trigger>
</triggers>

Script:
CODE
prompt = {}
prompt.draw = function ()
  if prompt.data then
    for k,v in ipairs(prompt.data) do
      ColourTell(RGBColourToName(v.textcolour),
                 RGBColourToName(v.backcolour),
                 v.text)
    end -- for
    Note ("")
  end -- if
end -- func


After adding, you can just call prompt.draw () to display it again, such as after a script.
salaz
smexy.
small request. shaman fashion counter. something simple. currently just highlighting # of fashions when i poke doll.. so anything to make tracking fashions a bit faster would be much appreciated. thanks
Trevize
QUOTE (salaz @ Jun 12 2009, 11:46 PM) *
smexy.
small request. shaman fashion counter. something simple. currently just highlighting # of fashions when i poke doll.. so anything to make tracking fashions a bit faster would be much appreciated. thanks

Client, and since it's a class I don't have access to atm, related trigger lines?
Trevize
I'm starting to add variations of the prompt script I posted above to my MUSHclient plugin output, to make it fit in with Achaean commands better. If you have any problems with it, please contact me as soon as possible. So far, I've added it to the todo, elixsum, and tattoos plugins.
Snareman_kindfire
The shards counter for zmud isn't working right for me. It just says for some reason it can't do it.
Trevize
QUOTE (Snareman_kindfire @ Jun 14 2009, 04:55 PM) *
The shards counter for zmud isn't working right for me. It just says for some reason it can't do it.

I'll test it and try and figure out why. In the meantime, if you see this and I haven't posted yet, can you PM me the output you get?

Hmm, I'm going to need your output anyways, because it's working for me.
Trevize
Ah, nevermind, I found it. The MORE line changed. I've updated it.

http://sites.google.com/site/trevizemoonflair/zmud/shards

For those of you who use it, the MUSHclient one was updated too.
Trevize
Requests? I'm bored.
Mado
You do cMud anything, or just zmud
Trevize
QUOTE (Mado @ Jun 17 2009, 06:04 PM) *
You do cMud anything, or just zmud

For now just zMUD and MUSHclient. I don't have a copy of CMUD. I will be getting one as soon as I can though, and I will write scripts for it when I get it.

And for Mudlet if it gets a decent following, I'm not sure how that's going though.
Dexodro
From what I've seen and played with, it's really going on well. It'll be nice to get a really decent client that has multiple platforms, instead of being unable to use it natively ( I don't like using Wine for Mush, and I get crashes I never got whilst using Vista. ). Regardless, Mudlet is amazing, and hopefully, will stay that way.
Karr
I'm not a huge fan of Mudlet simply because I was 100% zMud for Achaea.
So every little feature it has that I use, I know the zMud way of doing it.

To have a new client, have to learn all the little key bindings and shortcuts to things would be annoying tongue.gif

If you could have it so that in Mudlet when you click up it found the last thing you put in and if you put a letter it would find the first thing you put in starting with that letter and someone was willing to convert all my zMud system stuff over into Mudlet. Sure biggrin.gif

Until then, it's a thing in the distance that looks cleaner than zMud, but I just can't be bothered to learn.

That said, if I had some credits Trevize. I've had a few ideas bumping about recently.
Trevize
QUOTE (Karr @ Jun 17 2009, 06:48 PM) *
That said, if I had some credits Trevize. I've had a few ideas bumping about recently.

Credits? I don't charge.

It just needs to be something useful, not a combat script, and if it's a specific class I'll probably need trigger lines. Check out my website for what I've done so far.
Karr
QUOTE (Trevize @ Jun 18 2009, 01:40 AM) *
QUOTE (Karr @ Jun 17 2009, 06:48 PM) *
That said, if I had some credits Trevize. I've had a few ideas bumping about recently.

Credits? I don't charge.

It just needs to be something useful, not a combat script, and if it's a specific class I'll probably need trigger lines. Check out my website for what I've done so far.

If you're willing to write scripts for free, sweet biggrin.gif

I've been looking for a script that counts what's spent on bass (the HUGE fish bait) and counts the amount you catch/the amount of bait you lose from line snapping and it counts how much you've sold and adds it to the amount you spent.. so overall it shows

Fishing Profit: X Bait Lost: X Fish Caught: X

In the status bar, least I think that's what it's called. The tiny space between where you type and where your prompt is in zMud. With the timer in it.
Trevize
QUOTE (Karr @ Jun 18 2009, 04:08 PM) *
If you're willing to write scripts for free, sweet biggrin.gif

I've been looking for a script that counts what's spent on bass (the HUGE fish bait) and counts the amount you catch/the amount of bait you lose from line snapping and it counts how much you've sold and adds it to the amount you spent.. so overall it shows

Fishing Profit: X Bait Lost: X Fish Caught: X

In the status bar, least I think that's what it's called. The tiny space between where you type and where your prompt is in zMud. With the timer in it.

Sounds like a good one. I will, however, need trigger lines for catching deep sea fish. I can't do that at the moment, myself.

If you're interested in helping me make this, we can continue in PMs. Just send me any relevant lines to start. I think for what you're asking, I'll just need all possible lines from catching a fish and for losing bait. Just put a * in for stuff that changes while the rest of the line remains the same, if it applies. Example:

You reel in a *.
You've caught a *.
Your line snaps, and you lose the bait.

I'll also need the output you get when you sell fish, at least the line with gold in it, and the cost per bait.
Kui_leises

Would it be possible for your offering script to include sanctifying and defiling?
Trevize
QUOTE (Kui_leises @ Jun 18 2009, 04:23 PM) *
Would it be possible for your offering script to include sanctifying and defiling?

It's possible. But I am not going to add it. I've been asked many times before, and the response will always be no to this, no to combat scripts, and no to auto-gold making such as ratting and fishing. You can add it yourself relatively easy if you want, however.

Before anyone says it, yes, I did have a fishing script a long time ago. I don't any more.
Karr
QUOTE (Kui_leises @ Jun 18 2009, 09:23 PM) *
Would it be possible for your offering script to include sanctifying and defiling?

DOR offer x to sanctify

That's what I use tongue.gif
Trevize
By the way, if you use and like my scripts, please pass around the word about my site if you can. I don't mean be obnoxious or OOC when it's inappropriate, but if you talk to someone OOC, maybe mention it? The only three ways people can find my scripts is a google search, the forums here, or word of mouth. I've only had 101 unique visitors to my new website, and I know there are more active people who use zMUD or MUSHclient.

I write these scripts to make Achaea easier to play, and the more people who use them, the better.

Thanks!
Jonathin
If you're bored: A fish counting script. Not just a "You have this many pounds of fish:", one where it tells how many of each fish, the total pounds of each type of fish, and the total pounds overall. (Kind of like your rift script or crit-counter).

^--I'm also working on one, I'm just not as good at it as you, so anything you come up with would be -MUCH- better than mine.
Baatti
Yo Trevize... so... I love your Offering and GetCorpse scripts! They rock, and are so incredibly useful. I was thinking though... for the Offering script.. you should add in the feature to be able to do SANCTIFY or DEFILE instead of just SAC of course, it would be a bit more tricky, would have to repeat on balance, but yeah. You should do it so I don't have to smile.gif thanks.

EDIT: Oh my bad... guess I should have read what everyone was conversing about here before asking... sad.gif *sigh* guess I'll have to do it then
Trevize
What is up with all the fishing stuff? unsure.gif

I could do the fish counting script, sure. It would pretty much be the same as my shard counter behind the scenes, and the slain counter style display.

Currently working on: critcounter for MUSH, bait tracker for zMUD, fish weight counter


That reminds me. What client for yours, Jonathin?

QUOTE (Baatti @ Jun 19 2009, 08:50 AM) *
Yo Trevize... so... I love your Offering and GetCorpse scripts! They rock, and are so incredibly useful. I was thinking though... for the Offering script.. you should add in the feature to be able to do SANCTIFY or DEFILE instead of just SAC of course, it would be a bit more tricky, would have to repeat on balance, but yeah. You should do it so I don't have to smile.gif thanks.

EDIT: Oh my bad... guess I should have read what everyone was conversing about here before asking... sad.gif *sigh* guess I'll have to do it then

Sorry man. In all honesty it should be a simple two triggers and one alias. tongue.gif
Sena
QUOTE (Trevize @ Jun 19 2009, 09:22 AM) *
What is up with all the fishing stuff? unsure.gif

I could do the fish counting script, sure. It would pretty much be the same as my shard counter behind the scenes, and the slain counter style display.

Currently working on: critcounter for MUSH, bait tracker for zMUD, fish weight counter


That reminds me. What client for yours, Jonathin?

Probing fish doesn't give ounces, only pounds. Possibly rounded, I'm not sure. So something like the shard counter would only give a rough estimate of the weight, you'd need to get the actual weight when the fish is caught.

Also, I'm pretty sure Jonathin uses zMUD.
Trevize
QUOTE (Sena @ Jun 19 2009, 09:46 AM) *
Probing fish doesn't give ounces, only pounds. Possibly rounded, I'm not sure. So something like the shard counter would only give a rough estimate of the weight, you'd need to get the actual weight when the fish is caught.

Thanks. It'll be up to him which I go by. Doesn't matter to me.
Trevize
By the way, for those of you that use MUSHclient (or any client that uses Lua), I found a nice little trick with booleans and logical operators. The explanation is here:

http://trevizemoonflair.blogspot.com/2009/...lean-trick.html
Jonathin
I'm in zMud. smile.gif
Trevize
QUOTE (Jonathin @ Jun 19 2009, 11:31 AM) *
I'm in zMud. smile.gif

Noted. I'll bug you when I get the others done. PMs ok?
Jonathin
Yep, okie dokie. smile.gif
Trevize
Sorry for the delays, I've been working on some fixes for my current scripts.

I've changed my newline plugin to work with any numeric prompt Achaea gives you, with or without the voting option. I've updated a number of my plugins to be easier to read. I've been converting the ones I update from major.minor version numbering to major.minor.bugfix version. I've also added re-displaying the prompt after the plugin output to many of them. I'll be fixing the rest with the above, as applicable, tomorrow. After which I'm going to finish up my critcounter and get on the two requests.

So far I have this in my to-do queue:

1. Fix up old plugins - myself
2. MUSHclient Critcounter - myself
3. Bait tracker - Karr
4. Fish Weight - Jonathin

I'm also adding screencaps as I go. Here's what I have so far:

Antitheft:


Elixsum:


Tattoos:


Rift:


Concoctionsales:


Remember, they're free and the link is in the first post. smile.gif
Trendor
What's the chances of getting the Antitheft done in a Zmud version? If you need, I could try to convert it over.

Edit: I have antitheft. This is more of a request for newcomers/whoever who use Zmud.
Trevize
QUOTE (Trendor @ Jun 29 2009, 03:12 AM) *
What's the chances of getting the Antitheft done in a Zmud version? If you need, I could try to convert it over.

Sure. smile.gif It is pretty, isn't it? I kinda went overboard on the colors though. It's a vastly simplified version of what I use.

The same warning will apply to it - it's a simple rewear and put gold away script. If you want more protection, you'll need to add it yourself. And I can't guarantee you won't be stolen from.

Queue:

1. Fix up old plugins - myself
2. MUSHclient Critcounter - myself
3. zMUD Bait tracker - Karr
4. zMUD Fish Weight - Jonathin
5. zMUD Antitheft - Trendor
Trendor
Yeah, I'm a fan of colors. I tend to edit your Zmud scripts when I use em. If it's the standard grey color, I tend to lose amongst all the other things that are grey. I just color what I think is important. That way I can virtually register the information at a glance.
Trevize
Three more plugins updated, five to go. And these should be easy ones. smile.gif

I've also added in a version number to each page title (of the updated plugins), so you can tell which of your plugins are outdated.
Horuce
Ok, I was wondering if could get something like in concoctions but for runes. I don't know if if this would be a combat script as it could have combat inplications but if I was to do like

RUNES

Jera: 15
Algiz 12
Nariat: 5

I don't want it to sketch a rune or anything, but just give me a idea of how many I could sketch? is this possible?
Trevize
QUOTE (Horuce @ Jun 29 2009, 09:05 PM) *
Ok, I was wondering if could get something like in concoctions but for runes. I don't know if if this would be a combat script as it could have combat inplications but if I was to do like

RUNES

Jera: 15
Algiz 12
Nariat: 5

I don't want it to sketch a rune or anything, but just give me a idea of how many I could sketch? is this possible?

That would be fine. I could add it as a module to my rift plugin/script, along with a concoctions one. What client do you use?
Horuce
Oh, true blue zmud smile.gif

P.S. If you need any lines or anything from runelore, be more than happy to oblige
Trevize
QUOTE (Horuce @ Jun 29 2009, 09:14 PM) *
Oh, true blue zmud smile.gif

P.S. If you need any lines or anything from runelore, be more than happy to oblige

I will when I get to it.

Queue:

1. Fix up old plugins - myself
2. MUSHclient Critcounter - myself
3. zMUD Bait tracker - Karr
4. zMUD Fish Weight - Jonathin
5. zMUD Antitheft - Trendor
6. zMUD Haveruns - Horuce

No more requests for now. I'll contact each of you as I get to your script/plugin, and I'll post here when I'm taking more requests.
Trendor
QUOTE (Trevize @ Jun 30 2009, 02:08 AM) *
6. zMUD Haveruns - Horuce

He should see a doctor instead of asking for a script for that. ph34r.gif
Trevize
QUOTE (Trendor @ Jun 30 2009, 12:09 AM) *
QUOTE (Trevize @ Jun 30 2009, 02:08 AM) *
6. zMUD Haveruns - Horuce

He should see a doctor instead of asking for a script for that. ph34r.gif

laugh.gif Runes of course. I'm a bit tired.
Trendor
I know, but it was still funny. tongue.gif
Trevize
http://sites.google.com/site/trevizemoonfl...ent/critcounter

MUSHclient critcounter finished. Enjoy!

And as always, let me know if something doesn't work.
Trevize
Shali found a small bug in my MUSH rift script. I didn't have the trigger for when you max out an item your rift. Fixed.

Also, I've added a plugin by Nick to fix when Achaea sends backspaces. MUSHclient doesn't normally handle for various reasons, and it is rather silly for a MUD to send them, but this plugin fixes that problem. If you use MUSH and have seen the odd squares when you do CWHO or WHO and the title is... insanely long, you know what I mean.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.