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 
 
nwnx_easy
Goto page 1, 2  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Fri May 30, 2008 21:43    Post subject: nwnx_easy Reply with quote

BACK IN ACTION!

After a while out of action, nwnx_easy is back! It's now been updated to the latest version of NWNX2, with a few extra fixes, scripts consolidated into one easy-to-find location and all configuration file settings available without hunting through various development trees.


ORIGINAL POST FOLLOWS HERE:

Hello.

I've been using NWNX for a while, but the one thing that's always hit home is just how difficult it is for the average administrator to set up NWNX on a Linux system with any sort of functionality. Specifically, the latest versions of Chat and ODMBC will not compile without C++ code modifications, and Makefile has to be renamed to Makefile.in in several plugins.

That won't do!

So I've put together all of the Linux NWNX plugins that are out now, in the most recent version that I could convince to compile itself, created an install.sh bash script and packaged it up. Now, it should just be a case of:

- Unpackage
- Run install.sh
- Move everything from the compiled directory into the NWN directory.

Here's the package:
http://www.bfme.uni.cc/globaldomain/nwnx_easy.tar.gz

The idea is not to try and take credit for the work of other people, this is simply my way of making it easier for people to get a server running. The only plugin missing is the Functions plugin, the latest version of which doesn't seem compatible. If someone could point me in the right direction here, that would be appreciated.


Last edited by Fireboar on Wed Nov 18, 2009 20:17; edited 3 times in total
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Sun Jun 01, 2008 6:59    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Wed Jun 11, 2008 19:54    Post subject: Reply with quote

Update - I've included nwnx_tmi, nwnx_functions and nwnx_structs in the package, and updated nwnx_odmbc as well. Same link.

Last edited by Fireboar on Sat Jul 05, 2008 22:25; edited 1 time in total
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Sat Jun 21, 2008 23:11    Post subject: Reply with quote

Update!

http://www.bfme.uni.cc/globaldomain/nwnx_easy_0.3.tar.gz

nwnx_easy 0.3
- Updated nwnx_chat to 0.3.5 for compatability with NWN 1.69 beta 10
- Updated nwnx_events to 1.2.2.1 (custom version), featuring three new (two custom) events as well as compatability with NWN 1.69 beta 10
- Updated nwnx_functions to 1.8.8, adding the IntToObject function
- Fixed an issue with the ODMBC plugin not working with SQLite and PostgreSQL
- Included a more powerful function library for ODMBC, and upgraded the APS one to include the new changes. Make sure both fb_inc_database and aps_include are installed into your module if you plan on using the new aps_include. If you do all your SQL transactions manually, then you should probably just use fb_inc_database and leave aps_include out altogether.
- Included a more powerful function library for CHAT. Use fb_inc_chat instead of dmb_chat (not included) for the extended functionality that it offers.
- Updated the nwnx_events documentation to make it clearer; it now shows exactly what functions do what.
- Consolidated all the documentation into the docs folder, and all the demo modules and helper scripts into the nwn folder.


So in a nutshell, this version improves on the documentation and updates the plugins with the recent 1.69 updates by Virusman.
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Mon Jul 14, 2008 12:04    Post subject: Reply with quote

Update!

http://www.bfme.uni.cc/globaldomain/nwnx_easy.tar.gz

nwnx_easy 0.4 is the new version: it's fully supported for NWN 1.69 EXCEPT that the events, functions and fixes plugins do not work (they don't work anywhere: when the update for them comes out I will update nwnx_easy accordingly).

I've also included documentation for nwnx_leto this time around - the idea is to clear up any confusion around the most confusing plugin ever. More to come in future updates.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Mon Jul 14, 2008 12:42    Post subject: Reply with quote

Events 1.2.2 work perfectly with 1.69.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Mon Jul 14, 2008 12:46    Post subject: Reply with quote

That's what I've done.

Code:
NWNX Events version 1.2.2 for Linux.
(c) 2006-2008 by virusman (virusman@virusman.ru)
X Could not find SaveChar function or hook failed: 0
X Could not find ActPickPocket function or hook failed: 0
X Could not find ActAttack function or hook failed: 0
X Could not find UseItem function or hook failed: 0
X Could not find ConversationNodeSelect function or hook failed: 0
X Could not find ConditionalScript function or hook failed: 0
X Could not find SendServerToPlayerQuickChatMessage function or hook failed: 0
X Could not find ExamineItem function or hook failed: 0
X Could not find ExamineCreature function or hook failed: 0
X Could not find ExaminePlaceable function or hook failed: 0
X Could not find ExamineDoor function or hook failed: 0
X Could not find UseSkill function or hook failed: 0
X Could not find UseFeat function or hook failed: 0
X Could not find ToggleMode function or hook failed: 0
! RunProc hooked at 8261f94.


They don't work at all.
Back to top
View user's profile Send private message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Mon Jul 14, 2008 16:06    Post subject: Reply with quote

FB: Will this stop the crashes I am experiencing with the event plugin? Its intermittent, but it is annoying, and it seems to be related to SimTools and chat, but maybe thats just my wild conjecture. I just need to stabilize my server. People don't stick around long when things crash too often, you know?
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Mon Jul 14, 2008 16:10    Post subject: Reply with quote

