Results 1 to 3 of 3
  1. #1
    pieoewieoe's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    135
    Reputation
    50
    Thanks
    19
    My Mood
    Amused

    K-Relay won't show gui

    Hi,
    I made a plugin for K-Relay that uses a gui.
    First of I hook a command with a method (of cource the command is in the GetCommands method).
    Code:
    proxy.HookCommand("command", doCommand);
    Then the doCommand uses the PluginUtils to request the gui.
    Code:
    private void doCommand(Client client, string command, string[] args)
            {
                PluginUtils.ShowGUI(new FrmMyPlugIn(this));
            }
    The FrmMyPlugIn inherit from the Form class. It has a field _m that is a MyPlugIn. Constructor look something like this:
    Code:
    public FrmMyPlugIn(MyPlugIn m)
            {
                _m = m;
                InitializeComponent();
            }
    I use properties in the MyPlugIn class to interract with the form like this:
    Code:
    private void UpDown_ValueChanged(object sender, EventArgs e)
            {
                NumericUpDown upDown = (NumericUpDown) sender;
                _t.Number = (int)upDown.Value;
            }
    My problem is the GUI doesn't show when I do my /command
    VOUCHES
     

    Quote Originally Posted by (---0___0---)bigmama View Post
    vouch for @pieoewieoe i went first +1
    Quote Originally Posted by {ROTMG} zeller View Post
    vouch for him +1
    Quote Originally Posted by darkwolfvg View Post
    +1 vouch, he went first. payed after, this guy's not here to scam.
    Quote Originally Posted by Royce View Post
    +1 vouch for @pieoewieoe bought 20 spd and 39 wis , he went first and i payed after :P
    Quote Originally Posted by Royce View Post
    +1 vouch for @pieoewieoe and @nestoflo , Just helped them conduct a safe (long :P) Trade, It was fun
    Quote Originally Posted by nestoflo View Post
    Vouching @pieoewieoe for the long and amazing trade.
    Quote Originally Posted by lndeep View Post
    +1 to @pieoewieoe went first easy trade with him
    Quote Originally Posted by aosdnffoia View Post
    Nice deals, this guy is legit, fast trade, vouch for pieoewieoe
    Quote Originally Posted by Timii View Post
    Bought Defense Pot x16 From him! Trusted seller, he went first, smooth as ever.
    Quote Originally Posted by Reksu View Post
    Vouch, just bought some pots, I went first, good prices Thanks
    Quote Originally Posted by SuperSean View Post
    Vouch Bought 40 life Went first smooth trade +1
    Quote Originally Posted by TheRickyRoss View Post
    +1 vouch. traded 10 life. i went first. went smoothly no problems
    Quote Originally Posted by aajs310 View Post
    vouch! got 43 life potions fast! thanks pieoewieoe
    Quote Originally Posted by lioxwolf View Post
    +1 Vouch to my pal Will Smith
    Quote Originally Posted by lioxwolf View Post
    +Vouch Bought x200 Atk Pots from this wonderful person Will Smith.

    More vouches

  2. #2
    pieoewieoe's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    135
    Reputation
    50
    Thanks
    19
    My Mood
    Amused
    still need help
    VOUCHES
     

    Quote Originally Posted by (---0___0---)bigmama View Post
    vouch for @pieoewieoe i went first +1
    Quote Originally Posted by {ROTMG} zeller View Post
    vouch for him +1
    Quote Originally Posted by darkwolfvg View Post
    +1 vouch, he went first. payed after, this guy's not here to scam.
    Quote Originally Posted by Royce View Post
    +1 vouch for @pieoewieoe bought 20 spd and 39 wis , he went first and i payed after :P
    Quote Originally Posted by Royce View Post
    +1 vouch for @pieoewieoe and @nestoflo , Just helped them conduct a safe (long :P) Trade, It was fun
    Quote Originally Posted by nestoflo View Post
    Vouching @pieoewieoe for the long and amazing trade.
    Quote Originally Posted by lndeep View Post
    +1 to @pieoewieoe went first easy trade with him
    Quote Originally Posted by aosdnffoia View Post
    Nice deals, this guy is legit, fast trade, vouch for pieoewieoe
    Quote Originally Posted by Timii View Post
    Bought Defense Pot x16 From him! Trusted seller, he went first, smooth as ever.
    Quote Originally Posted by Reksu View Post
    Vouch, just bought some pots, I went first, good prices Thanks
    Quote Originally Posted by SuperSean View Post
    Vouch Bought 40 life Went first smooth trade +1
    Quote Originally Posted by TheRickyRoss View Post
    +1 vouch. traded 10 life. i went first. went smoothly no problems
    Quote Originally Posted by aajs310 View Post
    vouch! got 43 life potions fast! thanks pieoewieoe
    Quote Originally Posted by lioxwolf View Post
    +1 Vouch to my pal Will Smith
    Quote Originally Posted by lioxwolf View Post
    +Vouch Bought x200 Atk Pots from this wonderful person Will Smith.

    More vouches

  3. #3
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    Are you getting an exception when onCommand is called?
    Also, add a breakpoint to ensure onCommand is being called

    Accepting PayPal - Bitcoin - Giftcards - Items:

    Find it here: MPGH Sales Thread

Similar Threads

  1. Hacks won't show up
    By StabYourSelf in forum Combat Arms Help
    Replies: 15
    Last Post: 08-20-2010, 05:23 AM
  2. Hack Menu Won't show up
    By minioldiblog in forum Alliance of Valiant Arms (AVA) Help
    Replies: 4
    Last Post: 07-08-2010, 01:54 AM
  3. PNG won't show the damn transparent
    By Matt in forum Suggestions, Requests & General Help
    Replies: 5
    Last Post: 05-27-2010, 08:56 AM
  4. Form Won't Show
    By Shark23 in forum Visual Basic Programming
    Replies: 8
    Last Post: 05-19-2010, 03:14 AM
  5. [Tut] Vista-Menu won't show up?
    By Green4Ever in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 10-19-2008, 05:06 PM