Commit graph

311 commits

Author SHA1 Message Date
dizzy
e94c4d52a1 Cleaned up some more cmake stuff. Testing is needed on win32 that this
doesnt break anything and that now you properly get HAVE_SELECT and 
friends and code from src/compat could me modified to not assume a lot 
of stuff when WIN32 is present but just use the general HAVE_<function> 
checks.
2007-08-20 13:50:06 +00:00
pandaemonium
bd2c6de632 fix linking step 2007-08-20 09:51:18 +00:00
pandaemonium
b1f294091e fix include 2007-08-19 23:57:53 +00:00
pandaemonium
01e6fd0689 fixed operator< for LadderKey (ordering was not strict) 2007-08-19 23:52:41 +00:00
pandaemonium
90528060fc first shot at enabling cmake based builds on win32 platform.
currently only tested with visual studio 8 (2005).
the bncdb tool is currently intentionally broken
as it was the only component relying on compat/pgetopt 
(which has been removed due to serious problems building it).
I will fix this problem tomorrow and add a common/conf based
commandline parser similar to the one used in bnetd,d2cs and d2dbs.
2007-08-19 22:50:02 +00:00
dizzy
eb4fd961cb Whoops, forgot this file from the last commit. 2007-08-19 12:45:17 +00:00
dizzy
0d0b10c552 First version of the cmake build system. Seems to be more portable and
easy to work with in non-POSIX enviroments than autotools. Still need to 
add installation support for the targets (so you can use "make install") 
and using sed to generate the config files. 
Usage:
- autogen/configure become: "cmake /path/to/pvpgnsource"; only tested in 
the current directory so far, so "cmake ."; out of source builds should 
work too in theory
- make becomes: make (suprise!)
Will update docs with more instructions if we will use it after all.
2007-08-19 11:51:53 +00:00
dizzy
9e93df6dda Cleaned some stuff namely removing checks for vprintf as it's part of
ISO C++ and we require full ISO C++ enviroment support anyway and 
removed a wrong ; at the end of a function definition (g++ complained 
about it only when compiled with "-pedantic -ansi" which is default with 
the cmake build system).
2007-08-19 11:45:14 +00:00
pandaemonium
35eabf17be add sha1 testing app 2007-08-16 14:47:18 +00:00
pandaemonium
e42a775ba5 update history 2007-08-16 01:41:44 +00:00
pandaemonium
c697d1f70c fix for bug [ #11671 ] bnetd on 64bit sends currupt packets to tracker 2007-08-16 01:06:59 +00:00
Pelish
0aa2a31507 fixed many bugs in handle_apireg.cpp 2007-08-15 22:27:48 +00:00
pandaemonium
7f5f3a11d4 fix for bug [ #11700 ] - oversized login with #uid as username 2007-08-15 11:43:11 +00:00
pandaemonium
993dc96ab7 correct error message 2007-08-15 10:48:10 +00:00
pandaemonium
0a680ba9fb properly display ladder wins on account profile page 2007-08-15 09:17:57 +00:00
pandaemonium
1cf27ea798 update version histroy 2007-08-14 21:34:02 +00:00
pandaemonium
7352661971 fix minor memleaks discovered during apireg testing, fix freeing wrong struct from memory (parentemail instead of request) 2007-08-13 16:18:39 +00:00
pandaemonium
01ad549eba add missing apiregaddrs setting to bnetd.conf templates 2007-08-13 14:48:35 +00:00
Pelish
83ba458ccd add missing API Register service files, fix of two small bugs on handle_irc_common.cpp and irc.cpp 2007-08-13 14:03:10 +00:00
pandaemonium
aa160b07e3 add deubugging output for NULL account on account_get_uid 2007-08-13 10:57:49 +00:00
pandaemonium
68548af9e7 fix previous commit (which also contained alot unintended payload) 2007-08-13 10:25:00 +00:00
pandaemonium
66393533a7 update prefix header to also declare tempOps(halpOps) 2007-08-13 10:00:12 +00:00
Pelish
b25ccaf642 Added supper handle file handle_irc_common.cpp/h for all IRC based protocols 2007-08-12 20:18:14 +00:00
pandaemonium
c361a084f7 add basic standard compliant sha1 implementation 2007-08-12 18:32:52 +00:00
pandaemonium
ba8f07cf35 only send locked reply on D2>=1.11 (previous version simply discs on that reply code) 2007-08-12 13:14:51 +00:00
Pelish
2ee34bb3f6 Removed duplicated entry. 2007-08-09 21:34:54 +00:00
pandaemonium
23a1e239c1 [ Patch #2131 ] WOL fixed bad JOINGAME message for game joinee and cleanup 2007-08-09 20:45:47 +00:00
pandaemonium
656394b9d4 make sending of topic on irc type connections automagic, too 2007-08-08 21:53:41 +00:00
pandaemonium
10511d9926 commit of a modified version of [ Patch #2130 ] games bug fix 2007-08-08 18:10:22 +00:00
pandaemonium
10fc28a405 updated according to bnetdocs - will test using D2 client later today 2007-08-07 15:28:35 +00:00
pandaemonium
84510b462b fix indentation - use four spaces per level 2007-08-07 13:53:52 +00:00
pandaemonium
a3c6206160 for sanities sake revert it back until I really nned those new structures/byte layouts 2007-08-07 13:35:17 +00:00
pandaemonium
88add40a9e fix issue reported by waxxi on pvpgn-dev list 2007-08-07 13:27:42 +00:00
pandaemonium
6e5a04c9ca a small step for a man - but giant bugfix for the mankind... 2007-08-06 22:40:15 +00:00
pandaemonium
1b1693040c remove debug output 2007-08-06 21:22:22 +00:00
pandaemonium
d26527d70b more fixes for JOIN problems I introduced & fixes by pelish for proper WOL JOIN handling 2007-08-06 21:16:58 +00:00
pandaemonium
233bd30c50 remove debug output 2007-08-06 19:46:23 +00:00
pandaemonium
6a2cda1362 make WOL2 clients recieve proper namreply 2007-08-06 19:45:53 +00:00
pandaemonium
da377c384e just a few more fixes and I'll revert all this back :-( 2007-08-06 16:19:40 +00:00
pandaemonium
4906d6f4c6 more fixes for WOL join (I should have never opened pandoras box...) 2007-08-06 15:50:05 +00:00
pandaemonium
cc6bc74118 this time really fix join/part handling, do not send userlist in namreply for The Void 2007-08-05 21:33:45 +00:00
pandaemonium
46482992c4 make sure all ways to join a channel trigger a namesreply 2007-08-05 17:56:45 +00:00
pandaemonium
15fafea294 [ Patch #2122 ] Fix bad message_types on talk between BNET and WOL, Commands 2007-08-03 22:45:45 +00:00
pandaemonium
8605aee14b unintentionally commited some other changes on last commit - need those, too to get things to compiel again 2007-08-03 20:13:09 +00:00
pandaemonium
35cd9d240c fix problems found by pelish 2007-08-03 20:10:03 +00:00
pandaemonium
4255945d6d make JOIN/PART messages implicit on channel_add/del_connection 2007-08-03 19:22:16 +00:00
pandaemonium
b8962afef7 fix channel part on join 2007-08-03 18:14:47 +00:00
pandaemonium
e3e67e3ec0 added SC/BW 1.15 XMAC versioncheck entries 2007-08-02 19:38:30 +00:00
pandaemonium
d3907247dd cosmetical changes 2007-08-02 16:13:21 +00:00
pandaemonium
564eddcf2b update versioncheck entries 2007-08-02 16:08:42 +00:00