[Guide] How to Setup Mir3 GSP Files

Status
Not open for further replies.

Voya

Golden Oldie
Golden Oldie
Mar 15, 2008
967
53
135
USA
I must be really stupid.. I tried to follow the guide but i can't even get the Login Gate to work... Halp :P Capture.PNG
 

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
try to retry with a fresh copy of the files, using the downloaded files, only changing the basic config like SQL.

in your screen the program are reporting have some issues with SQL connection. Check MSSQL. ;)
 

Voya

Golden Oldie
Golden Oldie
Mar 15, 2008
967
53
135
USA
try to retry with a fresh copy of the files, using the downloaded files, only changing the basic config like SQL.

in your screen the program are reporting have some issues with SQL connection. Check MSSQL. ;)

Imnotfindingtheproblem:(
 

PenanceXtreme

Dedicated Member
Dedicated Member
Aug 19, 2004
34
0
53
I have managed to work through the guide and get everything setup, created a character and can get in game. The only issue I have is that half of the text seems to be in Chinese and half in English. Can somebody tell me what I need to change to get everything in English? Also GM commands don't seem to be working besides from @superman and @gm.

Thank you!
 

Attachments

  • Client screenshot.png
    Client screenshot.png
    438.2 KB · Views: 262

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
I have managed to work through the guide and get everything setup, created a character and can get in game. The only issue I have is that half of the text seems to be in Chinese and half in English. Can somebody tell me what I need to change to get everything in English? Also GM commands don't seem to be working besides from @superman and @gm.

Thank you!
because you have patched the cmlist client file i remember. you have 2 choices, use the original english one, or use kaoricrypt web and translate it :)

the gm comands and mobs,npc,etc are inside mir3res.dat. once decoded, go to strings section and here you have the commands.

In mir3 release section you have a decoder/encoder made by omikkk, or if you know a bit of programming you can use the source i have put to decode/encode that file.

Remember, when edit items, mobs, npc and something more, make the same changes in client "\Data\item.dat" file. Uses same encryption methods.

Good luck ;)
 

a1122334

LOMCN Leecher
Jan 25, 2017
1
0
12
solved

---------- Post Merged on 29-01-2017 at 03:10 AM ---------- Previous Post was on 25-01-2017 at 10:58 AM ----------

You need to match your cmlist i think in english in your client.
The patch distributed here are in chinesse.

Hi DjDarkBoyZ

report bug:
M or Ctrl M cannot mount horse
 
Last edited:

Ansab

Dedicated Member
Dedicated Member
Jun 29, 2013
82
0
32
Hi Guys,

Im getting the following issue.

Can anyone help.

I ahve followed the guide exactly changed pass and user, db name all match ini files and vice versa.

Error.jpg
 

CBR RIDER

LOMCN n00bie
Feb 12, 2017
7
0
12
Poland
Hello everyone! here is a mini guide to setup this files.

Links:


NEW linkhttp://pan.baidu.com/s/1hrVGeVi password:his0
forever

http://www.mediafire.com/download/m4...tp/Mud3GSP.rar
http://www.mediafire.com/download/mc..._20110218f.rar
http://www.mediafire.com/download/5k...lientPatch.rar

http://www.mediafire.com/download/b5.../mssql2014.iso

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

thx to nimeide007 and others for mirrors.

Screens:

Mir3_160706_004751_GSP_Wincha.jpg


Mir3_160707_001252_GSP_The_Dj.jpg



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 :P

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 :P

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 :P, 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.17100MIR3

Loginserver.ini

SELGATE_PORT=7100

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:
0127.0.0.17201
1127.0.0.17203

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" :S

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 :P)

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.

3danalyze.jpg


- Download Link
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) :P


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. :P
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 :P
And if someone have another fix or something i missed put here and i put to the guide for everyone.

Good gaming!

best regards,
cya ;)

sorry for my question but maybe you have video for this tutorial :D ? I know its good tutorial but i cant understand all text because English is not my native language and engl. translators doesnt work good in thats works... :/
 

johnyl1

Golden Oldie
Golden Oldie
Apr 24, 2003
728
36
185
Portugal
Finaly i can connect , now i have another error!!! error.jpg

Can some1 PWEASE tell me where i fix this????? PEWASE!!!!!!!!!!!!!!!!!
 
Last edited:

CBR RIDER

LOMCN n00bie
Feb 12, 2017
7
0
12
Poland
Hello.
Some one can explain me few things .?

Well im going steps like in guide but:
*1
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 if i look into my mud3 folder i can found only mirgate.ini (c:\mud3\mir3server\gate1)
And it looks like this:
[Server]
Title=GameGate 7201
GameSvrIP=127.0.0.1
GameSvrPort=5010
GateIP=127.0.0.1
GatePort=7200
GateIndex=1
MaxUser=200
So do i have to change name of this file to rungate.ini ???

*2
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

SqlDBID=sa and
SqlDBPassword=123456 <--- where to find this in SQL ? i cant remember now what passwords and id, but i think i dont set it ...

*3
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

So in my folder i can found LoginServer.ini only in this folder 数据库.
and if im looking for SELGATE_PORT=7100 in Loginserver.ini i cant find it.

my loginserver.ini looks like that:

[ENCDEC]


[SERVER_SETTING]
NAME=gsp
APP_NAME=gsp-LoginServer
AUTO_NOTIN=1
AUTO_START=1
MAX_SAME_IP=127.0.0.1
GAME_CODE=5

