logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWSERVER crashes with NWNx

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 10:31    Post subject: NWSERVER crashes with NWNx Reply with quote

Things to note:

- If I run it without nwnx it doesn't crash.
- If I run the module with the scripts and nwnx it works well. (I mean the test module I use to build all the scripts and then port it to the PW)
- Is a Nordock with CNR available at the vault. I added a few scripts but only the scripts I made myself in the test module uses nwnx (subraces and security system).
- This versin works in other computer (but crashes when a dm enters, I'm not at that computer now and was trying to fix the dm crash but I couldn't).

I don't know what it can be Sad

Help please!

Details:

Spanish but you can understand:

Quote:
Firma con problemas:
Nombre del evento de problema: APPCRASH
Nombre de la aplicación: nwserver.exe
Versión de la aplicación: 1.6.9.0
Marca de tiempo de la aplicación: 486cfaee
Nombre del módulo con errores: nwserver.exe
Versión del módulo con errores: 1.6.9.0
Marca de tiempo del módulo con errores: 486cfaee
Código de excepción: c0000005
Desplazamiento de excepción: 001a0f41
Versión del sistema operativo: 6.1.7601.2.1.0.256.48
Id. de configuración regional: 3082
Información adicional 1: 6419
Información adicional 2: 64196f3ebcfdb366a0a360abddf368d0
Información adicional 3: c492
Información adicional 4: c49276ebfc367f32e7f32136088840f8


logs:

nwnx.txt
Quote:

NWN Extender V.2.7-beta4
(c) 2004 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
(c) 2007-2008 by virusman
visit us at http://www.nwnx.org

* Loading plugins...
* Plugin cool is loaded.
* Plugin events is loaded.
* Plugin fixes is loaded.
* Plugin funcs is loaded.
* Plugin functions is loaded.
* Plugin hashset is loaded.
* Plugin leto is loaded.
* Plugin odbc is loaded.
* Plugin profiler is loaded.
* NWNX2 activated.


nwnx_cool
Quote:

NWNXCool v0.5 created by Terra_777

X GetArmorClass() hook disabled: 004a6e00.
X GetArmorClassVersus() hook disabled: 0046dc00.
X GetAttackModifierVersus() hook disabled: 00470f00.
X GetRangedAttackBonus() hook disabled: 00470120.
X GetMeleeAttackBonus() hook disabled: 0046fb40.
X RemoveCombatInvisibility() hook disabled: 004aefb0.
X SetPVPPlayerLikesMe() hook disabled: 004d0450.
X ResolveMeleeSpecialAttack() hook disabled: 00549fc0.
X ResolveRangedSpecialAttack() hook disabled: 00547a50.
X DevCrit() hook disabled: 00482280.
X SetCombatMode() hook disabled: 004bb4d0.
X ToggleMode() hook disabled: 004a5080.
X SetActivity() hook disabled: 00490690.
X UseFeat() hook disabled: 004a3700.
! UseSkill() hooked at 004a4530.
! UnPolymorph() hooked at 004f78e0.
! Polymorph() hooked at 004f76d0.
! ItemCastSpell() hooked at 00491020.
! CastSpell() hooked at 00491610.
X ResistSpell() hook disabled: 00574e90.
X CasterLevel() hook disabled: 0056fa40.
X ClassLevel() hook disabled: 00474b80.
X WriteToLogFile() hook disabled: 004108e0.
X Rand() hook disabled: 00411870.
X RollDice() hook disabled: 004b7d90.
X TogglePauseState() hook disabled: 00462410.
X GetWeaponFinesse() hook disabled: 00481210.
X GetWeaponFocus() hook disabled: 004812e0.
X GetEPICWeaponFocus() hook disabled: 00481510.
X GetWeaponsSpec() hook disabled: 004817e0.
X GetEPICWeaponsSpec() hook disabled: 00481aa0.
X GetImprovedCritical() hook disabled: 00481d70.
X GetOverwhelmingCritical() hook disabled: 00481fb0.
X GetWeaponOfChoice() hook disabled: 0048cb10.
X GetUseMonkAttackTables() hook disabled: 00470730.
X CalculateOffHandAttacks() hook disabled: 00530820.
X GetAttacksPerRound() hook disabled: 0046ee30.



nwnx_events

Quote:

NWNX Events 1.2 for Windows
(c) 2006-2007 by virusman (virusman@virusman.ru)
Version 1.2 by Terra_777

Loaded event script: nwnx_events
Logging: Disabled

X DownloadCharacter() hook failed: 00435d50.
X PickPocket() hook failed: 00493120.
X Attack() hook failed: 00493810.
X ExamineItem() hook failed: 00446f60.
X ExamineCreature() hook failed: 00446b00.
X ExaminePlaceable() hook failed: 004474b0.
X ExamineDoor() hook failed: 00447970.
X ToggleMode() hook failed: 004a5080.
X StealthMode() hook failed: 004bb3f0.
X DevastatingCritical() hook failed: 00482280.
X UnPolymorph() hook failed: 004ae6c0.
X TrapTrigger() hook failed: 005a96f0.
X EndDialog() hook failed: 005b1bc0.
X RemoveSanctuary() hook failed: 004f5250.
! ExecuteScript() hooked at 005bf9d0.



nwnx_fixes

Quote:

NWNX Fixes V.1.0.5 for Windows
Copyright 2007-2009 virusman, 2008-2009 Zebranky
visit us at http://www.nwnx.org

* Module loaded successfully.


nwnx_funcs

Quote:
[05/07/2012 10:23:51] Windows NWNX Funcs plugin v.0.0.9.3
[05/07/2012 10:23:51] log level: 0
[05/07/2012 10:23:51] * CNWSMessage__TestObjectVisible hooked
[05/07/2012 10:23:51] * CNWSCreatureStats__GetEffectImmunity hooked
[05/07/2012 10:23:51] * CServerExoAppInternal__RemovePCFromWorld hooked; script to run: onplayerleaving.nss



nwnx_leto

Quote:

NWNX-Leto module (build 03 - FF)
(c) 2004 by David Frauzel (dragonsong), dragon@weathersong.net
Information and support: http://weathersong.infopop.cc

* Loading LetoScript.dll...
* LetoScript metamodule activated (1.200ms).


nwnx_odbc
Quote:

NWNX ODBC2 plugin V.0.9.2.4
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org

o Logfile maximum size limit is: 524288 bytes
o Log level: Everything will be logged.
o Using MySQL connection.
o Hooking SCO....hooked at 5d5830
o Hooking RCO....hooked at 5d5710
o Connect successful.




nwnx_profiler

Quote:

NWNX Profiler V.1.62
(c) 2005 by Ingmar Stieger (papillon@nwnx.org)
(c) 2008 by virusman (virusman@virusman.ru)
visit us at http://www.nwnx.org

* Updated entries are marked with a * symbol
* Logfile maximum size limit is: 524288 bytes
* Log level: Only overall statistics will be logged.
* RunScript hooked (symbol: >).
* Cross area pathfinding hooked (symbol: @)
* Tile pathfinding hooked (symbol: $)

Current statistics
-----------------------------------------------------------------------------------------------
bouncehero 0 msec 3 calls *| sei_oea_outside 0 msec 49 calls *|
sei_oea_default 0 msec 21 calls *| arena_on_enter 0 msec 1 calls *|
hc_on_acq_item 118 msec 2309 calls *| enter_purg 0 msec 1 calls *|
-----------------------------------------------------------------------------------------------
Elapsed time : 10001 msec
Runtime delta : 118 msec
Total cumulative runtime : 118 msec
Total number of scriptcalls : 2384


