View previous topic :: View next topic |
Author |
Message |
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Wed Nov 28, 2007 16:59 Post subject: |
|
|
I found the SetRacialType here but i notice its in the Linux development forum. i am running on a windows platform but still need this command for my subraces.
I do have NWNx installed and use it to host but need to find out how to get this function working for the subrace engine
but when i compile i get an error to say that
is not found |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Wed Nov 28, 2007 22:39 Post subject: |
|
|
NWNX Functions (1.6+) is not available for Windows, sorry. |
|
Back to top |
|
|
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Wed Nov 28, 2007 22:51 Post subject: |
|
|
akkkk
So there is no way to be able to use SetRacialType with windows. Now i assume this means what the server runs on |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Mon Jun 02, 2008 14:05 Post subject: |
|
|
NWNX Functions 1.8.7 (Linux)
http://data.virusman.ru/nwn/nwnx_functions-1.8.7.rar
Code: | int GetItemCount(object oTarget);
object GetItemByPosition(object oTarget, int nPosition); |
Fixed a crash in GetNextVariable function
Fixed a crash in GetConversation function
Added dynamic allocation support to GetDescription (spacer is not required anymore) |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
|
Back to top |
|
|
axs
Joined: 11 Feb 2005 Posts: 76
|
Posted: Wed Jun 04, 2008 1:12 Post subject: |
|
|
YeY, finally new versions, BIG THANKS! |
|
Back to top |
|
|
SpiderX
Joined: 14 Aug 2007 Posts: 12
|
Posted: Mon Jun 16, 2008 13:27 Post subject: |
|
|
virusman wrote: |
Code: | //This function doesn't write to a file!!
//It changes a value in memory, so Get2DAString will return an old value
void Set2DAString(string s2DA, string sColumn, int nRow, string sValue); |
|
Hmm.. Does this function work? Because when I tried to call it OnModuleLoad, I got a segfault.
I`m using the latest precompiled functions lib, latest core and 1.68 patch.
And another question. Is it possible to create a new entries in 2da cache in such way?
cls_feat_wiz.2da has a 81 line in 1.68.
I want to add such line "82 Knockdown 23 3 1 0". Can I do this with Set2DAString?
Code: |
Set2DAString("cls_feat_wiz", "FeatLabel", 82, "Knockdown");
Set2DAString("cls_feat_wiz", "FeatIndex", 82, "23");
Set2DAString("cls_feat_wiz", "List", 82, "3");
Set2DAString("cls_feat_wiz", "GrantedOnLevel", 82, "1");
Set2DAString("cls_feat_wiz", "OnMenu", 82, "0");
|
I`ve also tried to modify an existed row with Code: | Set2DAString("cls_feat_wiz", "FeatLabel", 81, "Knockdown"); | , but no luck. I got a segfault againe. |
|
Back to top |
|
|
Aerisarn
Joined: 11 Mar 2008 Posts: 14
|
Posted: Thu Jul 03, 2008 21:18 Post subject: |
|
|
Is it normal that, if I try to use setfaction on a PC, the lucky one joins the faction viewing all faction members in the party members place right below, and seems to not fire PC events anymore?
In other words, can I change pc faction? |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Thu Jul 03, 2008 22:18 Post subject: |
|
|
Aerisarn wrote: | Is it normal that, if I try to use setfaction on a PC, the lucky one joins the faction viewing all faction members in the party members place right below, and seems to not fire PC events anymore?
In other words, can I change pc faction? | It is not recommended to use SetFaction on PCs. The behavior of the function is unknown in this case. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
|
Back to top |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Mon Jul 14, 2008 17:36 Post subject: |
|
|
Just a heads-up - in the makefile.in you're missing CExoLocString.o under the list of things to make. And providing both makefile AND makefile.in is unnecessary when there's a ./configure script. |
|
Back to top |
|
|
axs
Joined: 11 Feb 2005 Posts: 76
|
Posted: Wed Jul 30, 2008 14:39 Post subject: |
|
|
There is little problem with SetMovementRate => SegFault. |
|
Back to top |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Sat Aug 02, 2008 10:11 Post subject: |
|
|
I've fixed SetMovementRate for the next release of functions.
Acaos |
|
Back to top |
|
|
axs
Joined: 11 Feb 2005 Posts: 76
|
Posted: Sat Aug 02, 2008 15:20 Post subject: |
|
|
Great, thanks |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Aug 03, 2008 2:44 Post subject: |
|
|
acaos wrote: | I've fixed SetMovementRate for the next release of functions.
Acaos | Thanks! |
|
Back to top |
|
|
|