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

01/25/2019 19:17 Klito*#31
The Leader of the reversing field without rival!
02/01/2019 17:53 paradise1992#32
What do you think about the *.2dt file? ?
02/01/2019 23:53 florian0#33
Quote:
Originally Posted by paradise1992 View Post
What do you think about the *.2dt file? ?
I think it's not worth to implement, yet. I've only hit a single limitation yet, while trying to make a slot for items and skills and I'm not sure if it's not just me being stupid.

It's not that hard to implement, most of the virtual functions are the same, just different addresses, but, as I said, I don't think it's worth the effort.
02/11/2019 03:53 b0ykoe#34
I've started 2 days ago with @[Only registered and activated users can see links. Click Here To Register...] release and honestly this is fairly easy. Even for someone who has never worked with any C language before.

Huge thanks to him and keep going!

Just want to show some of my progress
[Only registered and activated users can see links. Click Here To Register...]
02/14/2019 16:10 concucu#35
Quote:
Originally Posted by b0ykoe View Post
I've started 2 days ago with @[Only registered and activated users can see links. Click Here To Register...] release and honestly this is fairly easy. Even for someone who has never worked with any C language before.

Huge thanks to him and keep going!

Just want to show some of my progress
[Only registered and activated users can see links. Click Here To Register...]
Hi bro., I try to open the window when clicking florian0guid

Code:
int CIFflorian0Guide::OnClickEvent(int a1, int x, int y)
{
	printf("> " __FUNCTION__ "(%d, %d, %d)\n", a1, x, y);

	CGEffSoundBody::get()->PlaySound(L"snd_quest");		

// Add this

	g_pCGInterface->m_IRM.GetResObj(1338, 1)->SetVisibility(true);

	return 0;
}
and
Code:
#include <GInterface.h>
but i cant build the project.

how to make this work?

thank a lot
02/14/2019 16:29 b0ykoe#36
Quote:
Originally Posted by concucu View Post
Hi bro., I try to open the window when clicking florian0guid

Code:
int CIFflorian0Guide::OnClickEvent(int a1, int x, int y)
{
	printf("> " __FUNCTION__ "(%d, %d, %d)\n", a1, x, y);

	CGEffSoundBody::get()->PlaySound(L"snd_quest");		

// Add this

	g_pCGInterface->m_IRM.GetResObj(1338, 1)->SetVisibility(true);

	return 0;
}
and
Code:
#include <GInterface.h>
but i cant build the project.

how to make this work?

thank a lot
Well depends on whats your error. Without that information no one can help you.
02/14/2019 16:41 concucu#37
Quote:
Originally Posted by b0ykoe View Post
Well depends on whats your error. Without that information no one can help you.
i try like you do. Click on icon ! and show windows.

i add
Code:
int CIFflorian0Guide::OnClickEvent(int a1, int x, int y)
{
	printf("> " __FUNCTION__ "(%d, %d, %d)\n", a1, x, y);

	CGEffSoundBody::get()->PlaySound(L"snd_quest");		

// Add this

	g_pCGInterface->m_IRM.GetResObj(1338, 1)->SetVisibility(true);

	return 0;
}
and
Code:
#include <GInterface.h>
but build get the errors

Gallery
02/14/2019 16:51 b0ykoe#38
Quote:
Originally Posted by concucu View Post
i try like you do. Click on icon ! and show windows.

i add
Code:
int CIFflorian0Guide::OnClickEvent(int a1, int x, int y)
{
	printf("> " __FUNCTION__ "(%d, %d, %d)\n", a1, x, y);

	CGEffSoundBody::get()->PlaySound(L"snd_quest");		

// Add this

	g_pCGInterface->m_IRM.GetResObj(1338, 1)->SetVisibility(true);

	return 0;
}
and
Code:
#include <GInterface.h>
but build get the errors

Gallery
Looks like you're missing D9, did you extract the D9 stuff into "third-party\dxsdk"?
02/14/2019 16:54 concucu#39
Quote:
Originally Posted by b0ykoe View Post
Looks like you're missing D9, did you extract the D9 stuff into "third-party\dxsdk"?
i did it,

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


i just had trouble trying to add #include <GInterface.h>
02/15/2019 15:45 florian0#40
Quote:
Originally Posted by concucu View Post
i just had trouble trying to add #include <GInterface.h>
It's a missing include in NavigationDeadreckon.h. I just pushed a fix. It's waiting for the pipeline prior to being merged.

[Only registered and activated users can see links. Click Here To Register...]
02/21/2019 20:23 Klito*#41
One more thing why i got crash because of the ginterface.txt file?, the dll built without any problem, loaded and working just the client crash when i select the character, anyone can help?
02/21/2019 21:10 b0ykoe#42
Quote:
Originally Posted by Klito* View Post
One more thing why i got crash because of the ginterface.txt file?, the dll built without any problem, loaded and working just the client crash when i select the character, anyone can help?
Do you have added any custom windows yet?
02/21/2019 21:17 Klito*#43
Quote:
Originally Posted by b0ykoe View Post
Do you have added any custom windows yet?
no just the default window
02/21/2019 23:24 b0ykoe#44
Quote:
Originally Posted by Klito* View Post
no just the default window
Are you loading the dll in your sro_client.exe? If not thats the reason for the crash because the game tries to render something it doesn't know about.
02/22/2019 03:10 florian0#45
Quote:
Originally Posted by Klito* View Post
One more thing why i got crash because of the ginterface.txt file?, the dll built without any problem, loaded and working just the client crash when i select the character, anyone can help?
As @[Only registered and activated users can see links. Click Here To Register...] said, it could be that the Dll is not loaded (pretty obvious if the ImGui Windows arent visible) or if your ginterface.txt is malformed. It may not be obvious from the ginterface.txt-changes file itself, but you need to add the additional lines in the section named "Create". I've seen ppl append the lines at the end of the file, which is not correct.

To make it easier to troubleshoot, I'd like to ask everyone who is experiencing errors or crashes to supply:
1. the error message being thrown
2. the address (and/or the source line) the debugger stopped at
3. if available, a crash dump of the client

"My client is crashing" leaves too many possibilities open.