pvpgn-server/README.md
2014-05-27 10:31:41 +04:00

6.6 KiB

Player versus Player Gaming Network

Original PvPGN 1.99 source code with tweaks.

Source Code changes

  • Lua scripting support (WITH_LUA cmake directive)
  • Add display custom icons depends on a user rating, custom output for command /stats; works with Warcraft and Starcraft (see icons.conf) commits 1, 2, 3
  • fix command send flooding commit
  • fix compile error when pointer size is larger than int commit
  • fix Warcraft 3 ICON SWITCH hack commit
  • fix saving sql fields with custom characters in the name commit
  • add game id field in status.xml output commit
  • add game id field and user game version in status.dat output (the same as status.xml) commit
  • welcome text for Warcraft 3 is moved from the code into a new file bnmotd_w3.txt (example with colored text is included) commit
  • Feature to use d2s character as a template for a new character in newbie.save; each character class can have it's own template issue

New commands

  • /save immediately save changes of accounts and clans from the cache to a storage (useful for testing) commit
  • /icon <add|del|list> icon stash implementation - each user has it's own stash with icons, admin/operator can add icon to user's stash, you can set aliases for icons in config; works with Warcraft and Starcraft commits 1, 2
  • /find <substr of username> search account by part of the name - patch #1526 from berlios commit
  • /quiz Trivia Quiz Game (implemented in Lua) commit

Modified commands

  • /set exclusion to get/set a password hash and user id; feature to empty key with "null" value; more info in output of the command and examples commits 1, 2
  • /finger more info in the command output - patch #2859 from berlios commit
  • /games lobby show games in lobby only - patch #3235 from berlios commit
  • /friends online show online friends only - patch #3236 from berlios commit
  • /topic feature to set text on a new line issue
  • /alert <message> like /announce but message box shows instead of a text issue
  • /rehash <mode> feature to rehash configs separately commit

Minor changes

  • add original MOTD files with UTF-8 encoding
  • add support files v1.2, there are no need to download it separately after install
  • add ODBC support for CMake
  • add latest versioncheck.conf
  • skip_versioncheck, allow_bad_version are enabled by default in bnetd.conf - for easy start
  • source code is formatted for better reading
  • unused files are removed, only pvpgn source here
  • unknown udp packets are logged with enabled debug mode only (it always chokes a log file before) commit
  • add a file location for all the text files like MOTD (often a server admin doesn't know where a file is located)
  • add option ignore-version for programs bnchat and bnstat - patch #3184 from berlios commit
  • help for all commands is displayed from bnhelp.conf and format changed for better reading, updated more help messages issue
  • fix error in log when user sends a message with text length of 255 symbols commit
  • update tracker servers in config, track is enabled by default

Build source code

Windows

Use Magic Builder.

Download code manually and put into source directory (button Download ZIP on the right side of this repository page)

Linux

Русский | English

Vimeo