Current statistics
-----------------------------------------------------------------------------------------------
cnrFarmersPress 109 msec 1 calls *| bouncehero 0 msec 3 calls |
cnr_module_oml 114 msec 1 calls *| sei_oea_outside 0 msec 49 calls |
user_merch_init 25 msec 1 calls *| sei_oea_default 0 msec 21 calls |
cnrJewelersBench 186 msec 1 calls *| hc_on_mod_load 145 msec 3 calls *|
arena_on_enter 0 msec 1 calls | bbs_scribe_spawn 0 msec 1 calls *|
cnrBrazierTita 46 msec 1 calls *| hc_on_acq_item 141 msec 2766 calls *|
bank_init 0 msec 1 calls *| cnrEnchantPool 555 msec 1 calls *|
cnr_book_init 4 msec 1 calls *| cnrBrazierSilv 31 msec 1 calls *|
cnrScribeAverage 238 msec 1 calls *| cnrCarpsBench 280 msec 1 calls *|
cnrScribeGreater 273 msec 1 calls *| cnr_merch_init 26 msec 1 calls *|
cnrCuringTub 156 msec 1 calls *| cnrTinkersDevice 57 msec 1 calls *|
cnrGemTable 83 msec 1 calls *| cnrEnchantStatue 98 msec 1 calls *|
hc_defaults 0 msec 1 calls *| write_pubcd 3 msec 1 calls *|
cnrAnvilArmor 174 msec 1 calls *| cnrBakersOven 101 msec 1 calls *|
cnrScribeInkDesk 77 msec 1 calls *| ch_tg_modef 4 msec 1 calls *|
cnrIngotRecycler 1154 msec 8 calls *| cnrAnvilPublic 937 msec 4 calls *|
aps_onload 0 msec 1 calls *| cnrBrewersOven 29 msec 1 calls *|
cnr_source_init 0 msec 1 calls *| hc_setareavars 0 msec 1 calls *|
cnrBrewersKeg 101 msec 1 calls *| gateway_onenter 4 msec 1 calls *|
cnrTinkerToolbox 202 msec 1 calls *| cnr_plant_init 1 msec 1 calls *|
cnrTinkerFurnace 157 msec 1 calls *| cnrTailorsTable 451 msec 1 calls *|
enter_purg 0 msec 1 calls | cnrBrewersKettle 45 msec 1 calls *|
cnr_hchtf_init 0 msec 1 calls *| cnrAlchemyTable 95 msec 1 calls *|
hc_pwdb_data 0 msec 1 calls *| apts_declare_tok 5 msec 1 calls *|
cnrGemStone 64 msec 1 calls *| cnrWaterTub 3 msec 1 calls *|
cnrEnchantAltar 123 msec 1 calls *| cnrFarmersMill 104 msec 1 calls *|
cnrForgePublic 5 msec 1 calls *| cnr_trade_init 0 msec 1 calls *|
tha_load 11 msec 1 calls *| nw_c2_default9 22 msec 28 calls *|
cnr_recipe_init 4329 msec 32 calls *| cnrScribeLesser 159 msec 1 calls *|
cnrHideRack 123 msec 1 calls *|
-----------------------------------------------------------------------------------------------
Elapsed time : 28963 msec
Runtime delta : 10932 msec
Total cumulative runtime : 11050 msec
Total number of scriptcalls : 2965





nwnerrorlog empty

nwnserverlog.txt

Quote:

[Mon May 07 10:27:34] Loading Module: ma
[Mon May 07 10:27:34]---- Server Options ----
Max Players: 30
Char Levels: (1-40)
Player Password: NO
DM Login Enabled: NO
Server Admin Login Enabled: YES
Post Game To Internet: YES
Game Type: Juego de rol
Difficulty: 1
PVP Setting: FULL
Vault: SERVER
Only One Party: NO
Enforce Legal Characters: NO
Item Level Restrictions: NO
Player pausing: DISABLED
Auto Save: Enabled
Saving Characters in Saved Game
---- End Server Options ----

GameSpy Server Error: Unable to query the server. You may need to open port 5121 for incoming traffic.
Launching cnr_recipe_init
cnr_recipe_init
cnr_trade_init
Launching cnr_book_init
cnr_book_init
Launching cnr_plant_init
cnr_plant_init
Launching cnr_source_init
cnr_source_init
Launching cnr_merch_init
cnr_merch_utils
cnrForgePublic init
cnrIngotRecycler init
cnrAnvilPublic init
cnrBrazierSilv init
cnrBrazierTita init
cnrAnvilArmor init
cnrAlchemyTable init
cnrScribeInkDesk init
cnrScribeLesser init
cnrScribeAverage init
cnrScribeGreater init
cnrTinkersDevice init
cnrTinkerToolbox init
cnrTinkerFurnace init
cnrCarpsBench init
cnrEnchantAltar init
cnrEnchantStatue init
cnrEnchantPool init
cnrGemStone init
cnrGemTable init
cnrJewelersBench init
cnrTailorsTable init
cnrCuringTub init
cnrHideRack init
cnrBrewersKeg init
cnrBrewersKettle init
cnrBrewersOven init
cnrBakersOven init
cnrFarmersMill init
cnrFarmersPress init
cnrWaterTub init


