Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3926728
  • 博文数量: 421
  • 博客积分: 685
  • 博客等级: 上将
  • 技术积分: 3670
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-18 14:20
文章分类

全部博文(421)

文章存档

2012年(5)

2011年(52)

2010年(83)

2009年(67)

2008年(65)

2007年(149)

分类:

2010-07-15 16:24:21

E文服务器端下载见这里,隐藏帖,登录后查看:
     心情随笔---影音文游---圣者无敌---圣者无敌-服务器端+教程
     http://blog.chinaunix.net/u/12442/showart.php?id=2273406

说明里面的网址是工具的地址不过已经打包了
不管你用中文的客户端还是老外的都是一样显示E文
如果你E文能力好的话可以修改数据资料,数据库已修改过
可以正常使用中文(记得给我一份中文的)
现在中国的大通也没什么新内容,还是跟老外的225一样,就多了几个怪吧
对于我说来,2D是永远精彩的,希望有更多喜欢2D的玩家把他汉化了

If this is not your first time setting up a server, it is recommended that you uninstall any existing services before continuing. You can do this by going to Start>Run, typing cmd.exe, and then these 4 commands:

sc delete "FM_SOMA"
sc delete "UM_SOMA"
sc delete "GS_SOMA_SOMA Game"
sc delete "SM_SOMA_0"

Before I begin: Thanks to everyone who's contributed something to the community - a lot of it will be in this guide somewhere, there's just too many of you to name.


Step 1
Download SQL from HERE

Step 2
Install SQL:

First open autorun.exe in the SQLEVAL folder, then
a. Select "SQL Server 2000 Components"
b. Click "Install Database Server"
c. Click Next
d. Select "Local Computer" and click Next
e. Select "Create a new instance of SQL Server, or install Client Tools" and click Next
f. Put name and/or company and click Next
g. Click Yes to agreement
h. Select "Server and Client Tools" and click Next
i. Make sure "Default" is ticked, and click Next
j. Select "Typical" and click Next
k. Select "Use the same account for each service. Auto start SQL Server Service"
l. Select "Use the Local System Account" and click Next
m. Select "Mixed Mode Authentication" and enter a suitable SA password.
n. Click Next
o. Click Next again and install.

(Source: SQL setup guide from PDF)

Step 3
Extract the serverfiles. I recommend to C:\. References I use here will refer to this path.

Step 4
Restore database

If you haven't already done so, click the little + next to Microsoft SQL Servers, then keep clicking the little +'s as you go down, until you are inside a folder called Databases.

Now you need to open “Restore database…” in enterprise manager.


Select “From device” and then “Select devices…”


Select ”Disk” and then ”Add...”.


Select “File name:”, then “…” and browse database backup file. If you extracted the Server Files to C:\, this file will be C:\ServerFiles\Server\db\Euro.Bak.


Then click ”Ok” and on next window ”Ok”.
Next change “Restore as database” to “soma”.


And then open ”Options” page and check that file paths are suitable for your computer. Leaving them as they are should be fine also, but if they don't work, change them to C:\soma.mdf and C:\soma_log.mdf.


Then click ”Ok” and database should be restored from backup.

Step 5
Setup database login

Open users under soma database and remove all except dbo.


Then open logins in security and add new login.


Use name "soma", password "soma" and default database "soma". Set owner rights to soma database.



Click ok and confirm password.

Step 6
ODBC setup

Open Data Sources(ODBC) (Can be found under administrative tools in control panel on most new windows versions)

Add new System DSN(Not user or file dsn)

Select "SQL Server" as driver. On next page name is "soma" and type (local) in the Server box. Then on next page select sql authentication and username "soma" and password "soma". Then just click next until DSN gets created.




Step 7
Starter service

Run INSTALLSTARTER.BAT in service folder.
It installs starter service and starts it.

Step 8
Other services

Start servicemanager.exe

Then add new server "soma" with your LAN IP. If you do not have a LAN IP, then use your WAN IP, which can be found at



Cancel sql server login window if it opens.

Then connect your server.
Write "soma" in all fields. First one is actully DSN and two next are username and password.



If you get a "Connection in Use" error, then go to File>Save, and save your configs. Then close ServiceManager.exe, and run it again. Then quickly reopen the config you just saved (it will be on the recent file list, just above the Exit button on the File menu. Now try and connect again. If you still get connection in use, you didn't do it fast enough, so try again.

Then configure services. Check settings from screenshots - Where the images say C:\soma, use to C:\services.



After the two above, you should click OK - it will ask if you want to install file/user manager. Now that this is done you can continue setting up these:



You also need to set main address to your LAN IP (or WAN IP if you're using that).



Now select SOMA User Manager, and Set the Value GSAddr as your IP address. Then do it again, and set GSPort (you will need to overwrite the value in the box, don't worry, it won't erase it).





Edit services\dir.ini in notepad. Change the line SVR01_ADDR=127.0.0.1 so it reads SVR01_ADDR=your.ip.address

Now you can try to start services.
Start them in order: User, Game, Session, File

Step 9
Starting server

First start sharedmem.exe and then oneperone.exe... You should see no errors.

Congratulations. You have running Myth of Soma server.

(Source: MMans original guide)

To connect to your server, right click your Myth of Soma shortcut on your desktop, look in the Target box and change "session.mythofsoma.net" to your IP address.

To create an account to play on, Open Enterprise Manager again, and go into your Database (this will save you manually connecting in Query Analyzer). Go to the Tools menu, and click SQL Query Analyzer. Now in the big white box, type:

exec createaccount("username","password")
Obviously substituting "username" and "password" for your desired login details.
-----------------------------------

If you want to play from LAN and WAN at same time, then you should use SomaProxy:
Instructions are in the thread.

If you have a router (that means you have a LAN too), then you need to be using SomaProxy to allow others to connect. You will also need to forward two ports on your router. The first is 12000. The second is whichever port you specify in SomaProxy - default is 5110. Instructions on port forwarding for pretty much all routers can be found at

If you get any "Data source not found or no default driver specified" errors along the way in this guide, then you've set up the ODBC wrong. Make sure it's an SQL Server ODBC, in the SYSTEM DSN tab. Setting a User DSN or File DSN will not work. If you are getting this error and you're not using the files recommended in this thread, then I'm not going to help you. Just use the ones in this thread if you're not sure what you're doing quite yet.

If you get a "Open RollBack Shared Memory Fail!!, GetLastError = 2", then you haven't started sharedmem.exe before trying to start Oneperone.

If you get a "No Authority" error, then you haven't run INSTALLSTARTER.BAT. Even if you have, and you still get the error, run UNINSTALLSTARTER.BAT, then run INSTALLSTARTER.BAT again and it should be fine.

If you have any other problems, then start from the beginning. There is nothing that can go wrong if you follow this guide 100%. If something goes wrong, just start again until it doesn't go wrong anymore  Instructions for removing your services are in italics at the top of the post.


Once you have your server up and running, there are plenty of useful things available in this thread:

服务端
[hide][/hide]
客户端

补丁




阅读(6745) | 评论(5) | 转发(0) |
给主人留下些什么吧!~~

zjr1502020-05-09 11:50:33

看看服务器端

amwtdj0012019-10-07 19:13:34

隐藏帖,登录后查

huangcaimei2015-06-21 10:39:17

yhciba:怎么服务端没地址??

123

回复 | 举报

xdtfs2013-09-13 14:15:30

没服务端地址。。下了也白下

yhciba2011-03-05 18:11:24

怎么服务端没地址??