[WIP] Get SRO Source Code - by re-writing it

07/24/2020 18:50 Mc-Diesel#181
Can't i create another Guide icon ? i create it by copying class and modify it but it still didn't show but when i use Ginterface it appear can't i use it without ginterface?
07/24/2020 21:07 florian0#182
Quote:
Originally Posted by Mc-Diesel View Post
Can't i create another Guide icon ? i create it by copying class and modify it but it still didn't show but when i use Ginterface it appear can't i use it without ginterface?
You can create as many* icons as you want.

1. Make another class like the already existing CIFflorian0Guide
2. Add a case for that class in CAlramManagerWnd ([Only registered and activated users can see links. Click Here To Register...])
ATTENTION: There is a bug in the current code. Each case NEEDS! to have a "break" in the end. The break for CIFflorian0Guide is missing.
3. Make a function like CreateFlorian0Event in CGInterface to keep the code tidy: [Only registered and activated users can see links. Click Here To Register...]
4. If you want to show your icon immediately, add your newly created function from 3 to AfterOnCreate in CGInterface: [Only registered and activated users can see links. Click Here To Register...]


* I'm not sure what happens if you exceed the area the icons fit in. Technically there is no limitation.
07/25/2020 06:01 thaidu0ngpr0#183
[Only registered and activated users can see links. Click Here To Register...]
Special thanks to: florian0
07/25/2020 16:03 mudik#184
wenn ich DevKit_DLL.dll in meinen client einfüge, bleibt es nach dem Start Knopf bei launcher hängen gibt es da eine lösung dazu?
07/25/2020 18:29 florian0#185
Quote:
Originally Posted by mudik View Post
wenn ich DevKit_DLL.dll in meinen client einfüge, bleibt es nach dem Start Knopf bei launcher hängen gibt es da eine lösung dazu?
Hmm. It works for me :kappa:
Any output in the console? Or nothing? Does it work when using edxLoader?
07/26/2020 04:45 mudik#186
Quote:
Originally Posted by florian0 View Post
Hmm. It works for me :kappa:
Any output in the console? Or nothing? Does it work when using edxLoader?
Erstmal danke für deine schnelle antwort. es lag irgendwie an den client den ich nutze. hätte da noch eine sache kannst du mir sagen wie ich diesen fenster beenden kann also das es wie das ganz normal silkroad startet.

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
07/26/2020 14:33 florian0#187
Quote:
Originally Posted by mudik View Post
kannst du mir sagen wie ich diesen fenster beenden kann also das es wie das ganz normal silkroad startet.
Since this is a question that is asked quite often as DevKit gains popularity, I've now added an option for this (and for other features).

[Only registered and activated users can see links. Click Here To Register...]

You can get an overview about available options and the default values by looking in the [Only registered and activated users can see links. Click Here To Register...] file. If you want to change an option, simply edit the [Only registered and activated users can see links. Click Here To Register...] file (or your cmake commandline) as following.

To enable the ChatViewer supplied by DevKit, you need to enable CONFIG_CHATVIEWER, which is disabled by default. To do this, add "-DCONFIG_CHATVIEWER=ON" to your cmake command like this

Code:
cmake -G "Visual Studio 10 2010" -T v80 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONFIG_CHATVIEWER=ON ..
Then update the project files by running the cmd-file again.

To disable the console, add "-DCONFIG_DEBUG_CONSOLE=OFF" to your cmd-file like before. The log messages are still redirected and therefore don't appear in the dump-files anymore. You can disable this behaviour by adding "-DCONFIG_DEBUG_REDIRECT_PUTDUMP=OFF" to your command.

You can chain multiple options like so:
Code:
cmake -G "Visual Studio 10 2010" -T v80 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONFIG_CHATVIEWER=ON -DCONFIG_DEBUG_CONSOLE=OFF -DCONFIG_DEBUG_REDIRECT_PUTDUMP=OFF ..
There's also an option to disable Imgui, which can be set like shown before.


