I've been meaning to rewrite a lot of the TCS modules to use a more consistent codebase(as it is, most of them are quick and dirty ports to the TCS framework from the old Pirate's Toolkit) for a while now. If you can get me more data on this I'll see what I can do about it.
Vendetta online plug ins code#
MakeFriends was my first major plugin and second project using Lua at all, so I'm not all that surprised that the code isn't of the best quality.Įdit2: If it takes an hour or so to build up, there's something else going on. To give you a sort of idea of the increase on complexity, VO's original algorithm is three lines of simple comparisons with five or so function calls, while TCS uses those(if marked) on top of checking several tables, doing a number of string matches, calling a number of recursive functions, etc.Īnother way you can lower the processor usage of MakeFriends is to use less of the extra options available.Įdit: In fact, after quickly looking at the code there's quite a lot of things I do.less than optimally. If you don't need the functionality that MakeFriends provides, it would probably help if you disabled it in the TCS main menu you can access from the VO options menu. I'm not really surprised that it's dropping framerate for some people though. I haven't gotten around to doing some actual profiling and optimizing of the code since it runs fine on my machine and I haven't heard reports of this before, but I might end up doing it later on. Generally, this code is also called extremely often on top of that. The code TCS uses is vastly more processor intensive than VO's default code in order to provide useful functions and whatnot.
TCS makes some fairly significant changes to how your radar works via the MakeFriends module. Question is why is it getting called FOUR times per hit. Plugins/tcs-plugins/central_info/a:90: attempt to read from undeclared variable FlashIntensity Plugins/tcs-plugins/central_info/a:90: in function Sent plugins/tcs-plugins/central_info/a:90: attempt to read from undeclared variable FlashIntensity It'll be implemented as soon as I can implement it properly. I wanted to add MultiAim into this release, but unfortunately it didn't make it for technical reasons. MakeFriends now saves your current preset on a per-character basis. If Alertmachine has quite a bit of results to print out(Say, if you enter a sector), it will sort them via distance before printing. * Hull color depends on player HP percentage, distance color fades from white to dark gray(#444444) based on max radar distance. Added hull HP color and distance colors to ALM config. Falls back to default radar when MF is disabled. This tag will produce a small asterisk indicating if MF decides that player is hostile or not. Using string.sub was a horrible idea, replaced with math.fmod Added a percentage hull readout to CentralInfo. Fixed a bug in CentralInfo where it would try to access an undeclared variable in production interface code. Hijacks the 3km distance readout to be something more useful in combat when you have a target. Added central_info, disabled by default. Fixed a bug in AlertMachine where "(reading transponder blah) has left the sector" would display when a player entered a highly-active sector. AlertMachine bugfixes(Guild tag doesn't raise lua error) Added missing AlertMachine config interfaces, wrote README file. I try not to push major showstopping bugs into my repo, but it can happen sometimes.
Vendetta online plug ins update#
VOClock - Adds a clock to your PDA and HUDĭid you know TCS was on github? If you want to help bugtest the latest version as I update it, check out MakeFriends - Customizes how friends and enemies are displayed on your radar
TCS was written to provide access to configuration for all PTK plugins via the VO options menu, as well as add configuration abilities to those PTK plugins that could use it.ĪlertMachine - Displays text alerts when players enter or leave your current sector.ĪutoNav - Sets your next waypoint that of your target if they jump out of sector while in range.ĬentralInfo - (Disabled by default) Hijacks 3km distance meter to be something more useful in combat when you target another playerĬhainFire - Writes chainfire aliases for defined weapons groups In the old Pirate's Toolkit, each of these modules was a standalone plugin, but dealing with configuration of each plugin was a pain all in its own. UPDATE TO 1.4 CURRENTLY IN PROGRESS, AMAZING!!īased off the old Pirate's Toolkit, TCS a modular plugin framework with a number of combat-related modules.