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  NWNX Files
Author  ShaDoOoW
Submitted / Updated  02-09-2009 / 07-06-2010
Category  Code Modification
Format  Other
Forums  Link
Description
Allows basic operations with files in NWScript. Note that this plugin has access only to files on server side!

To get it work, you need NWNX2. If you are not familiar with it, see NWNX2 web site. Then you just need to put nwnx_files.dll into NWN root and run nwserver via NWNX2.

Zip package contains NWScript include script with full notes about each function. You have to add this script into your module and include it in your scripts.

Then you gain access to these functions:
1.1
int GetSystemTime();
int FileRenameFile(string filename, string path, string newname);
string GetNewestBic(object oPC);
+ FileTime do not longer return struct time but integer containing unix time
1.0
int FileExists(string filename, string path="");
int FileDeleteFile(string filename, string path="");
int FileDeleteDirectory(string dirname, string path="");
string FileMD5(string filename, string path="");
int FileClose();
int FileWrite(string sString);
int FileSize(string filename, string path="");
int FileOpen(string filename, string path="", int nMode = FILE_OPEN_MODE_FOR_READING);
int FileCopy(string filename, string path, string newpath, string newname="", int rewrite_if_exists=FALSE);
string FileRead();
struct time FileTime(string filename, string path="", int nTime=FILE_TIME_OF_WRITE);
int FileCreateFile(string filename, string path="");
int FileCreateDirectory(string dirname, string path="");
string FileGetFirst(string path="", string filter="*", int mode=FILE_SEARCH_FOR_FILES);
string FileGetNext(string path="", string filter="*", int mode=FILE_SEARCH_FOR_FILES);

Development of this function set has been stopped due to Terra_777 overcame me with his nwnx_systemdata2 plugin which added (after it appeared here) all file functions + ini handling...

Anyway, if someone consider using mine plugin instead (for example GetSystemTime is better there because it returns int number not some struct) I'm willing to get back to developing new features if you will ask me.

Files

NameTypeSizeDownloads
nwnx_files_1.1.7znwnx_files_1.1.7z
Submitted: 02-09-2009 / Last Updated: 07-06-2010
7z913.02Kb70
NWNX Files v. 1.1, 7zip compression due some peoples had problems with .zip
nwnx_files_1.1.zipnwnx_files_1.1.zip
Submitted: 02-09-2009 / Last Updated: 07-06-2010
zip1.6Mb64
NWNX Files v. 1.1
nwnx_files.zipnwnx_files.zip
Submitted: 02-09-2009 / Last Updated: 02-09-2009
zip1.6Mb168
NWNX Files v. 1.0
SCORE OUT OF 10
10
7 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 (7):

Posted by Milarepa at 2012-02-10 02:37:34    Voted 1.00 on 02/10/12
Does not work at all.

My configuration :
NWN server is on a windows 2003 server with MySQL and NWNX2.This works perfectly, except your plugin.It's a pity !

Posted by Ben Harrison at 2010-07-09 04:29:29    Voted 10.00 on 07/09/10
Thanks!
_________________________
[Blog] [Mods]

Posted by ShaDoOoW at 2009-06-22 07:56:09    
ftp?? hmm I think no, because you have to log in there...

Nobody reported bugs and I tested it very carefully, everything worked, but I guess one could experience problems with file permissions etc.
_________________________
[Boost System] [Door System] [Devastating Critical Immunity] [HIPS remake] [Circle Kick Mode] [1.69 Full 2da Source]

Posted by Inayity at 2009-02-25 07:43:51    Voted 10.00 on 02/25/09
Thanks for the work developing this. I've got some crafty ideas about how this might be put to use in novel ways! Thanks!

Posted by Coolty3000 at 2009-02-10 17:15:38    Voted 10.00 on 02/10/09
Awesome!

Posted by MaxRock at 2009-02-09 22:00:42    Voted 10.00 on 02/09/09
Excellent indeed.

Posted by Saduj at 2009-02-09 21:23:59    Voted 10.00 on 02/09/09
Excellent :)
_________________________
Carcerian/Saduj's Submissions: (169 Portrait/Soundset Unlocker) (12 NWN Fonts) (30 NWN Fonts) (Auto-Emotes) (Custom Dragon Disciples) (Dynamic Wildshape) (Keyring) (NPC Schedules) (Sacred Shields) (Spawning Undead) (Shayans Subrace Engine for 169)

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 Gameworlds


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