Hey all. Making one thread for all of my scripts, for simplicity. Two scripts currently. GoldTracker, which you may have seen before, and a new one called mData.
Using github to host them:
https://github.com/trevize-achaea/scripts/releasesGoldTracker is a simple yet flexible gold tracking script for solo, group, or org hunts. GOLD HELP (in lowercase) lists the commands. It will pick up gold from only kills by your group, split gold between group members evenly, and keep track of any percentage you'd like to allocate to an org should you so desire. Individuals can be paused an unpaused, and can request 'gold report' over PT.
mData is the new one. It's a collection of my GMCP handling functions. It stores and updates GMCP data on many things, in many cases in an easier to use format than GMCP, and in some cases evaluating things to create new data. It also calls events of its own when it's done building tables from GMCP, so allow easy scripting. Just type mData in-game to get an idea of what it stores and how to use it. For the more adventurous, check out the script itself. I actually use this for my own UI, GMCP targetting, chat capture, and more.
I'll post here for updates to scripts as well as new additions. Next on the list is my GMCP targetting script, I think.
Let me know if you have any questions.
Current scripts: GoldTracker 1.2, mData 1.1
Site: https://github.com/trevize-achaea/scripts/releasesThread: http://forums.achaea.com/discussion/4064/trevizes-scriptsLatest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
Comments
sendGMCP ('Core.Supports.Add ["Comm.Channel 1"]')
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
How do I see the list in mdata.items.denizens using the mdata alias?
With that said, I don't see the harm in displaying the full contents of the item tables, and ease of use is paramount. So I've created aliases and updated mData, it's in the newest release. See the link in my sig or the initial post.
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
Hey Sobri, I don't have actual manuals for using these things yet - that's on my to-do list. For the goldtracker though, the options are in variables at the top of the script: once you've added it as a package, go to the script and at the very top, change at the very least the name. You can also change the command separator to an ingame one to make the party chat look better, and add a container to put the gold away.
Speaking of the gold tracker, two known bugs. Tells from paused people asking for a gold report will not work, and turning the gold tracker off doesn't turn the gold report trigger off. I have them fixed in my version, I just need to upload the update.
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
I've actually just uploaded an update to the goldtracker that fixes the above two bugs, adds an explanation to the gold help alias, and includes the addition of a setting to a getalias variable that you can set to whatever in-game alias you have for picking up gold and doing whatever (for nested containers, containers with a lid, etc).
Example of what the top of the script could look like, with my name, a vertical pipe command separator, gg ingame alias to get gold, and svo's prompt function:
local me = "Trevize"
local commandseparator = "|"
local getalias = "gg"
local container = false
local promptfunction = function ()
svo.showprompt ()
cecho ("\n")
end -- func
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
Character name handling: After testing a few different options with some friends, I ended up making the goldtracker initialize/reset with no names. Doing gold on (or goldtracker on) will add your name if none are already listed.
Settings changes: settings are now in a separate script. Everything except 'me' still exists.
New aliases: gold report for a manual PT announce, and gold distribute which attempts to give everyone their gold (and removes the gold from the tracker of those it succeeds on).
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.
1) I changed 'give # gold to person' to 'give # money to person' to avoid conflict with gold comms.
2) I used math.floor when comparing gold given to gold tracked, as it wasn't matching when someone was given 12345 gold but had 12345.6 gold in the tracker.
Site: https://github.com/trevize-achaea/scripts/releases
Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.