Author |
Message |
Topic: having trouble with getting a script to work in conversation |
ironhorse
Replies: 2
Views: 9089
|
Forum: Scripts and Modules Posted: Thu Jun 16, 2011 23:10 Subject: having trouble with getting a script to work in conversation |
Hi all,
I am trying to get an NPC to tell the PC taking to them how much rent they have left on their house.
I have tried to use this to get the info and set the custom token but when i click it ... |
Topic: Trouble with OnAcquireItem |
ironhorse
Replies: 2
Views: 8883
|
Forum: Scripts and Modules Posted: Wed Nov 03, 2010 2:53 Subject: Trouble with OnAcquireItem |
Hi,
I am having a little trouble with the OnAcquireItem. I have done the following script that when a player buys a key off a merchant, that it stores the info I need.
#include "aps_includ ... |
Topic: Persistently storing items |
ironhorse
Replies: 5
Views: 13604
|
Forum: Scripts and Modules Posted: Fri Oct 22, 2010 14:46 Subject: Persistently storing items |
Forgot to say that I am on NWN1 with NWNX2.
Sorry. |
Topic: Persistently storing items |
ironhorse
Replies: 5
Views: 13604
|
Forum: Scripts and Modules Posted: Fri Oct 22, 2010 14:45 Subject: Persistently storing items |
Hi all,
I am trying to create a script for persistent storage.
I am not sure which is the best way to go about it as I am not fully understanding how SetPersistentObject works.
Can anyone giv ... |
Topic: checking for same name in database |
ironhorse
Replies: 1
Views: 7514
|
Forum: Scripts and Modules Posted: Tue Sep 28, 2010 16:30 Subject: checking for same name in database |
Hi all,
I am trying to figure out how I can check that the name of the incoming player has not already been taken.
now a good few years ago I was given this
SQLExecDirect("SELECT id FROM ... |
Topic: Character name checking. |
ironhorse
Replies: 4
Views: 8513
|
Forum: Scripts and Modules Posted: Wed Sep 27, 2006 20:37 Subject: Character name checking. |
I have been trying to get this section of the script to work but I am getting no where.
Here is what I have.
#include "aps_include"
void main()
{
object oPC = GetPCSp ... |
Topic: Character name checking. |
ironhorse
Replies: 4
Views: 8513
|
Forum: Scripts and Modules Posted: Tue Sep 12, 2006 12:03 Subject: Character name checking. |
Where you have put SQLExec, do you mean SQLExecDirect ?
Thanks |
Topic: Character name checking. |
ironhorse
Replies: 4
Views: 8513
|
Forum: Scripts and Modules Posted: Thu Aug 24, 2006 4:58 Subject: Character name checking. |
I am trying to figure out how to do the following.
I am trying to make the following on my PW but I dont know how to do the check. I am trying to make it that when a character speaks to an NPC, it ... |
Topic: nwnx and nwman |
ironhorse
Replies: 3
Views: 6304
|
Forum: General Discussion Posted: Sat Oct 08, 2005 2:19 Subject: nwnx and nwman |
I really want to use nwman to be able to restart my server but when I use it it doesnt give the mysql db connections like nwnx, is there anyway of using the 2 together or is there an addon for nwman?
... |
Topic: Server Reset |
ironhorse
Replies: 1
Views: 4911
|
Forum: Scripts and Modules Posted: Wed May 18, 2005 23:11 Subject: Server Reset |
I dont know if this can be done in nwnx or its in the module, but I want to get my server to restart itsself every 3 hours or so, and I want it to tell the people playing (eg server will restart in 30 ... |
Topic: if statement |
ironhorse
Replies: 1
Views: 5246
|
Forum: Scripts and Modules Posted: Thu May 05, 2005 21:54 Subject: if statement |
I am after getting one piece of info from my SQL database and I cannot get the thing right.
I want an if statement that if a certain part has a 1 in it I want it to save the persons location, but I ... |
Topic: little help please? |
ironhorse
Replies: 4
Views: 7936
|
Forum: Database related Posted: Mon May 02, 2005 16:16 Subject: its working now |
I have got it working now and someone sent me a script that saves the persons location, but it doesnt seem to work after the server has reset?
Here is the script
#include "aps_include"
void mai ... |
Topic: little help please? |
ironhorse
Replies: 4
Views: 7936
|
Forum: Database related Posted: Mon May 02, 2005 2:06 Subject: little help please? |
I have setup nwnx and tested the demo and it worked, but when I try to start using it in my own file the scripting site doesnt work.
all I want it to do is when someone joins my server it takes the ... |
|