Jump to content

Server Kills (1.5.0.0 - 3/6/2014)


ImportBot

Recommended Posts

Originally Posted by HaNg_MaN*:

 

i run procon on my own windows root server as service.exe.

a create a db and added the new db in the odbc data sources(like maps,stats,logger Plugin)

However, it does not create tables?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

Are you sure you filled out all the DB fields in this plugin's settings? If so, is the plugin sending any errors to the plugin console? Remember to make a unique table for each specific server!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

m320 grenade luncher.

 

I think you have this mispelled in the list. I tried to use it, but it didnt work on my server.

Which part did you try to use it for? Round Stats, Server Kills Report, or Specific Kill Announcements? I'm assuming you mean Specific Kill Announcements. Either way, those lists come from your localization file and are not something that I created. I do see that it is misspelled as "luncher" though, heh! However, it should still be able to track the kill. You must know that, if the underslung is equipped with an M320, RCon sends the name of the weapon it's attached to and not the M320 itself. So, maybe you have the underslung equipped?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by nezff*:

 

Which part did you try to use it for? Round Stats, Server Kills Report, or Specific Kill Announcements? I'm assuming you mean Specific Kill Announcements. Either way, those lists come from your localization file and are not something that I created. I do see that it is misspelled as "luncher" though, heh! However, it should still be able to track the kill. You must know that, if the underslung is equipped with an M320, RCon sends the name of the weapon it's attached to and not the M320 itself. So, maybe you have the underslung equipped?

Not sure. I was just trying it out with the Aug I think. If the underslung is equipped, it wont work?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

If the underslung is equipped, it wont work?

That's correct! Because when the underslung is equipped, RCon reports the M320 kill as a kill from the weapon that it's attached to. When someone kills with an M320 without and underslung attached, it should all work fine.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 weeks later...

Originally Posted by Ramon*:

 

Hello TimSad,

 

are there any (web)tool available to interpret/analyse/display the information in the DB? Like stats site for the stats logging of BF3 servers...

 

BR

Ramon

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

Hi,

tried to use it with database.

 

[17:37:03 14] [server Kills] Error! Task: createTables() Index #0 - Message: [MySQL][ODBC 5.1 Driver][mysqld-5.5.16]Unknown database 'bf3serverkills' NativeError: 1049 Source: myodbc5.dll SQL: HY000

 

But the DB Name is: "serverkills", and not "bf3serverkills". :huh:

 

procon.protected.plugins.setVariable "CServerKills" "DB Name" "serverkills"

 

Any ideas?

 

Thx,

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

Weird, do I have that database name hardcoded somewhere still? If so, nobody has mentioned it til now. I'll check when I get home from work...

 

If you want it to work right now, I'm sure it would if you make a Database with the name "bf3serverkills" and use that instead.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

Okay, Rucki... I see that I totally messed up and kept it hard coded among the only three lines that reference the DB name. They are all within the createTables function.

 

So, in the CServerKills.cs file, look for:

Code:

[b]bf3serverkills[/b]
And replace with:

Code:

[b]" + this.dbName + "[/b]
That should fix it! :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

That should fix it! :smile:

Thanks; this works.

Tables created. :ohmy:

 

Another Problem:

If I enable the plugin, cpu-usage is on 100% for ever. :/

Also if I disable the plugin.

After disabling the plugin and restarting procon, cpu usage is

 

Thx,

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

is it just me i cant get the knife to work under specific kill anouncments

It should be working. I just tried and it works just fine. Remember! There are there three types of knife kills! There's "Melee" which is the takedown animation, there's "Knife" which is just the slash kill that requires two hits on someone with full health and there's "Knife Razorblade" which is the BF3 Premium knife known in Procon as "BF Premium Knife" and is the same as "Knife" in terms of killing and no animation.

 

Sometimes certain events aren't fired for the kill announcement to work, it seems. Try it a few times just to be sure...

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

Hi, is this plugin supposed to make the table the moment you enable it ? Because I see no errors but I see no tables also.

It should. It tries creating tables each time a DB field is filled out as well as when the plugin is enabled. It only tries when all of the DB fields are filled.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 months later...

Originally Posted by TimSad*:

 

Where are some of you guys hosting this at because I have mine at Gameservers right now. Would switch if I knew a reliable hoster and could use this plugin to the full extent.

