View previous topic :: View next topic |
Author |
Message |
Pentagram666
Joined: 02 Jun 2011 Posts: 2 Location: Brazil
|
Posted: Thu Jun 02, 2011 13:43 Post subject: Little help with OBDC+SQLite+HGLL |
|
|
Hello guys!
From now I ask for appologies because my english isn't great, but I think u can understand so.
To start, I use OS WindowsXP SP3.
I start with NWNX2 a "little" after, we can say... but never is too late I believe.
I prettend to use the internal SQLite from NWNX2... i have 2 more scripts beyond hgll, the aps/nwnx vault and DARII, but these scripts are correctly merged, and i dont made any modifications... but still my db appear doesnt work.
I have installed with my nwn:
NWNX2 2.7-b4 (From nwnx.org)
NWNX ODBC 0.9.2.4 (from nwnx.org too)
LetoScript 03+26 (From Here)
Moneo 4.0.6.27 beta 3 (From Here)
to business.. I create a SQL Server OBDC but I never have do it before and I dont know if I do right, then I'll give u exactly what I did:
Control Panel > Administrative Tools > Data Sources (ODBC) > System tab
Add > SQL Server > Named nwn and connection i try localhost, let in blank and 127.0.0.1, and ever time i put online my mod and try lvlup with hgll and nothing
Here i post a printscreen just for possible help, because i use OS in portuguese: http://imageshack.us/photo/my-images/163/odbc.jpg/
My NWNX.ini:
Code: | ; NWNX2 configuration file
; These are the default values for NWNX2. Values specified on the command
; line take precedence.
[NWNX]
ServerPort = 5121
ModuleName = "beta-mod"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = yes
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 5
[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 2 ; 0=nothing, 1=only errors, 2=everything
; Use these two settings for the SQLite internal database
source = sqlite
file = sqlite.db
; Use these two settings for ODBC connections
source = odbc
dsn = nwn
; Use these five settings for MySQL connections
;source = mysql
;server = localhost
;user = nwn
;pwd = password
;db = nwn
; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true
[PROFILER]
MaxLogSize = 512 ; in KByte
LogLevel = 1 ; 1=overall statistics, 2=full script callstack |
I read your forum and tried to spend most of the information that I thought was possible and see other people post, but unfortunately neither NWNX2 or Leto made error-log files in txt to post.
I wait a help, and thanks if u can dedicate ur time to help me.
} |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Thu Jun 02, 2011 16:08 Post subject: |
|
|
Code: |
; Use these two settings for the SQLite internal database
source = sqlite
file = sqlite.db
; Use these two settings for ODBC connections
;source = odbc
;dsn = nwn
|
If I am correct, then sqlite.db does NOT require ODBC to be setup, it is a local db file that gets created in the nwnx directory.
No OS Settings need to be setup for it.
Are you using ODBC or SQLite? |
|
Back to top |
|
|
Pentagram666
Joined: 02 Jun 2011 Posts: 2 Location: Brazil
|
Posted: Sat Jun 04, 2011 0:07 Post subject: |
|
|
Baaleos wrote: | Code: |
; Use these two settings for the SQLite internal database
source = sqlite
file = sqlite.db
; Use these two settings for ODBC connections
;source = odbc
;dsn = nwn
|
If I am correct, then sqlite.db does NOT require ODBC to be setup, it is a local db file that gets created in the nwnx directory.
No OS Settings need to be setup for it.
Are you using ODBC or SQLite? |
I'm using (or try to) sqlite, because i'm a crap with mysql... but i try without obdc and still dont work the higher ground legendary levels... i active obdc to try make it work... i'll try clean my servervault and make a try again with obdc turn off and post the conclusion |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Mon Jun 06, 2011 12:41 Post subject: |
|
|
U Need to post the nwnx_odbc.txt log file as well,
otherwise we cannot help you. |
|
Back to top |
|
|
Kato
Joined: 05 Mar 2010 Posts: 47
|
Posted: Thu Jun 23, 2011 2:05 Post subject: |
|
|
HGLL comes with everything you need to get started, along with the setup instructions in the Readme.txt, and a NWNX.ini file. Although it's usually a good idea to work with the most recent files, I would start by setting the system with the packaged files, and then gradually proceed to the updates to see if everything is "compatible", and eventually work around the problems one by one.
Still, as Baaleos mentioned, nothing can be concluded without seeing the odbc log file.
Kato
Last edited by Kato on Sun Jun 26, 2011 0:40; edited 1 time in total |
|
Back to top |
|
|
Lokey
Joined: 02 Jan 2005 Posts: 158
|
Posted: Thu Jun 23, 2011 2:49 Post subject: |
|
|
Leto 3.24 only, though try to use nwnx_funcs or nwnx-lib + things elven where possible. Later versions of leto are bugged in different ways. _________________ Neversummer PW NWNx powered mayhem |
|
Back to top |
|
|
|