This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Almost working Launcher just need some quick assistance.  (Read 1513 times)

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Almost working Launcher just need some quick assistance.
« on: January 29, 2013, 01:40:12 am »
Hello I know you are all tired of my questions but I really need to figure this out.
I have the launcher compiled and working mostly. I just need it to update the patches.
I know that is a big thing to not have working but hey that's why I am here.

anyways I thought I would post what I have done to get it were its at.

It currently only loads the same patch-A.MPQ with the version file in it.

it also does the loading animation but stays at the end.

I load up the launcher. it sends a patch into my wow data folder.
I open it as instructed and take the version file the only file that is in it.
and put in the sequence that was posted

add PATHtoFILE
extract PATHtoFILE pathTOextractDESTINATION
delete PATHtoFILE

My format looks like this.

add patches/patch-4.MPQ
extract patches/patch-4.MPQ /Data
delete patch-4.MPQ

The part that confuses me is that after stating to do this in the file that was in the patch. which is version.
it says.

How working check version?
Inside file "version" or what you want name it is number of patch version... after it will check on http://your.domain/updatelist.php?versi ... IONofPATCH
Here you will add "Up to date" for no next patches or link to next patch

Which I did not completely understand but I guess I just leave the 0 in it and don't put the other stuff.

this is what is in my src

 // OPEN SOURCE SETTINGS - Can be change
    _settings->setValue("ProjectName", "World of Warcraft Ashbringer");
    _settings->setValue("ProjectVer", "3.3.5a");
    _settings->setValue("ProjectRealm", "set realmlist logon.ashbringer.org");
    _settings->setValue("ProjectWebURL", "http://ashbringer.org");
    _settings->setValue("ProjectForumURL", "http://ashbringer.org/?p=forum");
    _settings->setValue("ProjectPatchName", "patch-A.MPQ");
    _settings->setValue("ProjectPatchVersionFile", "version");
    _settings->setValue("ProjectPatchSequence", "update_sequence");
    _settings->setValue("ProjectPatchChangelog", "changelog");
    _settings->setValue("ProjectUpdateList", "http://ashbringer.org/updatelist.php");


here is the current version file just says

0

and I tried setting update_sequence to the instructed format so it is currently...

add patches/patch-4.MPQ
extract patches/patch-4.MPQ /Data
delete patch-4.MPQ


I have no idea if I am even close to doing this correctly. please let me know what I am doing wrong and how I can fix it.

Specifics are awesome. I'm not the smartest person.
But I'm trying.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Garthog

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: Almost working Launcher just need some quick assistance.
« Reply #1 on: January 29, 2013, 05:04:48 am »
Is this for the modcraft community launcher ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: Almost working Launcher just need some quick assistance.
« Reply #2 on: January 29, 2013, 07:02:20 am »
ok I figured out most of it but it is putting the files in the appdata of my user on my computer.

is there a way to change this so it puts it in the wow data folder?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Garthog

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: Almost working Launcher just need some quick assistance.
« Reply #3 on: February 07, 2013, 09:19:51 pm »
The patch should be downloaded in a temp folder, and then added to your patch in WoW/Data folder. You might want to add me on skype so that i'll explain you how it works. ( my skype is gragorundermine )
« Last Edit: January 01, 1970, 01:00:00 am by Admin »