• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Legend of Mir 3 Server Files + Client + Patch

Custom Title Activated
Loyal Member
Joined
Aug 23, 2010
Messages
1,544
Reaction score
423
Hello, i found a game from another web. I want to share with Ragezoners ^^

Not Tested!!!

AccountDB Fixed (can use the included tables in gamedb backup, this is for someone need to put separated):


NEW link: password:his0
forever






djbadboys38 - Legend of Mir 3 Server Files + Client + Patch - RaGEZONE Forums

djbadboys38 - Legend of Mir 3 Server Files + Client + Patch - RaGEZONE Forums


Information and Tutorial
Code:
SQL:

Install SQLServer 2014, once setup wizard tells you to select services, select the sqlserver and sql manager for manage the DB properly (this is needed to restore DB, etc).

Once installed NOT need to setup any ODBC. Normally. (Experts)

Open your SQL Management studio.

Restore DB (Steps):
Expand the Database Folder of the manager, right click to them and select "Restore Data Base", in the new window open,
select "Device", and then click to "..." to select the Backup file to restore.

In the new window, press Add, and then in the next dialog select the backup from your custom location.
(Note, if you dont find any backup file put the file extension in the dialog to *.* to see everything)

Once accepted and return to first window you see the name of the backup, if correct, click the Files page in the left of this window,
check for the output directory if exists, if ok, then press "accept" and the sql try to restore them to the name specified.

Make these steps for both Database. (Account and Game)

--

Once restores Both files, account and game DB, if no see on db list of your sql, press F5 or refresh button to see the DBs restored.



Files part:

Copy the content of the Mud3GSP full server to some place, normally called "mud3", if you chose C:\mud3\ or another place, if you want to put to a little dedi put to another unit to prevent fragmentation...

OK, the files you will see inside your mud3 folder is:
- Server_Job_ItemGen.exe -> MainServer, called EiServer.
- Other files...
- Folders:
-> Envir -> Here are normally all the npc scripts, etc
-> Gate1 -> Rungate1 -> the final gate you connected while gaming. Sometimes have 1, anothers 2, depending of the size of the server. For balancing...
-> Gate2 -> Rungate2... the same, another gate.
(Note: In this files these gates are configured to ports 7201 and 7202, remember this for setup the files) And if you want to make visible outside to put the server online for every one the gates, the IP to 0.0.0.0 only for the service IP, not for the internal conection IP.

Example for the rungate ini file:
[Server]
Title=GameGate 7201
GameSvrIP=127.0.0.1
GameSvrPort=5010
GateIP=0.0.0.0
GatePort=7201
GateIndex=1
MaxUser=200

and the others like this, be carefull with the other settings to not broken gates 

Continuing with files, go to setup folder:
- Search this part in the config.ini file:

SqlDBLoc=(local)
SqlDBID=sa
SqlDBPassword=123456
SqlDBDSN=Game
DBAddr=127.0.0.1

ok, once here, i explain the settings:
SqlDBLoc -> SQLNAME or SQL IP, if the sql are in the same computer like the mir3 server leave to "(local)"
SqlDBID -> here put normally the user has rights to access the SQL.
SqlDBPassword -> logically the password of your sql user 
SqlDBDSN -> here your GameDB Name, in the backup is "Game".
DBAddr -> the IP of the located DBServer, if all are local, leave to 127.0.0.1

If you take a look at this file, you see anothers 127.0.0.1... this is if you have your files local leave in that config.

Save the ini file.

OK, go next. Go back to mud3 folder.
You will see a folder named "网关" in this files, if you want rename it to "mir3server" for comodity and prevent problems of your windows for the language for launching the exes, etc 

Inside this go to DBServer, open DBSERVERINFO.INI, search for:
PATH=d:\mud3\Envir\Mir3Res.dat

and put your path, if using C:\mud3 normally are C:\mud3\envir\Mir3Res.Dat

Mir3Res.Dat -> provably you are asking about this file... its the main DB of the server and its protected. Here are Items, Mobs, Respawns, NPC list, GM Commands, etc...

ok, search more inside this file, look at this:
[GAME_DB_CONN_INFO]
SERVER=(local)
DB=Game
ID=sa
PW=123456

You remember something? yes, the same configuration, sql ip or local, gamedb name, sql id for the sqluser to access and the password.
(Note: if you want to put playable to anyone, search in this file for PUBLIC_IP_01=127.0.0.1 and PUBLIC_IP_02=127.0.0.1 "logically change the IP 127.0.0.1 for your external IP ;)")

Save file, go back in folder and open LoginServer, then open LoginServer.ini and search for the next info:
[ACCOUNT_DB_CONN_INFO]
SERVER=(local)
DB=account
ID=sa
PW=aass

Ough! I remember something about this! but take attention to ONE thing, the "DB" is another, in this case, is the account db name. The rest of this sqlconfig like the other config files, server,id and pass....

Ok, the main files are ok, turn to SQL Management, open it!

and go to DB Account or what ever you named it , right click to TBL_SELECTGATEIPS, edit first 200 rows..

once here, if you only want to test leave the IP to 127.0.0.1, if no put to your WAN IP or commonly named internet IP.

Example of the content of the table:
ServerName / IP / Port / ServiceName (DONT TOUCH)
GSP
127.0.0.1	7100	MIR3

Go to Table TBL_PUBIPS in the same DB and open to edit in the same way.

check if are the IP 127.0.0.1, leave at that if your server are all local files, if your loginserver are located in another machine put here the IP.

OK, once finished go to your Game DB our what ever you named it, expand, and search for table TBL_ServerGate, once here, edit in the same way.

Here you can put your local IP 127.0.0.1 or our external IP to put online, this is for eiserver knows external IP for rungate.

table show like this:
0	127.0.0.1	7201
1	127.0.0.1	7202

And i think configuration are finished (if i dont miss some info due memory lags xD)

Note: for initial tests, to discard another fails i suggest to put all to 127.0.0.1 and test in the same computer.

Works in Windows 7 and upper fine. The Client have some problems in win10 due gfx drivers or some protection programs like firewalls, etc


Client:

In client remember to patch them and put the IP, server name and port in the ini file client have.



The opening of the server,

I suggest to open in this order, but you can use what you want only check all are conected properly.

1 LoginServer / 2 DBServer / gate Login / SelChr Gate (gate30) / eiserver / rungate1....rungate2....

Note: I dont use the fake billing server but if you want to open you are free to use and start first, and you prevent to the dbserver telling again and again billingate blah blah....



Common issues:

Problem 1:
I put my id and the password, then shows me the servr list (in this case GSP), once i select the server GSP the server kick off me and
in the logbox of loginserver show something of "onselectserver() NULL" 

Check: 
Open SQL management, go to table Account, goto expandablefolder Programing, expand Storage procedures and check for:
msp3_serverinfo_select, right click, edit or modify. check for the SP are like this, provably the start of the SP shows 
USE 
[ACCOUNTNAME]
GO

leave that, go down and look at that:
-----------------------------------------------------
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[msp3_serverinfo_select] 

AS
SELECT * FROM TBL_SERVERINFO
--------------------------------------------------
need to be like this. then go to TBL_SERVERINFO and check for the ServerName are GSP (In this case )

next step

the same operation to the SP msp3_selectgateips_select

the first part leave that and find for that look like this:

---------------------------------
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[msp3_selectgateips_select]
@FLD_NAME nvarchar(20) =''

AS
SELECT FLD_NAME,FLD_IP,FLD_PORT,FLD_GAMETYPE FROM TBL_selectgateips
WHERE 
FLD_NAME = @FLD_NAME 
----------------------------------
next go to table TBL_selectgateips and edit them to check if everything match,

FLD_NAME / IP / PORT
SERVERNAME YOURIP PORT

Original:
GSP 127.0.0.1 7100 MIR3


Problem 2:
Client not work fine on Win10.

Use:
In some newer computers with windows 10 not run fine or runs slow, you can use this GFX emulator to launch the exe emulating another old GFX, instructions inside main app form.

[IMG]https://s32.postimg.org/hz7g82qut/3danalyze.jpg[/IMG]

- Download Link http://www.mediafire.com/download/l1q87t6p86p0w7q/3D+Analyze.rar
I Hope this fixes the problem.


If no another fix can work on some win10 due to dx and driver changes is to change the game.exe compatibility tab under file properties, put to win7 and run as admin.

Update (Works on a lot of win10 computers):
- Win10 trick, go to system admin, graphic device, right click and uninstall, do not install anything, go to Mir and then runs fine now. If no you can try to Press O in game to disable combat text for better performance. Once restarted computer you have the driver put again automatically. To play again simpli redo this trick. (I hope this fix your problem) 


Normally with this tips the errors are fixed.

The common create character and delete character error are known, can be fixed inside game db, and search for storage procedure, the name explain what is every sp. 
With this files when you create a character throws a error but the character is created if you go back.



Npc:
We confirm mayor part of npc commands from old holley 3.38 works fine, some need to change some [] for "" and other things.. 


Other Day more and better,
if someone can make screens for the process for help another put here and i put to the manual, i cant put screens because mine shows in spanish and a lot of people doesnt understand 
And if someone have another fix or something i missed put here and i put to the guide for everyone.

Good gaming!
 
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

can you or someone convert the dbs into sql 2012 please?and i test,i have sql express 2012 and i cant upgrade to 2014
btw i already had these files i downloaded em today at 8 am before u made the post ;)
 
Experienced Elementalist
Joined
Aug 15, 2014
Messages
202
Reaction score
1
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

Great job, but I want sql database of mssql2008.
 
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

Great job, but I want sql database of mssql2008.

sql 2014 ask for sql 2012 sp1,and tons of poop,not viable to make a server either cause it uses more ram
cross fingers and wish to someone convert the dbs,im waiting too
 
