Author |
Message |
Topic: GetHasFile - For Clients? |
Gryphyn
Replies: 12
Views: 14364
|
Forum: Windows development Posted: Fri Jan 14, 2011 23:39 Subject: GetHasFile - For Clients? |
This has been done for several servers...
They use a 'launcher' application on the client (that needs to be downloaded)
The files are checked before the launcher spawns NWN.
I've tinkered with th ... |
Topic: Problem Storing some objects, not others. |
Gryphyn
Replies: 10
Views: 20381
|
Forum: Technical support Posted: Sat Jan 01, 2011 1:32 Subject: Problem Storing some objects, not others. |
Firstly there is a know issue with Get/SetLocation - the generated string can exceed the length of the buffer allocation.
You need to increase the length of the buffer, or shorten the location string ... |
Topic: Wish List |
Gryphyn
Replies: 47
Views: 111641
|
Forum: Development Posted: Sat Dec 18, 2010 3:39 Subject: Wish List |
! ! ! Compatibility with Dot.NET ! ! !
Just imagine what we can do with C#4.0 when we are making some plug ins!
It is...sort of.
Someone developed a 'bridge' (C++ dll) that when gets loaded - load ... |
Topic: LIKE operator and '%' |
Gryphyn
Replies: 11
Views: 18283
|
Forum: Database related Posted: Thu Nov 25, 2010 9:40 Subject: LIKE operator and '%' |
It's a result of a Token replacement, that is part of the SCO/RCO (object) functionality, and 'safe' string encoding.
'%s' is used as C string placeholder. Any % that is not part of the SCO/RCO cod ... |
Topic: Can nwnx sound an alert when a player joins a server? |
Gryphyn
Replies: 9
Views: 12383
|
Forum: General Discussion Posted: Mon Sep 20, 2010 10:15 Subject: Can nwnx sound an alert when a player joins a server? |
Try the 'spawn' plugin (or one of the the OS access ones)
This will let you run a cmd (bat) file 'type ^G' ding!
*Ctrl-G is the bell (I believe) |
Topic: MySQL starting time |
Gryphyn
Replies: 10
Views: 16983
|
Forum: Database related Posted: Wed Sep 01, 2010 2:28 Subject: MySQL starting time |
In windows your can give services dependencies.
I'm sure there would be a similar facility in non-windows O/S's
Just make the NWNX service dependent on the MySQL one. This way NWNX will not start un ... |
Topic: data base aps sql errors |
Gryphyn
Replies: 7
Views: 14103
|
Forum: Scripts and Modules Posted: Sat Jul 24, 2010 10:11 Subject: data base aps sql errors |
For the INSERT;
The order (and number) of columns MUST match the order (and number) of values however this does not need to match the order of the columns in the table. |
Topic: data base aps sql errors |
Gryphyn
Replies: 7
Views: 14103
|
Forum: Scripts and Modules Posted: Sat Jul 24, 2010 3:27 Subject: data base aps sql errors |
SELECT COUNT(*) as table_Found FROM MsysObjects
WHERE val column what should exists for the WHERE val='CURRENT' part of the query (or was this meant to be varunique?)
CREATE TABLE AO_save_Calenda ... |
Topic: MySQL starting time |
Gryphyn
Replies: 10
Views: 16983
|
Forum: Database related Posted: Sat Jul 24, 2010 2:54 Subject: MySQL starting time |
In windows your can give services dependencies.
I'm sure there would be a similar facility in non-windows O/S's
Just make the NWNX service dependent on the MySQL one. This way NWNX will not start un ... |
Topic: Printing MySQL error message to conversation |
Gryphyn
Replies: 6
Views: 13689
|
Forum: Scripts and Modules Posted: Thu Jul 22, 2010 10:19 Subject: Printing MySQL error message to conversation |
Hi Gryphyn,
Thanks for the reply. I've been using NWNX SQL include by Ingmar Stieger and it's beend working perfectly. The only things that I missed here is catching the error message.
Gryphyn, ... |
Topic: no log file |
Gryphyn
Replies: 28
Views: 41475
|
Forum: Windows technical support Posted: Tue Jul 20, 2010 13:22 Subject: no log file |
Yeah. I'm running into the same problems. There IS probably an new madCHook.dll for us to use somewhere out there. I would really like a hint as to find it..
EasyHook... will work for x32 & x64
... |
Topic: data base aps sql errors |
Gryphyn
Replies: 7
Views: 14103
|
Forum: Scripts and Modules Posted: Tue Jul 20, 2010 13:18 Subject: data base aps sql errors |
// SAVE DATE AND TIME TO THE DATABASE
if (iNWNX2active == TRUE) {
string sSQLheader = "UPDATE "+sCalendarTable+" SET ";
string sSQLfooter = "' WHERE val='CURRENT'";
... |
Topic: Printing MySQL error message to conversation |
Gryphyn
Replies: 6
Views: 13689
|
Forum: Scripts and Modules Posted: Tue Jul 20, 2010 13:12 Subject: Printing MySQL error message to conversation |
Have a look at my SQLServer plugin.
I've put full error checking (and logging) into it.
MySQL may have some special API, but the process should be the same. |
Topic: Escaped and unescaped characters in .bic files |
Gryphyn
Replies: 6
Views: 10549
|
Forum: General Discussion Posted: Wed Jul 14, 2010 9:39 Subject: Escaped and unescaped characters in .bic files |
^(.*/)?(?:$|(.+?)(?:(\.
[url=http://techtavern.wordpress.com/2009/04/06/regex-that-matches-path-filename-and-extension/]Regex that matches path, filename and extension
not a bad article, it'll p ... |
Topic: Escaped and unescaped characters in .bic files |
Gryphyn
Replies: 6
Views: 10549
|
Forum: General Discussion Posted: Tue Jul 13, 2010 9:50 Subject: Escaped and unescaped characters in .bic files |
It's based on ASCII, so make sure your encoding is UTF-8 (unicode) and it will just work. |
|