- Joined
- May 21, 2010
- Messages
- 119
- Reaction score
- 20
PHP:
Hi guys, i've set up Vana source today (C++) language.
Firstly, you will need to go to their official forum
A few notes before using this guide:
(Note that i will be using another guide from Vana forum as reference and to perfect the guide)
its preferably that you do not close the link that i asked you to close, for every steps that you read in Vana forums, you also refer it to this thread here.
You must be registered to see links
Next you will need to register, go and look at your email after that and read.
PHP:
now you're approved, you may view the forums.
anyway to get started, at that forum, go straight to
Support Section -> Requests
then click on "Read-Only SVN Access" thread.
Follow the instructions there and SVN Checkout to your folder
that you like
next,
PHP:
you go to Support Section -> Tutorials
then click on "[Windows] Setting Up Vana on Windows" thread.
install anything that you do not have.
it would be recommended that you Ctrl + F and type "Required Software", then install whatever you do not have.
after that you also need to install
"Install MySQL C Include Files / Lib Files"
(ctrl + F if you can't find)
inside that thread.
PHP:
inside the thread, ignore these steps in that thread:
-Secure MySQL
-Get the Source
-why? Wamp is now very secure, only localhost can access it
-why do we ignore getting the source? you have already gotten it by the SVN repository
PHP:
next you follow on the the next step creating a database, and name it "maplestory" as schema name, DO NOT execute any SQL scripts yet.
next step would be importing latest MCDB, i suggest you to go to
Release Section -> Release, and click on
"Maple Community Database 4.3 [Last Release: 12 DEC 09]" thread.
still on the same step, read and execute the mcdb SQL,
schema name would be MCDB
then you move on with next step.
PHP:
you do not want to change the ports,
just change the IP address from 127.0.0.1 to your WANIP.
also, look at 'external_ip.lua', inside will have
PHP:
external_ip = {}
make it so that it looked like
PHP:
{"127.0.0.1", "255.0.0.0"},
{"192.168.2.1", "255.255.255.0"},
{"your.wan.ip", "0.0.0.0"}
}
then you go to next step.
Note that if you're using VC++ 2010,
you open "Vana_VS2010.sln" file instead of Vana.sln from your VanaSource folder.
PHP:
now you go to next step.
you will see "With Revision 912, you don't have to import the sql files to the database because LoginServer will do it for you.",
that is the reason why i asked you to create schema name "maplestory" without executing any SQL scripts.
then you will see
"Right click on LoginServer -> Debug -> Start new instance",
ignore it. don't even click it.
PHP:
After you compiled,
go to your VanaSource folder/Debug_VC100/CashServer/,
inside you will see "CashServer.exe", copy it to
your VanaSource Folder, where your "Vana_VS2010.sln" file
are.
do the same steps to
VanaSource folder/Debug_VC100/ChannelServer/ChannelServer.exe
VanaSource folder/Debug_VC100/LoginServer/LoginServer.exe
VanaSource folder/Debug_VC100/WorldServer/WorldServer.exe
After that you create A Batch file, but my way
Open notepad, paste the following code in.
PHP:
@echo off
cls
start /b "LoginServer" LoginServer.exe
ping 127.0.0.1 > nul
start /b "World 0" WorldServer.exe
start /b "Channel 1" ChannelServer.exe
start /b "CashServer" CashServer.exe
Go to your VanaSource folder where your "Vana_VS2010.sln" file are.
For File Name: put in start.bat
For Save as Type: change to All Files
Hit save
then next step.
PHP:
and then, Vana source is different from Java's SQL.
they do not have "account" table in SQL, but instead they use
"users" table in SQL.
If you have any problem/trouble, feel free to post it here and i will try to help you.
Here are some SS that should help you if in doubt maybe
NOTE THAT THE LOOPBACK ADAPTER's IP SHOULD BE YOUR WANIP,
FIND YOUR WANIP AT
You must be registered to see links
NOTE THAT WHAT YOU SEE IN PRIVATE IP IS MY LOCAL IP,
FOUND AT START>RUN>CMD AND TYPE IN "ipconfig"
YOURS MIGHT BE DIFFERENT SO...
->OPS, FORGOTTEN TO ADD IN PORT 8485
NOTE AGAIN THAT YOU SEE gzc.no-ip.org IS MY WAN IP,
PUT IN YOURS OR GO TO no-ip.com AND GET ONE , DONT PUT MINE
OR IT WONT WORK. ALSO YOU CAN USE 127.0.0.1 AS THE IP.
NOTE THAT THIS IS THE FINAL PLACE WHERE YOU PUT YOUR COMPILED FILES
-> CashServer.exe
-> ChannelServer.exe
-> LoginServer.exe
-> WorldServer.exe
and the start.bat
Last edited: