[GUIDE]Pserver - Server+Client setup

06/04/2009 18:40 trane.#1
Yo, I luckily found a little guide for how to create an eve online pserver, so I decided to share it with you, credits go to '' EVEmulator ''

Server Setup

Quote:
This is currently a very terse blurb about the steps needed to setup and run the server, feel free to expand and enhance this page.


Server Build

The first thing you will want to do is download the source code from sourceforge and build it.

* [Only registered and activated users can see links. Click Here To Register...]
* [Only registered and activated users can see links. Click Here To Register...]
* L[Only registered and activated users can see links. Click Here To Register...]
* [Only registered and activated users can see links. Click Here To Register...]


For running a server, the only binary you are interested in is in the server/ directory. You may have to edit the main.cpp so that it can use your database (see the note under Database setup for more information). Go into the server directory and run a "make". This should result in a final executable named "eveserver", this is the server binary.

You will need the mysql development resources installed (headers + libs). (The initial version may have some false dependancies on python development resources and libnet/libnids)

NOTE:
If you get link errors about libnet/libnids, go into the libs/ directory for each of those, and do a ./configure and then a make.

Database Setup
You will need to download and load up the eve database. Information is available in [Only registered and activated users can see links. Click Here To Register...]

Data Files
Create a directory named data under the root of the source tree, assuming you will run ./eveserver from the server/ directory.

You need to obtain the strings.txt file from your eve client directory, under script/sys/ and put it into the data/ directory.
If you cannot find this file or you do not have the client installed, you may find strings.txt at the [Only registered and activated users can see links. Click Here To Register...] page.

Config File
You will need to create a config file named evemuserver.xml in whatever directory you run the server from to tell the server how to connect to your database. You can also change your server's port, but I would not recommend changing it back to 26000...
Code:
An example file:

<eve>
 <server>
  <!-- <port>26001</port> -->
 </server>

 <database>
  <host>127.0.0.1</host>
  <username>eve</username>
  <password>eve</password>
  <db>eve</db>
 </database>

</eve>
Running it
Once you have everything configured, you should be able to fire up the server. Do this by going into the server directory, and running ./eveserver
You should see "TCP listener started." on success.

Once you have the server running, you can try to log into it with your client. See the [Only registered and activated users can see links. Click Here To Register...] page for more information.
Client setup

Quote:
Getting the EVE client to connect to a private server is relatively easy, what has been more difficult is getting it to never connect to the real servers for anything. Basically, when you start the client, it makes several connects to the live servers, and that is what we need to circumvent, otherwise they have a clear record in their log that your IP was connecting to a private server.

The server currently works with client version 3913. You can find the correct client by asking google: [Only registered and activated users can see links. Click Here To Register...]. Please do not post direct links to the client from this site! Unfortunately, when CCP published 3913, they actually put out 3903, and then recalled it and put out 3913a. Another option is to grab EVE_3910.exe and then evepatch3910-3913.exe.

This guide assumes you are running evemu on the same machine (127.0.0.1) with the server on port 26001 and a web server listening on port 8000 (no web server is OK too).

1. Copy Client

The first thing you should do when setting up to connect to evemu is to make a copy of your client. Just go into Program Files, find your EVE directory, and make a copy. Its a lot of disk space, but its better to not mess with your live playing environment.

NOTE

If you have just downloaded the client, please go directly to step 3, before trying step 2; you need to run the client at least once to get the materials required to perform step 2.

2. Edit prefs.ini
Next, you need to go into the cache/ directory of your new copy of EVE, and open up prefs.ini. Find the line for the following values and change them:

Code:
advanced=1
debug=1
network=1
networkAdvanced=1
port=26001
it is important to change the port, otherwise the client will call home for yet another patch check.

3. Script Mods

Now you need to make a quick change to a python script to prevent the login screen from "calling home" asking for patch information, and other such activities...
open up stdlib/urllib2.py
find 'def urlopen', and replace the body (up through def install_opener, leave blank line) of that method with this:

