admin โพสต์ 2019-4-15 17:01:04

[Flyff V15] Clean V.15 Source and Client สอนเปิดเซิฟ Flyff [Full-version]

Clean V.15 Source and Client สอนเปิดเซิฟ Flyff

https://www.mustplay.in.th/static/attachment/2017/4/30/attach-1496156277104.jpg

ตัวเกมเวอร์ชั่น Repack ที่ถูกปล่อยออกมา มีการแก้ไขเปลี่ยนแปลงเล็กน้อยเพื่อความสะดวกในการตั้งค่าระบบ เพื่อความง่ายต่อการใช้งาน
เวอร์ชั่นนี้เหมาะสำหรับทุกคน ทั้งผู้ที่เริ่มต้นการทำ Flyff พื้นฐาน หรือมีประสบการณ์มาบ้างแล้วในการเพิ่มระบบหรือแก้ไขระบบให้ดีขึ้น

Clean v15 Source Changelog (for included binaries):
Account:
External Connections allowed by default
World:
Profiler disabled by default
Removed "OP" messages from error logs
Neuz:
Removed GameGuard
Removed "sunkist" parameter to allow double-click startup
Changed password salt to "flight"
Removed Admin/GM coloured names and tags
Changed back the buff limit to 14 buffs (same as eFlyff)
Changed default resolution to windowed 800x600
Changed sound volume to 50% original
Changed Cache port to 15400
Changed MSGVER to 00000000

Spikenbror's Changes:
Applied Pet.cpp patch
Removed 2nd-password.

ไฟล์ที่ใช้ในการเปิดเซิฟเวอร์ :


[*]**** Hidden Message *****



หมายเหตุ: คุณสามารถใช้ SQL Server และ SQL Server Management Studio 2005/2012 ได้เนื่องจากขั้นตอนการติดตั้งคล้ายกันมาก ไม่เกิดปัญหากับการติดตั้ง 2005/2012 ของคุณ


หน้าถัดไปเพื่อไปยัง Server Setup


Server Setup
Step 1: SQL Server ติดตั้งโปรแกรมฐานข้อมูลเปิดไฟล์การติดตั้ง SQL Server 2008 ที่คุณดาวน์โหลดและเลือก "การติดตั้ง" จากแผงด้านข้าง จากนั้นเลือก "New SQL Server stand-alone installation"

http://i.imgur.com/cmSmGJ3.pnghttp://i.imgur.com/7cE7Acb.png
ดำเนินการต่อผ่านการติดตั้งเพียงแค่กดปุ่มถัดไปจนกว่าคุณจะไปที่หน้า "Feature Selection" คุณสมบัติเดียวที่คุณควรเลือกคือ "Database Engine Services" เนื่องจากไม่ได้ใช้คุณสมบัติอื่น จากนั้นคลิกถัดไป


http://i.imgur.com/1NREhFE.png

สำหรับ "Instance Configuration" ให้ปล่อยให้เป็นชื่อ INSTANCE AS SQLExpress แนะนำให้เปลี่ยนแปลงสิ่งนี้หากคุณเป็นผู้ใช้ที่มีประสบการณ์ หลังจากนี้ให้คลิกถัดไป

http://i.imgur.com/1oRmCfZ.png

สำหรับ "การกำหนดค่าเซิร์ฟเวอร์" ให้ตั้งชื่อบัญชีเป็น NETWORK SERVICE และปล่อยให้ประเภทการเริ่มต้นเป็นอัตโนมัติ ควรตั้งค่า "The SQL Server Browser" เป็นปิดใช้งาน หลังจากนี้ให้คลิกถัดไป

http://i.imgur.com/6oaiUFU.png

สำหรับ "Database Engine Configuration" ให้เลือก Mix mode เป็นโหมดการรับรองความถูกต้องและป้อนรหัสผ่านที่คุณจะไม่ลืม นี่คือสิ่งที่คุณจะใช้สำหรับการเข้าถึงฐานข้อมูลระยะไกล (เช่นจากเว็บไซต์) ตรวจสอบให้แน่ใจว่าได้เพิ่มผู้ใช้ปัจจุบันเป็น "SQL Server Administrator" สิ่งนี้จะทำให้ผู้ใช้ปัจจุบันสามารถเข้าถึงฐานข้อมูลได้ไม่ จำกัด หลังจากนี้ให้คลิกถัดไป

http://i.imgur.com/nOUTMwT.png

หลังจากข้อความการติดตั้งเสร็จสมบูรณ์คุณก็ทำเสร็จแล้ว

http://i.imgur.com/CCXUnSs.png


Step 2: ติดตั้ง SQL Server Management Studio Express Installation
This setup is very similar to the SQL Server installation, with a few minor differences. To begin, Open up the SQL Server Management Studio Express 2008 installation file you have downloaded and select "Installation" from the side panel. Then select "New SQL Server stand-alone installation".

http://i.imgur.com/cmSmGJ3.pnghttp://i.imgur.com/7cE7Acb.png

It will ask if you want to make a new installation or modify your existing instance. This is a little confusing, but you should perform a new installation! After this, click Next.

http://i.imgur.com/M7GwvqL.png

For the "Feature Selection", make sure that "Management Tools - Basic" is enabled. After this, click Next.

http://i.imgur.com/EPRR5op.png

After the successful installation message, you're all done.

http://i.imgur.com/3ThuFXr.png


Step 3: ติดตั้ง Database Setup


To setup the database, all you need to do is execute one script and everything will be set-up. No messing with restoring databases, no messing with linked servers, it is all done in one step with my script!

Just open up SQL Server Management Studio (SSMS) and connect to ".\SQLEXPRESS" using Windows Authentication. (If you did change your Instance name for some reason, this will obviously be different!)

http://i.imgur.com/bYPzSFf.png

Open up the "Repack\Setup\Database\ Database Script.sql" file with SMSS and just hit Execute on the toolbar. Everything should have been taken care of for you, as long as there were no errors, like shown here:

http://i.imgur.com/t41LprL.png

The only other things you will need to do in SSMS is create a character and/or create GM characters, both of which I have created scripts for. You can create an account now, but you cannot make a GM character until you log-in to the game. A detailed explanation on how to create an account is found below in Additional Information.




Step 4: เปิดใช้งาน ODBC เพื่อการเชื่อมต่อ


To setup the ODBC connections, follow these steps:

DO STEP 1-10 FOR EACH OF THE 5 NAMES BELOW!



NAMEDATABASE
loginACCOUNT_DBF
character01CHARACTER_01_DBF
log01LOGGING_01_DBF
rankingRANKING_DBF
manageMANAGE_DBF


1.        Open "ODBC Data Source Administrator" (built-in Windows application)
2.        Under the "User DSN" tab, Click "Add..."
3.        Choose "SQL Server Native Client", then "Finish"

http://i.imgur.com/4pI526x.png

4.        Enter one NAME from below into the "Name" field
5.        Enter your SQL instance into "Server" (default: ".\SQLEXPRESS")

http://i.imgur.com/eB3ELFh.png

6.        Hit next, make sure "With Integrated Windows Authentication" is checked

http://i.imgur.com/LcuwWGh.png

7.        Hit next, and select "Change the default database to:"
8.        Use the drop-down menu and select the DATABASE associated with NAME

http://i.imgur.com/lEjc1g1.png

9.        Hit next. No changes need to happen on this screen, so then click "Finish".

http://i.imgur.com/QjBmkMH.png

10. Click "Test Data Source" afterwards to verify it works.

http://i.imgur.com/FHkiVKQ.pnghttp://i.imgur.com/vRqTkeO.png

After setting up all the ODBC connections, it should look something like this:

http://i.imgur.com/Wcdr40G.png


Step 5: ติดตั้ง Client/Resource Setup


Client Setup:
Each user/player should install the game client using FlyffUsaSetup_v15.exe. Make sure to uncheck "Run Flyff" at the end of the installation to avoid patching the game, which could make it not work.

No changes need to be made if the server and client are on the same computer (local), but connecting to a remote server (such as a VPN) requires the IP in the client to be changed. I strongly recommend that you test the server locally first to make sure that it works, then using the information located in the "Changing Neuz IP" section under "Additional Information" to change the IP.

Resource Setup:
NONE. There is no need to edit any files or configurations, but applying the patch is recommended (shown below).

Applying the Patch:
The Repack as it is currently is completely clean. It contains no changes or bug-fixes. I recommend installing the patch to make your server run as smooth as possible, but it is not mandatory. The only exception is Neuz.exe (found in Patch\Client folder) since the original Neuz.exe will not work.

To apply the patch, simply copy the files from the "Repack\Setup\Patch\Client" folder to your Client folder, and the files from the "Repack\Setup\Patch\Resource" folder to your Resource folder. Everything should ask to overwrite. Each user/player requires the Client patch, but the Resource patch is only for the person running the server.

Note: If you plan on hosting a public server, I recommend configuring and compiling the PatchClient project in the source and using this to send the patch to each player automatically. There are many guides on how to do this. If only a few people will be connecting to your server, just send them the Patch/Client folder and have them apply the patch themselves.



Step 6: เริ่มต้นเปิดเซิฟเวอร์

After setting up your Resource/Client folders, it's time to start the server. All of the configuration files will work as they are, but can be modified to customize your server more.

To start your server, simply run the "Cuvvvie's Basic Server Manager" program, which will automatically launch your server. The first time you launch, you may get a bunch of "Windows Firewall" messages. Just hit "Allow access" to them all.

To start your server manually, go into your "Repack\Program" folder and start each folder in the order they are numbered. Make sure to let each one load before starting the next one.



Additional Information - การแก้ไขไอพี การ Forward PortTo put your server online, you need to change your *.ini files slightly, and then port forward if you have a router. If you have are using a VPN, you will still need to change your *.ini files, but there is usually no need to port forward (but if your VPN service blocks the required ports and do not let you forward them, you will not be able to connect).

First, you need to find out your public IP. If you don't know it, visit www.canyouseeme.org

http://i.imgur.com/WX1As7e.png

Take this IP, and simply replace it where it's pointed out in "Program\AccountServer.ini" (First and Second line) and in "Program\LoginServer.ini" (By "AddCache") - THREE PLACES TOTAL!

http://i.imgur.com/V4USWAq.png

After you do this, you'll need to figure out if your ports are open or closed. If you have a router, they're probably closed and you will need to port-forward. Use www.canyouseeme.org once again to check if the ports 15400, 23000, and 28000 are open.

If they're open, you're done! To let your friends connect, have them download and install the v15 client just like you did, and also send them the "Patch\Client" folder (or just Neuz.exe if you don't want the patch). Have your friend put your public IP inside of his "Client\neuz.ini" file (where it says ip "", put the public IP between the quotes), and they should be able to connect. Make sure to make an account for them!

If they're closed, you'll need to figure out how to port-forward on your own router, since they're all different. The website portforward.com is an excellent resource to help you Port Forward for every router model. Since you and I probably don't have the same router, I cannot help you directly.

To port-forward, then you need to find out your local IP. To do this, run "cmd.exe" as an Administrator, type "ipconfig" and press enter. You should be looking for your IPv4 Address that is used on your local network. This is the address of your computer according to your router. Use this picture as a reference:

http://i.imgur.com/VVeYSZi.png

Here's a picture of what it should roughly look like after you port-forward, using 15400, 23000, and 28000 as the ports and your local IP as the IP address. This tells the router if that someone is trying to connect to the Flyff ports, send them to your computer instead of refusing them.

http://i.imgur.com/uER8S07.png

To let your friends connect, have them download and install the v15 client just like you did, and also send them the "Patch\Client" folder (or just Neuz.exe if you don't want the patch). Have your friend put your public IP inside of his "Client\neuz.ini" file (where it says ip "", put the public IP between the quotes), and they should be able to connect. Make sure to make an account for them!


การสร้างไอดีตัวละคร

To create an account, just open up "Database\ Create Account.sql" in SSMS and fill in the variables for account/password. The salt for the Neuz included in my Repack is "flight", but if you're using a different Neuz, then put that salt there. Once you execute the query, your account is created!

http://i.imgur.com/bTXkMZY.png



การเปลี่ยนไอพีตัวเกม

The server IP can be changed by editing neuz.ini or Neuz.exe.

[*]The neuz.ini method should be used if you or just a few people will connect to the server (each user will need to edit their neuz.ini file).
[*]The Neuz.exe method should be used if you are making your server public (changes the default IP in the distributed Neuz.exe).


Neuz.ini method:
The neuz.ini file does not exist in the folder by default, it is automatically generated the first time the client is closed, so simply open Neuz.exe and close it if the file does not exist. Each user should open the file with notepad and edit the line (do not add a new line) that starts with "ip" by putting the server IP within the quotes as shown below:
Code:
ip "127.0.0.1"
Neuz.exe method:
To change the IP within Neuz.exe, so that each client doesn't need to edit neuz.ini manually, you need to download a program called Resource Hacker.

Steps: (after installing Resource Hacker)
1) Open up your Neuz.exe within Resource Hacker
2) Click "String Table" to expand it, then "1", then click on "1042"
3) Edit the IP from 127.0.0.1 to YOUR server IP address
4) Press "Compile Script" when you're done editing it
5) Save Neuz.exe to make the changes final
6) Distribute this new Neuz.exe to anyone that wants to connect

http://i.imgur.com/ppKcOiX.png



disney โพสต์ 2019-4-15 18:22:15

น่าสนใจมากเลยครับ ขอบคุณครับ

aeiouaz2005 โพสต์ 2019-4-17 00:09:17

อยากได้อยากได้ๆๆๆ

mmamza โพสต์ 2019-4-17 13:57:03

ขอบคุณครับ

Casino โพสต์ 2019-4-17 15:16:27

ขอบคุณครับพี่

goderzaa โพสต์ 2019-4-18 21:59:56

ขอบคุณมากๆเลยครับผม

Natchaphong โพสต์ 2019-5-5 12:15:22

sdfsdfsdfadfasd

xigncode05 โพสต์ 2019-5-5 16:03:44

4117za โพสต์ 2019-5-12 01:38:14

ขอบคุฯครับ

tt00007t โพสต์ 2019-5-12 14:22:07

ขอบคุณครับ
หน้า: [1] 2 3 4 5 6 7 8 9 10
ดูในรูปแบบกติ: [Flyff V15] Clean V.15 Source and Client สอนเปิดเซิฟ Flyff [Full-version]

Flag Counter