Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN2 OTHER

- Jump to comments -
Name  NWN 2 Server Online Player PHP Web Status
Author  Forge
Submitted / Updated  07-29-2007 / 10-18-2007
Category  Database Related
Format  Other
NWN2Game  All
Description
Generate a live server status webpage with a list of all players in a sortable grid. Easy to add additional fields. This is a version of vladiator's NWN Server Online Player PHP Web Status modified and adapted to NWN 2. You can find vladiat0r's version here:
Link

NWNX4 - Link
Grid control by ActiveWidgets
Cookies by Jason Davies
A special thanks to vladiat0r for giving us the ok to submit this modification.

This script is released under the GPL license (see gpl.txt).

Prerequisites:

At least an ftp/http server on the gameserver, a web server with PHP to display the status page (preferably on the same machine), MySQL, NWNX4, and NWN2

**Note: This has only been tested to work using MySql**

Module Instructions:

1. Create a script in the NWN2 Toolset called player_status, and copy the text from the text file of the same name to the new script.
2.Add ExecuteScript("player_status", OBJECT_SELF); to your module heartbeat script.
3. In module properties , click on Variables and add BACKSLASH (string) = \
4. Compile all scripts and save your module


Web server Instructions:

1. Upload ActiveWidgets to your web folder
2. Upload cookies.js script to your web folder
3. Edit the settings on the status.php, including the paths to the ActiveWidgets and cookies script
4. If you're adding custom fields to status.php, edit $column_names, column widths, GetAllPlayerStatus function, and the player_status nwnscript
5. Upload status.php to your web folder

Database Instructions:

1. create a table on your database called player_status. Heres the create statement: CREATE TABLE player_status ( data TEXT )
2. Create a user with SELECT-only access, don't forget SET PASSWORD FOR status@localhost = OLD_PASSWORD('status');

Start your server using NWNX4 and visit the web address that points to status.php in a web browser


To add additional fields you need to edit the player_status script and status.php in marked locations.

***10-18-07***
Updated for MotB Expansion

Files

NameTypeSizeDownloads
NWN2_Player_Status.rarNWN2_Player_Status.rar
Submitted: 07-29-2007 / Last Updated: 07-29-2007
rar149.86Kb209
player_status.txt, status.php, cookies.js, ActiveWidgets(free edition), readme.txt
NWN2_MotB_Player_Status.rarNWN2_MotB_Player_Status.rar
Submitted: 07-29-2007 / Last Updated: 10-18-2007
rar361.77Kb225
10-18-07

Updated for MotB Expansion.
SCORE OUT OF 10
8
5 votes
View Stats
Cast Your Vote!
Voting FAQ

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

Showing offline status


This is a pic of the Player Status dressed up for use on our site courtesy of Dhalgren





You Must Be Logged In to Participate.
Comments (8):

Posted by Arvirago at 2009-01-20 11:53:47    Voted 5.00 on 01/20/09
It still is a little bit poor to write all data in a text field, and then separating each value in the PHP code, when you could use some simple columns.
It doesn't add to the simplicity of the system to use activewidgets and javascript when you just need to read some data from a SQL table.
_________________________
Reino de Aldor

Posted by WynterArwynRose at 2008-02-04 14:00:51    
Anyone have a demo I can check out?
_________________________
Free Net Builders - The Web Is Built! | NWN2 Open, Where your Opinion Matters!

Posted by GrinningFool at 2007-12-28 19:17:09    Voted 7.50 on 12/28/07
Nicely done, though perhaps consideration could be given for places where the mysql database used by the game is not available for the web server?
_________________________
The Grinning Fool
The World of Khalidine, a unique RP PW.

Help Wanted

Please remember that I vote according to the published scale.

Posted by Arvirago at 2007-11-08 11:13:45    Voted 5.00 on 01/20/09
Well done, even if I ain't keen at putting code in heartbeat and giving out all that off-role info.
Remember to edit the php code in case you have custom classes.
_________________________
Reino de Aldor

Posted by Forge at 2007-10-18 11:34:53    
Done, thanks for the reminder :)

Posted by mobiusrit at 2007-10-17 07:14:14    Voted 8.50 on 10/17/07
Nevermind, I updated.

For those interested, all you need to do is add:

, 'Red Wizard', 'Arcane Scholar', 'Spirit Shaman', 'Stormlord', 'Invisible Blade', 'Favored Soul'

after 'Eldrich Knight' and before the ); of the line starting with $classes of the file status.php


Thanks.

Posted by mobiusrit at 2007-10-17 06:53:50    Voted 8.50 on 10/17/07
Very nice. Any thoughts on updating class list with new MotB classes?

Posted by Dragonphist at 2007-08-03 10:09:56    Voted 8.00 on 08/03/07
A great addition to any server.

You must be Logged In to post comments in this section.

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Plug-Ins


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters