What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] Mr.GearBuyer

Fix

Adding the // will get rid of the errors. But even better, is to replace the

Code:
InactivityDetector.ForceLogout(true);

with

Code:
Lua.DoString("ForceQuit()");

I actually figured it out on my own and fixed it.
It seems that you need to add ( // ) to the 3 codes.


Copy this and replace what you have, should fix it.

-AdamHandler

if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
{
// Slog("HonorPoints and Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750)
{
// Slog("Honor Points Are Capped. Logging Out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
{
// Slog("Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
 
Using with 5.4.7 getting this compiler error message, using the latest from the SVN.

Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(146,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(152,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(158,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
 
I am having the same issue as well.




Using with 5.4.7 getting this compiler error message, using the latest from the SVN.

Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(146,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(152,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(158,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
 
Same issue here.

Using with 5.4.7 getting this compiler error message, using the latest from the SVN.

Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(146,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(152,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(158,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
 
FIX FOR ERROR / NOT SHOWING UP IN LIST

Go into the mr.gearbuyer folder in plugins. Open it with Note pad then use Ctrl F and type in ForceLogout to find the 3 scripts

if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
{
// Slog("HonorPoints and Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750)
{
// Slog("Honor Points Are Capped. Logging Out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
{
// Slog("Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;


now all you do it add // before each line like shown above, no need to add spacesess or delete a space just add // click recompile all on plugins, re open plugins and its fixed.
 
Does this go from pandaria to stormwind/orgrimmar to get the JP-HP conversion and then back to pandaria to buy the gear?
 
FIX FOR ERROR / NOT SHOWING UP IN LIST

Go into the mr.gearbuyer folder in plugins. Open it with Note pad then use Ctrl F and type in ForceLogout to find the 3 scripts

if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
{
// Slog("HonorPoints and Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750)
{
// Slog("Honor Points Are Capped. Logging Out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
{
// Slog("Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;


now all you do it add // before each line like shown above, no need to add spacesess or delete a space just add // click recompile all on plugins, re open plugins and its fixed.

Worked for me, thank you!
 
FIX FOR ERROR / NOT SHOWING UP IN LIST

Go into the mr.gearbuyer folder in plugins. Open it with Note pad then use Ctrl F and type in ForceLogout to find the 3 scripts

if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
{
// Slog("HonorPoints and Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750)
{
// Slog("Honor Points Are Capped. Logging Out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
{
// Slog("Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;


now all you do it add // before each line like shown above, no need to add spacesess or delete a space just add // click recompile all on plugins, re open plugins and its fixed.
Fix worked for me, you're a gentleman and a scholar sir.
 
Same error

This plugin isnt showing up in my "Plugins" option on Honorbuddy... Help...


Help us please :D

**EDIT**

Compiler Error: error CS1508: Resource identifier 'MGBConfig.resources' has already been used in this assembly
 
Is there anyway i can make this plugin buy Hypnotic dust everytime i reach justice point cap?
 
Back
Top