Airstrike plug-in question/problem

Expand and mod your server.
Post Reply
User avatar
Buckethead
Private
Private
Posts: 4
Joined: Wed Jan 07, 2009 6:23 pm

Airstrike plug-in question/problem

Post by Buckethead » Thu Oct 02, 2014 11:08 pm

Hi all,

Purple Panzer has recently added some plugins to his great site (1purplepanzer.mooo.com:4100). "Airstrike" (AS) is one of the plug-ins.

It seems this plug-in does not - in my experience - properly identify the shooter or assign the points; this may be a random (but common) event. As you may imagine, this has led to some confusion and consternation, to the point of accusations of cheating etc etc.

Has anyone else seen this? Is this a known bug? Or is it just a matter of adjusting some software setting?

This may also apply to the grenade (GN) plugin.

Thanks for any illumination...
-buckethead

User avatar
ZE BOZZ
Private First Class
Private First Class
Posts: 66
Joined: Wed Jan 30, 2013 8:36 pm
Location: Xbox : ZE BOZZ25

Re: Airstrike plug-in question/problem

Post by ZE BOZZ » Fri Oct 03, 2014 4:58 am

Yup, Ive seen it as well. You shoot, kill someone with it and in your console you see your kill has been assigned to another player. Rather annoying actually. Part of new plugins, got to test and improve! Have you asked PP about it?
•• •• •• •• ••
"Faithless is he that says farewell when the road darkens." - J.R.R. Tolkien

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: Airstrike plug-in question/problem

Post by JeffM » Fri Oct 03, 2014 5:17 pm

The game itself does not have support for "extra" shots from players like these plug-ins use. These plug-ins fake it by using world weapon shots that are just set to a specific color. These shots are attributed to the server and do not automatically adjust anyone's score. Many of these plug-ins attempt to track the shots manually and assign scores when they kill someone. Due to limitations in how the shots are managed by the game, there are a number of cases where this logic can fail (especially in cases with a large number of plug-in created shots, or cases where multiple plug-ins create shots).

So yes, it's software bugs, some probably in the plug-in, but there are also limitations in the core system that limit the functionality the plugins can have.

Pac-Man
Private First Class
Private First Class
Posts: 15
Joined: Sat Apr 26, 2008 7:49 am

Re: Airstrike plug-in question/problem

Post by Pac-Man » Sat Oct 04, 2014 9:40 pm

It is a known bug that occurs when Airstrike is mixed with other plugins. There is a conflict because Killer Rabbit of Cearbannog specifically also uses SW, but I believe it also conflicts with Death Blossom and Triple Barrel if processed in the wrong order. Triple Barrel and Death Blossom also conflict.

The easiest fix is to combine the custom flag plugins into one plugin. The more scalable fix is to write versions of each plugin that communicate via a protocol - JeffM added something to make inter-plugin communication possible when I brought up this issue some time ago. I decided against correcting the issue because:
  • I didn't want to be "that guy" who rewrites/maintains everyone else's custom flag plugin.
  • I was told those other plugins wouldn't be present anyway so I supported Airstrike for such a case, which I was already reluctant to do because I couldn't use my own API.
  • Otherwise requires an up-to-date server.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: Airstrike plug-in question/problem

Post by JeffM » Sun Oct 05, 2014 12:21 am

I added functionality to the api so that plugins can just ask the server for a shot ID and not step on other plugins. They don't need to communicate they just need to work with any arbitrary shot ID and keep a map for scoring instead of trying to encode the player in the shot. It's not hard if you write the plugin with that in mind.

zel
Private First Class
Private First Class
Posts: 13
Joined: Mon Apr 02, 2012 11:03 pm

Re: Airstrike plug-in question/problem

Post by zel » Sat Jan 03, 2015 5:22 pm

Has this Airstrike plug-in been released? I can't find the source anywhere...

Pac-Man
Private First Class
Private First Class
Posts: 15
Joined: Sat Apr 26, 2008 7:49 am

Re: Airstrike plug-in question/problem

Post by Pac-Man » Sat Jan 03, 2015 8:06 pm

JeffM wrote:I added functionality to the api so that plugins can just ask the server for a shot ID and not step on other plugins. They don't need to communicate they just need to work with any arbitrary shot ID and keep a map for scoring instead of trying to encode the player in the shot. It's not hard if you write the plugin with that in mind.
I think it is workable now, but I guess whoever decides to fix the first custom flag plugin is also volunteering to fix all the other ones.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests