Page 1 of 1

UO + sql

Posted: Fri Nov 28, 2008 7:16 am
by Krash
Hi!
I'm creatin new UO server, but i'd like to connect my serv to web DB (my site 'll be on this db too). Is it possible?
If is - describe how ... in few words...


P.s. sorry about some mistakes... English is not my native.

P.p.s db is MySql

Re: UO + sql

Posted: Fri Nov 28, 2008 8:56 pm
by Yukiko
Do you mean you want to run a POL UO server? If so, POL does not support SQL directly. However, there is a new script submission in the custom script releases section that adds some SQL functionality to POL.
http://forums.polserver.com/viewtopic.php?f=8&t=2453

Maybe that will do what you need.

Re: UO + sql

Posted: Mon Dec 01, 2008 6:36 am
by Krash
Yeah, thanks!

But where can i find code whitch writes items or accounts into file?

Re: UO + sql

Posted: Mon Dec 01, 2008 3:17 pm
by Yukiko
The world item data, accounts and character creation file IO is handled by the core and is thus not accessible. The only way I can see to access that data is to have a background process that monitors those files and writes the data to an SQL database when the files change but I am no expert so best wait for someone else who is better at programming than I.