Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md with new structures and headings #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 42 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
-> ArchServerCalidus is a free and open-source MMORPG server emulator written in C++. It is a fork of the ARCHLORD Server project episode 1 ready to be updated up to episode 3. To connect to the server, you can use celestia alefclient.exe or episode 3 Awakening alefclient.exe(no mobs,npc textures,and inventory trash doesnt work yet - in order to make them to work we need to change packets in it as the ceelestia alefclient.exe has them).
# About ArchServerCalidus

Getting Started
ArchServerCalidus is a free and open-source MMORPG server emulator written in C++. It is a fork of the ARCHLORD Server project episode 1 ready to be updated up to episode 3. To connect to the server, you can use celestia alefclient.exe or episode 3 Awakening alefclient.exe (no mobs, npc textures, and inventory trash doesnt work yet - in order to make them work, we need to change packets in it as the ceelestia alefclient.exe has them).

## Getting Started

You will need :
Choose an OS and install it :Windows xp SP3 , Windows Server 2003 R2 , Windows server 2008 R2 , Windows 7 x32/x64 bits.
Install Navicat Premium - you will need to point OCI.dll to navicat to succeed connection to the database(Use Navicat:
- Choose an OS and install it :Windows xp SP3 , Windows Server 2003 R2 , Windows server 2008 R2 , Windows 7 x32/x64 bits.
- Install Navicat Premium - you will need to point OCI.dll to navicat to succeed connection to the database(Use Navicat:
Specify in Tools => Options => OCI => Oci library: C:\oracle\ora92\bin\oci.dll).
For other oracle version in my opinion i will use ORACLE SQL DEVELOPER database viewer and editor has more options to work with the database.
Java JDK (It installs automatically JRE)
Visual C++ redistributable 2008 x86
Visual C++ redistributable 2010 x86
Visual C++ Express 2010(you will not need net framework anymore version 4)
Install ORACLE 9i R2 (alternatives oracle 10G R2 , 11G R2 , etc) see https://www.youtube.com/watch?v=k7nZH61doHE&feature=youtu.be (use the tutorial , only the part with installation of oracle 9iR2)
Open SQL+ and log in with(this kind of installation its available only for oracle 9i R2) :
After that you will need the updated serverfiles from this GIT(put them wherever you want).
- Use ORACLE SQL DEVELOPER database viewer and editor for other oracle versions since it has more options with database
- Java JDK (It installs automatically JRE)
- Visual C++ redistributable 2008 x86
- Visual C++ redistributable 2010 x86
- Visual C++ Express 2010(you will not need net framework anymore version 4)
- Install ORACLE 9i R2 (alternatives oracle 10G R2 , 11G R2 , etc) see https://www.youtube.com/watch?v=k7nZH61doHE&feature=youtu.be (use the tutorial , only the part with installation of oracle 9iR2)
- Open SQL+ and log in with(this kind of installation its available only for oracle 9i R2)

After that you will need the updated serverfiles from this GIT (put them wherever you want)

```
Username: alef
Password: password
Host: account

create user alef IDENTIFIED BY alef123;

```
Create user alef IDENTIFIED BY alef123;
```
-- Grant/Revoke role privileges
grant connect to alef;
grant resource to alef;
Expand All @@ -36,36 +39,39 @@ grant create synonym to alef;
grant create table to alef;
grant create view to alef;
grant dba to alef;

After grant remember to restore database and procedures tables with the following command(put the SQL folder in Local Disk C to succeed restoring the database) :

```
After grant, remember to restore database and procedures tables with the following command (put the SQL folder in Local Disk C to succeed restoring the database) :
```
@c:\sql\account.sql;
exit; <---- SQL plus will close now after this command

After this you can connect to the database now with the following username and password using navicat:

```
After this, you can connect to the database now with the following username and password using navicat:
```
Username: alef
Password: alef123
SID: account

```

Edit the serverconfig table :
At the WORLD tab give for each line your server name (ex:Bruhmart) , then change your ip.

At the WORLD tab, give each line your server name (ex:Bruhmart) , then change your ip.
Then DBUSER + LOGDBUSER attribute is alef
```
sections, DBPWD + LOGDBPWD attribute is alef123
sections, DBDSN + LOGDBDSN attribute is account
```
Edit the RPGWT table:
Change in the WORLD tab the name of server you used in serverconfig(ex:Bruhmart).

Change in the WORLD tab the name of server you used in serverconfig(ex:Bruhmart).

Next step we will need to edit a file of oracle:

```
C: \ oracle \ ora92 \ network \ admin \ tnsnames.ora.

```

# TNSNAMES.ORA Network Configuration File: D: \ oracle \ ora92 \ NETWORK \ ADMIN \ tnsnames.ora
# Generated by Oracle configuration tools.
```
ACCOUNT =
(DESCRIPTION =
(ADDRESS_LIST =
Expand All @@ -75,34 +81,35 @@ ACCOUNT =
(SERVICE_NAME = account)
)
)

```
DON'T FORGET TO ERASE DEDICATED SERVER LINE ! (Not on Windows XP)

For INST1_HTTP specify host for 127.0.0.1 ! In TNSNAMES.ORA also. )
For INST1_HTTP, specify host for 127.0.0.1 ! In TNSNAMES.ORA also.

Now edit the serverfiles connection configuration in CFG folder for DB.ini and DBSVRINFO.ini

```
Changed CFG/DB/DB.ini (user: alef, password is password, SID is account)
Changed CFG/DB/DBSVRINFO.ini (user: alef, password is password, SID is account)

```

Now you will be able to start ArchSvrLogin,ArchSvrRelay,ArchSvrWorld.Wait 1 minute and server needs to be online.

To create an account go to navicat database to the AMT_ACCOUNT table and insert for username "leona" and for password "rivola"
To be able to connect next time after first login you will need to add the next line in AMT_MASTER :

```
COLUMN -> (ACCOUNTID,EMAIL,SOCIALNO,CREATION_DATE,LAST_DATE, MODIFY_DATE,PHONE,MOBILE,ZIPCODE,ADDR1,ADDR2,SMS_Y N,EMAIL_YN,PENALTY_GBN,PAUSE_DATE,IP,LOGINCNT,NOMI NATOR,RPG_LEVEL,LONEY_AGREEYN,LONEY_CHARGEYN,SEX)
COLUMN DATA -> ('leona','[email protected]','18',to_timestamp('26/01/11','DD/MM/RR HH24:MI:SSXFF'),to_timestamp('26/01/11','DD/MM/RR HH24:MI:SSXFF'),to_timestamp('26/01/11','DD/MM/RR HH24:MI:SSXFF'),null,null,null,null,null,'N','N',' 0',null,null,null,null,null,null,null,null);

```
To be able to connect in game you will need to create a *txt file with this : " alefclient.exe /L192.168.1.xxx:11002 " and save it.(192.168.1.xxx this is the local ip -> change with yours ip idk 164.54.33.1 or what ip you got)
Rename the extension *txt file in *bat and launch the game by using it.


Have fun!


REMEMBER!
If you wanted to do a public server remember to make port forward if you had a router with the following ports UDP/TCP:11000,11002,11004,11008,4277,1521,1575,4443,4444,7777,7778,8080(if its not open yet).
### REMEMBER!
If you wanted to do a public server, remember to make port forward if you had a router with the following ports:
UDP/TCP: 11000, 11002, 11004, 11008, 4277, 1521, 1575, 4443, 4444, 7777, 7778, 8080 (if its not open yet)


©Credits: Alex,Mike0505 ∞,Feldunost, special thanks to Osiy1996(has contributing with interesting stuff that help us to continue developing).