LifeEmulator UserID Fix

Results 1 to 13 of 13
  1. #1
    Account Upgraded | Title Enabled! Ryno is offline
    MemberRank
    Jun 2007 Join Date
    Here.Location
    429Posts

    LifeEmulator UserID Fix

    Okay so a lot of people downloading LifeEmulator are having a problem starting it due to a user error as show below.

    Quote Originally Posted by Skarface View Post
    Error that seems to be popping up a lot & no-one has posted a fix..

    Here's the error message;

    Code:
    [DatabaseClient.getString] >> Object reference not set to an instance of an object. (^^SELECT name FROM users WHERE id = 'the id'^^)
    The id seems to be 7 originally but when I add a user with id 7 I get the id 16.

    Piece of code from server;

    Code:
    string userName = dbClient.getString("SELECT name FROM users WHERE id = '" + userID + "'");
    So does anyone know of a fix for this? If so could you post it?
    This is an easy fix, the database you have has user friend requests or friendships for the id above how many users you have. Simple go into these tables in your database:
    messenger_friendrequests
    messenger_friendships
    messenger_messages
    Basically someone who isn't the brightest posted the fix as being a whole new database. This is completely wrong as the database you got with LifeEmulator is perfectly good for the Emulator.

    Basically when the Emulator was tested a user friend requested another user and that was never removed. Simply go into these tables in your database:
    messenger_friendrequests
    messenger_friendships
    messenger_messages
    Now click 'Empty' in PHPMyAdmin in them all and reload your Emulator. The problem will be solved.

    If this helped you remember to click 'Thanks'

    All the best,
    Ryno.


  2. #2
    Account Upgraded | Title Enabled! LucasReis is offline
    MemberRank
    Jun 2009 Join Date
    Sorocaba, BraziLocation
    206Posts

    Re: LifeEmulator UserID Fix

    good job man !

    Your emulador it“s very good !

  3. #3
    Banned RockStar7 is offline
    BannedRank
    Aug 2008 Join Date
    IndianaLocation
    379Posts

    Re: LifeEmulator UserID Fix

    Good job Ryan! ;)

    Best regards,

    Caleb!

  4. #4
    Account Upgraded | Title Enabled! Ryno is offline
    MemberRank
    Jun 2007 Join Date
    Here.Location
    429Posts

    Re: LifeEmulator UserID Fix

    Just like to say Credit to Skarface for having his comment put in to show what I mean. Saved me some time.

  5. #5
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: LifeEmulator UserID Fix

    Already known this for ages, but nice of you to help everyone :) - This should be in the tut section.

  6. #6
    Account Upgraded | Title Enabled! Ryno is offline
    MemberRank
    Jun 2007 Join Date
    Here.Location
    429Posts

    Re: LifeEmulator UserID Fix

    Quote Originally Posted by swimoTheBig View Post
    Already known this for ages, but nice of you to help everyone :) - This should be in the tut section.
    It should be in the tut section but I can tell you now 60% of the people with that problem will not go to look in the tut section they would travel to the help section or get a new emulator.

  7. #7
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: LifeEmulator UserID Fix

    Im pretty sure someone posted that somewhere..
    But
    I will make sure to fix that in the new release
    and give you credits.

  8. #8
    Valued Member ReDoc is offline
    MemberRank
    Aug 2010 Join Date
    United StatesLocation
    134Posts

    Re: LifeEmulator UserID Fix

    Nice fix Ryno. ;']

  9. #9
    Proficient Member mango2735 is offline
    MemberRank
    Jun 2010 Join Date
    176Posts

    Re: LifeEmulator UserID Fix

    Lovely Release Ryan XD

  10. #10
    Grenafukindear Grenadier is offline
    MemberRank
    Feb 2010 Join Date
    127.0.0.1Location
    1,299Posts

    Re: LifeEmulator UserID Fix

    this emulator sucks ass man

  11. #11
    Enthusiast FreshKickzCobe is offline
    MemberRank
    Mar 2009 Join Date
    34Posts

    Re: LifeEmulator UserID Fix

    Quote Originally Posted by Space-Bar View Post
    this emulator sucks ass man
    your mother sucks my dick man

  12. #12
    Valued Member tripleh-50 is offline
    MemberRank
    Mar 2009 Join Date
    A box.Location
    142Posts

    Re: LifeEmulator UserID Fix

    Wheres empty???? Or do i just press delete?

  13. #13
    Account Upgraded | Title Enabled! No0b is offline
    MemberRank
    Jul 2010 Join Date
    Michigan, USLocation
    1,426Posts

    Re: LifeEmulator UserID Fix

    Good job Ryno :D



Advertisement