Jump to content

Players able to claim multiple zones @ once.

Closed 1.1.06 1.1.08

Snaplatack

Hello. So I have some players that have managed to create multiple zones when they turn off gtfo and fly to another area. They claim with the menu and then fly away form their zone far enough to then use the /claim command to claim another zone. they can keep repeating this over and over. Any way we can check every zone for the player id?

Mutiple Zones.png

Link to comment

IDK if you want me to make a new ticket but also the god mode, stability, resource hud, auto entity power, and fly buttons dont seem to auto refresh when clicked. it stays the same color it was until you click middle mouse and refresh the menu. little thing,

Link to comment

Nah it's okay, its better to keep all in the same ticket, i'll going to add the update function into that
+ will try to add the delete base/trashcan if i can today

Link to comment

So I updated it and The zone shows as this massive when its only set to 100. ALmost looks doubled

image.png.81d0e4565f94cb53f3806ca7aae5a751.png

image.png.5a2476c5d468d0ea6afb6e581670e09b.png 

Edited by Snaplatack
Link to comment

yes. I have the zones for defualt players and VIP to be 100

if (mapMarker != null)
            {
                mapMarker.alpha = 0.6f;
                mapMarker.color1 = Color.black; //Changed to black from green
                mapMarker.color2 = Color.black; //Changed to black from white
                mapMarker.name = markerID;
                mapMarker.radius = radius / 100;
                mapMarker.Spawn();
                mapMarker.SendUpdate();
                sphereMarker[markerID] = mapMarker;

            }

Edited by Snaplatack
Link to comment

I changed the radius to devide by 200 and it almost worked.

image.png.3065b19739a25a6a78a6a144af88390d.pngimage.png.05487eb0c3c89a6bbd3fa384a8df33ee.png

if (mapMarker != null)
            {
                mapMarker.alpha = 0.6f;
                mapMarker.color1 = Color.black; //Changed to black from green
                mapMarker.color2 = Color.black; //Changed to black from white
                mapMarker.name = markerID;
                mapMarker.radius = radius / 200;
                mapMarker.Spawn();
                mapMarker.SendUpdate();
                sphereMarker[markerID] = mapMarker;

            }

 

Edited by Snaplatack
Link to comment

Also get this error sometimes if I time out of the server and try to rejoin. It then give me a "Disconnect: Invalid Packet: Client Ready" Error when I try to rejoin the server
 

Failed to call hook 'OnPlayerDisconnected' on plugin 'BuildPlaces v0.1.0' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at Oxide.Plugins.BuildPlaces.OnPlayerDisconnected (BasePlayer player, System.String reason) [0x00000] in <45c8a6f30b874049bbab91d07de3454e>:0 
  at Oxide.Plugins.BuildPlaces.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00292] in <45c8a6f30b874049bbab91d07de3454e>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

 

Edited by Snaplatack
Link to comment
1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.8k

Files Sold

Total number of files sold.

1.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

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.