I got it, MySql Connector 6.6.5 i downloaded the given one in the topic, and i also upgraded to see a difference and no change same error
Printable View
Good lord, somebodys cocky...
http://prntscr.com/3bwiyt
Why not double check your configuration?
How i release from the jail the :release command is not work.
Can you not fix release for owners?
Fix for what? You have to code it yourself lol.
@Lewislol I'm willing to code commands but I have no idea in which file are the commands located in. Can you please direct me?
@Lewislol how do I fix this DB Connection, my details are correct, but it wont let me...
My Critical Exception Error:
And my exceptions error:Quote:
SYSTEM CRITICAL EXCEPTION: System.IO.FileLoadException: Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
at Plus.PlusEnvironment.Initialize()
at Plus.Program.InitEnvironment() in c:\Users\Administrator\Desktop\AstroRP2\Program.cs:line 112
at Plus.Program.Main(String[] Args) in c:\Users\Administrator\Desktop\AstroRP2\Program.cs:line 64
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Quote:
Exception logged 24/4/2014 8:21:28 PM in PlusEnvironment.SendMassMessage:
System.NullReferenceException: Object reference not set to an instance of an object.
at Plus.Messages.ServerMessage.AppendString(String s) in c:\Users\Administrator\Desktop\AstroRP2\Messages\ServerMessage.cs:line 105
at Plus.PlusEnvironment.SendMassMessage(String Message) in c:\Users\Administrator\Desktop\AstroRP2\PlusEnvironment.cs:line 471
Source:
Plus Emulator
Data:
Message:
Object reference not set to an instance of an object.
Stack trace:
at Plus.Messages.ServerMessage.AppendString(String s) in c:\Users\Administrator\Desktop\AstroRP2\Messages\ServerMessage.cs:line 105
at Plus.PlusEnvironment.SendMassMessage(String Message) in c:\Users\Administrator\Desktop\AstroRP2\PlusEnvironment.cs:line 471
Add the MySQL.Data.dll to the references.
That hard to read errors :?:
Get MySQL connector 6.6.5.
http://download.softagency.net/MySQL...-net-6.6.5.msi
I did @Lewislol
Thanks @tdid I will do it when I am on my desktop.
http://i.imgur.com/el8FeLY.png
Sombody help me plz?
iGalaxy to which references?? plz help
If you don't know what your doing then this emulator isn't for you and if you can't code commands once again this probably isn't for you. Let's stay on track now here and keep this as a "RELEASE" thread not a "HELP" thread.
@GrandCriminal I will fix that and swnd you the files.
OK iGalaxy thanks I will be waiting for you :)
I was coding the ':promote x' command, and when I test it, I get a 'Packet Error' in my emulator console. Anyone knows why?PHP Code:#region promote x
case "promote":
{
Room room = Session.GetHabbo().CurrentRoom;
if (room == null)
return true;
RoomUser roomuser = room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
if (roomuser == null)
return true;
RoomUser username = room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Username);
System.Data.DataRow Promotee = null;
using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor()) {
dbClient.setQuery("SELECT * FROM group_memberships WHERE (`user_id`='" + roomuser + "') LIMIT 1");
Promotee = dbClient.getRow();
}
System.Data.DataRow Promoter = null;
using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor()) {
dbClient.setQuery("SELECT * FROM group_memberships WHERE (`user_id`='" + Session.GetHabbo().Id + "') LIMIT 1");
Promoter = dbClient.getRow();
}
int CorpID = Convert.ToInt32(Promoter["group_id"]);
int CorpRankID = Convert.ToInt32(Promoter["rankid"]);
int PromoteeCorpID = Convert.ToInt32(Promotee["group_id"]);
int PromoteeRankID = Convert.ToInt32(Promotee["rankid"]);
if (CorpID == PromoteeCorpID)
{
System.Data.DataRow PromoterManager = null;
using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor()) {
dbClient.setQuery("SELECT * FROM group_ranks WHERE (`rankid='" + CorpRankID + "', `jobid='" + CorpID + "') LIMIT 1");
PromoterManager = dbClient.getRow();
}
string rankType = Convert.ToString(PromoterManager["type"]);
if(rankType == "manager")
{
int newRank = PromoteeRankID + 1;
if(newRank == CorpRankID || newRank > CorpRankID)
{
Session.SendMessage(new Plus.Communication.Packets.Outgoing.Rooms.Chat.ShoutComposer(roomuser.VirtualId, "That user cannot be higher than you or equal to you.", 0, 1));
return true;
}
System.Data.DataRow RankUp = null;
using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor()) {
dbClient.setQuery("UPDATE `group_memberships` SET `jobrank` = " + newRank + " WHERE (`user_id`='" + roomuser + "') LIMIT 1");
RankUp = dbClient.getRow();
string message = ("*Promotes %habbo%!").Replace("%habbo%", roomuser.GetUsername()); room.SendMessage(new Plus.Communication.Packets.Outgoing.Rooms.Chat.ShoutComposer(roomuser.VirtualId, message, 0, 0));
roomuser.GetClient().GetHabbo().Cooldown = DateTime.Now;
return true;
}
}
else
{
Session.SendMessage(new Plus.Communication.Packets.Outgoing.Rooms.Chat.ShoutComposer(roomuser.VirtualId, "You are not the Manager!", 0, 1));
return true;
}
}
else
{
Session.SendMessage(new Plus.Communication.Packets.Outgoing.Rooms.Chat.ShoutComposer(roomuser.VirtualId, "This user works in another Corporation!", 0, 1));
return true;
}
}
#endregion
For Others: I'm coding a few commands which are missing on this and I will release this emulator so be patient.. ;)
NVM I Fixed it reinstalled mysql connector and worked it didnt install corretly I think
@GrandCriminal yes. Expect revision 2 of this emu. I am coding commands like :promote x, :demote x, :hire x, :fire x and hopefully get those gay badges workin..
If you can't even set this up on your own, I'd say don't bother. As the emu needs so much coding work it's unreal.
Agreed @Mattykinz