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  



NWN OTHER

- Jump to comments -
Title  PHP Character Parser v0.1
Author  Enigma
Submitted / Updated  06-16-2003 / 06-29-2005
Category  Utility
Format  Other
Description
This is a set of PHP scripts that will parse character files. The included driver will parse all character files in a specified server vault and insert them into a mySQL database.

Files

NameTypeSizeDownloads
charparser.tar.gzcharparser.tar.gz
Submitted: 06-16-2003 / Last Updated:
gz--561
External Website Beyond Our Control
SCORE OUT OF 10
8
2 votes
View Stats
Cast Your Vote!

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




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

Posted by Sphax at 2005-08-03 19:21:42    Voted 9.00 on 08/03/05
Sorry for my error ! It's great but it's slow too...
_________________________
Aventuriers de Troy - French module in the great World of Troy with Lanfeust and co !
Link

Posted by Sphax at 2005-08-03 18:29:03    Voted 9.00 on 08/03/05
Greate job ! Not 10 because you don't say the fields for the database table... ^^
_________________________
Aventuriers de Troy - French module in the great World of Troy with Lanfeust and co !
Link

Posted by Sphax at 2005-08-03 18:27:53    Voted 9.00 on 08/03/05
Whats ares the fields required in the table of the database ? Great job !
_________________________
Aventuriers de Troy - French module in the great World of Troy with Lanfeust and co !
Link

Posted by Sphax at 2005-08-03 18:27:23    Voted 9.00 on 08/03/05
Whats ares the fields required in the table of the database ? Great job !
_________________________
Aventuriers de Troy - French module in the great World of Troy with Lanfeust and co !
Link

Posted by Old_Scores_Transfered at 2004-02-20 10:32:11    Voted 7.00 on 02/20/04
This is a compilation of the old system into a single score. There were 1 that made this score of 7 then rounded to 7.

Posted by Spoonster ( ..xxx.xxx ) at 2003-06-27 01:00:00    
Well i changed the options in php.ini when it ran out of memory in the first try at 8m, if there is anyway you could contact me out of this forum to help remedy this situation it would be appreciated, as this script looks really nice.

Posted by Enigma ( ..xxx.xxx ) at 2003-06-26 19:42:00    
The problem with re-encoding files is the quantity of references that are attached to any one item. There are some relationships I don't understand so could get wrong easily if I tried to write a re-encoder.



I haven't had any memory problems when running it myself. I've left the php.ini setting at the default 8MB cap on memory usage which it doesn't seem to have exceeded ever.

All my tests have been done on the following systems:

Server:
AMD Athlon 1800+
1.25 GB PC2700 DDR SDRAM
RedHat Linux 7.3
PHP 4.3.2
MySQL 3.23.54 (4.x has too many problems with PHP for me to use)
Apache 2.0.46

Development System:
G4 550 Mhz
512 MB RAM
Mac OS X 10.2.6
PHP 4.3.2
MySQL 3.23.54
Apache 2.0.46

While monitoring CPU usage on my server, it also seems to yield to other processes if they need. It only uses the idle CPU power (which is typically around 95%).

Posted by Spoonster ( ..xxx.xxx ) at 2003-06-26 12:56:00    
Just wondering, is it supposed to take 128 megs of ram then die?
Parsing character 1 peramthorrer.bic
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40 bytes) in
htdocs/charparser/charreader.php on line 347

Posted by Nathraiben ( ..xxx.xxx ) at 2003-06-22 06:18:00    
Wuah, didn't try it so far, but as long at it does just half of what you've stated here, this looks great ^_^

But, uhm... *getting greedy again* ;) ... is there any chance you could script the whole procedure backwards, making it possible to create / change a character via PHP?

That would be really cool, although writing a .bic file's content into a database is already a giant leap forward to what I was looking for ^_^

Posted by Enigma ( ..xxx.xxx ) at 2003-06-19 20:07:00    
It inserts the results from the parser. It creates the specified table, creates the insert statement, and runs it.

However, this is only a sample driver. With a little php knowledge, it can be used to do anything with the returned data.

Posted by Gamergeek ( ..xxx.xxx ) at 2003-06-18 22:22:00    
So uhh.. exactly what is it inserting?

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

 
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 Tutorials


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