Win7 System 64-bit Eclipse environment Ultra detailed Diablo 1.4 Server Setup

Source: Internet
Author: User

Original address: http://bbs.gameres.com/thread_223704.html

Busy today, referring to several success stories in the forum, I also set up the next service, here detailed record of my installation process, convenient for everyone to build quickly.

Eclipse is my favorite and I love to develop under Eclipse. So decisive this time is also under eclipse
(All software used below is downloaded in the attachment)

First install Python,
I am using PYTHON-2.7.5.AMD64. Download to the attachment
The installation is simple, the next step is good.
Add C:\Python27 to Path:
<ignore_js_op>


Install the Python plugin for Eclipse.
Unzip the Pydev+2.7.1.zip, copy two folders to the Eclipse installation directory, directly select the overwrite will be added, will not delete the original contents of the content)
You can restart eclipse.
Configure the Python environment, Windows-->preference-->pydev-->interpreter-python, New-->browse on the right, find C:\Python27\ Python.exe,ok, select all the found Libs, complete.
Such as.
<ignore_js_op>

install MySQL
Because this has 191m, so did not upload, oneself to download the MySQL installation on the net, I use is: Mysql-installer-community-5.6.14.0.msi.

Installing memcached
Download Memcached_en32or64.zip, because I am a 64-bit system, extracted after the selection of the x64 directory.
Run cmd as Administrator,
Enter the path where the Memcached.exe is located,
Run memcached.exe-d install-m 500 to install,
You can go to the Windows service to see if there is a memcached service;
You can also see the MySQL service installed in front of us to make sure they are all up. If it is manually started, you should manually start the two services on each boot
<ignore_js_op>

Installing Setuptools
This tool is handy for us to install some other libraries under Python
Accessories Download setuptools-1.1.6.tar.gz, unzip
CMD to the Extract directory, enter the Python ez_setup.py and install it.
Refer to the previous method and add C:\Python27\Scripts to the PATH environment variable

third-party library dependencies required for fast installation
CMD to run in sequence:
Easy_install Twisted
Easy_install python-memcached
Easy_install dbutils
Easy_install Zope.interface
Easy_install Affinity
Easy_install Mysql-python (It seems that here will automatically install 32-bit, my is 64-bit, multiple attempts unsuccessful, so I this step is manually installed)


manual installation of Mysql-python
Download attachment: Mysql-python-1.2.4.win-amd64-py2.7.exe (here is the 64-bit version)
Double-click Install.

Installing pywin32-218.4
Download attachment: Pywin32-218.4.win-amd64-py2.7.exe (here is the 64-bit version)
Double-click Install


Download firefly-alpha-v1.2.2
Extract cmd to extract directory to execute Python setup.py build and python setup.py install


download Diablo World Server Code
I use Anhei server 1.4
Import Anheisj.sql to database: Open MySQL workbench,file-->open sql script--> Select Anheisj.sql file, execute AS
<ignore_js_op>

Create Pydev Project
Create a Pydev Project project under Eclipse, enter the project name and select Create src directory
Copy the contents of the Anhei Server 1.4/anheisg/directory to the SRC directory
Modify the database IP, user name, password, and other related configurations in Config.json in eclipse
<ignore_js_op>
Open startmaster.py, right click Run As-python run, you are done
<ignore_js_op>


The last attachment adds a My Eclipse engineering Anhei.rar, which can be imported with eclipse after the download is unpacked.

Questions:
If a port is being taken up incorrectly, it may be because the previous boot was not turned off, and you can try to log off the computer and run again.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.