View previous topic :: View next topic |
Author |
Message |
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sat Dec 01, 2007 22:52 Post subject: SCO/RCO hook for MySQL plugin (finished) |
|
|
I started this 2 months ago, but I don't have much interest in NWN2 and my current NWNX4 installation is broken, so the development stopped shortly after I started.
Here are the sources of what I've done so far:
http://data.virusman.ru/nwn/nwnx4/mysql_scorco_unfinished.rar
The hook itself is (probably) working, I've copied some code from the old NWNX2 plugin (this part may need some porting), and an interface between DB plugins and SCO/RCO hooks has to be (re)written.
UPDATE: I've finished the new version (see below).
Last edited by virusman on Sun Jan 27, 2008 20:32; edited 1 time in total |
|
Back to top |
|
|
OVLD_NZ
Joined: 14 Nov 2006 Posts: 18
|
Posted: Sun Jan 27, 2008 11:57 Post subject: |
|
|
Thanks for this. I've taken your code here and hopefully merged it with the MySQL plugin. I haven't yet tested it, but it compiles successfully.
I'll hopefully get a chance to test it tomorrow..... _________________ The World of Judur - The Shadow has Awoken |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Jan 27, 2008 13:04 Post subject: |
|
|
Yes, it compiles successfully, but I wasn't able to test it as my NWNX4 installation doesn't work. Try to test it and post results here. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Jan 27, 2008 13:48 Post subject: |
|
|
I've set up a VM for testing, so I may get some results soon. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Jan 27, 2008 14:29 Post subject: |
|
|
SCO works. RCO doesn't: NWN2 uses its own memory manager, so malloc/new is not enough..
Update: Got it to work: http://www.nwnx.org/phpBB2/viewtopic.php?t=1021
Last edited by virusman on Sun Jan 27, 2008 21:32; edited 1 time in total |
|
Back to top |
|
|
OVLD_NZ
Joined: 14 Nov 2006 Posts: 18
|
Posted: Sun Jan 27, 2008 21:28 Post subject: |
|
|
Yeah, I've tested SCO and it works fine, but I couldn't get RCO to work. And as you point out yes NWN2 has it own memory manager.
Nice work, by the way. I wouldn't have been able to hook into it, that at the moment is beyond my skill level...... _________________ The World of Judur - The Shadow has Awoken |
|
Back to top |
|
|
Saulus
Joined: 24 Mar 2008 Posts: 7
|
Posted: Mon Mar 24, 2008 21:20 Post subject: |
|
|
Awesome plugin, just wish I could get it working with 1.09 on x64 |
|
Back to top |
|
|
|