View previous topic :: View next topic |
Author |
Message |
ultravolts
Joined: 22 Mar 2008 Posts: 9
|
Posted: Sat Oct 17, 2009 15:45 Post subject: MySql_Demo.mod works but not my module! help |
|
|
Hi all,
in 2005 I created a module.
Great work of art, but i'm very rusty now and back in the game.
I've setup nwnx4 and run the mysql demo, all is setup and working perfectly and I can set persistent data, but only for the mysql demo.
My module just will not work setting and fetching sql data, will not even create a persistent variable in the pwdata table, and i've added all the includes and stuff, weird, where might I be going wrong?
Thanks in advance. |
|
Back to top |
|
|
utimagus
Joined: 22 Jun 2007 Posts: 20
|
Posted: Sat Oct 24, 2009 4:41 Post subject: |
|
|
stupid question, but have you setup the proper variables in the included scripts? |
|
Back to top |
|
|
ultravolts
Joined: 22 Mar 2008 Posts: 9
|
Posted: Sat Oct 24, 2009 5:19 Post subject: hmm |
|
|
I have used #include nwn_sql in all of my scripts using sql features etc (not sure of the exact spelling because i'm at work and can't open my module)
imported the erf's
pretty much copied and pasted the include stuff and imported all the same as in mysql_demo.mod
the demo writes to sql and reads, my module doesnt even look like its trying to start writing or reading with the sql scripts. |
|
Back to top |
|
|
ultravolts
Joined: 22 Mar 2008 Posts: 9
|
Posted: Sat Oct 24, 2009 5:25 Post subject: |
|
|
utimagus wrote: | stupid question, but have you setup the proper variables in the included scripts? |
I'm sorry if this puts you out, but could you detail exactly how to code creating the specific variables, as I thought that the SetPersistantInt etc created the variable automatically when you define the variable name in its parameters. |
|
Back to top |
|
|
utimagus
Joined: 22 Jun 2007 Posts: 20
|
Posted: Tue Oct 27, 2009 5:31 Post subject: |
|
|
i know inside the nwn_sql or one of those there are configuration settings you can set. Mayhaps they aren't setup correctly? |
|
Back to top |
|
|
|