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 ODBC2 object storage engine
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sun Jan 09, 2005 10:06    Post subject: Reply with quote

I can only speak for myself: Personally, I will not be able to port this over to Linux. The amount of resources the windows version and everything else surrounding NWNX needs is high enough as it is.

I am guessing that someone will step forward and do the port, as it was the case with the previous releases of NWNX. The only challenge would be to find the SCO/RCO functions in the linux server (not to hard with some advice) and to write the assembler code that does the hooking.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dguntner



Joined: 31 Dec 2004
Posts: 116

PostPosted: Sun Jan 09, 2005 22:26    Post subject: Reply with quote

Well I, for one, am sincerely hoping that someone (Plasma John? Tenkawa? Someone else?) will do so. If I knew C well enough, I'd jump at it. Problem is, I know it well enough to basically follow what's going on, but not well enough to actually modify something from one platform to another. And assembly is right out. Very Happy

--Dave (Keeping fingers crossed)
Back to top
View user's profile Send private message
Kosmous



Joined: 10 Jan 2005
Posts: 44

PostPosted: Mon Jan 10, 2005 7:18    Post subject: Reply with quote

anyone tried editing the object file stored in the blob field and then retrieving it?
Back to top
View user's profile Send private message
Kosmous



Joined: 10 Jan 2005
Posts: 44

PostPosted: Mon Jan 10, 2005 7:28    Post subject: Reply with quote

just tried messing with the blob entries and it wasnt causing any problems unlike when editing bioware db. Anyone else planning to do the arduous task of making SQL queries to edit the blob file via NWNX? Otherwise im gonna have to isolate certain "set in stone" properties like creature names (im assuming this hasnt been done yet for creatures). Wonder what other properties would be worth manipulating?
Back to top
View user's profile Send private message
Blacksting



Joined: 03 Jan 2005
Posts: 107

PostPosted: Mon Jan 10, 2005 7:54    Post subject: Reply with quote

This is where Leto steps in. I have been modifying creature names (and EVERYTHING else) with the LetoScript.dll for almost 6 months now. Once Dragonsong sets his sights on incorporating his GFF editing code in to the new odbc plugin all will be right in NWNville.... but it is already possible now. The one thing about "hooking" this information directly that most people do not know is that it has problems with the whole multi-player server/client update scheme. The only confident way to make sure your changes are accepted by the server and other clients is a "copy and modify" like we Leto-ers are doing now. When the engine sees the "new" object everyone is notified while direct memory changes to objects via a hook need some kind of "prodding" like a transition to be crossed.
Back to top
View user's profile Send private message
Orleron



Joined: 01 Jan 2005
Posts: 22
Location: Avlis

PostPosted: Mon Jan 10, 2005 23:45    Post subject: Reply with quote

I can say on pretty good authority that PlasmaJohn will not likely be doing the port to LINUX. He's got a lot of other stuff on his plate.
_________________
____________________
Blackdagger: The World of Avlis
http://www.avlis.org

The Confederation of Planes & Planets
"Go anywhere. Do anything."
http://www.copap.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
dguntner



Joined: 31 Dec 2004
Posts: 116

PostPosted: Tue Jan 11, 2005 7:59    Post subject: Reply with quote

Well I can always hope.... Smile

--Dave
Back to top
View user's profile Send private message
Trelantris



Joined: 08 Jan 2005
Posts: 9

PostPosted: Wed Jan 12, 2005 4:30    Post subject: connection issues Reply with quote

Ok, perhaps I'm not as smart as I though. Having issue using the new ODBC. I put in the new system, modified the INI files but don't seem to be having any luck connecting to the DB, even with the demo Module. I'm using MySQL as the back end Database, and after using the create DB sign, it says it's created, but no new table shows up in the DB. The store says it's working, but the retrieve returns 0 items. (with the Object storage) I know I'm missing something...
Back to top
View user's profile Send private message
Gibmeat



Joined: 12 Jan 2005
Posts: 1

PostPosted: Wed Jan 12, 2005 4:46    Post subject: Reply with quote

Somebody hook me up with the source code so I can work on the Linux port!
Back to top
View user's profile Send private message
Manuel



Joined: 30 Dec 2004
Posts: 51

PostPosted: Wed Jan 12, 2005 6:31    Post subject: Reply with quote

Gibmeat wrote:
Somebody hook me up with the source code so I can work on the Linux port!


It's being distrubuted in the ODBC2 plugin (now in Beta). Pap, I'm seeing 2 versions. One is on the ODBC2 Announcement page as a news item:
http://www.nwnx.org/uploads/media/nwnx_odbc2-scorco_090_01.zip

The other is on the Downloads page:
http://www.nwnx.org/uploads/media/nwnx_odbc2_090.zip

Which is current?
Back to top
View user's profile Send private message
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Wed Jan 12, 2005 9:57    Post subject: Re: connection issues Reply with quote

Trelantris wrote:
Ok, perhaps I'm not as smart as I though. Having issue using the new ODBC. I put in the new system, modified the INI files but don't seem to be having any luck connecting to the DB, even with the demo Module. I'm using MySQL as the back end Database, and after using the create DB sign, it says it's created, but no new table shows up in the DB. The store says it's working, but the retrieve returns 0 items. (with the Object storage) I know I'm missing something...


What type of connection did you use? If you are using the ODBC type connection I suggest you switch to the direct MySQL and fill in the right username, password and database name. Then it should work.
What version of MySQL do you use? It is written against the 4.1 version. So, if you've got a newer version this also might be the problem. Then you could try to download the latest ODBC driver and use that one instead of the direct connection.
Back to top
View user's profile Send private message Visit poster's website
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Jan 12, 2005 13:16    Post subject: Reply with quote

Manuel wrote:
Which is current?


The news item is out of date. Unfortunately, it can not be edited to forget the link Confused

The download section is always current.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Kosmous



Joined: 10 Jan 2005
Posts: 44

PostPosted: Wed Jan 12, 2005 18:22    Post subject: Reply with quote

i also tried the demo module which creates the sample pwobject table. It seems something is wrong with the syntax of the SQL statement (maybe not just correct with mysql in particular). I tried my own SQL queries and it works like a charm.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Jan 12, 2005 23:21    Post subject: Reply with quote

Please be more specific an add the corresponding nwnx_odbc.txt entries, otherwise I will not be able to help you.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Blacksting



Joined: 03 Jan 2005
Posts: 107

PostPosted: Thu Jan 13, 2005 0:52    Post subject: Reply with quote

The odbc source is notably absent for the 2.60 release of the main program. This means it is still not possible to recompile the odbc plugin (for those of us outside the walls of NWNX official development land.) Was the lack of source intentional?

Last edited by Blacksting on Thu Jan 13, 2005 1:19; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 3 of 8

 
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