Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Guide] for ep 3.3

Status
Not open for further replies.
Joined
Sep 7, 2011
Messages
1,323
Reaction score
528
Step 1: Getting the files you need.

^This is a working link^

Password is x-rivals
On a side note:
-As I promised, the new files with the new monsters, items, maps, but for making the pets to work you need to fix some things in databases. Here is it:



Also, if you need some files for client, go on at the Download section.
-If you need a client, download it from here:






-Download SQL 2k5 or 2k8, it's up to you. Out of personal preference, i use 2k5.
Go to to get the trial version of SQL 2k8. Try to avoid getting Express if possible (It has a limitation on DB restores.

-Download Hamachi. It will give you a Virtual IP which will be used to connect to the server. You can download it from . Install it and run through the set up. Once running, click the power button. You'll have to create a Hamachi ID, it doesn't really matter what it is. Then, It'll ask you whether you want to Create a network or Join an existing one. Choose to create a new one, name it, give it a password. You're done with Hamachi for now.
[[[[This is in case that you want to use Hamachi instead of External IP]]]]

Step 2: Setting up the server.
-If you didn't extract the first file to the root of your HD already, do it now.

-Once extracted, go into the server folder. You should see 9 other folders inside (bin, config, DB_BAKS, htdocs, Lib, log, map, SCMonitor, SCVoIP)

-Go into the config folder and change the file named global.cfg with the one ATTACHED here, so odbc will work. After changing it, open it using Notepad.

-The top two IPs, change it to say your Hamachi IP (It'll start with a 5). This isn't completely necessary, you can just set it up as a 127.0.0.1 (Which for those of you who don't know, that means local host) However, this guide is made for people who want others to connect to your server (Say, a friend comes over and wants to play too, or some Ventrilo friends, take your pick). So for the sake of the guide, do the Hamachi IP.
If done right, it should look as follows:

[...]
$LOCAL_IP_ADDR = 5.175.254.21 -(for hamachi) or u can put here ur local ip (ex: 192.168.25.10)
$LOCAL_PUBLIC_IP_ADDR = 73.128.265.001 -(here you put your external IP in case u want to run it globally. Or just $LOCAL_IP_ADDR for hamachi.
$ARENA_IP_ADDR = $LOCAL_PUBLIC_IP_ADDR -Arena to work, globally, I puted here the external IP.
$WEBSRV_IP_ADDR = $LOCAL_IP_ADDR
$FTPSRV_IP_ADDR = $LOCAL_IP_ADDR
$IS_ARENA_SERVER = FALSE
$SERVER_GROUP_NAME = YourServerGroupName
$LANGUAGE_TYPE = 1
[...]




-Now you're going to do a bit of copying.
What you're going to want to do is open up the server folder, go to the map folder. Now you're going to open up "server" that you dearchivated it, and go to "Server/map".
Open also your client go to /Res-Map/ and copy the .dat files in to the /server/map/

Go back in /server/ and open the /server/Res-Obj/
Go back in the /client/ and go to /client/Res-Obj/. Copy the objs to the folder /server/Res-Obj/

Go back in /server/map in /server/map/Res-Exe.
Go to your client and copy the Aceonline.atm in the /server/map/Res-Exe.

Go back in /server/map in /server/map/Res-Tex.
Go in to ur client in /client/Res-Tex. Copy the interface.tex, omi.tex and quest.tex in to the /server/map/Res-Tex.



Now you should be set with the files that you needed to copy over to both the client and the server. Now on to SQL Side of things!



Step 3: Setting up the server (SQL Side of things).
-Moving right on to SQL side of things, the installation is fairly simple, so i'm not going to walk you through it. You're a big kid, running your own server and stuff, i think you can figure it out. (When it asks what you want to install, select all. USe NT/System Authority, and Add current user for anything after that. Install it and you should be on your way. Figured i'd just give an overview

-Open the SQL Server Configuration Manager, click on SQL Server Network Configuration, and click on Protocols for MSSQLSERVER. Right click TCP/IP Settings. It should look like the following:

The images are attached as Step3 Step3.1 and so on.

If it doesn't make it look like that.
Now go over to the IP Addresses tab, and since you have Hamachi installed, the IP should already be there.
Or if you don't use the hamachi ip You just put ur local one.

Make it Active if it isn't, Enable it, and change the Port to 9979 or leave it as 1433. When you click okay, it will say that the service will have to be restarted for the changes to be applied.

Go to Start, type in services.msc, and scroll down until you find MSSQLSERVER, Restart it and you should be good.

-Now open up the Microsoft SQL Server Management Studio. Right click on Databases, and chose the restore option. if done successfully, you'll get to this screen:

Step3.3 photo.

All you have to do now is restore the databases. Do as follows:

Step3.4

Once you restore atum2_db_1, do the same for atum2_db_account:

Step3.5

Now you're set for that side of things. To make an account, go to Databases, atum2_db_account, Tables, and right click on dbo.td_Account, select "Edit top 200 rows"
You'll see 20 accounts as normal. You can leave them there or just take them out.
To create an account:
AccountName
Password
AccountType (0= Normal user, 128= GM, 256= Helper)

Now you're almost done, all you have to do now is add the odbc's and compile a batch file.

Step 4: Setting up the ODBC's

-What you have to do now is go to "Start", and Type odbc.
add User Data Sources as:
db_1
db_account
db_arena


Click finish and test it. If it passes successfully, do the same for the next 2 . Once all are done and successfully tested, congratulations. Only one more step to go.

Step 5: Getting the Batch file
If you don't know how to make a batch file, just use the following program and method:
Quote:

Quick BFC:

Install and start the Program.
Now Type in:

echo off
start Launcher.atm (YOUR IP)


Click on Embedded Files and Browse for your client.ico (in your game folder).

Now click -> Project -> Compile.

Save it in your Game Folder as .exe

Now you can try to start your own compiled Start.exe


Mine for example was:
echo off
start Launcher.atm 5.207.74.185

You're going to use that Start.Exe to get the client to connect to your server. Now you're pretty much done. All you have to do is bring the server online. To do that, all you gotta do is go to the bin folder in your server, and open up, in this order, Preserver, IM Server, LogServer, Field Server, and then NPC Server. First three take next to nothing to boot, Field takes a little long and so does NPC. If you open task manager, and it says not responding, don't freak out. That means the server is actually booting up. Once Field server comes online you can launch into the game.



-----------------------------------------------
The thing is, its a GUIDE nearly the same as this one but for episode 2.
I tryed to make for 3.3 if some1 have a better idea or waisting his time other way, please come with better guides.

Thank you.


[Credits for most of the work to FallenProphett]
 

Attachments

You must be registered for see attachments list
Last edited:
Initiate Mage
Joined
Feb 5, 2011
Messages
97
Reaction score
1
Hello I wanted to thank you for the guide, but I'm also here to ask me why these errors.
ALogServer-
LogServer-
-Preserver

I placed an image of the errors, can someone tell me how to solve?



Uploaded with
 
Joined
Sep 7, 2011
Messages
1,323
Reaction score
528
those errors means that in config files u got some errors.
Did u made in SQL Server Configuration Manager the TCP/IP on as ur hamachi or local ip? then after u restarted the service MSSQLSERVER from Start> type "services" ?

And try ur SQL Server to log in with ur IP id and pw.
in ODBC at db_1 u must put as default database the atum2_db_1
at db_account put as default database the atum2_db_account
at db_arena put as default database the atum2_db_arena

Check the global.cfg something u made wrong. Upload it here so i can take a look.
 
Initiate Mage
Joined
Feb 5, 2011
Messages
97
Reaction score
1
or assigned to the various odbc db and are just as you say darmandos

if someone can entarre TeamViewer from me in just to check and see that everything is ok please send me pm
 
Junior Spellweaver
Joined
Jan 19, 2011
Messages
130
Reaction score
26
EP 3+ Doesn't need an odbc. But yeah only retards can't understand that.
 
Initiate Mage
Joined
Nov 15, 2011
Messages
28
Reaction score
5
Hi, we only need to run 5 files: Preserver, IM Server, LogServer, Field Server, and NPCServer or we must run all of them? 'coz when running AIMServer I got an IOCPInit Error on AIMServer :(

WARonline - [Guide] for ep 3.3 - RaGEZONE Forums
 
Last edited:
Initiate Mage
Joined
Nov 15, 2011
Messages
28
Reaction score
5
Everything is OK, only that AIMServer got that error, I still can login to game, I was thing those file with an "A" prefix (like AIMServer, ALogServer, ANPCServer and ArenaSever) is needed for an Arena server so Im not runing them. At the Launcher, I can see that Arena Server is offline if Im not running 'em.
 
Initiate Mage
Joined
Feb 5, 2011
Messages
97
Reaction score
1
Hello I hope someone so much that some of you know the solution to my problem,
Then either the server UP (online) when I try to connect with the client proceeds to insert the data as a login to the game, does not make you as if you enntrare crascha and writes
(connection to the server will be terminated lost.Client has-been. (FieldWinSocket ws_CLOSED) and this error since the game ends.

Or looked at the error message that gave the preserver, and write them below fieldserv


preserver:

11-16 22:03:00| SendErrorMsg to ClientIndex[ 7] 5.53.52.237(56455) ==> ERR_NO_SEARCH_CHARACTER(0x4018) AT T_PC_CONNECT_LOGIN Param1(0) Param2(0) Msg(m1st3rb1t)
11-16 22:03:20| SendErrorMsg to ClientIndex[ 7] 5.53.52.237(56455) ==> ERR_NO_SEARCH_CHARACTER(0x4018) AT T_PC_CONNECT_LOGIN Param1(0) Param2(0) Msg(m1st3rb1t)
11-16 22:03:23|Socket Closed SocketIndex[ 7] SocketType[7] PeerIP[ 5.53.52.237] Port[56455] MaxWriteBufCounts[ 1] ==> reason 6[0X000006]
11-16 22:03:55|Socket Connect SocketIndex[ 8] PeerIP[ 5.53.52.237] Port[56460]
11-16 22:04:01| SendErrorMsg to ClientIndex[ 8] 5.53.52.237(56460) ==> ERR_NO_SEARCH_CHARACTER(0x4018) AT T_PC_CONNECT_LOGIN Param1(0) Param2(0) Msg(m1st3rb1t)
11-16 22:04:04|Socket Closed SocketIndex[ 8] SocketType[7] PeerIP[ 5.53.52.237] Port[56460] MaxWriteBufCounts[ 2] ==> reason 6[0X000006]
11-16 22:04:21|Socket Connect SocketIndex[ 9] PeerIP[ 5.53.52.237] Port[56462]
11-16 22:04:36|Socket Closed SocketIndex[ 9] SocketType[7] PeerIP[ 5.53.52.237] Port[56462] MaxWriteBufCounts[ 1] ==> reason 6[0X000006]
11-16 22:05:43|Socket Closed SocketIndex[ 4] SocketType[8] PeerIP[ 127.0.0.1] Port[56406] MaxWriteBufCounts[ 1] ==> reason 6[0X000006]
11-16 22:07:00|Socket Closed SocketIndex[ 6] SocketType[8] PeerIP[ 127.0.0.1] Port[56436] MaxWriteBufCounts[ 1] ==> reason 5[0X000005]
11-16 22:11:22|Socket Connect SocketIndex[ 10] PeerIP[ 5.53.52.237] Port[56504]
11-16 22:11:32|Socket Closed SocketIndex[ 10] SocketType[7] PeerIP[ 5.53.52.237] Port[56504] MaxWriteBufCounts[ 1] ==> reason 6[0X000006]


FieldServer:

11-16 22:04:48|Socket Connect SocketIndex[172] PeerIP[ 5.53.52.237] Port[56463]
11-16 22:04:49| SendErrorMsg to [A(m1st3rb1t:8) C:)0) CI(0)] 5.53.52.237 ==> ERR_PROTOCOL_INVALID_PROTOCOL_TYPE(0x2400) AT T_FIELD_IOCP Param1(0) Param2(0) Msg((null))
11-16 22:04:49|[Error] CFieldIOCPSocket::OnRecvdPacketFieldServer2 invalid protocol type, RecvType[NO SUCH MESSAGE TYPE(0000)], PrevType[T_FC_CONNECT_LOGIN(0X3104)], [A(m1st3rb1t:8) C:)0) CI(0)]
11-16 22:04:49|[Error] CIOCPSocket::OnReceive Error! Closing Connection!, SocketIndex[172]
11-16 22:04:49|Socket Closed Client( 5.53.52.237:56463) SocketType(7) |SockIdx( 172)| MaxWriteBufCounts[ 1] ==> reason 65537[0X010001], deletedPacketCount(0)
11-16 22:07:00|Socket Closed Client( 5.53.52.237:56439) SocketType(8) |SockIdx( 170)| MaxWriteBufCounts[ 1] ==> reason 5[0X000005], deletedPacketCount(0)
11-16 22:11:35|Socket Connect SocketIndex[173] PeerIP[ 5.53.52.237] Port[56505]
11-16 22:11:35| SendErrorMsg to [A(m1st3rb1t:0) C:)0) CI(0)] 5.53.52.237 ==> ERR_PROTOCOL_INVALID_PROTOCOL_TYPE(0x2400) AT T_FIELD_IOCP Param1(0) Param2(0) Msg((null))
11-16 22:11:35|[Error] CFieldIOCPSocket::OnRecvdPacketFieldServer2 invalid protocol type, RecvType[NO SUCH MESSAGE TYPE(0000)], PrevType[T_FC_CONNECT_LOGIN(0X3104)], [A(m1st3rb1t:0) C:)0) CI(0)]
11-16 22:11:35|[Error] CIOCPSocket::OnReceive Error! Closing Connection!, SocketIndex[173]
11-16 22:11:35|Socket Closed Client( 5.53.52.237:56505) SocketType(7) |SockIdx( 173)| MaxWriteBufCounts[ 1] ==> reason 65537[0X010001], deletedPacketCount(0)




how can I do to resolve, any idea where or what to do to correct?
 
Joined
Sep 7, 2011
Messages
1,323
Reaction score
528
Play -> The game disapear its because the files are not the same between Server files and Client.

Try to copy from ur client from "Res-Map" the .dat and .tex files in "server/map".
After copy the res-obj from client to the server files.
Then put ur ACEonline.atm from the client in to Res-Exe With copy replace.
And the last thing u must Copy from client Are the interface.tex omi.tex and quest.tex.


You can see the errors in "server/log/SystemLog. (In FieldSystem_xxxxxX)
 
Initiate Mage
Joined
Feb 5, 2011
Messages
97
Reaction score
1
Hello darkmandos, or done as you have written or deleted records in td_Carachter in atum2_db_1.
but it still does not make me log gives me the same error message

preserver:


:31:47|Socket Closed SocketIndex[ 4] SocketType[7] PeerIP[ 5.53.52.237] Port[50927] MaxWriteBufCounts[ 1] ==> reason 6[0X000006]
11-17 14:32:08|ServerGroup(AcEFiGHTeR) FieldServer(5.53.52.237, 15103), PeerIPPort[5.53.52.237:50618] registeration done...
11-17 14:32:08|ServerGroup(ARENA) FieldServer(5.53.52.237, 15107), PeerIPPort[5.53.52.237:50765] registeration done...
11-17 14:38:55|Socket Connect SocketIndex[ 5] PeerIP[ 5.53.52.237] Port[50958]
11-17 14:39:12|Socket Closed SocketIndex[ 5] SocketType[7] PeerIP[ 5.53.52.237] Port[50958] MaxWriteBufCounts[ 1] ==> reason 6[0X000006]


fielserver:

11-17 14:39:19|Socket Connect SocketIndex[171] PeerIP[ 5.53.52.237] Port[50959]
11-17 14:39:19| SendErrorMsg to [A(m1st3rb1t:1) C:)0) CI(0)] 5.53.52.237 ==> ERR_PROTOCOL_INVALID_PROTOCOL_TYPE(0x2400) AT T_FIELD_IOCP Param1(0) Param2(0) Msg((null))
11-17 14:39:19|[Error] CFieldIOCPSocket::OnRecvdPacketFieldServer2 invalid protocol type, RecvType[NO SUCH MESSAGE TYPE(0000)], PrevType[T_FC_CONNECT_LOGIN(0X3104)], [A(m1st3rb1t:1) C:)0) CI(0)]
11-17 14:39:19|[Error] CIOCPSocket::OnReceive Error! Closing Connection!, SocketIndex[171]
11-17 14:39:19|Socket Closed Client( 5.53.52.237:50959) SocketType(7) |SockIdx( 171)| MaxWriteBufCounts[ 1] ==> reason 65537[0X010001], deletedPacketCount(0)
 
Status
Not open for further replies.
Back
Top