Not logged inThe Guild of Free Traders - Discussion Forum
Forum The Guild of Free Traders Help Login
Up Topic Public Area / Plugins / TurretBot
- By Azurea Date 2013-05-20 22:08 Edited 2014-07-08 09:55
Version 1.6 latest version.
NOTE THAT THIS PLUGIN IS UNSTABLE AND NOT MAINTAINED
What It Does:

    Simply Enter a Turret
    Binds take care of timing and triggers via plugin (initialised at login)

What it will do SoonTM:

    I wanted a way to command the turretbot(s) to do something in group chat, such as ^stop to stop firing, and ^target "str" to target the nearest character with "str" in the name.
   

Commands!!
Commands are displayed with /turretbot
/turret[1,2,3,4] selects which turret you want to enter (for best results, do not use slime's turretviewer plugin, as this does not give a good idea of what the turret # is) in the List view.
/firecracker, /gemini, To change the delay of re entering turrets, gemini is by default.
/break, to deconstruct, then reconstruct the default binds, to stop the turret from firing. (best to do this after the bot has entered the turret after a few seconds)
/turretfire to start shooting with current settings

Plugin Notes:
There is no current way to stop the turretbot from accidentally leaving the turret at the exact time the trident jumps, so it could inadvertently leave the gunner hanging in the sector behind.
All timings are made with client lag in mind, giving about a second buffer so the client can catch up.
I used aliases for the bulk of the program, however eventually I'd like this to be part of the plugin.
The break alias was designed to temporarily stop the shooting, and then recreate the default aliases.

Plugin is attached:
Attachment: main.lua.zip - TurretBot 1.6 (1k)
- By Lisa201 (Trident Captain) Date 2013-05-21 22:44
This is cool.
- By Azurea Date 2013-06-13 01:39
Updated to version 1.6
The binds no longer need to be manually entered, now completely initialised at login via the plugin.
- By Boanerges (Lieutenant / Council / Trident Captain) Date 2013-06-13 14:10
When I un-zipped the folder it had 2 folders inside _MACOSX and Turretbot_1.6 . It looked like the MACOSX was for macs so I just took the other folder turrettob_1.6 and tried to put it in my plugin folder. I got message "A problem is preventing this folder from being encrypted". The window asked "Do you want to copy this folder without encryption?" I clicked yes and tried the plugin.

I got the menu when entering /turretbot, but have not got the rest to operate. I did get weapon fire when entering /turretfire, but it was primary weapon and not a turret. I tried the /break and it read breaking and then unbreaking. The weapon continued till out of mines and kept trying to fire more, giving out of ammo message. It also went into an "auto jump" mode and was continuing to try to jump with no jumps programmed, giving message "you are already at your destination" on a  regular bassis.

HELP!!!!!!!

Are there some "alaises" that I still have to enter or have I just lost part of the program due to the "encryption thing"?

I plan on binding some things on some keys for better control once I have it working.
- By Azurea Date 2013-06-13 14:30 Edited 2013-06-13 22:36
Sorry about the macosx thing. That's fine what you did. You do understand that you must be docked with a capital ship or a gunner of a ship before you use it? This does not allow you to fire your own turrets, but when you use a loader alt to fly in the Trident with you, this makes them fire a turret while you pilot the ship. The reason you got the "already at destination"  messages, is that the plugin uses the "Activate" button to exit the turret.
I'll go into more detail and make a video tomorrow.

EDIT: Are there some "alaises" that I still have to enter or have I just lost part of the program due to the "encryption thing"?
No.
- By tsreknor (Commander / Trident Captain) Date 2013-06-13 16:10
Sure wish the XC had a turret :(

I could fly around with my little guys ...

-- tsreknor
- By Boanerges (Lieutenant / Council / Trident Captain) Date 2013-06-13 16:45
So, what you are saying is that you can control any player that is flying in your dent and fire the weapons, even if they are AFK or otherwise occupied??
- By Ason Date 2013-06-13 17:57
How to stop from firing?
- By Azurea Date 2013-06-13 22:34
Hiya Ason, use /break to break the binds and to stop firing. You may have to manually hit the trigger button to stop it from firing your current tube of missiles, but that's because the +Shoot binds work as if the button was being held down, in which a tap of the same key will release it.
- By Azurea Date 2013-06-13 22:31
No boa. This is intended for use on a single client, which allows you to fire the turrets without doing anything. Generally with your loader alts, they just sit there, and don't fire at bots or hostile players. With the turretBot, it autoselects an enemy for you, and fires automatically. This only works on alts you can control inside your ship..
- By Azurea Date 2013-06-13 22:50
Fixed the hidden file folder showing up for some reason.
- By kennyb (Trident Captain) Date 2013-11-13 21:53
I went botting with a couple friends and can fill a moth with sss pretty quickly. Thanks AZ!!! I can see the potential of being able to start/stop them in group and send targets.
- By Azurea Date 2013-11-14 01:46
I discontinued development for this plugin when the ability for a trident owner to shoot his own turrets was added.

I may pick it up in the future, but not right now.
- By Es Andr Date 2014-07-07 13:09
I suppose you have to create  a map called Turretbot in the map plugins where you place then the main.lua file of the zipfile.
- By Azurea Date 2014-07-08 09:56
A map?
edit: oh yes, this is just the main.lua file. You'll have to create the folder yourself. (this is designed for developers, not users haha because they're more interested in the code)
- By Es Andr Date 2014-07-08 10:25
Thanks Azurea
- By Lisa201 (Trident Captain) Date 2016-01-07 14:27
http://forum.tgft.org/forum/topic_show.pl?tid=5557
- By 2793608762 (Goliath Captain) Date 2017-12-16 13:21
Why I cant use it.I type /turretbot,it says no such command.need help!
- By Boanerges (Lieutenant / Council / Trident Captain) Date 2017-12-16 13:25
this is an old post, but start with reading ALL the post above as some changes had been made since it was first developed years ago
Up Topic Public Area / Plugins / TurretBot

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill

Net::CIDR::Lite module not available.