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 
 
Search found 16 matches
nwnx.org Forum Index
Author Message
  Topic: Incorrect usage of StackPopString in jvm/ruby/lua plugins
motu99

Replies: 4
Views: 9015

PostForum: Linux development   Posted: Wed Jun 08, 2011 23:11   Subject: Incorrect usage of StackPopString in jvm/ruby/lua plugins
The memory leak probably isn't noticeable, because the problematic part of the code (e.g. the piece of code with the free() function) is almost never executed: Most of the nwnx-interface functions (in ...
  Topic: Incorrect usage of StackPopString in jvm/ruby/lua plugins
motu99

Replies: 4
Views: 9015

PostForum: Linux development   Posted: Wed Jun 08, 2011 20:28   Subject: Incorrect usage of StackPopString in jvm/ruby/lua plugins
The problem is subtle and not only pertains to the alternate script interpreter projects, but to ALL nwnx code.

The root of the problem is this:

nwserver uses its own memory allocate / deallocat ...
  Topic: FindObjectByTagOrdinal
motu99

Replies: 3
Views: 5484

PostForum: Windows development   Posted: Thu Apr 07, 2011 21:22   Subject: Re: FindObjectByTagOrdinal
IMO CLookupTableObject is much simpler than what you posted:


struct CLookupTableObject_s {
char sTag[64];
uint32_t NotKnownToMe; (could be: CGenericObject *pO ...
  Topic: nwnx events - Fastcall RunScript version?
motu99

Replies: 16
Views: 21647

PostForum: Windows development   Posted: Wed Mar 23, 2011 0:21   Subject: nwnx events - Fastcall RunScript version?
I've learned more about c++ and compilers working on nwnx than in 2 years of software engineering.


Same with me.

I did some assembly language programming (with a Motorola 680x0) and learned C ...
  Topic: nwnx events - Fastcall RunScript version?
motu99

Replies: 16
Views: 21647

PostForum: Windows development   Posted: Tue Mar 22, 2011 18:07   Subject: nwnx events - Fastcall RunScript version?
EDIT: writing this up took too long, MaxRock beat me.... Nevertheless:

Why don't you use thiscall?

(Almost) all the class member-functions in nwserver.exe are compiled with the __thiscall callin ...
  Topic: NWNX Events
motu99

Replies: 20
Views: 30526

PostForum: Windows development   Posted: Fri Mar 18, 2011 18:41   Subject: NWNX Events
Thanks, I am still interested in the symbol tables (for nwserver.exe and nwmain.exe, if you have them). Sifting through the code of the Linux and the Windows version is becoming somewhat boring and te ...
  Topic: NWNX Events
motu99

Replies: 20
Views: 30526

PostForum: Windows development   Posted: Sun Mar 13, 2011 16:55   Subject: NWNX Events
I finally found the CNWSCreature::AddCastSpellActions() function in the win32 executable of nwserver.exe (at 0x00491610). Wasn't too difficult (that is, after I learned 0x86 assembly language and read ...
  Topic: NWNX Events
motu99

Replies: 20
Views: 30526

PostForum: Windows development   Posted: Sun Nov 07, 2010 12:16   Subject: NWNX Events
Any chance that the SpellCastAt-event can be hooked in the Windows version? [Not the scripted event initiated by SignalEvent(), but the "real hardwired" event that's already hooked in the Li ...
  Topic: nwnx_funcs for windows
motu99

Replies: 428
Views: 379885

PostForum: Windows development   Posted: Mon Mar 22, 2010 21:51   Subject: Re: nwnx_funcs for windows
I've started porting nwnx_funcs to windows:


Hurray! Cool
  Topic: Linux->Windows ports
motu99

Replies: 54
Views: 87473

PostForum: Windows development   Posted: Fri Mar 12, 2010 19:19   Subject: Re: port of nwn_structs?

so... what's the likelihood of getting the nwnx_structs package on windoze?? Smile

That's on my wishlist, too

and nwnx_funcs [of course]

Well, the fact that they are not available for Windows ...
  Topic: nwnx_jvm - native JVM integration
motu99

Replies: 133
Views: 142673

PostForum: Linux development   Posted: Sun Jan 17, 2010 23:33   Subject: nwnx_jvm - native JVM integration
I love this tool!

So far it works beyond expectations
[I couldn't try out everything I had in mind, because Windows deleted my whole extended partition with all data on it, although it should have ...
  Topic: nwnx_jvm - native JVM integration
motu99

Replies: 133
Views: 142673

PostForum: Linux development   Posted: Fri Jan 01, 2010 23:39   Subject: nwnx_jvm - native JVM integration
OK, I finally got nwnx_jvm up and running. Works like a charm, although so far I only tried out the preconfigured stuff.

I had some problems setting up things, in particular with the following Quic ...
  Topic: nwnx_jvm - native JVM integration
motu99

Replies: 133
Views: 142673

PostForum: Linux development   Posted: Thu Dec 31, 2009 16:20   Subject: nwnx_jvm - native JVM integration

Nothing though prevents you from writing small scripts in Java too, though, and it can be quite the pleasure to do it.

That's right. I have already been thinking about it. There are some scripts ...
  Topic: nwnx_easy
motu99

Replies: 26
Views: 52928

PostForum: Linux development   Posted: Thu Dec 31, 2009 14:19   Subject: nwnx_easy
Just wanted to say thanks.

My last touch with Unix was more than 15 years ago. So I wondered how long (in weeks) it would take to get Ubuntu, NWN-Diamond and nwnx running (under Linux).

Ubuntu 9 ...
  Topic: nwnx_jvm - native JVM integration
motu99

Replies: 133
Views: 142673

PostForum: Linux development   Posted: Thu Dec 31, 2009 13:52   Subject: nwnx_jvm - native JVM integration
Nice plugin.

So basically we have all of NWScript's basic functionality at our fingertips?! (e.g. all functions in nwscript.nss; plus some nice additions by yourself, such as get* functions that re ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 2 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group