Client stuck at 76%

Habways

New Member
Jul 17, 2020
18
0
Hey all, I am doing a retro, double checked all the files, set port forward to: 3306,30000,30001 - inbound and outbound. Checked my variable files but it keeps crashing at 76%
 

Maatt

Active Member
Aug 29, 2012
162
158
you need to check that you are using the correct ports as defined in your emulator's configuration.

Is this being made on a localhost set up (on your computer) or on a VPS?
 

Hypothesis

Programmer
Jan 6, 2019
524
361
If it's crashing at 76% it means that your emulator is making a connection but your SWFs are not linked properly. So allowing ports wouldn't solve your issue.
 

Habways

New Member
Jul 17, 2020
18
0
Added
Post automatically merged:

Error log

Error in query:
UPDATE `server_status` SET `users_online` = @Users, `loaded_rooms` = @loadedRooms LIMIT 1;
MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'oliver.server_status' doesn't exist
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at Plus.Database.Adapter.QueryAdapter.RunQuery() in C:\Users\Sledmore\Desktop\PlusEMU\Database\Adapter\QueryAdapter.cs:line 167
 
Last edited:

Hypothesis

Programmer
Jan 6, 2019
524
361
Added
Post automatically merged:

Error log

Error in query:
UPDATE `server_status` SET `users_online` = @Users, `loaded_rooms` = @loadedRooms LIMIT 1;
MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'oliver.server_status' doesn't exist
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at Plus.Database.Adapter.QueryAdapter.RunQuery() in C:\Users\Sledmore\Desktop\PlusEMU\Database\Adapter\QueryAdapter.cs:line 167
The error is right there. Your databse does not contain the table server_status.
MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'oliver.server_status' doesn't exist

This is likely what is causing the disconnecting because your emulator is trying to update the user count there but it can't find the table to do such. If you're missing this table, I assume you might be missing other tables as well, which could contribute to the issue.
 

Maatt

Active Member
Aug 29, 2012
162
158
In the first instance, I would suggest that you find a clean SQL and reset/reimport your MySQL database.

If you are using an existing MySQL database, you might try running the following SQLs but this is no silver bullet; it looks as if you could be missing other things too...

PHP:
-- ----------------------------
-- Table structure for server_status
-- ----------------------------
DROP TABLE IF EXISTS `server_status`;
CREATE TABLE `server_status` (
  `users_online` int(11) NOT NULL DEFAULT 0,
  `loaded_rooms` int(11) NOT NULL DEFAULT 0,
  UNIQUE KEY `users_online` (`users_online`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- ----------------------------
-- Records of server_status
-- ----------------------------
INSERT INTO `
` VALUES ('0', '0');
 

Hypothesis

Programmer
Jan 6, 2019
524
361
In the first instance, I would suggest that you find a clean SQL and reset/reimport your MySQL database.

If you are using an existing MySQL database, you might try running the following SQLs but this is no silver bullet; it looks as if you could be missing other things too...

PHP:
-- ----------------------------
-- Table structure for server_status
-- ----------------------------
DROP TABLE IF EXISTS `server_status`;
CREATE TABLE `server_status` (
  `users_online` int(11) NOT NULL DEFAULT 0,
  `loaded_rooms` int(11) NOT NULL DEFAULT 0,
  UNIQUE KEY `users_online` (`users_online`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- ----------------------------
-- Records of server_status
-- ----------------------------
INSERT INTO `
` VALUES ('0', '0');
This was already fixed and his issue wasn't this, because his database already had this table.
 

Users who are viewing this thread

Top