Last edited by Wallack on Mon May 07, 2012 13:21; edited 2 times in total
Back to top
View user's profile Send private message
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 13:08    Post subject: Reply with quote

Just downloaded the module again from: http://nwvault.ign.com/View.php?view=Modules.Detail&id=1569#Files

Changed its name to ma2 (to have a short name) and is crashing again without any of my scritps.

EDIT:

APS demo loads ok.

Downloaded mod (from vault) loads ok without NWNx.
Downloaded mod has some compile errors, once fixed keep crashing with NWNx not with nwserver.
My own script mod works ok with NWNx (uses nwnx_cool, MySQL, nwnx_funcs ... )

I don't know what to do!!

What should be the way to try to look at this errors? onmoduleload script? because it has to be script related ... but I don't know where to start!!

Could it has something to do with beign a big module? Is there any procedure when NWNx is loading a very big module?

I've also tried with: http://nwvault.ign.com/View.php?view=Modules.Detail&id=5904 and is crashing again.

Maybe something with big modules? Do I have to do something special?

Kind regards!!
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Mon May 07, 2012 13:09    Post subject: Reply with quote

try revert funcs to 8.9, version 9.3 crashes my module as well and other had same problem. If it doesnt help,. you need to find out which plugin causes it - which is not clear from the logs you have posted.

Simply, remove plugin one by one and repeat the process that caused crash. If it still crashes, the removed plugin is fine, if not it was the cause.
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 13:16    Post subject: Reply with quote

8.9 has the setability functions ? will try what you've said, thanks.
Back to top
View user's profile Send private message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Mon May 07, 2012 13:24    Post subject: Reply with quote

Remove nwnx_events, you don't need it when you got nwnx cool since nwnx cool has the functionality events has. Atleast the version I... wrote, hacked, poked, whatever you wanna call it. Razz

Also, 32 or 64 bit? 64 bit will crash deallocating memory (pc leaving, object destroyed etc) allocated by nwnx. I know nwnx cool and funcs does allocate memory with some functions.
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 13:29    Post subject: Reply with quote

64 bits.

Without nwn_funcs it doesn't crash, trying to download the 0.89 version.

Sourceforge loads as slow as the evil's horse (spanish fact).
Back to top
View user's profile Send private message
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 14:26    Post subject: Reply with quote

Okay, fixed with 0.89 but now it crashes when joining as DM.

I've checked all the BootPC calls to see first if the target is really a PC.

Now the crash is different, now is about StackHash_6419:

Quote:
Nombre del evento de problema: APPCRASH
Nombre de la aplicación: nwserver.exe
Versión de la aplicación: 1.6.9.0
Marca de tiempo de la aplicación: 486cfaee
Nombre del módulo con errores: StackHash_6419
Versión del módulo con errores: 0.0.0.0
Marca de tiempo del módulo con errores: 00000000
Código de excepción: c0000005
Desplazamiento de excepción: 0001f805
Versión del sistema operativo: 6.1.7601.2.1.0.256.48
Id. de configuración regional: 3082
Información adicional 1: 6419
Información adicional 2: 64196f3ebcfdb366a0a360abddf368d0
Información adicional 3: c492
Información adicional 4: c49276ebfc367f32e7f32136088840f8
Back to top
View user's profile Send private message
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 14:38    Post subject: Reply with quote

Ok DM Client now crashes with no plugins and even running directly through nwserver.

Now lets figure what is the wrong script that causes the crash (downloaded mod works fine with DM Client) lets try comenting all the onenter ... scripts.

Kind regards!
Back to top
View user's profile Send private message
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 15:08    Post subject: Reply with quote

Now crash with the CEP 2.3 starter module! So is cep related, anyways if I see the fix I will post it here.
Back to top
View user's profile Send private message
Wallack



Joined: 30 Apr 2012
Posts: 27

PostPosted: Mon May 07, 2012 15:18    Post subject: Reply with quote

Windows 7 ... run con Xp compatibility mode !!

Fixed finally, jesus christ.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group