GatherPlus

Approved GatherPlus 4.2.3

No permission to download
@danowner I just doubled checked that it was working on my end and it does.
I5w2uIl.jpg

Are you logged into Rcon?
 
Feedback BUG:
  1. BUG when the backpack with the same items!
  2. /boodrate Unable to set
77094b36acaf2edd93c438f68e1001e9390193f3.jpg
10times



Magma Code in the:

function On_PlayerGathering(Player, GatherEvent) {
if (Player.Inventory.FreeSlots == 1) {
Player.InventoryNotice("Your inventory is full!");
Player.Inventory.DropItem(35);
}
}


This code has failed in Fougerite.
 
Feedback BUG:
  1. BUG when the backpack with the same items!
  2. /boodrate Unable to set
77094b36acaf2edd93c438f68e1001e9390193f3.jpg
10times



Magma Code in the:

function On_PlayerGathering(Player, GatherEvent) {
if (Player.Inventory.FreeSlots == 1) {
Player.InventoryNotice("Your inventory is full!");
Player.Inventory.DropItem(35);
}
}


This code has failed in Fougerite.
Thanks, Should be an easy fix! Update soon! :)
 
Feedback BUG:
  1. BUG when the backpack with the same items!
  2. /boodrate Unable to set
77094b36acaf2edd93c438f68e1001e9390193f3.jpg
10times



Magma Code in the:

function On_PlayerGathering(Player, GatherEvent) {
if (Player.Inventory.FreeSlots == 1) {
Player.InventoryNotice("Your inventory is full!");
Player.Inventory.DropItem(35);
}
}


This code has failed in Fougerite.

If my inventory is full it doesn't give out any items, I am using Fougerite MC4.
Also /bloodrate works for me, I even downloaded to make sure.
9x2Z6zh.jpg
 
Oh okay, So you don't want it to display how much you gathered when inventory is full?
Would lead to such a BUG unlimited resources, increasing the burden of the server. Deposit libraries have no spaces, suggesting cleanup backpack and fell out items. Prevent the use of BUG.
 
Jakkee updated GatherRate with a new update entry:

V4.0.5 - Infinte gather glitch fix

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 stop the doubling of the gather rate but it does stop having the inventory filled with wood in one hit.

E.x: GatherRate is set at 5 and you have a full inventory and you hit a wood pile 20-30...

Read the rest of this update entry...
 
O I see! Jez thats going to be a problem.
I'm not even sure how to go about this, I'm going to have to play around for a bit.
I use a translator, translation in English, I'm glad you can understand the problem ..;)
 
Nice !;) Fougerite.1.0.3G The work,But can not be set / boodrate Fougerite.1.0.3G Does not work ,Why??
MC4 I would not use ...
 
Nice !;) Fougerite.1.0.3G The work,But can not be set / boodrate Fougerite.1.0.3G Does not work ,Why??
MC4 I would not use ...
I just quickly changed my server to 1.0.3G and loaded my plugin.
GYFTb8W.jpg

This was the code I used to show that DEBUG stuff.
JavaScript:
case "bloodrate":
            if (Player.Admin){
                if(args.Length != 1) {
                    Player.Message("You can not use spaces! Help: /gatherhelp");
                    return;
                }
                var Name8 = args[0];
                var iniCfg = Plugin.GetIni("Settings");
                Player.Message("--DEBUG--");//1
                Player.Message("Got Settings");//2
                iniCfg.AddSetting("Config", "Blood", Name8);
                Player.Message("Added Setting");//3
                iniCfg.Save();
                Player.Message("Ini saved");//4
                DataStore.Add("GatherRate", "Blood", parseFloat(iniCfg.GetSetting("Config", "Blood")));
                Player.Message("Added to DataStore");//5
                Player.Message("--END OF DEBUG--");//6
                Player.Message(Name8 + " is the new gather rate for Blood Bags!");
            }else{
                Player.MessageFrom("GatherRate", "You can not use that command!")
            }   
        break;

So what exactly doesn't work, The command? or actually gathering.
 
Any errors in console? (Have Debug turned on in Fougerite.cfg)
case "bloodrate":
if (Player.Admin){
if(args.Length != 1) {
Player.Message("You can not use spaces! Help: /gatherhelp");
return;
}
var Name8 = args[0];
var iniCfg = Plugin.GetIni("Settings");
iniCfg.AddSetting("Config", "Blood", Name8);
iniCfg.Save();
DataStore.Add("GatherRate", "Blood", parseFloat(iniCfg.GetSetting("Config", "Blood")));
Player.Message(Name8 + " is the new gather rate for Blood Bags!");
}else{
Player.MessageFrom("GatherRate", "You can not use that command!")
}
break;
case "gatherhelp":
if (Player.Admin){
Player.Message("Useage, E.G: /woodrate [Enter whole number, 1=Default]");
Player.Message("Commands;");
Player.Message("/woodrate, /sulfurrate, /stonesrate,");
Player.Message("/leatherrate, /clothrate, /chickenrate,");
Player.Message("/boodrate, /fatrate, /metalrate");

ok.. I know where the wrong. case "bloodrate". I use /gatherhelp /boodrate ...:p
 
case "bloodrate":
if (Player.Admin){
if(args.Length != 1) {
Player.Message("You can not use spaces! Help: /gatherhelp");
return;
}
var Name8 = args[0];
var iniCfg = Plugin.GetIni("Settings");
iniCfg.AddSetting("Config", "Blood", Name8);
iniCfg.Save();
DataStore.Add("GatherRate", "Blood", parseFloat(iniCfg.GetSetting("Config", "Blood")));
Player.Message(Name8 + " is the new gather rate for Blood Bags!");
}else{
Player.MessageFrom("GatherRate", "You can not use that command!")
}
break;
case "gatherhelp":
if (Player.Admin){
Player.Message("Useage, E.G: /woodrate [Enter whole number, 1=Default]");
Player.Message("Commands;");
Player.Message("/woodrate, /sulfurrate, /stonesrate,");
Player.Message("/leatherrate, /clothrate, /chickenrate,");
Player.Message("/boodrate, /fatrate, /metalrate");

ok.. I know where the wrong. case "bloodrate". I use /gatherhelp /boodrate ...:p

ahhhh, Whoops! haha.
Updating now