|
You last visited: Today at 20:22
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.
06/25/2019, 16:29
|
#61
|
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
|
im trying
Quote:
Originally Posted by chipno0p
A simple way to solve this is copy the csdint from Vc100 or other to vc80 and reload the project
|
full error
Quote:
Originally Posted by chipno0p
A simple way to solve this is copy the csdint from Vc100 or other to vc80 and reload the project
|
Quote:
Originally Posted by florian0
Networking support is not added yet.
Do you have any error message regarding cstdint? I don't have any issues with includes.
|
please add this
|
|
|
06/25/2019, 17:23
|
#62
|
elite*gold: 0
Join Date: Oct 2012
Posts: 143
Received Thanks: 29
|
Quote:
Originally Posted by concucu
im trying
full error
please add this
|
well I added into this directory and it worked
Microsoft Visual Studio 8\VC\include\
|
|
|
06/25/2019, 19:24
|
#63
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
|
Quote:
Originally Posted by concucu
please add this
|
Why don't you do it on your own?!
|
|
|
06/25/2019, 19:27
|
#64
|
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
|
Quote:
Originally Posted by #HB
Why don't you do it on your own?!
|
because im not pro coder, im tried for 2 months ago, if I could do it, I would not ask
|
|
|
06/28/2019, 22:31
|
#65
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
|
Quote:
Originally Posted by concucu
please add this
|
Quote:
Originally Posted by concucu
because im not pro coder, im tried for 2 months ago, if I could do it, I would not ask
|
That's okay. I've been asked to add networking support quite a few times and it is on my personal roadmap already. I just couldn't gather enough motivation to make a proper implementation. Networking itself is already working (see my QuickStart release), It just doesn't have a suitable implementation for general purpose use, yet.
|
|
|
07/19/2019, 17:50
|
#66
|
elite*gold: 0
Join Date: Mar 2017
Posts: 14
Received Thanks: 0
|
I need to write down the game 9dragons muon instead of a delicious game in the game, with someone who can travel inbox via my facebook
|
|
|
08/03/2019, 12:09
|
#67
|
elite*gold: 0
Join Date: Mar 2010
Posts: 7
Received Thanks: 1
|
I think i try everything for working this function void PrintSystemMessage(eLogType level, wchar_t* str); but not working what i should do?
|
|
|
08/03/2019, 12:23
|
#68
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
|
Quote:
Originally Posted by davarcı
I think i try everything for working this function void PrintSystemMessage(eLogType level, wchar_t* str); but not working what i should do?
|
Code:
g_pCGInterface->PrintSystemMessage(NONE, L"Hello World!");
But since there is no implementation of PrintSystemMessage, you'll need to add that aswell. Address is 0x007781B0. Since the parameter-list is known, you might wanna try to reconstruct it yourself first. You might wanna make str const since it is not modified by the function.
Code:
// CGInterface__PrintSystemMessage .text 007781B0 00000053 00000008 00000008 R . . . . T .
void CGInterface::PrintSystemMessage(eLogType level, const wchar_t *str) {
reinterpret_cast<void(__thiscall*)(CGInterface*, eLogType, const wchar_t*)>(0x007781B0)(this, level, str);
}
|
|
|
08/03/2019, 12:39
|
#69
|
elite*gold: 0
Join Date: Mar 2010
Posts: 7
Received Thanks: 1
|
C2059 syntax error : 'function-style cast' ClientLib c:\users\{user_name}\desktop\{solution_name}\clien tlib\src\GInterface.h 34
I see this error
|
|
|
08/03/2019, 12:46
|
#70
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
|
Quote:
Originally Posted by davarcı
I see this error
|
Meh. I hate MSVC. That message doesn't even contain a single bit of information what's wrong. Are there any other messages displayed? Maybe check the Output tab...
Since the error occurs in GInterface.h Line 34, the issue might be that you put the code in a .h file instead of .cpp. Put it into GInterface.cpp
|
|
|
08/03/2019, 12:52
|
#71
|
elite*gold: 0
Join Date: Mar 2010
Posts: 7
Received Thanks: 1
|
34.Line: reinterpret_cast<void(__thiscall*)(GInterface*, eLogType, const wchar_t*)>(0x007781B0)(this, level, str);
and
Output List
3 syntax error : 'function-style cast' ClientLib, DevKit_DLL, DevKit_DLL Same Line 34
|
|
|
08/03/2019, 13:33
|
#72
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
|
Ah found it. Oops.
reinterpret_cast<void(__thiscall*)(CGInterface*, eLogType, const wchar_t*)>(0x007781B0)(this, level, str);
|
|
|
08/03/2019, 13:58
|
#73
|
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
|
Bro. How to fix the position, even if the screen size is changed?
|
|
|
08/03/2019, 18:19
|
#74
|
elite*gold: 0
Join Date: Mar 2010
Posts: 7
Received Thanks: 1
|
Thank you so much! It's worked!
|
|
|
08/03/2019, 19:09
|
#75
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
|
There's a function that deals with positioning of the "guide" icons on the side. I haven't reversed that, yet. All other elements need to be positioned by your own code using WindowWidth and WindowHeight.
|
|
|
|
|
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 20:22.
|
|