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 - Alert] ShutUp (Whisper Alert/Answer/Ingnore)

Can this plugin be updated? It isn't working with the new HB for 4.2, I rely on it to signal me on whispers and make me look more like a real player :) Love this plugin!
 
Here are the errors showing up. Doesnt look all that bad if there is a good programmer out there that wants to tackle it. I am not a good programmer lol.


File: ShutUp.cs Line: 626 Error: 'Application' is an ambiguous reference between 'System.Windows.Application' and 'System.Windows.Forms.Application'
File: ShutUp.cs Line: 626 Error: The event 'System.Windows.Application.Exit' can only appear on the left hand side of += or -=
File: ShutUpWindow.cs Line: 198 Error: 'MessageBox' is an ambiguous reference between 'System.Windows.MessageBox' and 'System.Windows.Forms.MessageBox'
File: ShutUpWindow.cs Line: 198 Error: The best overloaded method match for 'System.Windows.MessageBox.Show(string, string, System.Windows.MessageBoxButton)' has some invalid arguments
File: ShutUpWindow.cs Line: 198 Error: Argument '3': cannot convert from 'System.Windows.Forms.MessageBoxButtons' to 'System.Windows.MessageBoxButton'
File: ShutUpWindow.cs Line: 231 Error: 'MessageBox' is an ambiguous reference between 'System.Windows.MessageBox' and 'System.Windows.Forms.MessageBox'
File: ShutUpWindow.cs Line: 231 Error: The best overloaded method match for 'System.Windows.MessageBox.Show(string, string, System.Windows.MessageBoxButton)' has some invalid arguments
File: ShutUpWindow.cs Line: 231 Error: Argument '3': cannot convert from 'System.Windows.Forms.MessageBoxButtons' to 'System.Windows.MessageBoxButton'
 
I haven't looked at the source but sounds like this line of code will fix it.
PHP:
using Application=System.Windows.Forms.Application;
place it at the top of the files ShutUp.cs and ShutUpWindow.cs
 
I opened the two files in Notepad++ and changed the following and got it to compile. Hack and Slash Baby!!!! Wootgaa!!!

Line 626 of file ShutUp.cs replace with Application.Current.Shutdown()

Line 198 of ShutUpWindow.cs replace with System.Windows.MessageBox.Show("Error #8: Log not found! \n \n If it is your first start,\n ignore this message and start HonorBuddy \"shortly\" first!", "Error #8", System.Windows.MessageBoxButton.OK);


Line 231 of ShutUpWindow.cs replace with System.Windows.MessageBox.Show("#5.2 : you have not selected a wave! \n \n -klick on the search button!", "Error #5.2", System.Windows.MessageBoxButton.OK);
 
I haven't looked at the source but sounds like this line of code will fix it.
PHP:
using Application=System.Windows.Forms.Application;
place it at the top of the files ShutUp.cs and ShutUpWindow.cs


That works, mine did not after looking at it more, thanks highvoltz!
 
Pasted Highvoltz code at the first line of the two files but still get errors :-(
 
I haven't looked at the source but sounds like this line of code will fix it.
PHP:
using Application=System.Windows.Forms.Application;
place it at the top of the files ShutUp.cs and ShutUpWindow.cs

After inserting the above the next lot of error are:

Plugin from H:\WoW HB - 4982\Plugins\ShutUp could not be compiled! Compiler errors:
File: ShutUp.cs Line: 57 Error: The type or namespace name 'Version' could not be found (are you missing a using directive or an assembly reference?)
File: ShutUp.cs Line: 63 Error: The type or namespace name 'Random' could not be found (are you missing a using directive or an assembly reference?)
File: ShutUp.cs Line: 99 Error: The type or namespace name 'EventArgs' could not be found (are you missing a using directive or an assembly reference?)
 
Back
Top