I'm just using a cheap VDS hosted by NFO to host my Procon Layer.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mandizzy*:

 

It should be working. I just tried and it works just fine. Remember! There are there three types of knife kills! There's "Melee" which is the takedown animation, there's "Knife" which is just the slash kill that requires two hits on someone with full health and there's "Knife Razorblade" which is the BF3 Premium knife known in Procon as "BF Premium Knife" and is the same as "Knife" in terms of killing and no animation.

 

Sometimes certain events aren't fired for the kill announcement to work, it seems. Try it a few times just to be sure...

Hi Tim, I am having the same problem and found out that non premium user does a melee attack, it announces it properly. If a premium user does melee attack, it doesn't announce it. Though both melee attacks are registered properly in procon events tab as melee. Can someone else confirm this behavior?
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...
  • 1 month later...

Originally Posted by Roughneck2-0*:

 

The kill 'Melee' is the animation aka takedown knife kill. The kill 'Knife' is the one without the animation aka the non-takedown knife kill.

 

What you could do is add both 'Knife' and 'Melee' to the announcement list with the same messages. Or you could do different messages if you please.

Thank you very much for this awesome plug-in!

 

I've installed it on 4 game-servers and it works great!

 

Just one thing regarding what's quoted above:

1. I've added 'Knife' to Specific Kills Announcements.

2. Announcement Display Type is set to Yell (Say didn't make a difference in terms of the issue described below).

 

Nothing happens when someone is being knifed, just when he's being taken-down (melee).

 

Here's my Kill Announcement List:

Code:

Defibrillator|%kpn% ELECTROCUTED %vpn% WITH THE %kt%!
Repair Tool|%kpn% DRILLED %vpn% WITH THE %kt%!
Melee|%kpn% KNIFED %vpn%!
Knife|%kpn% SLASHED %vpn% WITH A %kt%!
C4 Explosive|%kpn% BLEW %vpn% TO PIECES WITH THE %kt%!
Claymore mine|%kpn% FRAGGED %vpn% WITH THE %kt%!
Suicide|%kpn% THINKS LIFE'S CHEAP - SUICIDES!
Regards,

//subscribed to thread.

* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 weeks later...
  • 2 weeks later...

Originally Posted by Moli87*:

 

Hi everyone i got a problem when i reload my server kill plugin its automatically sets End kill streak number to 10 but i wanted it to stay at 5 can anyone help me out pliz!!

You can fix it when you write this:

 

lstReturn.Add(new CPluginVariable("End Kill Streak Number", this.endKillStreakNumber.GetType(), this.endKillStreakNumber));

 

after line 364. :ohmy:

 

copy it and put it in as line 365 and it works!

 

Greets

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

You can fix it when you write this:

 

lstReturn.Add(new CPluginVariable("End Kill Streak Number", this.endKillStreakNumber.GetType(), this.endKillStreakNumber));

 

after line 364. :ohmy:

 

copy it and put it in as line 365 and it works!

 

Greets

Good catch! Sorry guys! I dunno how I missed that. Another thing that has been bugging me is that that when vars.serverMessage is being used to display the Ace Squad and a round doesn't end naturally (such as going back into pre-round from a live round), it will not restore your original vars.serverMessage string. I'll see if I can find a fix for that sometime soon here...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BF3-FairPlay*:

 

Okay, Rucki... I see that I totally messed up and kept it hard coded among the only three lines that reference the DB name. They are all within the createTables function.

 

So, in the CServerKills.cs file, look for:

Code:

[b]bf3serverkills[/b]
And replace with:

Code:

[b]" + this.dbName + "[/b]
That should fix it! :smile:
Thought it might be a good idea to attach a fixed version :smile:

 

CServerKills[0.9.9.1].zip

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by darkcloud784*:

 

My Error:

Code:

[Server Kills] Error! Task: sqlInsert() Index #0 - Message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified NativeError: 0 Source:  SQL: IM002
I do have the ODBC mysql drivers installed, version 5.1.11. They do not require "configuring" as they are a driver and this is a windows machine. Whats going on?

 

How I have my ProCon Layer setup for mysql:

 

Game server ---> ProCon Layer Server ---> Remote MySQL server

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.