Author |
Message |
Topic: NWNX/MySql Persistent Storage? |
Terra_777
Replies: 18
Views: 25985
|
Forum: Scripts and Modules Posted: Fri Oct 13, 2017 20:06 Subject: NWNX/MySql Persistent Storage? |
StoreCampaignObject (SCO) and RetriveCampaignObject (RCO) which are hooked into and re-directed to the database only works with item objects and creature objects.
You can store the inventory of a p ... |
Topic: NWNX/MySql Persistent Storage? |
Terra_777
Replies: 18
Views: 25985
|
Forum: Scripts and Modules Posted: Thu Oct 12, 2017 21:30 Subject: NWNX/MySql Persistent Storage? |
Can only store creatures and or items. 'x2_medium_Chest3' looks like a peaceable. |
Topic: NWNX_Patch |
Terra_777
Replies: 650
Views: 292689
|
Forum: Windows development Posted: Thu Jul 27, 2017 17:37 Subject: NWNX_Patch |
Maybe its HSL
https://www.w3schools.com/colors/colors_hsl.asp |
Topic: NWNX_Patch |
Terra_777
Replies: 650
Views: 292689
|
Forum: Windows development Posted: Tue Jan 17, 2017 22:14 Subject: NWNX_Patch |
Yep, thats all it does, no additional parameters or the ability to cancel it. Fires before the action, so before you get polymorphed or unpolymorphed.
Edit; I think nwnx_events has the poly hook to ... |
Topic: NWNX_Patch |
Terra_777
Replies: 650
Views: 292689
|
Forum: Windows development Posted: Tue Jan 17, 2017 19:01 Subject: NWNX_Patch |
But I've seen nwnx_polymorph in Terra_777's list. Don't know what it's doing.
Runs a script called nwnx_poly. Example: https://github.com/TerrahKitsune/NWNX/blob/master/nwscript/nwnx_poly.nss in th ... |
Topic: NWNX_Patch |
Terra_777
Replies: 650
Views: 292689
|
Forum: Windows development Posted: Fri Jan 13, 2017 18:27 Subject: NWNX_Patch |
nwnx_areas for windows does not destroy the objects within the area it destroyed, its bugged. I re-worked nwnx_areas for windows awhile back to copy the data to all the correct things, preventing the ... |
Topic: NWNX_Patch |
Terra_777
Replies: 650
Views: 292689
|
Forum: Windows development Posted: Thu Jan 12, 2017 20:41 Subject: NWNX_Patch |
I tried to fix the functions from maxrock, decided it wasnt worth my time. If you need to change tag then re-create the item with another tag and if you have to change the tag of an area then you migh ... |
Topic: nwnx_funcs for windows |
Terra_777
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Thu Jan 12, 2017 20:37 Subject: nwnx_funcs for windows |
Except; lua doesnt replace the existing or run in the existing virtual machines place. It also runs on nwns thread, lua itself isnt multi threaded, you can have concurrent threads but you'll only ever ... |
Topic: nwnx_funcs for windows |
Terra_777
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Sun Dec 18, 2016 21:01 Subject: nwnx_funcs for windows |
https://github.com/TerrahKitsune/NWNX/releases/download/v0.0.1/lua52.dll needs to be in the nwn root aswell |
Topic: nwnx_funcs for windows |
Terra_777
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Sat Dec 17, 2016 1:49 Subject: nwnx_funcs for windows |
You can just pass snippets of lua to the plugin, I can help you if you need to just do something simple. Its not all that unlike passing say, sql querries. |
Topic: nwnx_funcs for windows |
Terra_777
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Thu Dec 15, 2016 18:50 Subject: nwnx_funcs for windows |
My lua plugin can do it, not directly but the feat functions add/remove will modify the levelstat list aswell. Its also possible to read it.
The lua functions: http://pastebin.com/FZP7xgWB
Where t ... |
Topic: How to Get ItemProperty String Description |
Terra_777
Replies: 2
Views: 6964
|
Forum: Scripts and Modules Posted: Wed Sep 14, 2016 17:15 Subject: How to Get ItemProperty String Description |
string GetItemPropertyString( itemproperty IP ){
int nType = GetItemPropertyType( IP );
string sName = GetStringByStrRef( StringToInt( Get2DAString( " ... |
Topic: Terra's NWNX stuff |
Terra_777
Replies: 45
Views: 68502
|
Forum: Windows development Posted: Thu Jun 16, 2016 17:40 Subject: Terra's NWNX stuff |
I got the addresses from the symbols, however the plugin isnt very complete at all, it can't manage all types that nwscript can. You're probably gonna have to backwards engineer and or create the func ... |
Topic: Terra's NWNX stuff |
Terra_777
Replies: 45
Views: 68502
|
Forum: Windows development Posted: Tue Jun 07, 2016 2:12 Subject: Terra's NWNX stuff |
https://github.com/TerrahKitsune/NWNX/releases
nwscript libs for those that might need it: https://github.com/TerrahKitsune/NWNX/tree/master/nwscript |
Topic: NWNX Unable to read from MySQL db (but can write) |
Terra_777
Replies: 5
Views: 7724
|
Forum: Windows technical support Posted: Fri Apr 22, 2016 11:12 Subject: NWNX Unable to read from MySQL db (but can write) |
It just looks like you never ran SQLInit() in mod load first, without doing that you don't get the exchange buffers nwnx_odbc uses to retrieve data. |
|