View previous topic :: View next topic |
Author |
Message |
Kane
Joined: 27 May 2008 Posts: 6 Location: UK
|
Posted: Thu Jul 02, 2009 21:32 Post subject: Installing issue |
|
|
Hi,
This is my first attemp and I appear to have fallen at the first hurdle.
I downloaded what I assume to be the current version
http://www.nwnx.org/index.php?id=nwnx4
Then I went to the Installation section to see what to do next
http://www.nwnx.org/index.php?id=nwnx4_installation
I got as far as section 2 and noticed that I was a missing file, namely:-
madCHook.dll: A helper DLL for hooking server functions
So I couldnt get any further, is this file held somewhere else or am I just blind since I really cant see it
EDIT: Oh I am using Vista 64 to test but will be running the server on xp pro eventually, in case that makes any difference. I had a quick look through recent page of posts and I think that the madhook is no longer required, being superceeded by a new method? If so are there other instructions or do I just ignore the maddhook bit?
Thanks |
|
Back to top |
|
|
Zebranky
Joined: 04 Jun 2006 Posts: 415
|
Posted: Thu Jul 02, 2009 21:46 Post subject: |
|
|
I don't think madCHook is needed anymore, and that tutorial is simply old. Try to continue without it. _________________ Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/
<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.
<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for? |
|
Back to top |
|
|
Kane
Joined: 27 May 2008 Posts: 6 Location: UK
|
Posted: Thu Jul 02, 2009 23:00 Post subject: |
|
|
Thanks that worked ok except that I got to the end and entered the demo mod but when trying to test the sql I got an error
if xp_mysql.dll & xp_sqlite.dll are in NWN2 folder then remove xp_sqlite.dll
or
if there is no xp_mysql.dll in the NWN2 folder then copy it there.
So I duly copied the xp_mysql.dll file to the NWN2 folder then tried again.
The NWNx4 booted up and ran a load of errors
21:58:30: Running in GUI mode.
21:58:30: Parameter setting not found in nwnx.ini. Starting server with empty commandline.
21:58:35: * Starting the NWN Server.
21:58:35: DetourCreateProcessWithDll failed: 267
21:58:35: ! Error: Failed to start server process, retrying in 5000ms...
21:58:40: DetourCreateProcessWithDll failed: 267
21:58:40: ! Error: Failed to start server process, retrying in 5000ms...
etc
Could anyone advise what to try next? I think I followed the instructions properly.
xp_xqlite settings
# The function class that is provided by this plugin
class = SQL
# The database file that the SQLite engines stores its data in
file = D:\Projekte\NWNX4svn\bin\dist\sqlite.db
# How much information should be written to xp_sqlite.txt:
# 0=nothing, 1=only errors, 2=everything
loglevel = 2
xp_mysql settings
# The function class that is provided by this plugin
class = SQLoff
# MySQL server connection parameters
server = localhost
user = nwn
password = nwn
schema = nwnx
# How much information should be written to xp_mysql.txt:
# 0=nothing, 1=only errors, 2=everything
loglevel = 2 |
|
Back to top |
|
|
Kane
Joined: 27 May 2008 Posts: 6 Location: UK
|
Posted: Fri Jul 03, 2009 8:16 Post subject: |
|
|
Ok I sorted that error out - after re-reading the instructions they were slightly wrong in that it said
"If you are using the recommended installation path C:\NWNX4, you can leave this value as it is."
which I did but on checking the ini I noticed the path was D xxx so on changing that I got no errors. |
|
Back to top |
|
|
Gryphyn
Joined: 20 Jan 2005 Posts: 431
|
Posted: Fri Jul 03, 2009 11:21 Post subject: |
|
|
Looking at what you've posted your trying to run SQLite AND MySQL.
SQLite is what is trying to load...
Comment out (#) all the SQLite section.
For the MySQL section, change class = SQLoff to class = SQL
Cheers
Gryphyn |
|
Back to top |
|
|
Kane
Joined: 27 May 2008 Posts: 6 Location: UK
|
Posted: Sat Jul 04, 2009 13:09 Post subject: |
|
|
Thanks for that.
I have managed to get the NWNx up and running using SQLite, the test mod says everything is ok and the text was saved and returned.
My next question is regarding Rowells Persistent World, on reading the specs it seems to work with SQLite but in the instructions step 1 was to get NWNX4 which i have done and as I said it seems to be working.
Step 2) Download and Install SQLite.
This allows you to create and modify SQLite databases at a command-line.
http://www.sqlite.org/
I went to the above site and downloaded what I thought was the latest build but I am not sure if I downloaded the correct thing as it contained 3 files none of which were installation programs (which I was expecting but may have been wrong).
Then i downloaded sqlite3 which did run a program but didnt seem to install anything.
Could anyone advise or point me in the right direction?
Thanks. |
|
Back to top |
|
|
|