Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

Page 20 of 36 FirstFirst ... 10121314151617181920212223242526272830 ... LastLast
Results 286 to 300 of 538
  1. #286
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Eduarpack View Post
    I'm not sure what you're trying to achieve with this, but we already discussed and moved on.
    You clearly haven't moved on if you feel the need to comment. Please, stop sending alerts to my phone its making my balls itch

  2. #287
    Gamma Spamma Liam is offline
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,946Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Zedd View Post
    happening when using your exploit "fix, @Jonteh
    Oh jesus, learn to apply patches, if you can't even do that don't own a hotel..

    Cheers for the patch Jonty. Appreciated!

    - - - Updated - - -

    For anyone who had the same problem as me when applying Jonty's patch, try this:
    Code:
     queryreactor3.setQuery("UPDATE bots SET automatic_chat = @autochat, speaking_interval = @interval, mix_phrases = @mix_phrases WHERE id = @botid");
    
    
                                    {
                                        queryreactor3.addParameter("autochat", text2);
                                        queryreactor3.addParameter("interval", Convert.ToInt32(value));
                                        queryreactor3.addParameter("mix_phrases", text3);
                                        queryreactor3.addParameter("botid", num);
                                        queryreactor3.runQuery();
                                    }
    Tested and works.

  3. #288
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Reverb View Post
    Oh jesus, learn to apply patches, if you can't even do that don't own a hotel..

    Cheers for the patch Jonty. Appreciated!

    - - - Updated - - -

    For anyone who had the same problem as me when applying Jonty's patch, try this:
    Code:
     queryreactor3.setQuery("UPDATE bots SET automatic_chat = @autochat, speaking_interval = @interval, mix_phrases = @mix_phrases WHERE id = @botid");
    
    
                                    {
                                        queryreactor3.addParameter("autochat", text2);
                                        queryreactor3.addParameter("interval", Convert.ToInt32(value));
                                        queryreactor3.addParameter("mix_phrases", text3);
                                        queryreactor3.addParameter("botid", num);
                                        queryreactor3.runQuery();
                                    }
    Tested and works.
    You're very welcome Heisenberg. I'll be posting more as I find them.

  4. #289
    QUIT RETROS Zedd is offline
    MemberRank
    Dec 2012 Join Date
    NorwayLocation
    295Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Com'on @Jonteh, how do you get it working? Never been good at C# because I have always used Phoenix earlier, and that was developed by Aaron.

  5. #290
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Zedd View Post
    Com'on @Jonteh, how do you get it working? Never been good at C# because I have always used Phoenix earlier, and that was developed by Aaron.
    That's not my problem. Can't work it out? Don't use it.

  6. #291
    Legend donszeh is offline
    MemberRank
    Jul 2008 Join Date
    DutchLocation
    422Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Well @Jonteh you're fix didn't work. Apply'd it good, and the little bitch 'awa' still make's himself admin and dropped my user table.

  7. #292
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by donszeh View Post
    Well @Jonteh you're fix didn't work. Apply'd it good, and the little bitch 'awa' still make's himself admin and dropped my user table.
    It does work, you probably did it wrong mate. It's verified patched on Tardis.

  8. #293
    Valued Member Bullies is offline
    MemberRank
    Aug 2013 Join Date
    114Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Jonteh View Post
    You're very welcome Heisenberg. I'll be posting more as I find them.
    Would be nice if you could say where we can find the "runFastquery" for the people who are still starters when it comes to editing emulators..

  9. #294
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Bullies View Post
    Would be nice if you could say where we can find the "runFastquery" for the people who are still starters when it comes to editing emulators..
    I did a few posts back. I pasted the original query. You could just search for that string

  10. #295
    Valued Member Bullies is offline
    MemberRank
    Aug 2013 Join Date
    114Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Jonteh View Post
    I did a few posts back. I pasted the original query. You could just search for that string
    Yes, but in which file, haha!

  11. #296
    Enthusiast akajsmoove is offline
    MemberRank
    Aug 2014 Join Date
    28Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Thanks for the help Jonteh.

  12. #297
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Bullies View Post
    Yes, but in which file, haha!
    Search the entire project for the run fast query and its contents. Its the packet handler for updating bot speech though

  13. #298
    Valued Member Bullies is offline
    MemberRank
    Aug 2013 Join Date
    114Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Jonteh View Post
    Search the entire project for the run fast query and its contents. Its the packet handler for updating bot speech though
    Thanks for fixing and helping the community mate.

  14. #299
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Another exploit found, thanks to AWA:

    Find:

    Code:
    internal void ChangeName()
    Replace that void with:

    Code:
    internal void ChangeName()
    		{
    			string text = this.Request.PopFixedString();
    			string username = this.Session.GetHabbo().Username;
    
    
    			checked
    			{
    				using (IQueryAdapter queryreactor = MercuryEnvironment.GetDatabaseManager().getQueryreactor())
    				{
    					queryreactor.setQuery("SELECT username FROM users WHERE username=@name LIMIT 1");
    					queryreactor.addParameter("name", text);
    					string @String = queryreactor.getString();
    
    
    					if (string.IsNullOrWhiteSpace @String) || username.ToLower() == text.ToLower())
    					{
                            queryreactor.setQuery("UPDATE rooms SET owner = @newowner WHERE owner = @oldowner");
                            queryreactor.addParameter("newowner", text);
                            queryreactor.addParameter("oldowner", Session.GetHabbo().Username);
                            queryreactor.runQuery();
    
    
                            queryreactor.setQuery("UPDATE users SET username = @newname, last_name_change = @timestamp WHERE id = @userid");
                            queryreactor.addParameter("newname", text);
                            queryreactor.addParameter("timestamp", MercuryEnvironment.GetUnixTimestamp() + 43200);
                            queryreactor.addParameter("userid", Session.GetHabbo().Username);
                            queryreactor.runQuery();
    
    
    						this.Session.GetHabbo().LastChange = MercuryEnvironment.GetUnixTimestamp() + 43200;
    						this.Session.GetHabbo().Username = text;
    						this.Response.Init(Outgoing.UpdateUserNameMessageComposer);
    						this.Response.AppendInt32(0);
    						this.Response.AppendString(text);
    						this.Response.AppendInt32(0);
    						this.SendResponse();
    						this.Response.Init(Outgoing.UpdateUserDataMessageComposer);
    						this.Response.AppendInt32(-1);
    						this.Response.AppendString(this.Session.GetHabbo().Look);
    						this.Response.AppendString(this.Session.GetHabbo().Gender.ToLower());
    						this.Response.AppendString(this.Session.GetHabbo().Motto);
    						this.Response.AppendInt32(this.Session.GetHabbo().AchievementPoints);
    						this.SendResponse();
    						this.Session.GetHabbo().CurrentRoom.GetRoomUserManager().UpdateUser(username, text);
    						if (this.Session.GetHabbo().CurrentRoom != null)
    						{
    							this.Response.Init(Outgoing.UserUpdateNameInRoomMessageComposer);
    							this.Response.AppendUInt(this.Session.GetHabbo().Id);
    							this.Response.AppendUInt(this.Session.GetHabbo().CurrentRoom.RoomId);
    							this.Response.AppendString(text);
    						}
    						foreach (RoomData current in this.Session.GetHabbo().UsersRooms)
    						{
    							current.Owner = text;
    							current.SerializeRoomData(this.Response, false, this.Session, true);
    							Room room = MercuryEnvironment.GetGame().GetRoomManager().GetRoom(current.Id);
    							if (room != null)
    							{
    								room.Owner = text;
    							}
    						}
    						foreach (MessengerBuddy current2 in this.Session.GetHabbo().GetMessenger().friends.Values)
    						{
    							if (current2.client != null)
    							{
    								foreach (MessengerBuddy current3 in current2.client.GetHabbo().GetMessenger().friends.Values)
    								{
    									if (current3.mUsername == username)
    									{
    										current3.mUsername = text;
    										current3.Serialize(this.Response, current2.client);
    									}
    								}
    							}
    						}
    					}
    				}
    			}
    		}

  15. #300
    Alpha Member Twan is offline
    MemberRank
    Jun 2010 Join Date
    1,961Posts

    Re: Mercury Emulator V2.3 [Plus] [New RSA] [Love Locks] [Group Forums] [ETC]

    Quote Originally Posted by Reverb View Post
    Oh jesus, learn to apply patches, if you can't even do that don't own a hotel..

    Cheers for the patch Jonty. Appreciated!

    - - - Updated - - -

    For anyone who had the same problem as me when applying Jonty's patch, try this:
    Code:
     queryreactor3.setQuery("UPDATE bots SET automatic_chat = @autochat, speaking_interval = @interval, mix_phrases = @mix_phrases WHERE id = @botid");
    
    
                                    {
                                        queryreactor3.addParameter("autochat", text2);
                                        queryreactor3.addParameter("interval", Convert.ToInt32(value));
                                        queryreactor3.addParameter("mix_phrases", text3);
                                        queryreactor3.addParameter("botid", num);
                                        queryreactor3.runQuery();
                                    }
    Tested and works.
    Cant find it



Advertisement