View previous topic :: View next topic |
Author |
Message |
weldieran
Joined: 05 Aug 2005 Posts: 71
|
Posted: Tue Aug 12, 2008 22:50 Post subject: |
|
|
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 |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Wed Aug 13, 2008 17:46 Post subject: |
|
|
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 |
|
|
weldieran
Joined: 05 Aug 2005 Posts: 71
|
Posted: Wed Aug 13, 2008 18:50 Post subject: |
|
|
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 |
|
|
axs
Joined: 11 Feb 2005 Posts: 76
|
Posted: Thu Aug 14, 2008 22:06 Post subject: |
|
|
Is it possible to hook learn spell event and bypass for it?
With funcs is really good opportunity to add spells alternative learning sys. .
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 |
|
|
ShaDoOoW
Joined: 20 Aug 2005 Posts: 584
|
Posted: Thu Aug 14, 2008 22:48 Post subject: |
|
|
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 |
|
|
Timear
Joined: 23 Aug 2005 Posts: 31
|
Posted: Tue Aug 19, 2008 1:41 Post subject: |
|
|
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. .
thx. |
Learn spell... that's what i meant when i was asking for scribe-scroll. I feel so stupid now |
|
Back to top |
|
|
scarface
Joined: 12 Jun 2005 Posts: 94 Location: Sweden
|
Posted: Wed Sep 10, 2008 19:48 Post subject: |
|
|
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 |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Thu Sep 11, 2008 7:57 Post subject: |
|
|
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 |
|
|
scarface
Joined: 12 Jun 2005 Posts: 94 Location: Sweden
|
Posted: Mon Sep 15, 2008 17:51 Post subject: |
|
|
Any news on my request?
Cheers. |
|
Back to top |
|
|
jec2
Joined: 17 Jul 2008 Posts: 49
|
Posted: Thu Sep 18, 2008 9:27 Post subject: Events Plug error |
|
|
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
jec. |
|
Back to top |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Thu Sep 18, 2008 21:39 Post subject: |
|
|
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 |
|
|
scarface
Joined: 12 Jun 2005 Posts: 94 Location: Sweden
|
Posted: Fri Sep 19, 2008 12:25 Post subject: |
|
|
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 |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Sat Sep 20, 2008 4:45 Post subject: |
|
|
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 |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Sat Sep 20, 2008 22:08 Post subject: |
|
|
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 |
|
|
scarface
Joined: 12 Jun 2005 Posts: 94 Location: Sweden
|
Posted: Sun Sep 21, 2008 21:33 Post subject: |
|
|
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 |
|
|
|