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: [NEWS][C++] Blizzard Modcraft Community Launcher  (Read 16168 times)

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
[NEWS][C++] Blizzard Modcraft Community Launcher
« on: May 27, 2012, 08:18:22 pm »
Hello
today i present Modcraft Community Launcher based on Blizzard style!

What it do?
- Change realmlist everytime you click on button "Play"
- News from Website (you can code php system for fast news)
- Patch system (If patch doesnt exist, Launcher will create him with version 0, after start patching, if patch exist, everytime you launch Launcher it will check version of your patch)

How working patching?
Inside your new patch exist file named by your conf in Launcher. Inside file you will write(basic update_sequence)
Code: [Select]
add PATHtoFILE
extract PATHtoFILE pathTOextractDESTINATION
delete PATHtoFILE

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

How to change URL of Web inside Launcher, how to compile?
You must use Qt creator -> MainWindow.ui click on webView and in right panel change url
For compile use Qt creator

How to change settings of Launcher?
Go to source -> Utils.cpp -> Line 25
Code: [Select]
   // OPEN SOURCE SETTINGS - Can be change
    _settings->setValue("ProjectName", "OpenSource"); <--- for config
    _settings->setValue("ProjectVer", "3.3.5a"); <--- for config
    _settings->setValue("ProjectRealm", "set realmlist 127.0.0.1"); <--- for realmlist writing
    _settings->setValue("ProjectWebURL", "http://modcraft.tk"); <--- for button "Web"
    _settings->setValue("ProjectForumURL", "http://modcraft.tk"); <--- for button "Forum"
    _settings->setValue("ProjectPatchName", "patch-V.MPQ"); <--- where updater looking for version
    _settings->setValue("ProjectPatchVersionFile", "version"); <--- contain value of patch version
    _settings->setValue("ProjectPatchSequence", "update_sequence"); <--- name of update sequence
    _settings->setValue("ProjectPatchChangelog", "changelog"); <--- for future
    _settings->setValue("ProjectUpdateList", "http://test.glararan.eu/updatelist.php"); <--- where downloader search for patch checking

Source for launcher
Use launcher.rar for website content

Version: 1.0
Downloading & Updating system based on Ravash Launcher [unfinished?]

Bug reports write here please.


In future:
- Languages
- Old Blizzard updating system (changelog preview)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ever0n

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #1 on: October 05, 2012, 09:26:49 pm »
Any updates on this project?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #2 on: October 11, 2012, 04:43:48 pm »
No, it's dead, but you can develop it. You have free source code. I just end with WoW developing.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #3 on: October 12, 2012, 12:50:22 am »
has anyone successfully compiled this. I try with qtcreator. but it won't compile.
Is this normal?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #4 on: October 13, 2012, 11:30:14 am »
Qt version?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #5 on: October 13, 2012, 11:38:34 pm »
my qt creator is based on 4.7.4
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #6 on: October 13, 2012, 11:47:58 pm »
Quote from: "Serifaz"
but it won't compile.
Then tell us, what fails. Your statement is completely useless and should not even be replied to.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #7 on: October 14, 2012, 12:50:50 am »
when I compile it seems to work when run off of qtcreator but when turned on locally just by the client itself without qt creator it crashes with a dll error. but I can't know what the dll error is. I have put stormlib.dll in the exact derectory as the launcher and in launcher_data but same thing.
I also have taken all dll.s from qt and placed them in the windows directory with same result.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #8 on: October 14, 2012, 11:20:45 am »
So it compiles fine but you just fail at putting the right DLLs in the right directory. Fine.

There is no other solution to it than to put the right DLLs there.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #9 on: October 14, 2012, 11:41:49 am »
Yea schlumpf is true. When u want debug u must put right dlls. Btw my Qt was 4.8.0.
When u dont use debug and put app on desktop it must work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #10 on: October 14, 2012, 09:13:59 pm »
Quote from: "schlumpf"
Quote from: "Serifaz"
but it won't compile.
Then tell us, what fails. Your statement is completely useless and should not even be replied to.
dude. you are probably the most rude person I have met on a forum.
I don't understand what your reasoning is on trying to belittle people that did nothing to you.
I understand that you may have problems seeing that some people are not as smart as you.
but being smart does not make you have good character.
Honestly the only worthless comment in this post was insulting me,
I never directly called you out until now.But dude grow the fuck up.

PS When I wrote my first question the reason I did not post more info is because I did not have any more info it would not compile no error just wouldn't compile a exe that would run.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #11 on: October 14, 2012, 09:20:41 pm »
Quote from: "Serifaz"
Quote from: "schlumpf"
Quote from: "Serifaz"
but it won't compile.
Then tell us, what fails. Your statement is completely useless and should not even be replied to.
dude. you are probably the most rude person I have met on a forum.
I don't understand what your reasoning is on trying to belittle people that did nothing to you.
I understand that you may have problems seeing that some people are not as smart as you.
but being smart does not make you have good character.
Honestly the only worthless comment in this post was insulting me,
I never directly called you out until now.But dude grow the fuck up.
I just hate people who waste other people's time, as they want to get help without providing any or incorrect description of their problem. In your case, you were claiming it did not compile, while it did compile. This is just wasting glararan's time. Then, you did not tell which DLLs are missing or what the exact error is when starting up. This again wastes time as you could as well investigate yourself or provide either the error or the executable you compiled for others to find out what the error is.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #12 on: October 14, 2012, 09:44:12 pm »
Tip, no one force you to react on posts you think they wast your time.

If i started coding ill also had no plan how to get stuff running. And I alos have noerdays no plan ;)
But perhaps someone could just provide an windows precompiled version of the launcher? So people can test it and see if it fits the needs.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #13 on: November 17, 2012, 10:26:06 pm »
Because I noticed that there are certain needed files and qt versions to get this to work.
I thought I would include the files needed
you will need this version of QTCreator
http://dist.qt.digia.com/developer/down ... v1.0.2.exe
and the following dll files need to be put in with the launcher.

Dll Files
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kiun

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 50
    • View Profile
Re: [NEWS][C++] Blizzard Modcraft Community Launcher
« Reply #14 on: January 30, 2014, 10:34:48 pm »
Hi,

After a long fight with Qt (I didn't have any experience with the program) I managed to compile QT_Launcher.exe
BUT it gives me 11 warnings in StormLib.cpp and when I try to execute the exe, it asks me for some dlls, specifically those in my C:Qt4.8.0bin folder (suspiciously weird).
I'm not sure if this was the same problem that had Serifaz (?). If is that case, the links posted by Serifaz are broken.
Anyway I put manually the .dll from my bin folder to my QT_Launcher.exe but it just crashes before starting.

I'm using QT version 4.8.0 with MinGW compiler.

Any suggestions?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »