Forums » Community Projects

Miharu's Addon Thread

Jul 28, 2007 MSKanaka link
-- BotScan --
Purpose: Aids players who are looking for Hive Queens or Leviathans by scanning the toplist for any ships that start with "*Hive Queen" or "*Leviathan", and then displaying any matches to the chatlog. Also scans the missionlist upon docking for any Hive Skirmish missions, and prints sectors that are likely to have Hive Queens or Leviathans to the chatlog.
CLI:
/botscan [on|off] -- Master switch. If this is off, the plugin doesn't run.
/botscan queen [on|off] -- Enables or disables checks for Hive Queens on sector entry.
/botscan levi [on|off] -- Enables or disables checks for Leviathans on sector entry.
/botscan mission [on|off] -- Enables or disables missionlist scanning. Turned off by default. Only turn this on if you don't mind your chatlog being spammed; if there are a lot of skirmish missions available at the station, it will print a line for every 'critical' and 'central' mission it sees. Independent of the queen and levi settings.
Planned: Less spammy missionlist checking. Naut rewrote the code for this function. Thanks!
[Download]

-- JumpSFX --
Purpose: Enables the built-in (but unused) wormhole and sector jump sound effects.
CLI: /jumpsfx [on|off] -- turns the jump sound effects on or off.
[Download]

-- navadd --
Purpose: Allows the player to add sectors to their navroute by using sectorIDs instead of coordinates.
CLI: /navadd [sID] -- adds the sector with the ID number of sID to your navroute.
[Download]

-- SetShipColor --
Purpose: Lets the player set the color of ships that they purchase to match that of one of the ingame factions or guilds.
CLI:
/setshipcolor faction [factionname] -- Sets ship purchase color to match the given faction.1
/setshipcolor guild [guildacronym] -- Sets ship purchase color to match the given guild's color.2
[Download]

1: Valid factionname items: Itani, Serco, UIT, TPG, BioCom, Valent, Orion, Axia, Corvus, Tunguska, Aeolus, Ineubis, Xang
2: Valid guild acronyms: CLM, Itan, PA, SCAR, SSC, Syn, TGFT, VPR

-- stationspin --
Purpose: Causes the station the player is docked at to spin in the background. If the player is in a capship, nothing happens.
CLI: /stationspin [on|off] -- Turns the spinning on or off.
[Download]

-- lies2 --
Purpose: Plays back the often-referenced lies2.mov audio clip whenever it is mentioned in chat. Now also triggers a new clip for lies3.mov.
CLI: /lies [on|off] -- turn lies2 playback on or off.
[Download]
Aug 31, 2007 MSKanaka link
Lua 5.1 updates:
stationspin: no fixes needed
navadd: no fixes needed
JumpSFX: uses gksound.GKPlaySound() now, so the ingame soundtrack is neither interrupted nor necessary to have unmuted in order to hear the effects.
Sep 01, 2007 incredibleweirdo link
The JumpSFX plugin gives me a Lua error on login:

plugins/JumpSFX/main.lua:8: unexpected symbol near '.'

So I opened the file to look and see if it was just a simple typo. I know nothing (read: zip; zero; zilch; nada) about Lua or scripting though.

EDIT - removed clueless speculation on my part about the cause.
Sep 01, 2007 MSKanaka link
Download the file again.

There was an issue regarding the use of the 'local' keyword and tables; it was fixed and the fixed version is uploaded now.
Sep 01, 2007 incredibleweirdo link
Works now, thanks. Though it does give an error when you type "/jumpsfx" and forget to put in on or off:

sent plugins/JumpSFX/main.lua:26: attempt to index local 'data' (a nil value)
stack traceback:
plugins/JumpSFX/main.lua:26: in function '?'
vo/vo_cmds.lua:11: in function 'OnEvent'
vo/vo_event.lua:39: in function <vo/vo_event.lua:39>
[C]: in function 'xpcall'
vo/vo_event.lua:58: in function '_do_event'
vo/vo_event.lua:78: in function <vo/vo_event.lua:74>
[C]: in function 'GKProcessCommand'
vo/if_chatlog.lua:79: in function <vo/if_chatlog.lua:54>
(tail call): ?
Sep 01, 2007 MSKanaka link
Okay, that was an issue with the order of my CLI function's control statements. The fixed version has been uploaded. Sorry about that.
Sep 03, 2007 Aramarth link
Look at line 24 in stationspin.
Sep 03, 2007 MSKanaka link
Rewrote the CLI function. Should be fine now.
Sep 16, 2007 MSKanaka link
Added SetShipColor to the list. If your guild is not on the list of guilds the plugin supports and you would like it to be, please let me know through the IRC relay or via email what the palette number is for the color your guild uses. You can use this image to help:


(Add the number on top to the number on the left to get the ID number of the color on the palette, or just give me the two numbers.)

Also, if I've listed the incorrect color for your guild, or you want your guild removed from the list, please let me know and I will change it in the next release.
Sep 20, 2007 MSKanaka link
I've fixed the issues that cropped up with JumpSFX after the most recent update, as well as a bug in SetShipColor that prevented the user from using properly-typed faction names (ie, the plugin would allow the use of "/setshipcolor faction tpg" but not "/setshipcolor faction TPG").
Jan 01, 2008 MSKanaka link
Added a new plugin, BotScan. More info in the first post.
Jan 05, 2008 MSKanaka link
BotScan now is much less spammy when reading from the missionlist than it used to be, thanks to a fix from Nautargos.
May 12, 2008 MSKanaka link
Links are fixed. Thanks to Mor Isil for hosting.

Also added a new plugin, "lies2".
Jun 26, 2008 MSKanaka link
lies2 updated to include another sound effect.
Jun 29, 2008 shadowkhas link
Incredible.
Jun 29, 2008 MSKanaka link
The voice in the lies2 and lies3 clips belongs to Vehement/Aramarth, for those who have been asking.