Thanks, Should be an easy fix! Update soon!Feedback BUG:
- BUG when the backpack with the same items!
- /boodrate Unable to set
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.Feedback BUG:
- BUG when the backpack with the same items!
- /boodrate Unable to set
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.
Oh okay, So you don't want it to display how much you gathered when inventory is full?My English is not good so I made a video.
http://pan.baidu.com/s/1eQiVMKE
- Try Fougerite.1.0.3G
- Try Fougerite.1.0.5
![]()
![]()
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.Oh okay, So you don't want it to display how much you gathered when inventory is full?
Read the rest of this update entry...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...
O I see! Jez thats going to be a problem.Not completely cured, or have this problem, I recorded a video, I really hope you can understand this issue.
Download Video: http://pan.baidu.com/s/1i3n94Uh
I use a translator, translation in English, I'm glad you can understand the problem ..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.
Read the rest of this update entry...Finally got this fixed!
Please tell me if this works or not for you. (It works for me on MC4)
I just quickly changed my server to 1.0.3G and loaded my plugin.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 ...
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;
Any errors in console? (Have Debug turned on in Fougerite.cfg)/boodrate command doesn't work...Another command will work...
case "bloodrate":Any errors in console? (Have Debug turned on in Fougerite.cfg)
ahhhh, Whoops! haha.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 ...![]()
Read the rest of this update entry...Fixes the Sulfur rate error if using INI file to change the rates.