Register for your free account! | Forgot your password?

You last visited: Today at 02:26

  • Please register to post and access all features, it's quick, easy and FREE!


AutoPatch Server

Reply
 
Old   #1

 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,394
Received Thanks: 1,055
AutoPatch Server

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.
Screenshot :
Attached Files
File Type: zip AP Server v0.1.2 - Windows (x86).zip (4.10 MB, 840 views)



CptSky is offline  
Thanks
16 Users
Old 03/24/2014, 22:32   #2
 
elite*gold: 0
Join Date: Jun 2013
Posts: 5
Received Thanks: 1
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?


cdevries94 is offline  
Old 03/25/2014, 00:32   #3
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 411
Quote:
Originally Posted by cdevries94 View Post
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

;like: /co2/patches/
RelativePathToPatchesOnWebServer=/secret/api/gpluscodebase/

;
Show console output for Connections transfers
ShowOutput
=true 
and you just have to increment the number inside Version.txt on your local webhost directory to tell the server wich the last patch is.
Y u k i is offline  
Old 04/02/2014, 21:12   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 30
Received Thanks: 15
Quote:
Originally Posted by Y u k i View Post
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

;like: /co2/patches/
RelativePathToPatchesOnWebServer=/secret/api/gpluscodebase/

;
Show console output for Connections transfers
ShowOutput
=true 
and you just have to increment the number inside Version.txt on your local webhost directory to tell the server wich the last patch is.
1st i cant get this autopatcher to work and yuki when i use urs it crashes once the connection is made


patcac-patcac is offline  
Old 04/03/2014, 04:23   #5

 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,394
Received Thanks: 1,055
e.g.

Host : update9.co.91.com
Path : enzf

Than, you add patch.

Version : 5885
Path : enco_5886.exe

Current Version : 5886
CptSky is offline  
Old 04/03/2014, 07:00   #6
 
elite*gold: 0
Join Date: Mar 2009
Posts: 30
Received Thanks: 15
Quote:
Originally Posted by CptSky View Post
e.g.

Host : update9.co.91.com
Path : enzf

Than, you add patch.

Version : 5885
Path : enco_5886.exe

Current Version : 5886
yea i know how to set it up the prob is it wont connect to the autopatcher ...
patcac-patcac is offline  
Old 04/03/2014, 13:08   #7

 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,394
Received Thanks: 1,055
Becauae you haven't updated the client probably... It won't connect if the client doesn't know the IP.
CptSky is offline  
Old 04/11/2014, 20:02   #8
 
elite*gold: 0
Join Date: Aug 2010
Posts: 96
Received Thanks: 9
What about All in One patches?
(like 5830-5886)
hyperco is offline  
Old 04/11/2014, 22:00   #9

 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,394
Received Thanks: 1,055
Quote:
Originally Posted by hyperco View Post
What about All in One patches?
(like 5830-5886)
For the version 5830, you don't but 5831.exe but 5830-5886.exe ?
CptSky is offline  
Old 09/05/2016, 03:52   #10
 
elite*gold: 0
Join Date: Aug 2012
Posts: 12
Received Thanks: 0
links dosen't work please fix it
waledzero is offline  
Old 09/05/2016, 04:26   #11
 
elite*gold: 0
Join Date: Jul 2016
Posts: 80
Received Thanks: 21
Quote:
Originally Posted by waledzero View Post
links dosen't work please fix it
Yes they do. They probably don't work in your country due to a banned ip.
Complain:
SuperDaft is offline  
Thanks
1 User
Old 09/05/2016, 18:07   #12
 
elite*gold: 0
Join Date: Aug 2012
Posts: 12
Received Thanks: 0
Quote:
Originally Posted by SuperDaft View Post
Yes they do. They probably don't work in your country due to a banned ip.
Complain:
what should i do now :"D
waledzero is offline  
Old 09/05/2016, 18:08   #13
 
elite*gold: 0
Join Date: Jul 2016
Posts: 80
Received Thanks: 21
Quote:
Originally Posted by waledzero View Post
what should i do now :"D
Wait for a response on your complaint, because it's apparently not just you.


SuperDaft is offline  
Thanks
1 User
Reply

Tags
apserv, autopatch, cross-platform, server



« [Release] Albetros Custom Source (Latest Hellmouth) | [Release] Shop.dat Manager »

Similar Threads
AutoPatch Server (APServer)
03/29/2014 - CO2 Programming - 5 Replies
Released : http://www.elitepvpers.com/forum/co2-pserver-guides-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)
[Release] Autopatch Server (Uncomplete)
09/07/2008 - CO2 PServer Guides & Releases - 15 Replies
*removed*



All times are GMT +1. The time now is 02:26.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.