Register for your free account! | Forgot your password?

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

  • 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 06/04/2020, 22:56   #151
 
elite*gold: 0
Join Date: Nov 2010
Posts: 132
Received Thanks: 9
Quote:
Originally Posted by florian0 View Post
The Wiki has a guide on how to setup Visual Studio 2010. Make sure to follow all the steps:

The guide should work on other Visual Studio versions as well (you'll only need to change the VS Version in the generate_project.cmd file), but since I quit using Visual Studio as an IDE overall, I can't test it.

Sorry about the cryptic codes. These are no errors, just compiler flags. I use these to compare different environments.

Visual Studio 2005 is not supported as an IDE, because CMake dropped Visual Studio 2005 support. SRO_DevKit already requires a bunch of different tools, I didn't want to make it even more complicated by depending on an outdated CMake version.

HAVE ERROR THATS !


The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:1 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:1 (project):
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.


Configuring incomplete, errors occurred!
See also "C:/Users/Ömer YUMBUL/Desktop/sro_devkit-devel/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Ömer YUMBUL/Desktop/sro_devkit-devel/build/CMakeFiles/CMakeError.log".
kanka5252 is offline  
Old 06/06/2020, 09:28   #152
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
Quote:
Originally Posted by kanka5252 View Post
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:1 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.
cl is the compiler. It can't find the compiler. That's weird. Did you install Visual Studio 2005? Which version did you install? What happens if you press "Windows Key + R" and enter "%VS80COMNTOOLS%"? Does it open a folder? Is there a file named "vsvars32.bat"?
florian0 is offline  
Old 06/06/2020, 18:06   #153
 
elite*gold: 0
Join Date: Nov 2010
Posts: 132
Received Thanks: 9
Quote:
Originally Posted by florian0 View Post
cl is the compiler. It can't find the compiler. That's weird. Did you install Visual Studio 2005? Which version did you install? What happens if you press "Windows Key + R" and enter "%VS80COMNTOOLS%"? Does it open a folder? Is there a file named "vsvars32.bat"?
Yes, folder is opening and have "vsvars32.bat" i installed vs 2005.
kanka5252 is offline  
Old 06/07/2020, 17:59   #154
 
elite*gold: 1792
Join Date: Mar 2010
Posts: 561
Received Thanks: 226
Quote:
Originally Posted by kanka5252 View Post
Yes, folder is opening and have "vsvars32.bat" i installed vs 2005.




good luck


Special Thanks To: florian0
Laag#82 is online now  
Old 06/07/2020, 18:39   #155
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
Quote:
Originally Posted by kanka5252 View Post
Yes, folder is opening and have "vsvars32.bat" i installed vs 2005.
How did you try to generate the project?
florian0 is offline  
Old 06/07/2020, 21:23   #156
 
elite*gold: 0
Join Date: Nov 2010
Posts: 132
Received Thanks: 9
Quote:
Originally Posted by florian0 View Post
How did you try to generate the project?
With command prompt...
kanka5252 is offline  
Old 06/08/2020, 14:32   #157
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
after install everything is required after pressing on make_project_vs2010 nothing happen i have installed vs 2010 professinal and have "vsvars32.bat" installed vs 2005.
Mc-Diesel is offline  
Old 06/08/2020, 20:19   #158
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
Quote:
Originally Posted by kanka5252 View Post
With command prompt...
Are you using the make_project_vs2010.cmd ? "cl" error should not occur when using the cmd-file ...
If not, please do. If yes, please follow the instructions below.

Quote:
Originally Posted by Mc-Diesel View Post
after install everything is required after pressing on make_project_vs2010 nothing happen i have installed vs 2010 professinal and have "vsvars32.bat" installed vs 2005.
I've created a small Troubleshooting section in the new (not yet announced) documentation. I hope it helps.



Quote:
Troubleshooting

If you can not see a Visual Studio project after running make_project_vs2010.cmd, open the file and add a pause in a new line at the end. Save, then run it again. The console window should now stay open and you can read the error message.

If it states cmake.exe Command not found, make sure you installed CMake correctly. Double check the settings regarding "Add CMake to PATH variable". Refer to the CMake Setup Guide if in doubt.

If it states something about imgui or directx files not found, make sure you downloaded the project using Git, and not with the download button on GitLab.
florian0 is offline  
Old 06/09/2020, 14:41   #159
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
i got crash on select Char After adding ifflorin , ginterface.txt imGui loaded and once i click on init Event Or System log on login screen i got crash Dump files didn't show anything
Mc-Diesel is offline  
Old 06/09/2020, 16:20   #160
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
Quote:
Originally Posted by Mc-Diesel View Post
i got crash on select Char After adding ifflorin , ginterface.txt imGui loaded and once i click on init Event Or System log on login screen i got crash Dump files didn't show anything
There's an error in the code. I forgot that I still need to fix it.

You need to uncomment that line.

Crashing before login is normal since ginterface.txt is loaded after selecting the char. Before, the windows are not loaded.
florian0 is offline  
Old 06/09/2020, 17:34   #161
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
Quote:
Originally Posted by florian0 View Post
There's an error in the code. I forgot that I still need to fix it.

You need to uncomment that line.

Crashing before login is normal since ginterface.txt is loaded after selecting the char. Before, the windows are not loaded.
Same problem Still Got Crash On select char once i select char and press comfirm client crash

is there anything wrong with ginterface !

Look Crash after selecting char

Mc-Diesel is offline  
Old 06/09/2020, 20:07   #162
 
elite*gold: 0
Join Date: Jun 2017
Posts: 80
Received Thanks: 37
Quote:
Originally Posted by Mc-Diesel View Post
Same problem Still Got Crash On select char once i select char and press comfirm client crash

is there anything wrong with ginterface !

Look Crash after selecting char


PHP Code:
//RegisterObject(&GFX_RUNTIME_CLASS(CIFflorian0)); 
to

PHP Code:
RegisterObject(&GFX_RUNTIME_CLASS(CIFflorian0)); 
Add
Code:
resinfo\ifflorian0.txt
in client
WhyKillMyFox is offline  
Old 06/09/2020, 20:51   #163
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
Quote:
Originally Posted by WhyKillMyFox View Post
PHP Code:
//RegisterObject(&GFX_RUNTIME_CLASS(CIFflorian0)); 
to

PHP Code:
RegisterObject(&GFX_RUNTIME_CLASS(CIFflorian0)); 
Add
Code:
resinfo\ifflorian0.txt
in client
i have done this before still same problem something i can't understand if there is an SnowFlakes event icon it can cause this problem ? or what

Solved Txt Editor Was Doing Something wrong while copying lines
Mc-Diesel is offline  
Old 06/10/2020, 07:29   #164
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
Quote:
Originally Posted by Mc-Diesel View Post
Solved Txt Editor Was Doing Something wrong while copying lines
The parser is very very picky when it comes to formatting. Always double check that you have no extra spaces at the end of a line, no extra newlines, no other characters, etc.
florian0 is offline  
Old 06/10/2020, 16:04   #165
 
elite*gold: 0
Join Date: Feb 2013
Posts: 75
Received Thanks: 10
@
it's not possible yet to unregister/replace a class yet?
for example replace the new underbar with the old one
ZeonNETWORK is offline  
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 17:14.


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.