Thread: Integration with vBulletin - Player vs Player Gaming Network (PvPGN) Integration
View Single Post
  #7  
Old 10-21-2008, 08:02 AM
Sebijk Sebijk is offline
 
Join Date: Oct 2005
Location: Germany/Bottrop
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Documentation at PvPGN Website is not really useful, so I write my litte documentation:

Some Linux Distributions have PvPGN as a DEB or RPM Packet included. But this versions is not recommened, because many Packets are outdated and make some problems with new Clientversions.


You need: MySQL-Header, Dev-Files, cmake, make and the required compilation tools

Get the newest version at SVN:

http://developer.berlios.de/svn/?group_id=2291

or

Code:
svn checkout svn://svn.berlios.de/pvpgn/trunk
After checkout go to the directory trunk and exec following commands.

Code:
cmake  -D WITH_MYSQL=true pvpgn
make
make install
PvPGN is compiling and installing in /usr/local.

After this, download the Support files:

http://prdownload.berlios.de/pvpgn/p...ort-1.2.tar.gz and unpack this at /usr/local/var/files.

At /usr/local/etc/bnetd.conf:

Search
Code:
storage_path = "file:mode=plain;dir= ...
and comment out this line or delete it.

Add this following text on a new line:

Code:
storage_path = "sql:mode=mysql;host=localhost;name=dein_vb_db;user=your_vb_db_user;pass=your_vb_db_password;default=0;prefix=pvpgn_"
Next search:

Code:
new_accounts = true
Change this in (because you will use the PvPGN Integration for vBulletin):
Code:
new_accounts = false
Done.

You can start PvPGN with
Code:
/usr/local/sbin/bnetd
or if you start PvPGN in Debug mode
Code:
/usr/local/sbin/bnetd -D
Ports, that must allow at the Server Firewall:
6112, 6200. 4807 (if you have Westwood Support enabled) und 6667 (if you have IRC Support enabled).

Battle.net Clients:

Add Server to the Client:

Registration Editor (regedit):

Goto HKEY_CURRENT_USER\Software\Battle.net\Configuratio n.
Add to "Battle.net gateways" this lines:

Code:
yourserver.tld
-1
Name of your PvPGN Server
Warcraft III (and The Frozen Throne):

Battle.net gateways is located at HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III.

For Warcraft III is the PvPGN Loader required, to use a PvPGN Server.

PvPGN Loader for Warcraft III Version 1.22: Attachment 88380 (Unpack this to your Warcraft III Directory)

Use the Tutorial with you own risk!


Here a screenshot from my PvPGN Server:
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01279 seconds
  • Memory Usage 1,781KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete