View previous topic :: View next topic |
Author |
Message |
captainfrostbyte
Joined: 10 Aug 2006 Posts: 2
|
Posted: Thu Aug 10, 2006 17:35 Post subject: Converting from windows to Linux |
|
|
Okay... i've been reading over the forums and don't see any real info on this, and i'm still new as a scripter so I'll ask outright.
I currently host a PVP mod using NWNX to store player XP, Banned users, Valid DM accounts, and a few other details. The mod's creators hosted and built every thing under windows, but i am unhappy with the perfomance under windows and would like to move it all to linux, and as a relative newcommer to nwnx and scripting in genral, i turn to the experts for an estimate on complexity.
the only plugin being used is Leto.
SOOO the question is this, How much is involved in moving a mod from Windows +NWNX + MSACCESS/SQL to Linux +NWNX + mysql ? I don't want to have a big hassel every time a scripter makes a change (there are two others doing 99% of the scripting right now, and they are both windows users)
Thanks in advance for the feedback. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Thu Aug 10, 2006 17:58 Post subject: Re: Converting from windows to Linux |
|
|
captainfrostbyte wrote: | Okay... i've been reading over the forums and don't see any real info on this, and i'm still new as a scripter so I'll ask outright.
I currently host a PVP mod using NWNX to store player XP, Banned users, Valid DM accounts, and a few other details. The mod's creators hosted and built every thing under windows, but i am unhappy with the perfomance under windows and would like to move it all to linux, and as a relative newcommer to nwnx and scripting in genral, i turn to the experts for an estimate on complexity.
the only plugin being used is Leto.
SOOO the question is this, How much is involved in moving a mod from Windows +NWNX + MSACCESS/SQL to Linux +NWNX + mysql ? I don't want to have a big hassel every time a scripter makes a change (there are two others doing 99% of the scripting right now, and they are both windows users)
Thanks in advance for the feedback. | It must be relatively simple, I think. Just change some constants in scripts, import/export your DB, etc.. |
|
Back to top |
|
|
xaltos
Joined: 03 Jun 2006 Posts: 31 Location: Germany
|
Posted: Wed Aug 16, 2006 18:57 Post subject: |
|
|
I have done the same in the other direction for our server a few month ago. ( Unix -> Windows)
There are no bigger problems.
You can use the same module for unix and windows. Just make sure you are using the binary mode with your FTP program.
The only problem that I remember was , that one gamespy id's had a exotic french character in the name ( e.g. é è ).
This lokked a bit diffrent under windows and the player coudn't see his files. |
|
Back to top |
|
|
captainfrostbyte
Joined: 10 Aug 2006 Posts: 2
|
Posted: Wed Aug 16, 2006 19:04 Post subject: |
|
|
so you had no scripting changes in the module to move it over? and did you change access when you moved it over? or leave it with one of the open source DB's? |
|
Back to top |
|
|
odenien
Joined: 26 Sep 2005 Posts: 37
|
Posted: Sun Aug 20, 2006 13:07 Post subject: |
|
|
The only possible change would be if you have a delete character function with a hardcoded path. Going from "\" to "/". I was on a project where we used LETO and our to main servers were unix, but we developed and tested on Windows. There was no physical difference in the mod to do that.
You will find that you will not be using the latest NWNX2 components, but I think LETO has sync'd up his code to use the two different versions. |
|
Back to top |
|
|
|