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 18 matches
nwnx.org Forum Index
Author Message
  Topic: Problem with Violation Segment
JeffSheets

Replies: 5
Views: 8950

PostForum: Linux technical support   Posted: Fri Feb 27, 2009 18:51   Subject: Problem with Violation Segment
Thanks for the information Fireboar, do you know if exist some plugin that restart module? i had one on windows, but on linux i dont know if that exist

I don't think there is a module to do it preb ...
  Topic: Resman stability and dynamic .jrl file
JeffSheets

Replies: 75
Views: 79108

PostForum: Linux development   Posted: Sun Feb 22, 2009 20:58   Subject: Resman stability and dynamic .jrl file
We had been using resman in various incarnations. .jrl gets loaded on module load and then never touched again, so there isn't much use in putting it into resman.
Ah. Anyone have any ideas for how o ...
  Topic: Resman stability and dynamic .jrl file
JeffSheets

Replies: 75
Views: 79108

PostForum: Linux development   Posted: Sun Feb 22, 2009 12:01   Subject: Resman stability and dynamic .jrl file
First... I've seen elsewhere here that nwn 1.65 or so caused nwnx_resman to be a bit unstable, due to caching. Is this still true?

Second, how feasible is it to load your module's Journal/quest fi ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Wed Feb 11, 2009 4:31   Subject: NWNX Ruby
Yeah, unless you're calling a large number of action commands one after another, the performance impact shouldn't be noticeable. If you need to assign lots of commands to a single object, just do it ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Tue Feb 10, 2009 5:12   Subject: NWNX Ruby
Okay... I'm certain that my action type workarounds are working perfectly, so here's the source code:
// relay_action.nss
#include "nwnx_ruby"

void main() {
object oMo ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Tue Feb 10, 2009 0:42   Subject: NWNX Ruby
Now that I've got item properties working, I've begun work on a workaround to the ActionDoCommand, AssignCommand, and DelayCommand problems. I believe I may have a fix, that only requires three small ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Mon Feb 09, 2009 19:07   Subject: NWNX Ruby
Please send me the patch to my email (with "NWNX" in the subject field) or post it here.

Link to a pastebin: [url=http://pastebin.com/m46c19e54]here Hmmm... if that mangled the diff fi ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Mon Feb 09, 2009 10:54   Subject: NWNX Ruby
If it works I'll post a patch.

It worked perfectly. Virusman... if you give me write access to the svn repo, I'll simply commit a fix, otherwise I'll post a diff or patch here tomorrow. Still wan ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Mon Feb 09, 2009 4:23   Subject: NWNX Ruby
If it works I'll post a patch.

It worked perfectly. Virusman... if you give me write access to the svn repo, I'll simply commit a fix, otherwise I'll post a diff or patch here tomorrow. Still wan ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Mon Feb 09, 2009 4:01   Subject: NWNX Ruby
A ticket has been created:
http://nwn.virusman.ru/trac/nwnx2-linux/ticket/5
You can register on Trac, add your email address to your profile and subscribe to updates by adding your username to the & ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Sun Feb 08, 2009 23:37   Subject: NWNX Ruby
Would it be possible to build custom NWScript bytecode that does an immediate call back into nwnx_ruby?

I'm not familiar with the C API of ruby, but maybe you could store a method and self to execu ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Sun Feb 08, 2009 20:51   Subject: NWNX Ruby
Would it be possible to build custom NWScript bytecode that does an immediate call back into nwnx_ruby?

I'm not familiar with the C API of ruby, but maybe you could store a method and self to execu ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Sun Feb 08, 2009 20:14   Subject: NWNX Ruby
Functions with "action" parameters (DoCommand, AssignCommand, DelayCommand) can't be exposed to NWNX Ruby because the "action" parameter is actually a pointer to NWScript bytecode. ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Sun Feb 08, 2009 18:02   Subject: NWNX Ruby
Same with me - this is my first dabble in Ruby, and I'm hoping to build my PW around it. I guess the things that don't work just mean one has to find a different way of doing things.

You say Assign ...
  Topic: NWNX Ruby
JeffSheets

Replies: 49
Views: 92398

PostForum: Linux development   Posted: Sat Feb 07, 2009 19:08   Subject: NWNX Ruby
Just some clarification: is Ruby a viable replacement for NWScript, if you use it to call custom methods (such as onmodheartbeat) from preloaded scripts? Or is it better used only for more complex met ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 2 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group