Skilled Illusionist
Joined
Nov 5, 2004
Messages
306
Reaction score
73
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

not to argue but sql 2016 barely even uses 60mb of ram on my pc i wouldnt call that a lot.
and if anyone would upload only the databases im willing to add them on my sql server and convert them but i wont download everything just to convert databases for other people
 
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

not to argue but sql 2016 barely even uses 60mb of ram on my pc i wouldnt call that a lot.
and if anyone would upload only the databases im willing to add them on my sql server and convert them but i wont download everything just to convert databases for other people

uploading the dbs but idk if they are the correct ones i cant find other bak or sql files in the release
they say game and game20160607 theres no account database


 
Skilled Illusionist
Joined
Nov 5, 2004
Messages
306
Reaction score
73
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

View attachment script.7z

converted the database backup into a script that should create the database on sql 2008.
i also saw that both the files you uploaded are just different backups of the same database appearently.
also there is a account table in this database so im guessing there is no seperate login database.
 

Attachments

You must be registered for see attachments list
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

@morbitangel thanks
i uninstalled 2012 and now i have 2014 but i cannot login with user sa and pass only windows auth
its not taking SA as user error 18456
18456

18456

18456

can you give me a script to make my user "w00t" all privileges on all databases?then i finish the server and finish restoring my other servers dbs,or any way to fix sa user?thanks
im not used to sql server only mysql
 
Skilled Illusionist
Joined
Nov 5, 2004
Messages
306
Reaction score
73
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

a query to give a user privileges should be something like this

GRANT privileges ON object TO user;

id check your server logs to check as to why you cannot login with sa, some reading food for you

 
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

@morbitangel thanks

now sql server crashes when i try to edit tbl_pugips
system.accessviolationexception: attempted to read or write protected memory. this is often an indication that other memory is corrupt
or sql manamegent studuio simply crashes,i think it didnt setup well :/
EDIT: i managed to open it with heidi sql,fk sql management studio
also i cant find a correct order to run the exesmi tried the images inside the release and dont work

Code:
Log:19-Sep-16 8:26:24 AM,Listen Success in IP:127.0.0.1 Port:7201
Log:19-Sep-16 8:26:24 AM,Connected to 127.0.0.1:5010!
Log:19-Sep-16 8:26:24 AM,Error,Recive 0!!! Session Will Disconnect to the client....Soon!!!
Log:19-Sep-16 8:26:24 AM,127.0.0.1:5010 CancelConnect!

Login server just crashes too,i ll try to add odbc and test
Code:
08:45:12 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified [0]
08:45:12 DYXSOFT Login Server 停止服务.
08:51:06 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified [0]
08:51:06 DYXSOFT Login Server 停止服务.

Code:
2016-09-19 08:52:26 Logger Started.
2016-09-19 08:52:26 - Login Server Service Start!!!
2016-09-19 08:52:26 - Unindentified DB Server has tried connection. 127.0.0.1
2016-09-19 08:52:26 - DB Server Drop, index: 0, 127.0.0.1
2016-09-19 08:52:27 - OnServerShutDown() 0, 0
2016-09-19 08:52:28 - Login Server Normal Exit!!!
2016-09-19 08:52:28 - OnServerShutDown() 0, 0
2016-09-19 08:52:28 - CSocketServer::StopAcceptConnection()
2016-09-19 08:52:28 - CSocketServer::StopAcceptConnection()
2016-09-19 08:52:28 - CSocketServer::StopAcceptConnection()



EDIT:in inis db shows as account,but the bak restores as gspaccount
it ALSO needs a odbc (start,run,odbcad32)
got server runing now
testing client

game works but when creating char it gives an error,just ignore it
now game says machine refused connection
djbadboys38 - Legend of Mir 3 Server Files + Client + Patch - RaGEZONE Forums

 
Last edited:
Experienced Elementalist
Joined
Aug 15, 2014
Messages
202
Reaction score
1
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

This is the server with database and repairs:


and this is the command:
 
THE KING
Legend
Joined
Feb 18, 2003
Messages
388
Reaction score
8
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

These files need fix! besides the game client is unplayable under windows 10, runs rally slow!
 
Put Community First
Loyal Member
Joined
Oct 2, 2014
Messages
1,115
Reaction score
833
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

Couldn't get Account to restore using your script morbitangel, got an SQL query for 2008R2 for that as well? :D
 
Junior Spellweaver
Joined
Jul 29, 2003
Messages
136
Reaction score
5
Re: [Release] Legend of Mir 3 Server Files + Client + Patch

These files have major bugs where it randomly disconnects online players and npcs/shops stop working randomly. Hopefully Dj posts his fixes for this so others can also make their servers playable too. They are not worth using as they are, hopefully a better set will leak soon...
 
Put Community First
Loyal Member
Joined
Oct 2, 2014
Messages
1,115
Reaction score
833
@aleano Thanks for the heads up. Guess I'll give them a miss for the moment, then. I've seen LOMCN has some Mir3 files in the works but not for a year or so.
 
Back
Top