View previous topic :: View next topic |
Author |
Message |
ronchese
Joined: 30 Dec 2007 Posts: 30
|
Posted: Mon Dec 31, 2007 1:09 Post subject: Yeah!!! NwnX2 with .NET |
|
|
Yea, it is not a joke!
I have created a plugin that calls a .NET Assembly (dll) and it works like a charm!
I made a package where you can test it quickly, if you have NwnX2 already set and working.
ftp://lod.redirectme.net:22/DotNetPlugin.zip
The package contains ERF, MOD and source of the plugin and the .NET Assembly, plus documentation (readme.txt contains more details).
I'll wait your observations about the plugin. ^^
Cesar |
|
Back to top |
|
|
ronchese
Joined: 30 Dec 2007 Posts: 30
|
Posted: Mon Dec 31, 2007 2:11 Post subject: |
|
|
Found some fix and improvements to do:
* 30.12.2007: v1.1
- Bugfix: fixed the command string in the dotnetplugin_inc include
- Bugfix: was raising an error on calling methods with one parameter or more
- New: Added GetDate(Format) function to the Assembly
- New: Added a treatment for overloaded functions (different parameter counts are reccomended)
ftp://lod.redirectme.net:22/DotNetPlugin-v1.1.zip |
|
Back to top |
|
|
ronchese
Joined: 30 Dec 2007 Posts: 30
|
Posted: Tue Jan 01, 2008 21:31 Post subject: Update 1.3 |
|
|
New update v1.3:
For who were not able to run the plugin, that's because your system has not Visual Studio C++ dependencies installed.
Then, I made a setup that will install all dependencies (but .Net Framework) and put all the files in the C:\NeverwinterNights\NWN\NWNX folder (if you choose default path). Also, a copy of ERF and MOD are saved in their respective folders, to easy starting.
download it here:
ftp://lod.redirectme.net:22/NWNXDotNetPluginSetup.zip
* 30.12.2007: v1.3
- New: TESTED! YOU CAN DEBUG the .DLL Assembly by attaching to the NwServer.exe.
To do this, you should use Visual Studio, go to Debug menu, Attach to Process.
Then select nwserver.exe and click Attach button
- New: added support to INI file, under session [DOTNET]
- added ServerVaultPath configuration
- New: added pre-built function to remove characters from servervault
- New: added prototypes for pre-built functions in the dotnetfunc_inc include file
- New: packed the files into a setup file |
|
Back to top |
|
|
kungfoowiz
Joined: 12 Oct 2006 Posts: 61
|
Posted: Wed Jan 02, 2008 8:52 Post subject: |
|
|
Nice job bro - this could come in handy at some point, perhaps in NWNX4.
Where are source files installed? I can't seem to find them. |
|
Back to top |
|
|
Gryphyn
Joined: 20 Jan 2005 Posts: 431
|
Posted: Wed Jan 02, 2008 8:59 Post subject: |
|
|
kungfoowiz wrote: | Nice job bro - this could come in handy at some point, perhaps in NWNX4.
Where are source files installed? I can't seem to find them. |
Especially with NWNX4...
Instant access to the NWN2 toolset assemblies/classes.
Just waiting for the detours version of NWNX4 (to be the main dev branch)
Cheers
Gryphyn |
|
Back to top |
|
|
ronchese
Joined: 30 Dec 2007 Posts: 30
|
Posted: Tue Jan 08, 2008 4:23 Post subject: |
|
|
^^ Thanks.
The source files are in the NWNX folder the setup creates. If you dont change the default install folder, the path is C:\NeverwinterNights\Nwn\NWNX.
Tell me if you still not found the files. There is source for the NwnX plugin, plus the .NET project.
ftp://lod.redirectme.net:22/NWNXDotNetPluginSetup.zip
[]s
Cesar |
|
Back to top |
|
|
ronchese
Joined: 30 Dec 2007 Posts: 30
|
|
Back to top |
|
|
Enigmatic
Joined: 19 Jul 2008 Posts: 3 Location: Adelaide, South Australia
|
Posted: Sat Jul 19, 2008 15:31 Post subject: |
|
|
Is there a version available for NWNX4 that works on NWN2? |
|
Back to top |
|
|
Undertowe
Joined: 03 Jan 2005 Posts: 33
|
Posted: Tue Aug 19, 2008 19:57 Post subject: |
|
|
Any news on getting this functionality ported to NWNX4? I could really use it! |
|
Back to top |
|
|
Undertowe
Joined: 03 Jan 2005 Posts: 33
|
|
Back to top |
|
|
RamaDeveloper
Joined: 19 Mar 2009 Posts: 13 Location: UK
|
Posted: Thu Mar 19, 2009 4:06 Post subject: Why thank you ! - works a treat |
|
|
Very nice work, I've just joined here to congratulate you on a fine idea nicely implemented !
(Hello to all, newbie developer here - looks around timidly at hooded figures in dark corners... ;^) - well, newbie here, been a professional coder of C for 20 years, started NWN just over a year ago.
I've added a 'Class' parameter to my DotNetExecute so the Execute.bas can switch on it and employ a range of c# classes in other dlls and it's working a treat ! - thanks a million
I've been using NWNX2 for a while to get at my SQLServer and was always hankering for something like this.
I had been planning to use SQL/CLR integration to call DLLs within stored procedures but this is much better.
It's most opportune for me right now, I've pretty much completed the world and physics stuff for a PW I'm building (called Rama) and have 3700 or so commoner NPCs to write some AI for - now I can write it in c# ! _________________ Chris |
|
Back to top |
|
|
ronchese
Joined: 30 Dec 2007 Posts: 30
|
Posted: Sat Sep 15, 2012 12:13 Post subject: Woah |
|
|
Been out for so long. Glad to see it is being useful to people. ^^ |
|
Back to top |
|
|
Lea_Andersteen
Joined: 15 Sep 2012 Posts: 5
|
Posted: Sat Sep 15, 2012 23:57 Post subject: |
|
|
Do u have the code somewhere? the downloadlink isnt ok |
|
Back to top |
|
|
ronchese
Joined: 30 Dec 2007 Posts: 30
|
|
Back to top |
|
|
Lea_Andersteen
Joined: 15 Sep 2012 Posts: 5
|
Posted: Sun Sep 16, 2012 13:27 Post subject: |
|
|
Thanks a lot
Uploaded with ImageShack.us
I presume there is a problem and plugin misfunction?
In the log its loaded. I installed on an XP virtual machine dot net 2.0 sp2, visual c++ redistribuables and nwnx, using nwnx 2.0 launcher. |
|
Back to top |
|
|
|