Troubleshooting:
Make sure you don't accidentally delete the ".." in the end. Doesn't seem like much, but these are mandatory.
07/27/2020 13:17 Laag#82#188
Quote:
Originally Posted by mudik View Post
wenn ich DevKit_DLL.dll in meinen client einfüge, bleibt es nach dem Start Knopf bei launcher hängen gibt es da eine lösung dazu?
gute Arbeit

Der Beginn des Lernens :)
07/27/2020 19:17 mudik#189
Quote:
Originally Posted by florian0 View Post
Since this is a question that is asked quite often as DevKit gains popularity, I've now added an option for this (and for other features).

[Only registered and activated users can see links. Click Here To Register...]

You can get an overview about available options and the default values by looking in the [Only registered and activated users can see links. Click Here To Register...] file. If you want to change an option, simply edit the [Only registered and activated users can see links. Click Here To Register...] file (or your cmake commandline) as following.

To enable the ChatViewer supplied by DevKit, you need to enable CONFIG_CHATVIEWER, which is disabled by default. To do this, add "-DCONFIG_CHATVIEWER=ON" to your cmake command like this

Code:
cmake -G "Visual Studio 10 2010" -T v80 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONFIG_CHATVIEWER=ON ..
Then update the project files by running the cmd-file again.

To disable the console, add "-DCONFIG_DEBUG_CONSOLE=OFF" to your cmd-file like before. The log messages are still redirected and therefore don't appear in the dump-files anymore. You can disable this behaviour by adding "-DCONFIG_DEBUG_REDIRECT_PUTDUMP=OFF" to your command.

You can chain multiple options like so:
Code:
cmake -G "Visual Studio 10 2010" -T v80 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONFIG_CHATVIEWER=ON -DCONFIG_DEBUG_CONSOLE=OFF -DCONFIG_DEBUG_REDIRECT_PUTDUMP=OFF ..
There's also an option to disable Imgui, which can be set like shown before.


Troubleshooting:
Make sure you don't accidentally delete the ".." in the end. Doesn't seem like much, but these are mandatory.
bekomme alles hin mit deiner erklärung, nur eine sache kriege ich nicht hin das hier zu beenden. Kannst du mir bitte sagen was ich hier ausstellen muss

[Only registered and activated users can see links. Click Here To Register...]
07/27/2020 20:08 florian0#190
Quote:
Originally Posted by mudik View Post

Quote:
Originally Posted by florian0 View Post
[...]
You can get an overview about available options and the default values by looking in the options.cmake file.
[...]
There's also an option to disable Imgui, which can be set like shown before.
[...]
Kannst du mir bitte sagen was ich hier ausstellen muss
Just do as described and add the correct options to your CMake Commandline.
07/28/2020 16:36 mudik#191
Quote:
Originally Posted by florian0 View Post
Just do as described and add the correct options to your CMake Commandline.

hab genau das befolgt wie du es mir aufgeschrieben hast und erklärt hast aber es funktioniert einfach nicht [Only registered and activated users can see links. Click Here To Register...] kriege das einfach nicht weg
07/28/2020 19:03 Laag#82#192
Quote:
Originally Posted by mudik View Post
hab genau das befolgt wie du es mir aufgeschrieben hast und erklärt hast aber es funktioniert einfach nicht [Only registered and activated users can see links. Click Here To Register...] kriege das einfach nicht weg
From here

[Only registered and activated users can see links. Click Here To Register...]
07/28/2020 21:46 mudik#193
Quote:
Originally Posted by khaleed2010 View Post
From here

[Only registered and activated users can see links. Click Here To Register...]

worked, thank you!
07/28/2020 21:54 Hercules*#194
Quote:
Originally Posted by mudik View Post
worked, thank you!
there is other way just set the imgui off on
options.cmake

Code:
option(CONFIG_IMGUI "Enable ImGui" OFF)
if (CONFIG_IMGUI)
    add_definitions(-DCONFIG_IMGUI)
endif()
remember to rebuild the src
07/28/2020 23:03 mudik#195
Quote:
Originally Posted by florian0 View Post
Just do as described and add the correct options to your CMake Commandline.

Ich muss mich bei dir entschuldigen, hab da einen sehr dummen fehler gemacht und CONFIG_IMGUI "Enable ImGui" ON nicht off gemacht da ich dachte es wären die in game GUI´s...