;114.215.193.202
[GATE_INFO_001]
PRIVITE_IP=127.0.0.1
PUBLIC_IP_01=127.0.0.1
PUBLIC_PORT_01=7100
PUBLIC_IP_02=127.0.0.1
PUBLIC_PORT_02=7100

[GATE_INFO_002]
PRIVITE_IP=127.0.0.1
;10.99.0.11
PUBLIC_IP_01=127.0.0.1
PUBLIC_PORT_01=7101
PUBLIC_IP_02=127.0.0.1
PUBLIC_PORT_02=7102

;
;-------------------------------------------------µÇ½·ţÎńĆ÷É趨
[SERVER_SETTING]
SELGATE_PORT=1433

;
[GAME_SERVER_LIST]
COUNT=2
DB=Manage
ID=sa
PW=aass
NAME01=GSP
NAME02=GSP


;----------------------------------------------------
[ACCOUNT_DB_CONN_INFO]
SERVER=(LOCAL)
DB=account
ID=sa
PW=aass
MAX_SAME_IP=127.0.0.1

;---------------------------------------------------ÓÎĎ··ţÎńĆ÷É趨
[GAME_SERVER_SETTING]
CONCURRENCY=3
;5¸ö˛˘·˘
BUFF_SIZE=32768
;±ŘĐëСÓÚ64kb µĄ¸ö32kb»şłĺÇř
MAX_CONNECT=3
;5¸ö×î´óÁ¬˝ÓĘý
LISTEN_PORT=3000

;---------------------------------------------------ÍřąŘ·ţÎńĆ÷É趨
[GATE_SERVER_SETTING] ;SelGate ĹäÖĂ
TRANS_=1 ;ĘÂÎń?żŞĆô
CONCURRENCY=2
;3
BUFF_SIZE=10240
MAX_CONNECT=100
;3
LISTEN_PORT=5500

;---------------------------------------------------ÓÎĎ··ţÎńĆ÷É趨
[DB_SERVER_SETTING]
CONCURRENCY=3
;5¸ö˛˘·˘
BUFF_SIZE=32768
;±ŘĐëСÓÚ64kb µĄ¸ö32kb»şłĺÇř
MAX_CONNECT=3
;5¸ö×î´óÁ¬˝ÓĘý
LISTEN_PORT=5611

;-------------------------------------------------
[CHECKER_SETTING] ;LoginServer ĹäÖĂ
BUFF_SIZE=8192
MAX_CONNECT=100
LISTEN_PORT=3001
CONCURRENCY=100

;-------------------------------------------------µÇ½·ţÎńĆ÷É趨
[LOGIN_PROCESS_SETTING] ;LoginServer ĹäÖĂ
MAX_POOL_SIZE=100
CONCURRENCY=100

;----------------------------------------------------WGMS_SERVER=ŁżWorkingGroupŁ¨WorkingGateWayŁ© ManageServerŁ¨MonitorServerŁ©Łż
[WGMS_SERVER_SETTING]
CONCURRENCY=1
BUFF_SIZE=10243
MAX_CONNECT=5
LISTEN_PORT=7005

;;

DataBase account i download from
you have to restore the account db from this link

https://www.mediafire.com/?1idppqmcoq6w1qq

then you have to add the account db "GSPAccount" in the .ini files

i would suggest you start from scratch all the setups and db restoration
because there is no account files in my mud3 folder.
DataBase i have taken from c:\mud3\数据库\Game.bak

any one can help me please ???
 
Last edited:

johnyl1

Golden Oldie
Golden Oldie
Apr 24, 2003
728
36
185
Portugal
Dont bother with these files . The run gates sre bugged, u create a char u ho ingame , the somethimes the gate wont ket u login anymore with the same char. If theres a fix for these no1 is releasing it. If a fix is released il put up a guide explaining how its setup correcly.
 

Raffis

Dedicated Member
Dedicated Member
Dec 9, 2008
69
1
34
View attachment 17454

I moved whole mud3 forder to C unit, now eiserver shows this message. I updated path for mir3res.dat. My accound db is called GSPAccount and I used this name in files, is that correct?

If someone has problem like this (when some part of Mir3Res.dat had been loaded, but not everything) and this error (starttimer exception) appeared, check your system language. I suggest to use EN (UK), then everything works properly (tested on WS2012 R2).
Anyway, that helped me. Good luck.
 
  • Like
Reactions: spartekas

johnyl1

Golden Oldie
Golden Oldie
Apr 24, 2003
728
36
185
Portugal
Have u updated the path to the envir folder on the dbserv???

---------- Post Merged on 06-03-2017 at 02:13 AM ---------- Previous Post was on 27-02-2017 at 11:20 AM ----------

Any1 know how to fix that??? happens when i create a char!!!


server.jpg

---------- Post Merged at 01:20 PM ---------- Previous Post was at 02:13 AM ----------

Hum, any1? coz right now this is a big issue!! some1 else must be having this problem!!!!
 

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
this issue is related in another post i remember someone post the solution, however if you know sql you can fix it very easy. :)
 

johnyl1

Golden Oldie
Golden Oldie
Apr 24, 2003
728
36
185
Portugal
Is there any other fix to the windows 10 slow gaming problem?? 3d analize doesnt do anything and the game gets unplayable after 5 mins!!!
 
Status
Not open for further replies.