View previous topic :: View next topic |
Author |
Message |
Idelish / Lyo
Joined: 02 Sep 2011 Posts: 10
|
Posted: Fri Nov 25, 2011 13:30 Post subject: How to make NWNCX plugin (Hook critical) |
|
|
Good morning,
I want to know what steps/applications should I go/have to create a critical hook. I need to work only on the client side (NWNCX). I have a medium programming knowledge, but do not know what applications or steps need to create the plugin. I know "terra777" are created a NWNX which plugin hook does what I want, my intention is to try to replicate it in NWNCX.
Any answer will help me.
PS If you knows another way to hook without leaving the client side please let me know, do not do me all the work, only how to start.
I just need to set a 1 to a variable on the critical damager or receiver, when the critical happens (if is inmune or not, but not for this matter). |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Nov 25, 2011 17:25 Post subject: |
|
|
Critical hits are calculated on the server, so you should make a NWNX plugin and make sure it works with the client (doesn't use absolute addresses, etc.), then run NWNCX with nwncx_nwnxbridge.dll (this NWNCX plugin will attach all available NWNX plugins to the client). _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
Idelish / Lyo
Joined: 02 Sep 2011 Posts: 10
|
Posted: Mon Nov 28, 2011 23:14 Post subject: |
|
|
Hi, if I understand correctly, without having to connect to a remote server can run plugins of NWNX on NWNCX, is that correct?. In that case, how would check that the system loads the functions of the plugins? and also, how do I access them?.
Excuse me for my ignorance of NWNX but so far had not used it |
|
Back to top |
|
|
Idelish / Lyo
Joined: 02 Sep 2011 Posts: 10
|
Posted: Fri Dec 02, 2011 0:40 Post subject: |
|
|
I keep waiting for an answer, thanks. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Dec 02, 2011 7:53 Post subject: |
|
|
nwmain.exe contains both server and client. So NWNX Bridge plugin launches NWNX and plugins, allowing to use NWNX (server-side) functionality in single-player. _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
|