Jump to content

iamadeadpixel

Active Members
  • Content Count

    76
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by iamadeadpixel

  1. got a bit borred here and made this litle snipit for proconrulz. not willing to fill procon with admin ,but giving trusted players some admin privileges ? ,this snipit can help u out. only a procon admin can add special admins. use: /set admin <playername> (or part of it) /remove admin <playername> ,This wil revoke extended commands /read admin <playername> this checks if a player has access enjoy and abuse it for own fun For more information, see the BF4 server documentation how i set this stuff up. # Extended admin commands: R1 08-10-2020 initial stuff # Reading who has admin stuff On Say;Text !read admin,/read admin targetplayer;If %ini_extended_admin[%t%]% = 0; playerSay player %t% has NO extended admin status:( :(;end targetplayer;If %ini_extended_admin[%t%]% != 0;playerSay player %t% has extended admin status :);end If %ini_extended_admin[%p%]% = 0; playerSay player %p% has NO extended admin status:(;end If %ini_extended_admin[%p%]% != 0;playerSay player %p% has extended admin status :);end # what am i ? ,admin or lamer On say;text !whatami;If %ini_extended_admin[%p%]% = 0;playersay player %p% is not in the extended admin list :(;end On say;text !whatami;If %ini_extended_admin[%p%]% != 0;playerSay player %p% is in the extended admin list :);end # granting a player extended admin command (procon admins only can do this) On Say;admin;Text !set admin,/set admin targetplayer;If %ini_extended_admin[%t%]% = 0;Set %ini_extended_admin[%t%]% granted;PlayerSay %t% has granted extended admin permissions;end targetplayer;If %ini_extended_admin[%t%]% != 0;PlayerSay %t% already has granted extended admin permissions;end playersay VOID, we need a name, or is already admin, check with !read admin <name>;end # removing extended admin status (procon admins only can do this) On Say;admin;Text !remove admin,/remove admin targetplayer;If %ini_extended_admin[%t%]% = 0;playersay %t% was already removed from the extended admin commands;end targetplayer;not If %ini_extended_admin[%t%]% = %p%;If %ini_extended_admin[%t%]% != 0;playersay Admin %t% cant remove him self from the list;end targetplayer;If %ini_extended_admin[%t%]% = %p%;If %ini_extended_admin[%t%]% != 0;Set %ini_extended_admin[%t%]% 0;playersay %t% has no longer access to extended commands;end playersay VOID, we need a name, or is already removed as admin, check with !read admin <name>;end # this will kill a player on say;text !lamer;If %ini_extended_admin[%p%]% != 0;targetplayer;exec Admin.Killplayer %t%;say Killing %t% for %targettext% # This wil roundban a player for 2 rounds on say;If %ini_extended_admin[%p%]% != 0;text /rban,!rban ;targetplayer;playersay initiating roundban;say %t% got ROUNDBAN for %targettext%;exec banlist.add name %t% rounds 2 "%targettext%";exec banlist.save;exec banlist.list; two demo commands are added. !lamer ,that wil kill a player. !rban ,this will roundban a player for 2 active rounds. enjoy.
  2. silly queston.. is punkbuster disabled ? ,if that is the case, forget it, for the plugin to work properly you need a active punkbuster server. but u can check with phpmyadmin if any other kind of data is stored, like playerdata.
  3. our litle group has a BF3 and a BF4 server. Dont ask me how i messed up, but i let the bfadmincp i had linked to the wrong website bf4admincp, and not bf3admincp, wel, with the comming of the bf4 server i wanted to correct that. for the BF3 server is was easy, cleaning the cache, copying the env.php to its proper location, and done, well, admins needed to login again, but hey. however, for the BF4 server this was a bit harder to do, 1st of all i had to make 3 links in mysql (hosted local on a own server here), ip adres from the procon layer (i dont want unwanted SQL hammering), one to localhost, and one the the real IP adres) but for some reason, i dont get the chatlogs to work, bfadmincp is also hosted localy. on bf3 it simply works as it should be, but not on the bf4 server. any sugestion, i gues i messed up with the mysql setup,
  4. hmm, interesting, we had last week a nasty surprice to, ALL 188 bans whe had where gone, vanished.. it is that i made weekly backups, and no, i didnt screw up, they where just gone.
  5. well, it works,,, it still is weard stuff.
  6. ok, this is weard. After i just install battlelogcache ,it eh, fetched the data needed.
  7. so, i am seting up a database for testing before we move it. After a while i noticed the message below, tought, write permission ? ,but chatlogger and other stuff is working. in short, it refuses to write the tbl_server data becouse it is mowning about some weardness,, now i am not a guru in this,,,but any sugestion what is going on here. [15:44:19 31] [Statslogger]Error: Error in Startstreaming: [15:44:19 31] Message: Cannot add or update a child row: a foreign key constraint fails (`ukfbf4server`.`tbl_server_player`, CONSTRAINT `fk_tbl_server_player_tbl_server` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE CASCADE ON UPDATE NO ACTION) [15:44:19 31] Native: -2147467259 [15:44:19 31] Source: MySql.Data [15:44:19 31] StackTrace: at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId) at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at PRoConEvents.CChatGUIDStatsLogger.StartStreaming() [15:44:19 86] [Statslogger]Error: Error in Startstreaming OuterException: System.NullReferenceException: Object reference not set to an instance of an object. at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErrorCollection(MySqlException myException) at PRoConEvents.CChatGUIDStatsLogger.StartStreaming() [15:44:20 74] UltimateMapManager: INFO -> Level loaded. [15:44:29 06] [Statslogger]Error: getUpdateServerID1: System.InvalidOperationException: Nested transactions are not supported. at MySql.Data.MySqlClient.ExceptionInterceptor.Throw(Exception exception) at MySql.Data.MySqlClient.MySqlConnection.Throw(Exception ex) at MySql.Data.MySqlClient.MySqlConnection.BeginTransaction(IsolationLevel iso) at MySql.Data.MySqlClient.MySqlConnection.BeginTransaction() at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID(CServerInfo csiServerInfo) Thnxs.
  8. Facing the same isue. But when i set the jet enforcer to slay the pilot on a kill, it keeps mowning on every weapon item and kill the pilot on every spawn, even when he spawns on base. doesnt mather if i set on kill, or on spawn ,the pilot get killed, when spawn enforce all vehicles is set to false , jet weapons are set to allow on kill ,what is deny ,it says remove from loadout on spawn, what is weard, it should kill the pilot only on a kill when i get this correct.
  9. wish it was possible to forbid the black dice camo, its anoying.......
  10. if u are serious on making a "private" server for invite only, and u have insane limits installed, i can post the script for it.. but maintaining the lists is a tougher cookie to do.
  11. setting a password is not gonna work on a RANKED server. the only think what u can do ,is installing insane limits and work with a access list for players who are in that lists.
  12. Nvr mind... NEW IP, i forgot to add it in to remote SQL access...
  13. eh? Why not run procon localy to test it ?
  14. well, 50/50 change, but i guess i have cracked it . and this works, got now a good template. on spawn; mapmode conquestlarge0,conquestsmall0,ConquestAssaultSmall0,ConquestAssaultSmall1,ConquestAssaultLarge0; if %ts1% + %ts2% >= 4;set %_server_challenge% 1 on Spawn; serverfirst;if %_server_challenge% = 1; say challenge system active;say !challenge for objectives on say ; serverfirst;if %_server_challenge% = 1; say challenge system active;say !challenge for Objectives i removed the 1st serverfirst, so basicly it checks on each spawn if there are 4 or more players on the server rude solution, but does the trick here ,henge, with this i even can set it on a higer player rate, and when it drops it can spam out other messages.
  15. ok, the on round didnt work, on spawn;serverfirst is working, lets observe it more, any ways, thanks maxdralle
  16. I love revamping stuff, so i modded some challenge script i had left from my old server. However ,, i noticed a weardness in it. when a play spawn or say something, it should confirm that the challenge is active, but for some reason it doesnt do it. i use the TS1 + TS2 check to see if there are 4 or more players on the server ,tried several variations, 8 out of 10 time it doesnt work. currently i am testing with a on round; but still no luck. any sugestions? # Master control system for challenges # R4 11-06-2020 # Original design: maxdralle # VERSION 2 - modified for VIP Slot Manager Plugin # REQUIRES: VIP Slot Manager Plugin # win vip slot for 14 days # req. min. 4 players on round start to enable the challenge # Adapted for BF3 by iamadeadpixel # on round; mapmode conquestlarge0,conquestsmall0,ConquestAssaultSmall0,ConquestAssaultSmall1,ConquestAssaultLarge0; if %ts1% + %ts2% >= 4;say challenge system active;say !challenge for information;set %challenge% 1 on Spawn; serverfirst;if %challenge% = 1; say challenge system active;say !challenge for more information on say ; serverfirst;if %challenge% = 1; say challenge system active;say !challenge for more information on say; if %challenge% = 1;if %text% = !challenge;playersay Objectives to complete;playerSay Make 5 LMG, 5 SMG, 5 Sniper, 5 Assault kills # checking progress on challenge on kill;Damage AssaultRifle; if %challenge% = 1;incr %[%p%]challenge_asr%; playersay STATUS: Assault:%[%p%]challenge_asr%/5 - LMG:%[%p%]challenge_lmg%/5 - SMG:%[%p%]challenge_smg%/5 - Sniper:%[%p%]challenge_snp%/5; on kill;Damage LMG; if %challenge% = 1;incr %[%p%]challenge_lmg%; playersay STATUS: Assault:%[%p%]challenge_asr%/5 - LMG:%[%p%]challenge_lmg%/5 - SMG:%[%p%]challenge_smg%/5 - Sniper:%[%p%]challenge_snp%/5; on kill;Damage SMG; if %challenge% = 1;incr %[%p%]challenge_smg%; playersay STATUS: Assault:%[%p%]challenge_asr%/5 - LMG:%[%p%]challenge_lmg%/5 - SMG:%[%p%]challenge_smg%/5 - Sniper:%[%p%]challenge_snp%/5; on kill;Damage sniperrifle; if %challenge% = 1;incr %[%p%]challenge_snp%; playersay STATUS: Assault:%[%p%]challenge_asr%/5 - LMG:%[%p%]challenge_lmg%/5 - SMG:%[%p%]challenge_smg%/5 - Sniper:%[%p%]challenge_snp%/5; # check for completion and add reward On Kill;if %[%p%]challenge_asr% => 5;if %[%p%]challenge_lmg% => 5;if %[%p%]challenge_smg% => 5;if %[%p%]challenge_snp% => 5;say ** CONGRATULATIONS **;say %p% won the challenge;say /vsm-addvip %p% +14;set %challenge% 0;say challenge disabled now. on say;if %challenge% = 1;text !challenge status ;playersay STATUS: Assault:%[%p%]challenge_asr%/5 - LMG:%[%p%]challenge_lmg%/5 - SMG:%[%p%]challenge_smg%/5 - Sniper:%[%p%]challenge_snp%/5;
  17. game Server IP ,not from hoster or else.. i currently disabled the backup statslogger
  18. aah, that explains, well, i can live with it, i know it keeps working, and when turning adkats off prior a layer reboot, it is also less stresses the host.
  19. 12 maps total, 6 rotations, each has 4 maps, and yes, it even happens with only one rotation. as sayd, rebooting the layer fix it, i think its mear a visual bug on connect,not sure, And prophet, yes,, even on the local layer it randomly happens, i guess some heavy plugins can drain resources, umm it not the friendliest one, hehe
  20. Any one knows a solution ? see image, the current thing i can do is disable adkats, and reboot the layer long enough till its normal again. and yes, even on the stock procon this happend
  21. Interesting topic. i can confirm that any kind of "anti cheat" software is a joke. i relay more on the insane limit scripts than PB , and ya, manual checks to.
  22. isue. We had 2 weeks ago a server migration to a other location, so also a new ip adres. Tweak the mysql for the new ip was easy. i did the same on our backup mysql server. but for some reasons, it spit out every 2 minutes this message. Checked,and checked, all data is the same. what am i missing? [14:55:56 09] [Statslogger]Error: getUpdateServerID1: System.NullReferenceException: The object reference is not set to an instance of an object. bij PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID(CServerInfo csiServerInfo)
  23. i dont think this wil work.. if u refere to the forward option, that is for empty servers only.
×
×
  • 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.