Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Hardcore Infantry Only Plugin for BF3  (Read 18140 times)

Offline surt

  • Newbie
  • *
  • Posts: 9
Re: Hardcore Infantry Only Plugin for BF3
« Reply #30 on: March 17, 2012, 11:55:27 PM »
Sorry Freelancer its not working in Rush Modus. :-(

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: Hardcore Infantry Only Plugin for BF3
« Reply #31 on: March 18, 2012, 04:23:22 PM »
Thanks for your time. Obviously things are a bit different in Rush and Conquest.

Offline kmconstable

  • Newbie
  • *
  • Posts: 7
Re: Hardcore Infantry Only Plugin for BF3
« Reply #32 on: March 18, 2012, 05:31:29 PM »
For rush I think the vehicle spawn command is sent every time two mcoms are destroyed and right after the new ones show up to attack.

Offline brok21k

  • Newbie
  • *
  • Posts: 2
Re: Hardcore Infantry Only Plugin for BF3
« Reply #33 on: March 28, 2012, 10:05:41 PM »
Every time we restart the server or force change a map via admin, the vehicles spawn ( but when the next round comes in the vehicles no longer spawn).

After reading the code I've noticed that you toggle (disable) the vehicles in onEvent when EVT_GAME_WARMUP is active. So if we forced EVT_GAME_WARMUP, would we disable the vehicles straight away? If that's possible, and what is EVT_GAME_WARMUP? (is it count down before rounds?)


JB

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: Hardcore Infantry Only Plugin for BF3
« Reply #34 on: March 30, 2012, 11:23:42 PM »
can you try this? find and replace:

elif event.type == b3.events.EVT_GAME_WARMUP:

with:

elif event.type == b3.events.EVT_GAME_ROUND_END:

Offline Inception

  • Newbie
  • *
  • Posts: 4
Re: Hardcore Infantry Only Plugin for BF3
« Reply #35 on: April 03, 2012, 07:24:09 PM »
Hi,

I've downloaded this plugin for our server but it won't work. It'll disable the vehicles, enable them and disable them again, so our server is still 'custom'.

This is our b3.log file. - http://pastebin.com/uthygXrY

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: Hardcore Infantry Only Plugin for BF3
« Reply #36 on: April 04, 2012, 08:34:39 PM »
Sorry but the log you provided doesn't show much. Can you wait one round and see if it's ok? If it's still not working, please send me the full log with changing rounds and plugin not disabling vehicles.
« Last Edit: April 04, 2012, 08:36:12 PM by Freelander »

Offline Inception

  • Newbie
  • *
  • Posts: 4
Re: Hardcore Infantry Only Plugin for BF3
« Reply #37 on: April 10, 2012, 02:00:44 PM »
The plug-in worked well for a while, but it's doing weird again.

The plug-in works well if there is someone in the server, but when it's going empty (so when all players leave) it'll disable the vehicles and it'll be Custom. When I restart B3 it's working fine again, until the server is going empty, etc etc etc.

Does the new version 1.8.1 have conflicts with it maybe?

And for some reason my b3.log only shows the punkbuster tihings. I've set it to 22.

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Hardcore Infantry Only Plugin for BF3
« Reply #38 on: April 10, 2012, 02:40:36 PM »
The plug-in worked well for a while, but it's doing weird again.

The plug-in works well if there is someone in the server, but when it's going empty (so when all players leave) it'll disable the vehicles and it'll be Custom. When I restart B3 it's working fine again, until the server is going empty, etc etc etc.

Does the new version 1.8.1 have conflicts with it maybe?

And for some reason my b3.log only shows the punkbuster tihings. I've set it to 22.
Set the level to 9 or 8, then run the plugin, replicate the issue, and then post the log.

8 is more detail then 9 btw. 22 is almost no detail.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Inception

  • Newbie
  • *
  • Posts: 4
Re: Hardcore Infantry Only Plugin for BF3
« Reply #39 on: April 10, 2012, 04:06:36 PM »
I restarted B3, and again someone joins the server and leaves and it goes on Custom.

The log: http://pastebin.com/sqrJRwXe

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: Hardcore Infantry Only Plugin for BF3
« Reply #40 on: April 10, 2012, 04:42:52 PM »
The plugin turns vehicles off when warm up starts, i.e. when the map is loaded by the server and turns them on again 40 secs after the round starts. So if you check the battle log within this 40+ second period you may see the server as custom. So bear in mind that for 40+ seconds (around 50 secs) between each round your server will be custom.

I have also noticed that your B3 server is losing connection with your game server frequently. This may also cause issues. If you're always having this problem, I suggest you to check if your B3 server is having any network problems.

Offline Inception

  • Newbie
  • *
  • Posts: 4
Re: Hardcore Infantry Only Plugin for BF3
« Reply #41 on: April 12, 2012, 06:31:53 PM »
I fixed the connection problem, but the weird bug is still there. Yes, I know that it's supposed to be Custom for 1 or 2 minutes, but not until you restart B3.

The plugin is working fine (hardcore no vehicles) when there are people in the server, but when they all leave (so the server is going empty), it will be go on Custom until I restart B3.

I can't upload my B3.log file because it's too big, Pastebin won't work either.

Offline utopiate

  • Newbie
  • *
  • Posts: 7
Re: Hardcore Infantry Only Plugin for BF3
« Reply #42 on: May 01, 2012, 02:08:41 PM »
hey guys, any further development on this one? been keeping my eye on it.

Offline Glock

  • Sr. Member
  • ****
  • Posts: 172
  • Running B3 on 4 busy BF3 servers myself! B3 FTW!
Re: Hardcore Infantry Only Plugin for BF3
« Reply #43 on: December 14, 2012, 12:30:34 AM »
Hi Free!

I hope you're well and life is treating you fair.
I have a slight problem using the plugin on the 1.8.2 Seda;

When starting B3 she instantly crashes. I check the logs and this is the reason;
"missing section header error file contains no section headers"

I've checked around and as it's python most of the fixes are Ubuntu or Linux - I'm running this machine on Windows, gave up Linux  ::)   ;)   :-X

Any ideas mate?
I'd be very grateful for some help with this. I usually try to fix it myself, as you know, but I am stuck with this one..

Regards as always my friend

Glock


(Should I update B3 to match the game server updates etc? would that work?
Need B3 Bot Hosting for your gameservers in the UK & Europe?
Take a look at Rcon-Admin.com
Cheap + reliable B3 Bot hosting in the UK and Europe

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Hardcore Infantry Only Plugin for BF3
« Reply #44 on: December 14, 2012, 12:32:53 AM »
"missing section header error file contains no section headers"
This error sounds like B3 trying to read a .ini or .cfg config file which is empty

 


Rate this page +1 at Google Search