Have you said it was for windows 7? ... It is just that I need to replace another library Windoors 10 ... I'll try and say something here.Sacrifice wrote:If rules could be brocken posting this type of information... tell me it in private message and no problem...Sacrifice wrote:And how did you do it?, because I have installed visual studio 2012 and has not worked for me.FunBeast wrote:Thx for advice - working now!
Will I need to add something else or what?.
@Zoey76 I have a solution for start executable file with administrator privileges. But, I'm waiting here response for test with original client (version 196 i think) and supply you the executable solution, including source code ofc.
Can you give me a hand you too?
Gameclient and Visual Studio
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
Impossible that works doing exactly... I compiled with lineSacrifice wrote:If rules could be brocken posting this type of information... tell me it in private message and no problem...Sacrifice wrote:And how did you do it?, because I have installed visual studio 2012 and has not worked for me.FunBeast wrote:Thx for advice - working now!
Will I need to add something else or what?.
@Zoey76 I have a solution for start executable file with administrator privileges. But, I'm waiting here response for test with original client (version 198 installer version 2.1) and supply you the executable solution, including source code ofc.
Can you give me a hand you too?
Code: Select all
ShellExecute(0, L"open", L"cmd.exe", L"/C start l2.bin IP=127.0.0.1", 0, SW_HIDE);
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
Could be... like this?:
Without "L"??
Code: Select all
ShellExecute(0, "open", "cmd.exe", "/C start l2.bin IP=127.0.0.1", 0, SW_HIDE);
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
WrongSacrifice wrote:Could be... like this?:Without "L"??Code: Select all
ShellExecute(0, "open", "cmd.exe", "/C start l2.bin IP=127.0.0.1", 0, SW_HIDE);
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Gameclient and Visual Studio
It works.
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
In localhost cant work for me. Tell me like a whisper "the steps" you follow. Having in mind a original system folder, recently installed client and recently compiled L2.exe file from your repo inside original system. Thats will be my first step.... wich are the next steps... tell me and dont be bad as I told you... like a whisper...
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Gameclient and Visual Studio
What OS are you using?Sacrifice wrote:In localhost cant work for me. Tell me like a whisper "the steps" you follow. Having in mind a original system folder, recently installed client and recently compiled L2.exe file from your repo inside original system. Thats will be my first step.... wich are the next steps... tell me and dont be bad as I told you... like a whisper...
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
Windoors 10. It affects to something?...
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Gameclient and Visual Studio
I haven't tested it there yet, I have VM with Win10 but it's not good enough to run the client.Sacrifice wrote:Windoors 10. It affects to something?...
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
Then I understood perfectly.
Look... I installed a clean client high five (from 0). Later I rename .dll as -libraryname-.-dll-(for disable gameguard). Later i copied a new library .dll (from imternet) or other system patched that dont have gameguard. Later I copy inside system folder a L2.exe with IP=127.0.0.1. Later I run L2.exe with administrator privileges. Game start, I wrote ID and password and cant pass from login screen. Using wireshark to capure packets from/to por 2106 i discover that cant point to local machine but NCZ0ft. Seems to be that IP=127.0.0.1 nots the command probably being another one...
Any ideas??.
Works on windoor7?
Look... I installed a clean client high five (from 0). Later I rename .dll as -libraryname-.-dll-(for disable gameguard). Later i copied a new library .dll (from imternet) or other system patched that dont have gameguard. Later I copy inside system folder a L2.exe with IP=127.0.0.1. Later I run L2.exe with administrator privileges. Game start, I wrote ID and password and cant pass from login screen. Using wireshark to capure packets from/to por 2106 i discover that cant point to local machine but NCZ0ft. Seems to be that IP=127.0.0.1 nots the command probably being another one...
Any ideas??.
Works on windoor7?
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Gameclient and Visual Studio
I use it every day on Win7 without even touching any client DLL.Sacrifice wrote:Then I understood perfectly.
Look... I installed a clean client high five (from 0). Later I rename .dll as -libraryname-.-dll-(for disable gameguard). Later i copied a new library .dll (from imternet) or other system patched that dont have gameguard. Later I copy inside system folder a L2.exe with IP=127.0.0.1. Later I run L2.exe with administrator privileges. Game start, I wrote ID and password and cant pass from login screen. Using wireshark to capure packets from/to por 2106 i discover that cant point to local machine but NCZ0ft. Seems to be that IP=127.0.0.1 nots the command probably being another one...
Any ideas??.
Works on windoor7?
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
Then its an incompatibility with windoors 10!!!... stupid operating system!.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
Then I will send test system to @Zoey76 via private PM with the idea that he can test...
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: Gameclient and Visual Studio
This line
and in concrete not work
for test...
config on your windows/system32/drivers/etc/hosts file... from 127.0.0.0 localhost to #127.0.0.0 localhost you can see that no work
and do another test compile with this line (dont include IP=127.0.0.1):
it's the same put or dont put
Conclusion:
1.- L2.exe don't point to 127.0.0.1 or any other IP or host. It's doing host file.
2.- You need with this L2.exe edit your host equally.
and too need to add manifest (Microsoft.VC80.OpenMP.manifest) externally or well L2.exe dont start.
I sended @Zoey76 via private message a complete system folder with which I have been tested... (dont include gameguard) and start from original system when you install from cero Lineage 2 High Five. With this folder system if I start client and dont touch host file dont pass from login section, but if I edit host file and I add lines:
only in that case I can login from I wish.
Code: Select all
ShellExecute(0, L"open", L"cmd.exe", L"/C start l2.bin IP=127.0.0.1", 0, SW_HIDE);
Code: Select all
IP=127.0.0.1
for test...
config on your windows/system32/drivers/etc/hosts file... from 127.0.0.0 localhost to #127.0.0.0 localhost you can see that no work
and do another test compile with this line (dont include IP=127.0.0.1):
Code: Select all
ShellExecute(0, L"open", L"cmd.exe", L"/C start l2.bin", 0, SW_HIDE);
Conclusion:
1.- L2.exe don't point to 127.0.0.1 or any other IP or host. It's doing host file.
2.- You need with this L2.exe edit your host equally.
and too need to add manifest (Microsoft.VC80.OpenMP.manifest) externally or well L2.exe dont start.
I sended @Zoey76 via private message a complete system folder with which I have been tested... (dont include gameguard) and start from original system when you install from cero Lineage 2 High Five. With this folder system if I start client and dont touch host file dont pass from login section, but if I edit host file and I add lines:
Code: Select all
127.0.0.1 L2authd.Lineage2.com
127.0.0.1 nprotect.lineage2.com