Results 1 to 6 of 6
  1. #1
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy

    Unhappy Problem getting K-Relay to work

    It seems like every time I install K-Relay I get a new error

    This time I have :

    Code:
    within PacketSend (packet = PING) 
    at <>c__DisplayClass38_0.<Send>b__0
    
    System.*********enceException: Object reference not set to an instance of an object.
       at Lib_K_Relay.Networking.Client.<>c__DisplayClass38_0.<Send>b__0() in C:\Users\VaypeNaysh\Desktop\KBots\K_Relay-master\Lib K Relay\Networking\Client.cs:line 176
       at Lib_K_Relay.Utilities.PluginUtils.ProtectedInvoke(Action action, String errorProvider, Type filteredException) in C:\Users\VaypeNaysh\Desktop\KBots\K_Relay-master\Lib K Relay\Utilities\PluginUtils.cs:line 38
    [Client]         Disconnected.
    [Error]          An exception was thrown
    within RemoteRead (isClient = True) 
    at NetworkStream.BeginRead
    I took the K-Relay from KrazyShank's ****** and updated the packet ids. Did I forget something?
    Last edited by 059; 12-15-2016 at 06:03 PM.
    Alde is Alde is

  2. #2
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,311
    Reputation
    700
    Thanks
    92,777
    Code:
    at Lib_K_Relay.Networking.Client.<>c__DisplayClass38_0.<Send>b__0() in C:\Users\VaypeNaysh\Desktop\KBots\K_Relay-master\Lib K Relay\Networking\Client.cs:line 176
    What's on your line 176 of client.cs?
    My Vouches
    Having an issue with RotMG? Check for the solution here.


    Need Realm items? Come to RealmStock!

    Accepting PayPal - Bitcoin - Giftcards
    Selling ST Sets, Class Top Sets, Life Pots, and much more!


    Find it here: MPGH Sales Thread

  3. #3
    Threadstarter
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy
    Quote Originally Posted by 059 View Post
    What's on your line 176 of client.cs?


    Alde is Alde is

  4. #4
    toddddd's Avatar
    Join Date
    Sep 2016
    Gender
    male
    Posts
    720
    Reputation
    46
    Thanks
    6,363
    Code:
    System.*********enceException: Object reference not set to an instance of an object.
    That means the variable you are trying to use is null. from the lines you are showing, "_serverStream" is most likely null, so trying to do _serverStream.write() will throw an error. Did you change anything other then the packets.xml file? Like did you compile it and it gave errors or anything?

  5. #5
    Threadstarter
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy
    Quote Originally Posted by toddddd View Post
    Code:
    System.*********enceException: Object reference not set to an instance of an object.
    That means the variable you are trying to use is null. from the lines you are showing, "_serverStream" is most likely null, so trying to do _serverStream.write() will throw an error. Did you change anything other then the packets.xml file? Like did you compile it and it gave errors or anything?
    Okay so I found the problem, actually Einaras did, and it was because I was using PZUpdater's packet file for RealmRelay and not for KRelay!

    Please close if needed
    Alde is Alde is

  6. #6
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,311
    Reputation
    700
    Thanks
    92,777
    Quote Originally Posted by Alde. View Post


    Okay so I found the problem, actually Einaras did, and it was because I was using PZUpdater's packet file for RealmRelay and not for KRelay!

    Please close if needed
    Closed
    My Vouches
    Having an issue with RotMG? Check for the solution here.


    Need Realm items? Come to RealmStock!

    Accepting PayPal - Bitcoin - Giftcards
    Selling ST Sets, Class Top Sets, Life Pots, and much more!


    Find it here: MPGH Sales Thread

Similar Threads

  1. [Help Request] how to get k relay to work
    By str bunix in forum Realm of the Mad God Help & Requests
    Replies: 2
    Last Post: 12-16-2015, 02:22 AM
  2. Problems getting hacks to work? Read this!
    By Sketchy in forum MapleStory Help
    Replies: 9
    Last Post: 10-15-2011, 07:34 PM
  3. cant get the winchester to work in game
    By mojo007 in forum Visual Basic Programming
    Replies: 0
    Last Post: 04-10-2008, 02:33 PM
  4. I Have A Way Of Getting Every Hack To Work
    By ace76543 in forum WarRock - International Hacks
    Replies: 12
    Last Post: 06-28-2007, 10:13 AM
  5. Get TM with UCE Working+Addresses+My CT+Trainer HERE!!
    By poisoner in forum WarRock - International Hacks
    Replies: 59
    Last Post: 05-07-2007, 09:55 AM