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



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sat Mar 10, 2007 23:29    Post subject: NWNX Events Reply with quote

The current Linux verison is 1.1.4. Link: http://www.nwnx.org/phpBB2/viewtopic.php?p=5979#5979
The current Windows version is 1.0 beta. Link: http://data.virusman.ru/nwn/nwnx_events-1.0beta-win32.rar
(Only OnAttack and OnPickpocket are implemented in Windows version)

Old description:
NWNX Events 1.0 beta3 (Linux)
Provides hooks for the following events:

  • PickPocket
    - oCreature
    - oTarget
  • Attack
    - oCreature
    - oTarget
  • UseItem
    - oCreature
    - oTarget
    - oItem
    (this action can be blocked from script)
  • SelectSonversationNode (when you select any option in a conversation)
    - oPC
    - oNPC
    - nSelectedNode

http://data.virusman.ru/nwn/nwnx_events-1.0beta3-linux.rar


Last edited by virusman on Tue Jun 26, 2007 19:13; edited 13 times in total
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Sun Mar 11, 2007 7:32    Post subject: Reply with quote

You are the MAN! Smile Only problem now is I don't have a lin dev box, just servers, so I can't dev it yet. Sad

Funky
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sun Mar 11, 2007 12:38    Post subject: Reply with quote

FunkySwerve wrote:
You are the MAN! Smile Only problem now is I don't have a lin dev box, just servers, so I can't dev it yet. Sad

Funky
You don't have SSH access to your servers?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Sun Mar 11, 2007 18:46    Post subject: Reply with quote

I do, but having to up to test and down a gaming server is not super convenient, and just not possible on weekends, as all 6 servers get fairly full. If I have to I can, but deving windows is much easier for me.
Funky
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sun Mar 11, 2007 20:24    Post subject: Reply with quote

FunkySwerve wrote:
I do, but having to up to test and down a gaming server is not super convenient, and just not possible on weekends, as all 6 servers get fairly full. If I have to I can, but deving windows is much easier for me.
Funky
If all your servers run on separate machines, you can start a test server on any of them because one machine is capable of running 2-3 nwserver instances.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Sun Mar 11, 2007 22:02    Post subject: Reply with quote

Nah, 3 machines 2 instances each, and just reduced the player limit from 36 to 32 on all of em. The host is putting up a 7th though, so I should be set soon, thanks. Smile
Funky
Back to top
View user's profile Send private message
wmbc9040op



Joined: 10 Mar 2007
Posts: 6

PostPosted: Mon Mar 12, 2007 4:34    Post subject: Reply with quote

this looks really neat. The so loaded fine and the demo module works great. Is there any place to get the source though? My system uses libstdc++.so.6, the .so is compiled with libstdc++.so.5. I do have a libstdc++.so.5 for old programs, so it loads and runs. But I have to kill -9 the server to get it to exit if I use a nwnx_*.so that is using libstdc++.so.5. So I'd like to recompile with the libs here.

Great stuff though, all kinds of possibilities.
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Wed Mar 14, 2007 14:03    Post subject: Reply with quote

Couldn't you convert your new events to windows? And also, couldn't you create OnDamaged event (npc have got it) ? In case, there wil be ondamaged event with oCreature which damaged oVictim, it would possible to make feats like Smite Evil, which are hardcoded in nwn and PRC created similar feats with workaround, witch isn't best resolve. It's implemented so badly, that it is not useable to fight, only for weakest npc.

(I downloaded your win version, but OnAttack didn't work - It wrot, that probably OnAttack function don't exist or hook failed)

Thx for your contribution to nwn !

ShaDoOoW
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Mon Mar 19, 2007 2:16    Post subject: Reply with quote

NWNX2 Core 2.7 beta2
- [Linux] Added dynamic allocation for results (= no more need for spacers)
- [Linux] Improved the INI parser

NWNX2 ODBC2 [no version yet]
- [Linux] Fixed GCC 4.* compiling issue
- [Linux] Added optional SQLite support (3.3.13)
- [Linux] Fixed possible memory leak
- [Linux/Win32] Added 'charset' ini option
- [Win32] Updated SQLite to 3.3.13
- [Linux/Win32] MySQL 5.0 support

//it's not an update, I'm just showing what I'm working on


Last edited by virusman on Tue Mar 20, 2007 13:37; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Mikel of Avalon



Joined: 29 Dec 2004
Posts: 72
Location: Germany

PostPosted: Tue Mar 20, 2007 1:12    Post subject: Reply with quote

Great news, virusman. Hope changes cames in the near future.

Btw, i have a question about the nwnx_function plugin. In the log file is says i have the wrong version. Version 8094 was expected, but the latest version i have is 8099. Are there any troubles and must this be corrected?
_________________
Mikel of Avalon

Kalandur - Die vergessene Welt
Back to top
View user's profile Send private message Visit poster's website
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Tue Mar 20, 2007 9:57    Post subject: Reply with quote

Mikel of Avalon wrote:
Great news, virusman. Hope changes cames in the near future.

Btw, i have a question about the nwnx_function plugin. In the log file is says i have the wrong version. Version 8094 was expected, but the latest version i have is 8099. Are there any troubles and must this be corrected?
This is explained in the log message:
Code:
* Server build is not 8093: faction functions won't work.

Other functions must be working.
I'll add signatures to the next version for the faction functions to work on all builds.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Mikel of Avalon



Joined: 29 Dec 2004
Posts: 72
Location: Germany

PostPosted: Tue Mar 20, 2007 13:54    Post subject: Reply with quote

This explains it, and yes your right - it's 8093...
_________________
Mikel of Avalon

Kalandur - Die vergessene Welt
Back to top
View user's profile Send private message Visit poster's website
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Thu Mar 22, 2007 0:57    Post subject: Reply with quote


NWNX Events 1.1 (Linux)
  • New functions for conversations:
    Code:
        int GetCurrentNodeType();
        int GetCurrentNodeID();
        int GetCurrentAbsoluteNodeID();

    for use in conditional scripts.
  • Released the sources

http://data.virusman.ru/nwn/nwnx_events-1.1-linux.rar
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Thu Mar 22, 2007 1:00    Post subject: Reply with quote

Woot! New version of SIMTools, coming very soon. Smile
Funky
Back to top
View user's profile Send private message
Mikel of Avalon



Joined: 29 Dec 2004
Posts: 72
Location: Germany

PostPosted: Fri Mar 23, 2007 12:19    Post subject: Reply with quote

See the new nwnx_events plugin has a modified nwnx2.so into it. Is this version compatible with nwnx_leto and other plugins?
_________________
Mikel of Avalon

Kalandur - Die vergessene Welt
Back to top
View user's profile Send private message Visit poster's website
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, 3 ... 10, 11, 12  Next
Page 1 of 12

 
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