Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

ODBC Config Setup for RF Online

Newbie Spellweaver
Joined
Jan 8, 2012
Messages
66
Reaction score
5
It's so boring to add odbc settings for each new RF server installation so I've made simple bat script to add odbc settings. Server requires only user DSN, so it just add it.
Default dbs are BILLING, RF_User, RF_World. If you want to change it - edit it in bat file :)

Bat file download:


Script itself:
Code:

 [USER=2000306500]Echo[/USER] off
set bil=BILLING
set acc=RF_User
set wld=RF_World
%WINDIR%\System32\odbcconf.exe CONFIGDSN "SQL Server" "DSN=%bil%|Description=|SERVER=(local)|Trusted_Connection=Yes|Database=%bil%"
%WINDIR%\System32\odbcconf.exe CONFIGDSN "SQL Server" "DSN=%acc%|Description=|SERVER=(local)|Trusted_Connection=Yes|Database=%acc%"
%WINDIR%\System32\odbcconf.exe CONFIGDSN "SQL Server" "DSN=%wld%|Description=|SERVER=(local)|Trusted_Connection=Yes|Database=%wld%"
 
Back
Top