I have tested the events plugin and have confirmed that, although Events does not work, it does not crash the server either. If you need the functionality of Events then you'll have to wait, otherwise you should probably keep it out of your NWN folder.

Remember, you should not put all the plugins into the NWN folder! Only use the ones you need, otherwise it can cause performance issues.
Back to top
View user's profile Send private message
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Mon Jul 14, 2008 16:16    Post subject: Reply with quote

I think there must be a call to it in SimTools 3.0, because even when I remove it from the installed plugins, it still pops the error message up and takes the server down. I will see what Funky has to say about this, I guess. Thanks.
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Mon Jul 14, 2008 16:23    Post subject: Reply with quote

SIMTools only uses nwnx_chat, as far as I know. The latest version of nwnx_chat is included with nwnx_easy 0.4, and it is tested and confirmed to work perfectly with NWN 1.69.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Mon Jul 14, 2008 16:27    Post subject: Reply with quote

SIMTools uses NWNX Events for command completion.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
william_hunter



Joined: 31 Jan 2007
Posts: 149

PostPosted: Mon Jul 14, 2008 16:30    Post subject: Reply with quote

Ah, so if i disable that for the time being...
_________________
The Realm of Tharagon NWN PW
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1017
Location: Russia

PostPosted: Mon Jul 14, 2008 16:30    Post subject: Reply with quote

Fireboar wrote:
That's what I've done.

Code:
NWNX Events version 1.2.2 for Linux.
(c) 2006-2008 by virusman (virusman@virusman.ru)
X Could not find SaveChar function or hook failed: 0
X Could not find ActPickPocket function or hook failed: 0
X Could not find ActAttack function or hook failed: 0
X Could not find UseItem function or hook failed: 0
X Could not find ConversationNodeSelect function or hook failed: 0
X Could not find ConditionalScript function or hook failed: 0
X Could not find SendServerToPlayerQuickChatMessage function or hook failed: 0
X Could not find ExamineItem function or hook failed: 0
X Could not find ExamineCreature function or hook failed: 0
X Could not find ExaminePlaceable function or hook failed: 0
X Could not find ExamineDoor function or hook failed: 0
X Could not find UseSkill function or hook failed: 0
X Could not find UseFeat function or hook failed: 0
X Could not find ToggleMode function or hook failed: 0
! RunProc hooked at 8261f94.


They don't work at all.
Unfortunately, I couldn't reproduce these errors in my testing environment. My logfile:

Code:
NWNX Events version 1.2.2 for Linux.
(c) 2006-2008 by virusman (virusman@virusman.ru)
! SaveChar hooked at 805d910.
! ActPickPocket hooked at 810a3f4.
! ActAttack hooked at 81188d4.
! UseItem hooked at 81159bc.
! ConversationNodeSelect hooked at 823deac.
! ConditionalScript hooked at 823cab0.
! SendServerToPlayerQuickChatMessage hooked at 8068dec.
! ExamineItem hooked at 8073f9c.
! ExamineCreature hooked at 8073958.
! ExaminePlaceable hooked at 8074668.
! ExamineDoor hooked at 8074c50.
! UseSkill hooked at 812b1d8.
! UseFeat hooked at 812a004.
! ToggleMode hooked at 812bcb4.
! RunProc hooked at 8261f94.
Seems like AssemblyHelper wasn't compiled correctly on your machine.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Mon Jul 14, 2008 16:42    Post subject: Reply with quote

Code:
0x0805d910  CNWSPlayer::PackCreatureIntoMessage(void)
0x0810a3f4  CNWSCreature::AIActionPickPocket(CNWSObjectActionNode *)
0x081188d4  CNWSCreature::AddAttackActions(unsigned long, int, int, int)
0x081159bc  CNWSCreature::AddItemCastSpellActions(unsigned long, int, int, Vector, unsigned long, int)
0x0823deac  CNWSDialog::HandleReply(unsigned long, CNWSObject *, unsigned long, int, unsigned long)
0x0823cab0  CNWSDialog::CheckScript(CNWSObject *, CResRef const &)
0x08068dec  CNWSMessage::SendServerToPlayerQuickChatMessage(unsigned long, unsigned short)
0x08073f9c  CNWSMessage::SendServerToPlayerExamineGui_ItemData(CNWSPlayer *, unsigned long)
0x08073958  CNWSMessage::SendServerToPlayerExamineGui_CreatureData(CNWSPlayer *, unsigned long)
0x08074668  CNWSMessage::SendServerToPlayerExamineGui_PlaceableData(CNWSPlayer *, unsigned long)
0x08074c50  CNWSMessage::SendServerToPlayerExamineGui_DoorData(CNWSPlayer *, unsigned long)
0x0812b1d8  CNWSCreature::UseSkill(unsigned char, unsigned char, unsigned long, Vector, unsigned long, unsigned long, int)
0x0812a004  CNWSCreature::UseFeat(unsigned short, unsigned short, unsigned long, unsigned long, Vector *)
0x0812bcb4  CNWSCreature::ToggleMode(unsigned char)
0x08261f94  CVirtualMachine::RunScript(CExoString *, unsigned long, int)


That was from a GDB dump of the functions - it seems that it's all at the signatures you posted. You're probably right about AssemblyHelper, but there isn't one included with the nwnx_events 1.2.2 package! I'll have a hunt on SVN and compare it, then update nwnx_easy if I find the new one and it happens to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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