The Meaning of Life, the Universe, and Everything.
Join Date:
5/29/2013
Posts:
449
Member Details
I've recently started helping with the development of a public SMP server and have begun experiencing unexpected command block behavior I can only assume is being caused conflicts arising from the pugins we're using. At the time the issue was noticed we were running Essentials, PermissionsEX developmental build, worldedit and worldguard. We since installed the MultiversePortals plugin as a work around some of the issues involving /tp but as a semi-vanilla server we don't want the multiverse plugin to remain.
The issue:
Entered into a commandblock with a 2 tick pulsar circuit
/tp @p[m=2,r=13] 150 65 150
Should teleport the nearest player within a 13 block radius of the command block, who is in adventure mode, to the designated coordinates; with the command attempting execution approx 5x per second- and it does. Tested and confirmed by switching self between survival, creative, and adventure mode. However; random players have been also recieving the /tp command and appearing at the destination without meeting the command citeria. For instance- one user was teleported to the destination while in survival mode and over 3000m from the block on both the X and Y- while other valid target were much closer. Setting aside the fact that the block is ignoring the m=2 and r=13 arguements it should still target the nearest player which would not have been these random players.
Even more curious is the fact that this circuit strobes at 5x per second so players recieving this interference should be essentially stuck in the destination area. Yet complains have come in the form of it happening randomly or intermittently, happening while attempting /home, or happening upon returning from death.
I tried every possible formatting configuration I could think of using /tp, /tppos, /tpo (I know it's for teleporting to people but I was desperate) and finally /warp (all with and without m=X and r=X criteria). Warp was the only one that showed promise of eliminating the interference until a user said he was getting spammed with the Warping to Spawn message upon entering the world- even though he didn't actually get warped anywhere.
(Multiverse Portals was installed as a work around until we can figure it out.)
Issue 2:
Entered into a command block, powered by a button, fed through a repeater and to the next block.
/give @p[lm=1,r=3] 1 1
/xp -1L @p[lm=1,r=5]
This string would be expected to give the nearest player 1 piece of stone and remove 1 experience level as long as they were in a 3 and 5 block radii of the command blocks respectively (the button pressing location) and provided they have a minimum of 1 experience level to spend. And it does- works perfectly for every staff member who tests it. However over the next couple of days we recived many reports and complaints of ramdon items from the shop entering people's inventory and random xp loss; including one user who could not keep ANY xp for the days the shop was open- it just kept going to zero despit being thousands of blocks from the shop. The shops were finally closed.
I'm more than a little in the dark as to what to try next. I simply want to use the vanilla functionality of command blocks but they are applying commands in an incredibly nonsensical way. I can only assume that it is interference being caused by the plugins but I don't know of a work-around we can use to stop this glitch from effecting our users. Any suggestions that could be offered, or if anyone has encountered this before, I'd love to get some feedback.
I don't know if it's relevent but we run a 5.5GB SSD based in the US with an international user base. I only bother to mention this because most of the users experiencing the issues appear to be based in Europe. I don't know if this can be cause by packet loss between the client and server or what. Like I said- I'm lost.
The issue:
Entered into a commandblock with a 2 tick pulsar circuit
/tp @p[m=2,r=13] 150 65 150
Should teleport the nearest player within a 13 block radius of the command block, who is in adventure mode, to the designated coordinates; with the command attempting execution approx 5x per second- and it does. Tested and confirmed by switching self between survival, creative, and adventure mode. However; random players have been also recieving the /tp command and appearing at the destination without meeting the command citeria. For instance- one user was teleported to the destination while in survival mode and over 3000m from the block on both the X and Y- while other valid target were much closer. Setting aside the fact that the block is ignoring the m=2 and r=13 arguements it should still target the nearest player which would not have been these random players.
Even more curious is the fact that this circuit strobes at 5x per second so players recieving this interference should be essentially stuck in the destination area. Yet complains have come in the form of it happening randomly or intermittently, happening while attempting /home, or happening upon returning from death.
I tried every possible formatting configuration I could think of using /tp, /tppos, /tpo (I know it's for teleporting to people but I was desperate) and finally /warp (all with and without m=X and r=X criteria). Warp was the only one that showed promise of eliminating the interference until a user said he was getting spammed with the Warping to Spawn message upon entering the world- even though he didn't actually get warped anywhere.
(Multiverse Portals was installed as a work around until we can figure it out.)
Issue 2:
Entered into a command block, powered by a button, fed through a repeater and to the next block.
/give @p[lm=1,r=3] 1 1
/xp -1L @p[lm=1,r=5]
This string would be expected to give the nearest player 1 piece of stone and remove 1 experience level as long as they were in a 3 and 5 block radii of the command blocks respectively (the button pressing location) and provided they have a minimum of 1 experience level to spend. And it does- works perfectly for every staff member who tests it. However over the next couple of days we recived many reports and complaints of ramdon items from the shop entering people's inventory and random xp loss; including one user who could not keep ANY xp for the days the shop was open- it just kept going to zero despit being thousands of blocks from the shop. The shops were finally closed.
I'm more than a little in the dark as to what to try next. I simply want to use the vanilla functionality of command blocks but they are applying commands in an incredibly nonsensical way. I can only assume that it is interference being caused by the plugins but I don't know of a work-around we can use to stop this glitch from effecting our users. Any suggestions that could be offered, or if anyone has encountered this before, I'd love to get some feedback.
I don't know if it's relevent but we run a 5.5GB SSD based in the US with an international user base. I only bother to mention this because most of the users experiencing the issues appear to be based in Europe. I don't know if this can be cause by packet loss between the client and server or what. Like I said- I'm lost.