The following AutoPatch Server is developed in C++ and will works with the official AutoPatch client of TQ Digital.
The deamon can be used without the GUI, but the GUI makes the server easier to manage.
I have a version for Mac OS X (ppc, ppc64, x86, x86_64), Windows (x86, x86_64), Debian (x86_64, ARM), but I can build it for any Linux distribution (and probably any UNIX one). Other versions can be requested by PM and I will charge a small fee. Only the Windows 32-bit version will be freely available.
Code:
AutoPatch Server
----------------
Copyright (C) 2014 Jean-Philippe Boivin
Overview
--------
AutoPatch Server is a server emulating the official AutoPatch server used
by TQ games. It is a C++ deamon combined with a powerful UI for managing
the server.
The emulator is developed in C++ with Qt4 and Qt5.
Features
--------
APServ is a fully functionnal AutoPatch server.
+ Support any POSIX and/or WinAPI operating system with Qt4 / Qt5
+ Support any architecture (little endian & big endian | 32 bit & 64 bit)
+ Separate worker for logging (see apserv.log)
+ Self destructed environment (useful for singletons)
+ apservd
- Fully functionnal and independent deamon
* Small footprint (less than 5 MB in memory RAM)
* Only two INI files for configuring the server
+ APServMgr
- UI for maintaining the configuration files
* Small footprint (less than 15 MB in memory)
* Status of the deamon (and ability to launch / stop the deamon)
+ On Mac OS X, the whole server is self-contened in the APServMgr app.
+ On Mac OS X, APServMgr is also available in French.
+ On Windows, the whole server must be in the same folder.
Documentation about the server can be generated with dOxygen.
Supported systems
-----------------
The emulator has been tested on the following platforms:
- Windows XP Professional (SP2)
+ x86_64
- Mac OS X Leopard (10.5.8)
+ ppc, ppc64
- Mac OS X Mavericks (10.9.2)
+ x86, x86_64
- Debian Lenny (5.X)
+ armel (ARM)
- Debian Wheezy (7.1)
+ x86_64
However, the emulator should work without any modification on any
POSIX-compliant system (Mac OS X, *NIX, GNU/Linux, etc) and on any
WinAPI system.
N.B. This server uses the Windows API and/or the POSIX API and/or the Qt4 API.
This may be a stupid question but if I wanted to set this up for my private server how would i go about doing so? And would it update the server if I have the required files for the newer patch?
This may be a stupid question but if I wanted to set this up for my private server how would i go about doing so? And would it update the server if I have the required files for the newer patch?
Easy:
Put your RELATIVE path on your webhost eg. if you got the domain , you just put /patches if they are in the patches directory.
after that, you simply upload the patches into that directory and add it on the patchserver like that
Once thats done, you will need to set the latest patch (so the client will stop trying to patch after the set version has been reached:
Thats it. Ready to go!
----- -----
The Config.ini allows you to set everything you need like that
PHP Code:
[Config]
;Path to the file wich only contains the current Patch nr. RemoteVersionFile=www.google.com/version.txt
;The host of your webserver (Hostname or IP) HostOfYourWebsite=www.google.com
AutoPatch Server (APServer) 03/29/2014 - CO2 Programming - 5 Replies Released : http://www.elitepvpers.com/forum/co2-pserver-guide s-releases/3169617-autopatch-server.html
[Guide(s)] Autopatch,Fixing MSg server prob,Changing music to your server. 10/17/2009 - EO PServer Guides & Releases - 5 Replies Alright first of all i'm sure someone posted these but i see threads of people looking for help so i'm going to explain in great detail how to do such things...
i will add more when i see fit. or i see them posted and add them.
#please sticky
Forcers autopatch2.exe setup....
First put the autopatch and config.ini wherever, and if your on a router open port 9528 tcp/udp i think thats the only one you need i'm not sure.
[Release] Real AutoPatch Server for Co 08/08/2009 - CO2 PServer Guides & Releases - 9 Replies ok this is simple it looks like this
latestpatchver=5001
ip=127.0.0.1
dir=enzf
bind 5000 = 5001-5002
latestpatchver= it checks your verison.dat to see if it match, if it doesnt it will update to the matching version
ip=external ip
[Guide] Autopatch server explained 01/22/2009 - CO2 Guides & Templates - 55 Replies If for some reason you want to set up your own autopatch server to go with your private conquer server, the following info should be all you need to get you going.
Update: Included an example of a working, but by no means complete autopatch server C# script, you can download it from the attachment, it's merely a demonstration to get you started.
All you need is a simple tcp/ip connection to the autopatch server.
(TQ's official server: 69.59.148.97 on port 9528)