• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Request - A new plugin request

Joined
Dec 2, 2014
RedCents
1,815¢
Not sure if this is possible, but thought I would throw it out there...

Is it possible to have a plugin that setup custom ini-based TLO's that were constantly monitored? The ini could generate a list of tlos with generic names (cTLO1 ex...), that allow me to define a function or string of evaluations that define that tlo ( something like a holy/shit without the action at the end). The plugin can then constantly monitor that TLO and I can call it in a macro.
 
wouldnt you be able to do that with cfg files?
 
Possibly, I don't know much about cfg files, but my understanding was that they only load at certain times. However, some of the tlos I am thinking of would be really nice to have constantly evaluated. For example, a tlo that provided worsthurt id and class from for loops, like the macros search for the lowest hp person in a group. That way a macro could just pull out the currently worst hurt persons id without processing the for loop.

From the mq2 site:
autoexec.cfg Executed on the first pulse (when you reach character select, or when you are in game)
charselect.cfg Executed when you reach character select
zoned.cfg Executed after you finish zoning, but right before the map-specific config is executed
server_character.cfg Executed when a certain character enters the world
classname.cfg Executed when char of 'classname' enters world. e.g., bard.cfg
mapshortname.cfg Executed when you zone into this zone
pluginname-autoexec.cfg Executed when this plugin is loaded (after its initialization is complete)
 
Your trying to remove subroutines from a macro and make them tlo's? Am I understanding this correctly?

I could write a plugin that took one line mq2 tlo's and convert to a tlo, but that would be silly since you could simply write that one line into your code. But, something like finding the lowest hp in your group would require a loop and that would require a shit ton of work to implement. It would take way less work to hardcode a plugin to find the lowest hp pct in your group.
 
Some functions could be condensed down into one line mq2 tlo's, but I guess to be really useful watching a multiline subroutine or function would be best. I've never spent any time coding plugins so the differences in time to write different styles isn't obvious to me. My thought with something like the worst hp function was it could definitely speed up the healing process. But hardcoding in my other ideas probably makes it not worth the time.

Thanks!
 
ahh okay, understand now, so a plugin that you write a piece of code, that it then reads from an ini an turns into a tlo?

would that be doable in a include file?, but then youd have to add taht to all the macros, and i dont know how youd use it in mq2melee if that is the idea among others.
 
If you put it into an include (which I am pretty sure autosubs already has), you are still having to run the macro code. The flip side is not sure how computational intensive running the tlo code in the background would get as you loaded a lot more clients.
 
if the plugin has to monitor a function from an ini and report it when called, its not gonna be computationally different from using an include file
 
If the plugin is constantly calculating for every client loaded, it would be. The include containing the sub would only calculate when a /call sub was issued within the macro.
 
not if the plugin only makes the calc when the call is made, but yes i agree with you, but thats why i think a simple include file could do the same job, and it could be a community project, still bit unsure on how to get it to work with mq2melee though lol
 
it is possible there are plugins already for some of what you are asking.

For instance MQ2NetHeal

https://www.redguides.com/community/threads/24784-MQ2NetHeal

which already does monitor for worst HPs and broadcasts it over EQBC

And MQ2NetBots

https://www.redguides.com/community/threads/24783-MQ2NetBots

gives you access to a lot of information that is broadcasted over EQBC.

Bearing in mind that using these services can present a signiicant load increase on your computer. Running 8-12 toons on my machine I went from roughly 30-40% CPU utilization to 70-90% strictly running those two plugins and EQBC server from the same machine.

The plugins themselves may be a little dated compared to what MQ can do now a days, but I believe they still work as there are a number of macros still using them (ModBot for instance) and they may accomplish some of what you are looking for
 
it is possible there are plugins already for some of what you are asking.

For instance MQ2NetHeal

https://www.redguides.com/community/threads/24784-MQ2NetHeal

which already does monitor for worst HPs and broadcasts it over EQBC

And MQ2NetBots

https://www.redguides.com/community/threads/24783-MQ2NetBots

gives you access to a lot of information that is broadcasted over EQBC.

Bearing in mind that using these services can present a signiicant load increase on your computer. Running 8-12 toons on my machine I went from roughly 30-40% CPU utilization to 70-90% strictly running those two plugins and EQBC server from the same machine.

The plugins themselves may be a little dated compared to what MQ can do now a days, but I believe they still work as there are a number of macros still using them (ModBot for instance) and they may accomplish some of what you are looking for

I currently use MQ2netbots and don't notice that much of a performance drag as you describe. I'll add MQ2netheal tonight and see if it drags down my performance.
 
I went and checked with Netbots and it did increase my cpu usage substantially. See if you actually have done /netbots on, /netbots grab=on, and /netbots send=on. If those aren't enabled then Netbots does almost nothing.
 
I use modbot almost exclusively and i use netbots for my hud. It defiantly was turned on when i tested how much it stressed my system. That being said, I was testing with a private version, not the one used on RG. I'll look into it tonight.

I'm actually working on replacement for netbots, that eliminates the need to use eqbc to share info through eqbc by putting that information into shared memory. It wasn't designed to fix any performance issues, but maybe it will do that if netbots isn't fixable.
 
All I can say it, I had them turned on to test a macro (it actually loaded and turned them on on startup) the macro didn't perform as I would have liked ( potentially because I did not have those plugins turned on the other toons, something I mean to look into later) but after logging out for the night, the next day it obviously loaded the plugin for all toons... and I was seeing a significant rise in CPU usage. Took me a bit to hunt down the issue (found EQBC was using 10-14%!!) and after turning off those plugins, the CPU usage dropped back down to normal.

Admitedly i am on an older system now (I7 950 quadcore) but it still does just what I want it to do, and has handled up to 18 toons with normal graphics and winEQ2 (all I had access to at the time) with no noticeable lag, so when I am doing 8-12 and seeing it, I got worried.

Not saying there is anything wrong with either plugin, was just commenting to it as some folks are close/at their limit with their set ups. I for one do not want to use a macro that needs to stress my system that much, at least not until I get more PCs set up to spread the load out. This would be excellent if I did like Raz and had a series of PC's I could dedicate to a limited number of toons to insure performance. And maybe one strictly to handle the EQBC load (though I understand some folks using a Mumble/Rumble mini computer for their server)

Either way, those pluging may help with what toots was looking for =)
 
I was hoping that each toon could turn off certain functions in an ini to keep down cpu useage.

I am currently using netbots for out of group assisting, but I was trying to avoiding depending on netheal. Mostly, because I play with other folks and using netheal all toons have be connected to the same eqbc.
 
Ah.

That is actually one reason I don't use such macros. I tend to group with live'uns insteal of all my bots.

Sorry I wasn't more helpful then =(

- - - Updated - - -

Tough if memory serves, modbot used to use that, and woobs worked it out of the macro (or at least got the macro working better with out it) thought I may be mis-remembering there.

I know the macro I use has code for use with and with out, and tends to do better with out NetHeals for healing (curing on the other hand does better with the plugin, if I do not have my toons set up to beg for cures, and the cure set up as a dobuff... which I sometimes forget to do.) But also the macro I use has very basic healing. I am leery to work on it yet as... I am no programmer and it is very involved with the other subs.

Outside of NetHeal though I imagine you need an XTarget heal routine, otherwise you wont be able to monitor the HPs of non-grouped toons with out targeting and waiting for server info to update.

Bah, morning ramblings before coffee... sorry didn't mean to derail your thread, was just trying to be helpful.
 
Request - A new plugin request

Users who are viewing this thread

Back
Top
Cart