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

06/04/2020 22:56 kanka5252#151
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: [Only registered and activated users can see links. Click Here To Register...]

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".
06/06/2020 09:28 florian0#152
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"?
06/06/2020 18:06 kanka5252#153
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.
06/07/2020 17:59 Laag#82#154
Quote:
Originally Posted by kanka5252 View Post
Yes, folder is opening and have "vsvars32.bat" i installed vs 2005.
[Only registered and activated users can see links. Click Here To Register...]

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

good luck


Special Thanks To: florian0
06/07/2020 18:39 florian0#155
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?
06/07/2020 21:23 kanka5252#156
Quote:
Originally Posted by florian0 View Post
How did you try to generate the project?
With command prompt...
06/08/2020 14:32 Mc-Diesel#157
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.
06/08/2020 20:19 florian0#158
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.

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

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.
06/09/2020 14:41 Mc-Diesel#159
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
06/09/2020 16:20 florian0#160
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.
[Only registered and activated users can see links. Click Here To Register...]
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.
06/09/2020 17:34 Mc-Diesel#161
Quote:
Originally Posted by florian0 View Post
There's an error in the code. I forgot that I still need to fix it.
[Only registered and activated users can see links. Click Here To Register...]
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
[Only registered and activated users can see links. Click Here To Register...]
is there anything wrong with ginterface !

Look Crash after selecting char

06/09/2020 20:07 WhyKillMyFox#162
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
[Only registered and activated users can see links. Click Here To Register...]
is there anything wrong with ginterface !

Look Crash after selecting char

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

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

PHP Code:
RegisterObject(&GFX_RUNTIME_CLASS(CIFflorian0)); 
Add
Code:
resinfo\ifflorian0.txt
in client
06/09/2020 20:51 Mc-Diesel#163
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 :D

Solved :D Txt Editor Was Doing Something wrong while copying lines
06/10/2020 07:29 florian0#164
Quote:
Originally Posted by Mc-Diesel View Post
Solved :D 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.
06/10/2020 16:04 ZeonNETWORK#165
@[Only registered and activated users can see links. Click Here To Register...]
it's not possible yet to unregister/replace a class yet?
for example replace the new underbar with the old one