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 Previous  1, 2, 3, 4, 5, 6 ... 10, 11, 12  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
weldieran



Joined: 05 Aug 2005
Posts: 71

PostPosted: Tue Aug 12, 2008 22:50    Post subject: Reply with quote

acaos wrote:
The Scribe Scroll feat is actually handled in x2_inc_craft, totally in scripts.

Right now, shift/unshift aren't caught by the events plugin. What we do on Higher Ground is avoid force-saving polymorphed characters except when absolutely necessary to prevent exploits.

Acaos


duh *bonks self*
Back to top
View user's profile Send private message
acaos



Joined: 08 May 2007
Posts: 153

PostPosted: Wed Aug 13, 2008 17:46    Post subject: Reply with quote

I've enhanced NWNX Events in the Subversion repository to be able to set an individual event handler for each event if you wish (or to not fire a handler at all). This lets you optimize your module more, to not fire scripts when not needed.

Acaos
Back to top
View user's profile Send private message
weldieran



Joined: 05 Aug 2005
Posts: 71

PostPosted: Wed Aug 13, 2008 18:50    Post subject: Reply with quote

acaos wrote:
I've enhanced NWNX Events in the Subversion repository to be able to set an individual event handler for each event if you wish (or to not fire a handler at all). This lets you optimize your module more, to not fire scripts when not needed.

Acaos


yea, i can see where that'd be necessary. bioware's work is laggy enough without the additional overhead
Back to top
View user's profile Send private message
axs



Joined: 11 Feb 2005
Posts: 76

PostPosted: Thu Aug 14, 2008 22:06    Post subject: Reply with quote

Is it possible to hook learn spell event and bypass for it?
With funcs is really good opportunity to add spells alternative learning sys. Rolling Eyes.
thx.

BTW. Outdated signatures?

Quote:
X Could not find TogglePause function or hook failed: 0
X Could not find PossessFamiliar function or hook failed: 0
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Thu Aug 14, 2008 22:48    Post subject: Reply with quote

Well, i tried some thing with 2da and I think this could work:

Simply move wizard/sorc/bard's line elsewhere.

Its the same as you would create new class.
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Timear



Joined: 23 Aug 2005
Posts: 31

PostPosted: Tue Aug 19, 2008 1:41    Post subject: Reply with quote

elven wrote:
Timear wrote:
Is hooking (and supressing) of the "scribe scroll"-event possible?
With the functions the upcoming nwnexalt is providing, a custom spell-school-system would be possible.


Since scribe scroll is a feat
feats.2da wrote:
945 FEAT_SCRIBE_SCROLL

you should be able to hook that just fine.


axs wrote:
Is it possible to hook learn spell event and bypass for it?
With funcs is really good opportunity to add spells alternative learning sys. Rolling Eyes.
thx.



Learn spell... that's what i meant when i was asking for scribe-scroll. I feel so stupid now Embarassed
Back to top
View user's profile Send private message
scarface



Joined: 12 Jun 2005
Posts: 94
Location: Sweden

PostPosted: Wed Sep 10, 2008 19:48    Post subject: Reply with quote

Is there any way to prevent the action queue being interrupted when bypassing the use item event? It's really annoying when players have to reinitiate attack mode after using an item with this event hooked ( it interupts without the hook, which is why I wanted to use the hook to begin with ).
Back to top
View user's profile Send private message
acaos



Joined: 08 May 2007
Posts: 153

PostPosted: Thu Sep 11, 2008 7:57    Post subject: Reply with quote

The action queue is not interrupted - only attacking is. I'd have to go over the code more closely to see if this could be changed.

Acaos
Back to top
View user's profile Send private message
scarface



Joined: 12 Jun 2005
Posts: 94
Location: Sweden

PostPosted: Mon Sep 15, 2008 17:51    Post subject: Reply with quote

Any news on my request?

Cheers.
Back to top
View user's profile Send private message
jec2



Joined: 17 Jul 2008
Posts: 49

PostPosted: Thu Sep 18, 2008 9:27    Post subject: Events Plug error Reply with quote

Occasionally getting this message :

EVENTS: OnCreate() failed.

Doesn't happen every time it restarts, and at next restart after that, it may go away.. any thoughts? using checkout 180 from svn, but this has been happening for a while..
what effect (if any ) would it have on the server when it runs like that till next reset? i am providing the server info from 3 resets, so you can see it in between 2 resets, where only the one in the middle shows the error..


NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0xf7f2b776
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0xf7f2b1ea
* Parsing configuration...
NWN Extender v2.8-dev
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2008 by virusman and Acaos
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Searching for signatures...
* Loading modules...
LETO plugin registered.
CHAT plugin registered.
RESETPLUGIN plugin registered.
ODBC plugin registered.
FUNCS plugin registered.
EVENTS plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "Chaotic World".................................................................................................................. ..........
Server: Module loaded
INIT(S): valid ret=0x082041ec
INIT(S): reset ignored ret=0x082041ec
NWNX!INIT enforcement disabled, using 0x08203e79
Server: Exiting...
NWNX2lib: Server exiting.

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0xf7f24776
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0xf7f241ea
* Parsing configuration...
NWN Extender v2.8-dev
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2008 by virusman and Acaos
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Searching for signatures...
* Loading modules...
LETO plugin registered.
CHAT plugin registered.
RESETPLUGIN plugin registered.
ODBC plugin registered.
FUNCS plugin registered.
ERROR: EVENTS: OnCreate() failed.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "Chaotic World".................................................................................................................. ..........
Server: Module loaded
INIT(S): valid ret=0x082041ec
INIT(S): reset ignored ret=0x082041ec
Server: Exiting...
NWNX2lib: Server exiting.

NWNX2lib: Init
NWNX2lib: org SetString() at 0x81f41b4, new SetString() at 0xf7fb7776
NWNX2lib: org GetObj() at 0x81f40bc, new GetObj() at 0xf7fb71ea
* Parsing configuration...
NWN Extender v2.8-dev
(c) 2004 by the APS/NWNX Linux Conversion Group
(c) 2007-2008 by virusman and Acaos
Based on the Win32 version (c) 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
visit us at http://www.avlis.org

* Searching for signatures...
* Loading modules...
LETO plugin registered.
CHAT plugin registered.
RESETPLUGIN plugin registered.
ODBC plugin registered.
FUNCS plugin registered.
EVENTS plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004

Server: Loading...
Server: Running...

Server: Loading module "Chaotic World".................................................................................................................. ..........
Server: Module loaded
INIT(S): valid ret=0x082041ec
INIT(S): reset ignored ret=0x082041ec
NWNX!INIT enforcement disabled, using 0x08203e79
Server: Exiting...

thanks Smile
jec.
Back to top
View user's profile Send private message
acaos



Joined: 08 May 2007
Posts: 153

PostPosted: Thu Sep 18, 2008 21:39    Post subject: Reply with quote

scarface wrote:
Any news on my request?


I did some research and it would take a while to do. However, using instant feats doesn't disable attacking - you might consider using those instead.

jec2 wrote:
Occasionally getting this message :

EVENTS: OnCreate() failed.


You'll need to post the output of the nwnx_events.txt log as well.

Acaos
Back to top
View user's profile Send private message
scarface



Joined: 12 Jun 2005
Posts: 94
Location: Sweden

PostPosted: Fri Sep 19, 2008 12:25    Post subject: Reply with quote

acaos wrote:
scarface wrote:
Any news on my request?


I did some research and it would take a while to do. However, using instant feats doesn't disable attacking - you might consider using those instead.

Acaos


Thanks for the reply, however the direct problem I'm having is the activate item event stopping the action queue. I have scripted feats on items, the action queue should not be interupted, or at least a way of getting the target who the pc was attacking at the time of use, so that I can assign the attack command, but none of the target aquiring feats for attacks work in non attack events.
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Sat Sep 20, 2008 4:45    Post subject: Reply with quote

Items don't break the action cue by default. Sounds like you have a ClearAll in the script. Or am I misunderstanding?

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



Joined: 08 May 2007
Posts: 153

PostPosted: Sat Sep 20, 2008 22:08    Post subject: Reply with quote

Using an instant-use item done with nwnx_events stops attacking. It doesn't break the action queue, but it does clear the sword icon.

Acaos
Back to top
View user's profile Send private message
scarface



Joined: 12 Jun 2005
Posts: 94
Location: Sweden

PostPosted: Sun Sep 21, 2008 21:33    Post subject: Reply with quote

acaos wrote:
Using an instant-use item done with nwnx_events stops attacking. It doesn't break the action queue, but it does clear the sword icon.

Acaos


Yep sorry, I meant "Attack" action, that is the issue the same issue happens if an item is activated without the events plugin, this is an undesired effect, any way we can work around it?
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 Previous  1, 2, 3, 4, 5, 6 ... 10, 11, 12  Next
Page 5 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