logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
How to get started

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
serafim



Joined: 02 Jan 2007
Posts: 41

PostPosted: Tue Jan 02, 2007 14:25    Post subject: How to get started Reply with quote

Hi to all...

i'm new on pws and db support.

i've a small experience with acces db creation and know the basics of dbs.

can someone help me with a tutorial on how to implement nwnx4 on a nwn2 server?? (entara, l'era dei draghi is the one ;P )

i install nwnx4, mysql and the like...

the server launch with NWNX4_controller...

create the folders...

now i must figure out how to implement all in the mod
Back to top
View user's profile Send private message MSN Messenger
serafim



Joined: 02 Jan 2007
Posts: 41

PostPosted: Wed Jan 03, 2007 11:18    Post subject: Reply with quote

wrong place to post?


sorry i'm really new on pw admin and nwn scripting for dbs...

i dont know how to make pg persistents...

can someone help me with a few examples on how to make script to write and read on db ?

thanks again and sorry if i am so much noob Razz
Back to top
View user's profile Send private message MSN Messenger
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Jan 03, 2007 17:08    Post subject: Reply with quote

I think your question is too broad. It's a bit like asking what kind of scripts can be written with NWN2. The answer would be: Any type of script.

I would recommend reading the documentation and the nwnx_sql include file, and then you could come back with more specific questions...
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
serafim



Joined: 02 Jan 2007
Posts: 41

PostPosted: Wed Jan 03, 2007 23:07    Post subject: Reply with quote

ok thanks i start reading them...

one thing i dont found..but maybe i lokk in the wrong place (any suggestion on tutorials is really wellcome)..

like i tell in my first post i'm really noob on db support for nwn1 and 2

i figure out how to create and add records on tables

in m,ysql i can use the commands

INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE]
[INTO] nome_tabella
SET nome_colonna={espressione | DEFAULT}, ...
[ ON DUPLICATE KEY UPDATE nome_colonna=espressione, ... ]

to insert records

and

SELECT
[ALL | DISTINCT | DISTINCTROW ]
espressione, ...
[INTO OUTFILE 'nome_file' opzioni
| INTO DUMPFILE 'nome_file']
[FROM tabelle
[WHERE condizioni]
[GROUP BY {nome_colonna | espressione | posizione}
[ASC | DESC], ... [WITH ROLLUP]]
[HAVING condizioni]
[ORDER BY {nome_colonna | espressione | posizione}
[ASC | DESC] , ...]
[LIMIT [offset,] numero_righe]

to read records


in nwnx4 for nwn db support purpose, the syntax is the same??

and if no, wat is the different syntax for these 2 basic functions??

thanks again for any advice hope i can start do something with this Very Happy
Back to top
View user's profile Send private message MSN Messenger
serafim



Joined: 02 Jan 2007
Posts: 41

PostPosted: Thu Jan 04, 2007 2:17    Post subject: Reply with quote

ok I found it...

and not on my own but thanks to Rowell!! (thanks guy Very Happy )

i open his package...see the scripting syntax and ...TADAA!!

thanks again Rowell and all u people helping me ...

now i meet the prerequisite to take my scripter cdp, so i am a mapper/scripter (a bit scripter Razz )

thanks again to all
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group