Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 12:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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

Discussion on [WIP] Get SRO Source Code - by re-writing it within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 07/24/2020, 18:50   #181
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
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?
Mc-Diesel is offline  
Old 07/24/2020, 21:07   #182
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
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 ()
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:
4. If you want to show your icon immediately, add your newly created function from 3 to AfterOnCreate in CGInterface:


* I'm not sure what happens if you exceed the area the icons fit in. Technically there is no limitation.
florian0 is offline  
Old 07/25/2020, 06:01   #183
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 267

Special thanks to: florian0
thaidu0ngpr0 is offline  
Old 07/25/2020, 16:03   #184
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
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?
mudik is offline  
Old 07/25/2020, 18:29   #185
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
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
Any output in the console? Or nothing? Does it work when using edxLoader?
florian0 is offline  
Thanks
1 User
Old 07/26/2020, 04:45   #186
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
Quote:
Originally Posted by florian0 View Post
Hmm. It works for me
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.



mudik is offline  
Thanks
1 User
Old 07/26/2020, 14:33   #187
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
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).



You can get an overview about available options and the default values by looking in the file. If you want to change an option, simply edit the 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.
florian0 is offline  
Thanks
1 User
Old 07/27/2020, 13:17   #188
 
elite*gold: 36
Join Date: Mar 2010
Posts: 561
Received Thanks: 225
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
Laag#82 is offline  
Old 07/27/2020, 19:17   #189
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
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).



You can get an overview about available options and the default values by looking in the file. If you want to change an option, simply edit the 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

mudik is offline  
Old 07/27/2020, 20:08   #190
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
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.
florian0 is offline  
Thanks
1 User
Old 07/28/2020, 16:36   #191
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
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 kriege das einfach nicht weg
mudik is offline  
Old 07/28/2020, 19:03   #192
 
elite*gold: 36
Join Date: Mar 2010
Posts: 561
Received Thanks: 225
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 kriege das einfach nicht weg
From here

Laag#82 is offline  
Thanks
1 User
Old 07/28/2020, 21:46   #193
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
Quote:
Originally Posted by khaleed2010 View Post
From here


worked, thank you!
mudik is offline  
Old 07/28/2020, 21:54   #194
 
elite*gold: 0
Join Date: May 2018
Posts: 244
Received Thanks: 119
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
Hercules* is offline  
Thanks
1 User
Old 07/28/2020, 23:03   #195
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
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...
mudik is offline  
Thanks
1 User
Reply

Tags
ussless


Similar Threads Similar Threads
[Source] Fix the old exp bar - by writing code!
05/17/2020 - SRO PServer Guides & Releases - 18 Replies
Hello beloved, dead community, its time for another release. Its more of a proof of concept and I hope it might inspire people to continue working on it. You don't need the source to accomplish cool things. Just write your own source. http://i.epvpimg.com/d7hJbab.png Ye, its super ugly looking. I choose to be a coder, not a designer. I'd be happy, if someone supplies me a proper version of the 2dt and ddj files so I can update this embarrassing screenshot. Anyway. It allows you to...
[Release/WIP]EP6 Source code
04/15/2018 - Shaiya PServer Guides & Releases - 33 Replies
Hi guys, First of all, I want to say that this release is not recommended for public servers yet. Shortly ago I changed my server to ep6 using shen1l's pet.dll, the server crashed every day, after checking the dump files I discovered that the problem was in pet.dll, but without the source code it would be harder to find the cause of the problem. So I decided to start a project and release the source code for everyone, so that everyone can solve their problems more easily, and also so that...
[C++ Source] My Free Farm Bot [WIP]
06/28/2011 - Browsergames - 0 Replies
I decided to release this on here as i have no more use for it and no intention to continue the project. I am releasing 2 projects: One basic library for mff called libmff(although it is not really a library) there is an example on how to use it in the package. And a helper with a fancy gui. Note that there is almost no error checking on the helper and that it crashes if you for example forget to select a product. You need libcurl and boost for both and GWEN(the gui toolkit by garry) for...



All times are GMT +2. The time now is 12:38.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.