Jump to content

Players able to claim multiple zones @ once.

Closed 1.1.06 1.1.08

Snaplatack
Snaplatack

Posted

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

Snaplatack

Posted (edited)

This Image I could create all of these with this bug

 

Mutiple Zones.png

Edited by Snaplatack
Ryuk_

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to Next Version

Ryuk_

Posted

Thanks for letting me know about this, i though that was fixed, i will fix it asap , sorry for the problems!

Snaplatack

Posted

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,

Ryuk_

Posted

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

Ryuk_

Posted

Changed Status from Work in Progress to Closed

Ryuk_

Posted

Fixed, if you have any new problem, just make a new ticket or reply here. Thanks for the reports!

Snaplatack

Posted

No problem. I'm trying to have players break the plugins any way they can to ensure it's less buggy lol

Snaplatack

Posted (edited)

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
Ryuk_

Posted

Can you open the plugin and go to line 294, If the mathematical calculation is divided by 100?

Snaplatack

Posted (edited)

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
Snaplatack

Posted (edited)

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
Snaplatack

Posted (edited)

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
Ryuk_

Posted

Changed Status from Closed to Work in Progress

Changed Fixed In from 1.1.07 to Next Version

Ryuk_

Posted

Changed Status from Work in Progress to Closed

Ryuk_

Posted

Erros/Bugs and sphere marker fixed

Snaplatack

Posted

So the map markers are not gettting deleted when A player has a zone open and they disconnected with the zone still open.
image.png.0d6391fd8e45b4491a00202bceef14a9.png

Ryuk_

Posted

i will take a look at this and fix for the next update, thanks for letting me know

 

Ryuk_

Posted

Sorry, i was very busy this week, i will start fixing everything tomorrow

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.