Page 1 of 2
Updating
Posted: Wed Nov 04, 2015 5:18 pm
by MasterGwuryn
Hi guys and girls,
I have never updated my server and it has become apparent that I need too as other player characters are appearing as chocobo's on the computers that are used too play, also inviting someone too a party causes game server crash, so, I need to know how to go about it, I am a total noob as far as programming and making sql scripts etc etc, will I loose the accounts and chars etc in the process? will i have too rebuild the game server? how do i actually get the updated information?
sorry if all those are simple questions but i have no idea
Dan
PS server on windows 8.1
Re: Updating
Posted: Thu Nov 05, 2015 2:28 pm
by MasterGwuryn
82 views and no replies? come on guys.......
Re: Updating
Posted: Thu Nov 05, 2015 2:39 pm
by shadowuz
MasterGwuryn wrote:Hi guys and girls,
I have never updated my server and it has become apparent that I need too as other player characters are appearing as chocobo's on the computers that are used too play, also inviting someone too a party causes game server crash, so, I need to know how to go about it, I am a total noob as far as programming and making sql scripts etc etc, will I loose the accounts and chars etc in the process? will i have too rebuild the game server? how do i actually get the updated information?
sorry if all those are simple questions but i have no idea
Dan
PS server on windows 8.1
1st back up ur account sql to reinsert them later (if you don't bk them up yes accounts/char info is lost)
then repull from git ->
https://github.com/DarkstarProject/darkstar
insert ur new sql & ur bk up account/char sql
then clean & rebuild (yes you have to rebuild server)
redo your settings(unless u bk them up too)
Re: Updating
Posted: Thu Nov 05, 2015 2:49 pm
by shadowuz
also i suggest tring irc.rizon.net channel is #darkstarproject or u can u can wait for replys on site (could take days for someone to reply)
http://portableapps.com/apps/internet/pidgin_portable
Re: Updating
Posted: Thu Nov 05, 2015 2:59 pm
by MasterGwuryn
thank you I will give this a go in a few minutes
Re: Updating
Posted: Thu Nov 05, 2015 3:28 pm
by MasterGwuryn
i get the error
git did not exit cleanly
i assume this did not update anything
Re: Updating
Posted: Thu Nov 05, 2015 5:33 pm
by shadowuz
Open Windows Explorer (right click the start button and choose Windows Explorer)
Right click on any folder select Git Clone
In the "URL" field put in the following url:
http://github.com/DarkstarProject/darkstar.git
Set the "Directory" to your choice (blank will default to current location /darkstar
Click OK.
Wait for the download to finish.
Click OK to close TortoiseGit.
Close windows explorer
At this point you have downloaded all of the source code for the latest version.
Open Navicat
Double click dspdb
Right click on dspdb and select Execute SQL File (execute batch file..)
Browse to C:\dsp\sql and select abilities.sql
Click Start
Continue this process for each file in the folder.
that will update your database (remember to reinsert your account/char files) unless u want fresh db
Open Visual Studio
Click File, Open, Project/Solution (or Ctrl+Shift+O)
Navigate to C:\dsp\win32
Select darkstar.sln
It may take a few minutes to load files.
Click Debug then Build Server (or Ctrl+Shift+B)
Building will take a few minutes.
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Re: Updating
Posted: Fri Nov 06, 2015 3:31 pm
by MasterGwuryn
thank you so much for taking the time and effort too put that together for me it is greatly appreciated
Re: Updating
Posted: Fri Nov 06, 2015 3:34 pm
by MasterGwuryn
i done goofed my accounts etc back up its seems as i cannot restore them, but nevermind its only mne and a few friends that use it at the moment.
i had a thought whilst re running all the scripts, is it possible too re-run all the scripts apart from what you want to save?
Re: Updating
Posted: Fri Nov 06, 2015 3:57 pm
by MasterGwuryn
also, exactly what do i need too backup so that no information regarding chars and accounts is lost? as is there not a separate part for example what items a char has and there mission progress and other things like that?