Debian Codegraph @

NEWS

raw
1
2 PvPGN 1.7.x Major Changes And New Features
3 ==============================================
4
5 o Westwood Online (WOL) support
6
7 This is a historic moment in the life of the PvPGN project. For the first
8 time a different gaming network than Battle.net is supported with PvPGN.
9 Current supports includes almost complete support for Tiberian Sun (TS)
10 and basic support for Red Alert 2 (RA2) and Yuri's Revenge (YR).
11
12 o WIN32 GUI for d2cs and d2dbs
13
14 d2cs and d2bs now feature a new slick GUI if build under WIN32.
15
16 o Instant startup (partial)
17
18 PvPGN now can startup in a lot lesser time than before, this is due to
19 code changes which make it not load all accounts at startup. This
20 improvement should be mostly noticed on very high number of accounts
21 servers. Note that currently this happens only to SQL storage types
22 (the file based storage types still load all accounts at startup).
23
24 o Optimized account loading/saving codes
25
26 Account loading/saving codes have been rewritten allowing PvPGN to scale
27 a lot better with a high number of online users (ie lower CPU usage).
28
29 o Better game result calculation
30
31 Game result decision has been completly changed to use a democratic
32 ellection scheme (ie it bases the decision on the oppinions of the most
33 results). This should solve problems with game results beeing wrong under
34 some situations (like team games).
35
36 o New WIN32 compiler/enviroment support
37
38 Now you can compile PvPGN under WIN32 using complete GPL/free build tools
39 by using Dev-C++ project and additional tools (mingw, etc).
40
41 o Optimized handling of D2 clients
42
43 Replaced a O(n) search algorithm through the client connection list used
44 mostly by D2 handling functions with a O(1) algorithm.
45
46 o Optimized timers codes
47
48 Timers codes have been rewritten so the most used functions complete a
49 lot faster than before. This improves PvPGN CPU usage a lot because some
50 timers functions are used very often inside PvPGN.
51
52 o Memory management changes and optimizations
53
54 There has been added some memory management wrappers functions which
55 never fail and thus the calling codes were simplified a lot by removing
56 checks to memory allocation failures. If memory allocation fails PvPGN
57 tries to recover by programming an immediate shutdown and cleaning up
58 some safe memory.
59
60 o Changed codes to use logged in username instead of account username
61
62 This change makes PvPGN use the username introduced at login (with the
63 exact case as in login) instead of the account name. This solves some
64 bugs (like could not edit profile in D2 if logged in with different case)
65 and also gets us more close to Battle.Net.
66
67 o Switched from string based tags to integer based tags
68
69 Codes have been dramatically changed to use integers for storing of tags
70 (client tags, architecture tags, etc) and thus when comparing tags we use
71 plain integer comparation instead of string comparation. This should
72 reduce CPU usage a lot.
73
74 o Optimized list handling codes
75
76 The list API has been changed and the codes have been optimized so it
77 will remove elements from the list upon request and not later, thus
78 eliminating a O(n) search and thus making PvPGN a lot faster.
79
80 o Unified and extended address translation system
81
82 We have unified all address translation files and codes to use a single
83 address_translation.conf file for this job. Also the file syntax has
84 been completly changed to be more flexible and allow configuration of
85 almost any thinkable NAT setup.
86
87 o IRC support reworked
88
89 IRC client support has been bugfixed, optimized and made to work with a
90 lot more IRC clients.
91
92 o Unified file based storage
93
94 File based storage (plain and cdb) have been unified into a single storage
95 backend (called "file") and the mode (plain/cdb) is just a parameter.
96
97 o Rewritten low level socket multiplexing codes (fdwatch2)
98
99 The codes which deal with how PvPGN knows which sockets are available for
100 reading/writing have been rewritten with a new interface which does not
101 presume (like the old codes) that the underlying OS allocates socket
102 values "close" (ex. WIN32 systems do not while most Unix based systems do
103 so). The new codes eliminates this presumtion and thus allows WIN32 hosts
104 to support a large number of connections as PvPGN supported Unix based
105 platforms.
106
107 o Added more storage types: SQLite3 and ODBC
108
109 With 1.7.x PvPGN now supports besides the MySQL/PostgreSQL SQL backends
110 also SQLite3 (www.sqlite.org) and ... ODBC SQL engine !! This means that
111 theoretically now you should be able to use PvPGN with almost any SQL
112 engine as long as an ODBC driver exists for it.
113