Code:
def urlopen(url, data=None):
    global _opener
    rewrites = {
        'http://www.eve-online.com' : 'http://127.0.0.1:8000',
        'http://myeve.eve-online.com' : 'http://127.0.0.1:8000/myeve',
        'https://secure.eve-online.com' : 'http://127.0.0.1:8000/secure',
        'http://support.eve-online.com' : 'http://127.0.0.1:8000/support'
        }
    ourl = url.get_full_url()
    matched = False
    for k,v in rewrites.items():
        if ourl[:len(k)] == k:
            newurl = v+ourl[len(k):]
            url = Request(newurl, url.get_data(), url.get_headers())
            matched = True
    if not matched:
        url = None  #prevent it from going anywhere we are not in control of
    if _opener is None:
        _opener = build_opener()
    return _opener.open(url, data)
4. Connect To Server
Now your client is set up to not talk to the live servers. All you need to do is click in the server name field, and type in the IP address of your server (127.0.0.1) and off you go.
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

This should be all,

trane.
06/04/2009 21:12 Kaanor_#2
Trane
xD
anything works in this version ;D
06/04/2009 21:43 trane.#3
what ?
06/04/2009 21:50 Sayael#4
Anyone tested yet :D

Can I fly a Titan with just on click xD
06/05/2009 16:32 nataro#5
Quote:
Originally Posted by Sayael View Post
Anyone tested yet :D

Can I fly a Titan with just on click xD
lol, that would be cool of you could get any ship on command, and it had some type of Cooldown period after death, before you could enter another ship. PvP 24/7!!!!! lol
06/06/2009 10:19 Kaanor_#6
the las server version i hostet;D
nothing works xD
u can dock out fly any ship but u can fly in only 1 system^^
no npc no rats nothing^^
02/19/2013 16:30 castlekeep#7
all the downloads are broken.
02/20/2013 18:31 BigJk#8
Quote:
Originally Posted by castlekeep View Post
all the downloads are broken.
Take a look at the Date ^^
04/01/2015 19:41 Evil.Shadow.Wolf#9
has anyone been able to find a working eve online server i need one
04/02/2015 22:15 Renegade91#10
Quote:
Originally Posted by Evil.Shadow.Wolf View Post
has anyone been able to find a working eve online server i need one
Yeah.. join the official :D

There will NEVER be any PServers.. just look at the amount of data.. the servers which would be needed to run this game stable... they got a whole bunch of server farms.. do you think would be able to handle the costs alone? lol..


also thanks for bringing back a 6 years old thread back to life...
04/05/2015 13:29 ugurano#11
this game its to big, im think this private will not working
07/16/2015 20:02 Retrogadgets#12
Quote:
Originally Posted by Evil.Shadow.Wolf View Post
has anyone been able to find a working eve online server i need one
checkout eve.alasiya.net enter this client ip into a crucible launcher
09/21/2015 00:45 Alphajan#13
Hm, that looks nice, will test it
11/23/2015 23:56 Kaanor_#14
= STEP 1 - Getting the Client =
* [Only registered and activated users can see links. Click Here To Register...] or

[Only registered and activated users can see links. Click Here To Register...] or

[[Only registered and activated users can see links. Click Here To Register...] here]
# Download the '''EVE_Online_Installer_360229.exe''', '''eveonline_360229_1of2.7z''', and '''eveonline_360229_2of2.7z'''
# Install the client using the .exe
#[WIN] Download the [[Only registered and activated users can see links. Click Here To Register...] blue_patcher ZIP package for Crucible]
#[MAC] Download the [[Only registered and activated users can see links. Click Here To Register...] blue_patcher ZIP package for Crucible]
#[MAC] READ THE README otherwise you are doomed to fail [[Only registered and activated users can see links. Click Here To Register...] blue_patcher Mac Instructions]
# Finally, follow the instructions in the README.md file to run the patcher and configure your client to connect to a server
<u>'''NOTE:''' Do NOT run the Client from the icon you get after installation. Change it to run the '''/bin/exefile.exe''' instead of the '''eve.exe'''</u>
Crucible is no longer available from CCP, so you will have to use the link above to download the currently supported client build for EVEmu Crucible.
04/20/2017 16:07 pifouney#15
Hi all,

I'm currently searching files for host my own dedicated Eve Online Server. I know it's too heavy for 1 server, but, needing for tests.... Can you share your links please ? :)