NPC Combat Bot v0.2
I initially wanted to write this bot in C# but with the .NET library still not being very stable I started writing this in LavischScript.
Here's my initial version. Please note this version is made with 0.0 activity in mind.
This is what it will do:
# It will go to a belt
# It will target all the rats
# It will shoot (with missiles only !!) the rats
# It will activate its hardeners
# It will activate its shield booster if shield HP drops below 80%
# It will deactivate its shield booster if shield HP is above 98%
# It will warp to a safespot if a pilot is in local that does not conform to SafeAllianceIDs or SafeCorporationIDs
# At the safespot it will cloak (if a cloak is fitted)
# It will warp to the next belt if a player is in the belt already
# It will warp to the next belt if all the rats died
For this to work you need to edit npcbot.iss file:
# Edit the safespot string at the top
# Edit/add corps&alliances to the safe list a bit lower in the code (marked by " alliance id's here"
After that it should work without user intervention.
There's a bunch of things I want to add (for example drone-control), but thats all for 'the future' (e.g. upcomming week or so).
A list of 'ToDo' sofar is:
# Safespot if shield drops below x%
# Stay safespotted if armor drops below x%
# Safespot if ammo is depleted
# Alert when a faction or officer spawn is in the belt
# Drone control, take down frigs with the drones after everything agro'd
# Target priority (if there are T2 rats, dire, arch, etc kill those first)
What you shouldnt expect is:
# A nice UI
# Easy setup
# Anything that I dont find usefull or need (e.g. guns/webbing/armor repping), its probably not hard to add but I really dont give a shit
--------------------
New in v0.2:
# Reload weapons when entering a belt
# Reload weapons when switching targets and ammo capacity is below 30%
# Chaining support (see post on my views on chaining)
# Fixed numerous bugs
I should have added some of the remarks from this thread but I'm a lazy git so didnt get around to it. But seeing this version has chaining added I thought I'd release it.
I've still got mixed feelings about chaining, it could be great but still undecided. Although I gain more isk/hour with it enabled, I get less special spawns. Its a trade-off I guess.
To upgrade just replace npcbot.iss , note that safespot is no longer a variable (somehow that didnt work for me last time). And DoGetPilots might still require a mod thats listed below.
Note that the target object might require editing as it now assumes guristas rats.
I initially wanted to write this bot in C# but with the .NET library still not being very stable I started writing this in LavischScript.
Here's my initial version. Please note this version is made with 0.0 activity in mind.
This is what it will do:
# It will go to a belt
# It will target all the rats
# It will shoot (with missiles only !!) the rats
# It will activate its hardeners
# It will activate its shield booster if shield HP drops below 80%
# It will deactivate its shield booster if shield HP is above 98%
# It will warp to a safespot if a pilot is in local that does not conform to SafeAllianceIDs or SafeCorporationIDs
# At the safespot it will cloak (if a cloak is fitted)
# It will warp to the next belt if a player is in the belt already
# It will warp to the next belt if all the rats died
For this to work you need to edit npcbot.iss file:
# Edit the safespot string at the top
# Edit/add corps&alliances to the safe list a bit lower in the code (marked by " alliance id's here"
After that it should work without user intervention.
There's a bunch of things I want to add (for example drone-control), but thats all for 'the future' (e.g. upcomming week or so).
A list of 'ToDo' sofar is:
# Safespot if shield drops below x%
# Stay safespotted if armor drops below x%
# Safespot if ammo is depleted
# Alert when a faction or officer spawn is in the belt
# Drone control, take down frigs with the drones after everything agro'd
# Target priority (if there are T2 rats, dire, arch, etc kill those first)
What you shouldnt expect is:
# A nice UI
# Easy setup
# Anything that I dont find usefull or need (e.g. guns/webbing/armor repping), its probably not hard to add but I really dont give a shit
--------------------
New in v0.2:
# Reload weapons when entering a belt
# Reload weapons when switching targets and ammo capacity is below 30%
# Chaining support (see post on my views on chaining)
# Fixed numerous bugs
I should have added some of the remarks from this thread but I'm a lazy git so didnt get around to it. But seeing this version has chaining added I thought I'd release it.
I've still got mixed feelings about chaining, it could be great but still undecided. Although I gain more isk/hour with it enabled, I get less special spawns. Its a trade-off I guess.
To upgrade just replace npcbot.iss , note that safespot is no longer a variable (somehow that didnt work for me last time). And DoGetPilots might still require a mod thats listed below.
Note that the target object might require editing as it now assumes guristas rats.
Attachments
-
1.7 KB Views: 261
-
15.6 KB Views: 274
Last edited: