Author |
Message |
Topic: nwnx_funcs - SetTAG Crash |
MaxRock
Replies: 16
Views: 22466
|
Forum: Windows technical support Posted: Mon Jun 18, 2012 22:56 Subject: nwnx_funcs - SetTAG Crash |
I'm thinking that removing the tag from the lookup list never actually worked for areas because the CGameObject->Tag pointer pointed to "arbitrary" data for areas (field_18 in CNWSArea wh ... |
Topic: nwnx_funcs - SetTAG Crash |
MaxRock
Replies: 16
Views: 22466
|
Forum: Windows technical support Posted: Mon Jun 18, 2012 6:09 Subject: nwnx_funcs - SetTAG Crash |
I think I got it.
v 0.0.941
Fixed a bug in SetTag where RemoveObjectFromLookupTable was using the gameobjects tag instead of the area's tag |
Topic: nwnx_funcs - SetTAG Crash |
MaxRock
Replies: 16
Views: 22466
|
Forum: Windows technical support Posted: Mon Jun 18, 2012 5:41 Subject: nwnx_funcs - SetTAG Crash |
Got the area. And the "good" news is it crashes for me too. |
Topic: nwnx_funcs - SetTAG Crash |
MaxRock
Replies: 16
Views: 22466
|
Forum: Windows technical support Posted: Mon Jun 18, 2012 1:34 Subject: nwnx_funcs - SetTAG Crash |
The problem seems to be in my implementation of CExoString
I wasn't able to really pinpoint the problem, but I've made a few changes (after discovering a few new things about copy consturctors) and ... |
Topic: nwnx_funcs - SetTAG Crash |
MaxRock
Replies: 16
Views: 22466
|
Forum: Windows technical support Posted: Thu Jun 14, 2012 0:46 Subject: nwnx_funcs - SetTAG Crash |
am wondering if I could export the area to erf, and send to you, and see if you get the same issues?
You can email it to me if you want.
I had to put some files local to my nwnx installatio ... |
Topic: nwnx_funcs - SetTAG Crash |
MaxRock
Replies: 16
Views: 22466
|
Forum: Windows technical support Posted: Wed Jun 13, 2012 7:22 Subject: nwnx_funcs - SetTAG Crash |
I've uploaded a version of funcs to sourceforge with the debug symbols intact. Much easier to pin down the error in IDA that way.
Could you use it and let me know the faulting address? |
Topic: nwnx_funcs - SetTAG Crash |
MaxRock
Replies: 16
Views: 22466
|
Forum: Windows technical support Posted: Wed Jun 13, 2012 7:07 Subject: nwnx_funcs - SetTAG Crash |
Does it only crash with dynamically created areas? And are they copies of an existing area or loaded through resman?
I'm not sure how stable the areas plugin is; actually I can't even get it to load ... |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Tue Jun 05, 2012 23:42 Subject: nwnx_funcs for windows |
P.S.: Just out of curiosity, is SetMaxHitPoints() functional?
Kato
It works for NPCs
I might have a way to fix it for PCs but it wouldn't be permanent. |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Tue Jun 05, 2012 18:58 Subject: 0.94 |
Hello...
I fixed a few things
- Instances where the Param string was overwritten before the parameters could be extracted (GetKnowsSpell, GetRemainingSpellSlots, GetMaxSpellSlots, GetSpellsGaine ... |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Tue Feb 21, 2012 0:38 Subject: nwnx_funcs for windows |
int EffectID = NWNXFuncs_GetHighestEffectID(oObject) will get the ID of the last effect that was applied to oObject. Then, you can use this ID to change the spell id of that effect with NWNXFuncs_SetE ... |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Sun Feb 19, 2012 0:57 Subject: nwnx_funcs for windows |
Function
// changes the SpellID (returned by GetEffectSpellID or GetEffectSpellIDInternal) of the last effect applied
// on oObject to iSpellID. If the last effect applied used EffectLinkEf ... |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Fri Feb 10, 2012 9:50 Subject: nwnx_funcs for windows |
Does calling GetHasLocalVariable crash it? |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Thu Jan 26, 2012 16:27 Subject: v 0.0.93 |
Added:
PopupMessage
GetAttackModifierVersus |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Wed Jan 04, 2012 23:30 Subject: nwnx_funcs for windows |
Looks like none of the object requests are working.
I wonder if that is the problem
NWN Extender V.2.6.1
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwn ... |
Topic: nwnx_funcs for windows |
MaxRock
Replies: 428
Views: 379801
|
Forum: Windows development Posted: Wed Jan 04, 2012 13:20 Subject: nwnx_funcs for windows |
It seems to completely ignore the GetLocalObject hook.
Does NWNXFuncs_StringToObject work? |
|