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 259 matches
nwnx.org Forum Index
Author Message
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Thu Apr 07, 2016 18:16   Subject: nwnx_jvm - native JVM integration
How do I set which one to use?

https://github.com/NWNX/nwnx2-linux/blob/master/plugins/jvm/java/src/org/nwnx/nwnx2/jvm/NWObject.java#L217
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Thu Apr 07, 2016 15:36   Subject: nwnx_jvm - native JVM integration
If memory serves, the nwnx_jvm java libs support a flag where OBJECT_INVALID can be either null, or a valid object that represents null, for this exact reason (to cut down on nullptr checks). You shou ...
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Thu Apr 07, 2016 13:22   Subject: nwnx_jvm - native JVM integration
Is oEffectCreator null, maybe?
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Wed Apr 06, 2016 18:06   Subject: nwnx_jvm - native JVM integration



I'd recommend packing in the actual source code too, then it'll give you more context, like line numbers and symbols, and maybe even var data.
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Wed Apr 06, 2016 16:22   Subject: nwnx_jvm - native JVM integration
Just answered my own question about calling nwnx methods from inside jvm.

Doesn't seem to work.
But I am trying this approach.



//jvm_seteffcre
void main()
{
object oModule ...
  Topic: Linux on Windows 10
elven

Replies: 1
Views: 4556

PostForum: Linux development   Posted: Wed Apr 06, 2016 15:51   Subject: Re: Linux on Windows 10
We'll see. Too early to even speculate, but I'll be really surprised if it worked without adjustments. :)
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Wed Apr 06, 2016 15:48   Subject: Re: ideas
Hi Elven,
Sorry, only just replying.

Performance wise - I could live with slower than native NWScript, its really the background thread operation I am looking forward to.


Had a brief look ove ...
  Topic: SetEffectCreator?
elven

Replies: 7
Views: 7249

PostForum: Linux development   Posted: Wed Mar 30, 2016 14:22   Subject: SetEffectCreator?
Thats strange -
Let me try structs on its own again - to see if it works.
I have a unit-test nss setup on my test box that sets effects on an npc.

(Question : Does the structs call have to be do ...
  Topic: SetEffectCreator?
elven

Replies: 7
Views: 7249

PostForum: Linux development   Posted: Wed Mar 30, 2016 14:10   Subject: SetEffectCreator?
I think my nwnx is a fork/branch of this
https://github.com/jd28/nwnx2-linux

That's jmd's branch. NO idea what's going on in there! I can only speak for the upstream one.

But to compile nwnx_st ...
  Topic: SetEffectCreator?
elven

Replies: 7
Views: 7249

PostForum: Linux development   Posted: Wed Mar 30, 2016 13:46   Subject: SetEffectCreator?
Where did you grab the effects plugin from, and how exactly are you compiling it?

Some prelim notes:

- You should never use the configure script (we even deleted it!). It's all cmake now. Run cm ...
  Topic: nwnx_security: seccomp framework, gff validator
elven

Replies: 2
Views: 5011

PostForum: Linux development   Posted: Sat Mar 26, 2016 14:14   Subject: nwnx_security: seccomp framework, gff validator
I was trying to fix this in my nwnx_patch plugin but with no success to make it global (I have working method but it requires some local adjustions which isnt very good).

I dont understand the code ...
  Topic: nwnx_security: seccomp framework, gff validator
elven

Replies: 2
Views: 5011

PostForum: Linux development   Posted: Fri Mar 25, 2016 19:39   Subject: nwnx_security: seccomp framework, gff validator
Hi,

due to recent events, I'm here to present a experimental plugin that has features I will eventually merge into nwnx2-linux upstream.

In it's current state, it adds protection against:

* m ...
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Fri Mar 18, 2016 19:34   Subject: nwnx_jvm - native JVM integration
Hi Elven,
Was wondering if the above bug was ever resolved or a solution found?

I have restarted my linux PW development and use of Java would be a huge + for me.

FATAL ERROR in native method: ...
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Mon Dec 14, 2015 15:35   Subject: nwnx_jvm - native JVM integration

FATAL ERROR in native method: Detaching native NWN thread from JVM failed.
at org.nwnx.nwnx2.jvm.NWScript.executeScript(Native Method)
- locked <0x79c00558> (a java.lang.Clas ...
  Topic: nwnx_jvm - native JVM integration
elven

Replies: 133
Views: 120037

PostForum: Linux development   Posted: Mon Dec 14, 2015 15:12   Subject: nwnx_jvm - native JVM integration
Yay
Thanks - that worked - Im in work right now, and cant be arsed doing work.
So I just interject and waste time by playing with nwnx_jvm Lol

Its now printing to the nwserverLog.txt - so I have ...
 
Page 1 of 18 Goto page 1, 2, 3 ... 16, 17, 18  Next
All times are GMT + 2 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group