Modcraft - The community dedicated to quality WoW modding!
Projects => Software Development => Topic started by: glararan 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)
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 (http://your.domain/updatelist.php?version=VERSIONofPATCH" onclick="window.open(this.href);return false;)
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
// 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 (https://bitbucket.org/glararan/modcraft-community-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)
-
Any updates on this project?
-
No, it's dead, but you can develop it. You have free source code. I just end with WoW developing.
-
has anyone successfully compiled this. I try with qtcreator. but it won't compile.
Is this normal?
-
Qt version?
-
my qt creator is based on 4.7.4
-
but it won't compile.
Then tell us, what fails. Your statement is completely useless and should not even be replied to.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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 (http://dist.qt.digia.com/developer/download_sdk/QtCommercialSDK-online-win-x86-v1.0.2.exe" onclick="window.open(this.href);return false;)
and the following dll files need to be put in with the launcher.
Dll Files (http://ashbringer.org:8091/Dlls.rar)
-
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?