Are you doing PlayerInv.ClearAll() to just remove a rock?
You could do
Player.Inventory.RemoveItem("Rock", 1);
(I probably read your post wrong, If so just ignore).
*Always day;
I know Rust++ has Freeze_Time setting but i think its broken. (@mikec will know)
*item condition;
Go to Root/Server_data and open server.cfg.
and paste this into it.
conditionloss.damagemultiplier 0
conditionloss.armorhealthmult 0
0 = off, 1 = default. 0.5 = half, etc.
Some features I think would be pretty cool to have;
-Command to Show/Hide death MSG (Not the whole server, Just the player who Hide/Show).
-Admins get a detailed message of the kill where normal players get Who killed Who with What and Where.
I just quickly changed my server to 1.0.3G and loaded my plugin.
This was the code I used to show that DEBUG stuff.
case "bloodrate":
if (Player.Admin){
if(args.Length != 1) {
Player.Message("You can not use spaces! Help: /gatherhelp")...
This has seemed to have worked! Thanks!
else if(Player.Inventory.FreeSlots == 0){
var Full = GatherEvent.Quantity
GatherEvent.Quantity = Full - Full;
Player.Notice("Inventory full, can't gather.");
Player.InventoryNotice("0 x " +...
Still doesn't effect it. It seems to silently multiply when inventory it full.
I thought maybe dropping or removing the item when inventory is full would work, but it would only work if there was the gathered item in there.
var Rate = parseInt(DataStore.Get("GatherRate", "Wood"));
var Gathered...
So @chaochaoq9 has pointed out that players can gather a full inventory worth of any item.
Demo on how to do it here:
I have tried to stop the plugin from gathering at all by doing:
function On_PlayerGathering(Player, GatherEvent) {
switch (GatherEvent.Item) {
case 'Wood'...
Fixed Infinite gather.
Say you have your gather rate set to 5 but your inventory is full and you hit it, it will say "Inventory full" but it will double the gather rate. E.g 5, 10, 15, 20.
So without this version you can pretty much get a full inventory of wood in 1 hit.
This version does not...
Had the same error in 1.0.4 I think (might of been 1.0.5).
Just use Mikec's builds (MC4)
Found here: http://fougerite.com/resources/fougerite-mc.46/
Hope that helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.