ImportBot Posted November 8, 2013 Share Posted November 8, 2013 Originally Posted by PapaCharlie9*: SIMPLE COMMAND REPEATER NOTE FOR BF4 R26 VERSION AND LATER It is no longer necessary to set the vars.preset command over and over again. Just set it once in your startup.txt. DESCRIPTION Use this plugin to define RCON command tasks that are repeated at a set interval of seconds. For example, if you want to insure the vars.gameModeCounter 200 is executed every 10 minutes, you can use this plugin to do that. All commands are executed at the same time after the interval delay has expired. It is not possible to set a different interval for each command with this plugin. You may use this instead of using pb_sv_task to repeat commands at an interval. The advantage is that this is easier to use and setup. The disadvantage is that it only works as long as Procon is connected to your game server. Enter each command on a separate line, as you would in the RCON console of Procon, separated by spaces, and using quotes for strings where required, such as: Code: admin.say "Welcome to the best server in the world!" allBy default, the command list already contains the now obsolete (R26) BF4 command: Code: vars.preset "Normal" You should delete the default and change the list to some other commands. You may change, delete, or add to that list in any way that you want. Change Log 1.0.0.1 - Initial version 1.0.0.2 - Added more documentation to the plugin Details tab - Reduced the default command list to just vars.preset "Normal"; having vars.gameModeCounter 75 might confuse people. Download Attached Files: SimpleCommandRepeater.zip Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by dyn*: Great work PC9. Just a few days ago I was trying to explain how to setup repeatable commands via punkbuster. Your way will indeed be much more simple. Will give it a try today and see how it goes. Thank you. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by tarreltje*: Im going to try this. i totaly lost it now. I can get my server back to preset normal, i check the server docs for missing vars ect. Reinstalled the server.. No luck, maby this will help. Maby if some1 have some info about getting normal on a fragnet server? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by PapaCharlie9*: If you already have some custom pb_sv_tasks set up, don't forget to remove them once you switch to this plugin! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by guapoloko*: PapaCharlie9 this plugin will change tickets server as does the tool that has the control panel of the NFO? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by PapaCharlie9*: PapaCharlie9 this plugin will change tickets server as does the tool that has the control panel of the NFO?No, that requires more logic than this plugin can do. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by PapaCharlie9*: Plugin updated to 1.0.0.2. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by guapoloko*: vars.gameModeCounter running along prevents tickets from being altered. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by PapaCharlie9*: vars.gameModeCounter running along prevents tickets from being altered.Yes, but it might also make your server be Custom in Battlelog. vars.preset can change vars.gameModeCounter. Basically, you can either be Normal in Battlelog and have default tickets, or you can have large tickets and be Custom in Battlelog. Doing both, Normal and large tickets, is possible (I think), but it requires a different plugin than this to do that. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by guapoloko*: Configured in this way under there. And this as normal in Battlelog! For me so far is working well without change tickets. vars.preset "Normal" vars.gameModeCounter 1000 http://battlelog.battlefield.com/bf4...-RESPAWN-24-7/ Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by PapaCharlie9*: Configured in this way under there. And this as normal in Battlelog! For me so far is working well without change tickets. http://battlelog.battlefield.com/bf4...-RESPAWN-24-7/ To make sure it stays Normal, you need to run the next map. I have noticed that when you run the next map, it either changes to Custom or it resets vars.gameModeCounter to 100. So the next map will have small tickets if it is Normal. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by guapoloko*: Not changing this: In this Battlelog "normal" and as I continue tickets selected. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 8, 2013 Author Share Posted November 8, 2013 Originally Posted by PapaCharlie9*: Not changing this: In this Battlelog "normal" and as I continue tickets selected.Read this thread:showthread....ll=1#post82558* If it is working for you, either you have magic or you are getting lucky. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by tarreltje*: I have managed to get my server running on normal AND 200 Tickets for some round now. Im scared to change something because i actualy dont realy know how i have done it. What is did is using your plugin with the vars.preset "normal" and gamemodecounter at 200. This made my server normal, the tickets stayed at 100%. Then in procon i adjusted the counter into 200% and applyed. The next round i had 200 Tickets and normal preset...... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by utopiate*: PC9 is correct here, I have been using a pbsvuser.cfg to set 'normal' and 200% tickets, it always returns to 100% after a round, sometimes it sticks for several rounds but eventually will go back to 100% Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by kcuestag*: I believe vars.preset "Normal" no longer works. At least for me, it won't detect it on the console in Procon. Interesting, it works with your plugin though, I just downloaded it and it set our server back to normal! Any idea why it wasn't working manually for me (From my layer)? Thank you PC9, you just made my server alive again for the night. Edit: Apparently from layer it won't work but direct from rcon it does... I didn't know that. Thank you again, this plugin will be useful. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by tarreltje*: Since ive managed yesterday to get my server back to normal, it is still on normal WITH 200% tickets, I dont know why but otherwise checkout my server Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by guapoloko*: I was running this plugin by layer perfectly. But all my servers BF4 NFO fell in and they are failing to start ... lol Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by kcuestag*: I woke up and found server's uptime 3 hours 53 minutes, and it was at Custom, the plugin didn't set it back to Normal, so I had to do so my self. I have it by default at 600 seconds interval and Debug level 2. Edit: I don't know why but by default it had vars.preset "Normal"/. I removed that / and it worked, this plugin will be very useful to make sure my server never goes into custom again. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by SeMpaFiMaRiNe*: Can u say me why i cannot set Hardcore on my Server throug the Console by using the command "vars.preset Hardcore"? Its just telling me "Unknown command"! Thx Sempa Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by kcuestag*: Can u say me why i cannot set Hardcore on my Server throug the Console by using the command "vars.preset Hardcore"? Its just telling me "Unknown command"! Thx Sempa If you read my post #16, you will see you CAN'T run commands from the Layer, you have to do it via direct connection to your gameserver's IP. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by PapaCharlie9*: Edit: I don't know why but by default it had vars.preset "Normal"/. I removed that / and it worked, this plugin will be very useful to make sure my server never goes into custom again. That's strange. Anyone else see this after installing the plugin for the first time? I tested 1.0.0.2 on a new Procon connection to make sure the default didn't have errors like that, but it is possible I missed something. If other people are seeing the same thing, I'll post a change, though the code looks okay to me. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by guapoloko*: For me this has worked perfectly and I am using the plugin layer. I'm still using the first version of the plugin. Magic or luck ... lol Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by mtxrooster*: While I have to say thanks for adopting BF4 support, I have to ask.. Do we know why commands are having to go directly to the server and NOT usable through the procon layer? It was my understanding that there is no difference between a layer server and a direct procon connection OTHER than 1 is managed and allows other admins to connect to it to issue commands and one is (obviously) a simple, direct connection. Functionally I thought they were supposed to be identical. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by guapoloko*: Print as the set up! http://www.suatela.net/X6gWLR3 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by kcuestag*: That's strange. Anyone else see this after installing the plugin for the first time? I tested 1.0.0.2 on a new Procon connection to make sure the default didn't have errors like that, but it is possible I missed something. If other people are seeing the same thing, I'll post a change, though the code looks okay to me. Probably a mistake on my end. For me this has worked perfectly and I am using the plugin layer. I'm still using the first version of the plugin. Magic or luck ... lol The plugin works fine on layer, what I mean is you CAN'T manually type commands on the Console tab as it'll say unknown commands, you have to use direct connect for that. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by PapaCharlie9*: While I have to say thanks for adopting BF4 support, I have to ask.. Do we know why commands are having to go directly to the server and NOT usable through the procon layer? It was my understanding that there is no difference between a layer server and a direct procon connection OTHER than 1 is managed and allows other admins to connect to it to issue commands and one is (obviously) a simple, direct connection. Functionally I thought they were supposed to be identical. As I understand it, it's just a known issue/bug in this version of Procon. The layer and local client talk to each other over the network. In order to prevent the client from messing up all the other clients connected to the layer, not to mention the game server, the Procon layer inspects the commands you try to send it. Unfortunately, that code isn't update to BF4 yet, or something like that, so it doesn't recognize the command. When you are directly connected to the game server, that check is not used. This is what I recall from what a Procon dev typed in another post, which I can't find at the moment. So I might be partly or mostly incorrect. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by SeMpaFiMaRiNe*: If you read my post #16, you will see you CAN'T run commands from the Layer, you have to do it via direct connection to your gameserver's IP.I tried everything but i cannot get my server on hardcore, at least not shown as in the battlelog, its always displayed as custom! here are my settings in the startup file of my server:# This file is to be editable by the server administrator. # It can contain any remote administration commands that are to be run during game server startup. # Your choices here are offical, ranked, unranked, private # # Offical servers will not allow you to change many configuration settings, # # but will get quick play players # # Ranked servers will allow you to change more configuration settings then # # offical servers, but will not get quick play players # # Unranked/private will allow you to change even more configuration settings vars.serverType "Ranked" # If you add any spectator slots, these will subtract from the number of # player slots available for normal players vars.autoBalance true vars.friendlyFire true vars.killCam false vars.miniMap false vars.hud false vars.3dSpotting false vars.miniMapSpotting false vars.nameTag false vars.3pCam false vars.regenerateHealth false vars.vehicleSpawnAllowed true vars.soldierHealth 60 vars.playerRespawnTime 100 vars.playerManDownTime 100 vars.bulletDamage 100 vars.onlySquadLeaderSpawn true vars.forceReloadWholeMags true vars.hitIndicatorsEnabled false vars.idleTimeout 0 vars.teamKillCountForKick 50 vars.teamKillValueForKick 0 vars.teamKillValueIncrease 1 vars.gameModeCounter 400 reservedSlotsList.aggressiveJoin true fairFight.activate vars.commander true vars.roundRestartPlayerCount -1 vars.roundStartPlayerCount 4 vars.maxSpectators 0 Thx Sempa Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by guapoloko*: PapaCharlie9, I have the following problem on my servers: "ERROR Game disconnected: could not join server." This error occurs until I reboot the server. After some time he returns. What command can I use to restart something or clean something to clear this error of servers? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 9, 2013 Author Share Posted November 9, 2013 Originally Posted by tarreltje*: My server is was filled yesterday at 19:00 and till now it hasent been empty, still running on normal with 200 Tickets!!! Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
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.