|
You last visited: Today at 13:50
Advertisement
Emulator compiler
Discussion on Emulator compiler within the S4 League forum part of the Shooter category.
12/01/2018, 22:47
|
#1
|
elite*gold: 0
Join Date: Sep 2011
Posts: 55
Received Thanks: 2
|
Emulator compiler
Hello guys, im noob in Visual studio, could some one give me advice how to fix this problem ?
Code:
NU1701 The package "Expressmapper 1.9.1" was restored using ".NET Framework, Version = v4.6.1", and not the target platform of the project ". NETCoreApp, Version = v2.0".
|
|
|
12/03/2018, 18:58
|
#2
|
elite*gold: 0
Join Date: Jun 2013
Posts: 65
Received Thanks: 26
|
Did you install the version of visual studio, that is linked in the readme? Wtfblub literally put EVERYTHING one needs in there, so people wouldn't ask, which versions of which programs need to be used.
|
|
|
12/03/2018, 22:40
|
#3
|
elite*gold: 0
Join Date: Sep 2011
Posts: 55
Received Thanks: 2
|
Quote:
Originally Posted by EpitaphHaseo
Did you install the version of visual studio, that is linked in the readme? Wtfblub literally put EVERYTHING one needs in there, so people wouldn't ask, which versions of which programs need to be used.
|
Yeah, but i have new problem...
|
|
|
12/04/2018, 09:04
|
#4
|
elite*gold: 55
Join Date: Nov 2018
Posts: 473
Received Thanks: 181
|
i'll post for u a stupid question
Did u used that version of netframe work?
|
|
|
12/04/2018, 14:20
|
#5
|
elite*gold: 0
Join Date: Sep 2011
Posts: 55
Received Thanks: 2
|
Quote:
Originally Posted by Anja Mielbrecht
i'll post for u a stupid question
Did u used that version of netframe work? 
|
Sure
|
|
|
12/04/2018, 14:22
|
#6
|
elite*gold: 55
Join Date: Nov 2018
Posts: 473
Received Thanks: 181
|
Quote:
Originally Posted by prolxl
Sure
|
I dun see the problem :x VS sux !!
|
|
|
12/04/2018, 15:34
|
#7
|
elite*gold: 0
Join Date: Sep 2011
Posts: 55
Received Thanks: 2
|
Quote:
Originally Posted by Anja Mielbrecht
I dun see the problem :x VS sux !!
|
Problems appear after I try to run the compiled project.
Game.dll
C:\Users\palva\Desktop\1184\Game>dotnet exec game.dll
[Information ] Initializing...
[Error ] UnhandledException
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Netsphere.Database.AuthDatabase.Open() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 42
at Netsphere.Database.AuthDatabase.Initialize(Databas eConfig config) in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 20
at Netsphere.Program.Main() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Program.cs:line 55
Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'root'@'localhost' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
--- End of inner exception stack trace ---
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Netsphere.Database.AuthDatabase.Open() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 42
at Netsphere.Database.AuthDatabase.Initialize(Databas eConfig config) in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 20
at Netsphere.Program.Main() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Program.cs:line 55
An error in the visual studio warns about these conflicts.
I have been looking for a solution for 3 days and still can’t understand what to do, because I don't have enough knowledge.
Packages are restored using the .Net Framework, but must be restored using netcoreapp2.0
I think the problem somewhere here:
Game.csproj
Code:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>
<RootNamespace>Netsphere</RootNamespace>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64</RuntimeIdentifiers>
<StartupObject>Netsphere.Program</StartupObject>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningLevel>4</WarningLevel>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Expressmapper" Version="1.9.1" />
<PackageReference Include="Hjson" Version="3.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="MySql.Data" Version="8.0.8-dmr" />
<PackageReference Include="Serilog" Version="2.5.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="3.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="4.0.1-dev-00801" />
<PackageReference Include="Stateless" Version="4.2.1" />
<Reference Include="..\..\libs\SharpLzo.dll" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Auth.ServiceModel\Auth.ServiceModel.csproj" />
<ProjectReference Include="..\Netsphere\Netsphere.csproj" />
<ProjectReference Include="..\Netsphere.Database\Netsphere.Database.csproj" />
<ProjectReference Include="..\Netsphere.Network\Netsphere.Network.csproj" />
<ProjectReference Include="..\ProudNet\ProudNet.csproj" />
</ItemGroup>
</Project>
Auth.dll works great.
|
|
|
12/04/2018, 16:18
|
#8
|
elite*gold: 55
Join Date: Nov 2018
Posts: 473
Received Thanks: 181
|
Quote:
Originally Posted by prolxl
Problems appear after I try to run the compiled project.
Game.dll
C:\Users\palva\Desktop\1184\Game>dotnet exec game.dll
[Information ] Initializing...
[Error ] UnhandledException
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Netsphere.Database.AuthDatabase.Open() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 42
at Netsphere.Database.AuthDatabase.Initialize(Databas eConfig config) in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 20
at Netsphere.Program.Main() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Program.cs:line 55
Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'root'@'localhost' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
--- End of inner exception stack trace ---
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()
at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Netsphere.Database.AuthDatabase.Open() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 42
at Netsphere.Database.AuthDatabase.Initialize(Databas eConfig config) in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Netsphere.Database\AuthDatabase.cs: line 20
at Netsphere.Program.Main() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Program.cs:line 55
An error in the visual studio warns about these conflicts.
I have been looking for a solution for 3 days and still can’t understand what to do, because I don't have enough knowledge.
Packages are restored using the .Net Framework, but must be restored using netcoreapp2.0
I think the problem somewhere here:
Game.csproj
Code:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>
<RootNamespace>Netsphere</RootNamespace>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64</RuntimeIdentifiers>
<StartupObject>Netsphere.Program</StartupObject>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningLevel>4</WarningLevel>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Expressmapper" Version="1.9.1" />
<PackageReference Include="Hjson" Version="3.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="MySql.Data" Version="8.0.8-dmr" />
<PackageReference Include="Serilog" Version="2.5.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="3.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="4.0.1-dev-00801" />
<PackageReference Include="Stateless" Version="4.2.1" />
<Reference Include="..\..\libs\SharpLzo.dll" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Auth.ServiceModel\Auth.ServiceModel.csproj" />
<ProjectReference Include="..\Netsphere\Netsphere.csproj" />
<ProjectReference Include="..\Netsphere.Database\Netsphere.Database.csproj" />
<ProjectReference Include="..\Netsphere.Network\Netsphere.Network.csproj" />
<ProjectReference Include="..\ProudNet\ProudNet.csproj" />
</ItemGroup>
</Project>
Auth.dll works great.
|
i have the same prob with the auth lol come on discord i can give u the compiled one if u wanna
|
|
|
12/04/2018, 20:16
|
#9
|
elite*gold: 0
Join Date: Jun 2013
Posts: 65
Received Thanks: 26
|
Quote:
|
Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES)
|
Are you running a mySQL server? Did you setup your credentials correctly?
Like come on, the error TELLS you what your problem is -.-
How do you expect to run a private server, if you can't even freaking read error logs?
|
|
|
12/04/2018, 20:43
|
#10
|
elite*gold: 0
Join Date: Sep 2011
Posts: 55
Received Thanks: 2
|
Quote:
Originally Posted by EpitaphHaseo
Are you running a mySQL server? Did you setup your credentials correctly?
Like come on, the error TELLS you what your problem is -.-
How do you expect to run a private server, if you can't even freaking read error logs?
|
Yes, i running it:
Code:
C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\bin\Debug\netcoreapp2.0>dotnet exec game.dll
[Information ] Initializing...
[Debug ResourceCache] Caching...
[Information ] Starting server...
[Information ChatServer-ProudNet] Starting - tcp="192.168.0.103:28004" udp=null udp-port=null
[Information RelayServer-ProudNet] Starting - tcp="192.168.0.103:28005" udp="192.168.0.103" udp-port=null
[Information GameServer-ProudNet] Starting - tcp="192.168.0.103:28003" udp=null udp-port=null
[Information ResourceCache] Caching: Channels
[Information ResourceCache] Caching: Effects
[Debug ResourceCache] Caching...
[Warning ResourceLoader] Missing english translation for item effect "3004"
[Error ] UnhandledException
System.ArgumentException: Requested value 'assultrifleattack' was not found.
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at Netsphere.Resource.ResourceLoader.<LoadEffects>d__8.MoveNext() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Resource\ResourceLoader.cs:line 140
at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
at Netsphere.Resource.ResourceCache.GetEffects() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Resource\ResourceCache.cs:line 75
at Netsphere.Resource.ResourceCache.PreCache() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Resource\ResourceCache.cs:line 34
at Netsphere.Network.GameServer.OnStarted() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Network\GameServer.cs:line 165
at ProudNet.ProudServer.Listen(IPEndPoint tcpListener, IPAddress udpAddress, Int32[] udpListenerPorts) in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\ProudNet\ProudServer.cs:line 175
at Netsphere.Program.Main() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Program.cs:line 103
Unhandled Exception: System.ArgumentException: Requested value 'assultrifleattack' was not found.
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at Netsphere.Resource.ResourceLoader.<LoadEffects>d__8.MoveNext() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Resource\ResourceLoader.cs:line 140
at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
at Netsphere.Resource.ResourceCache.GetEffects() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Resource\ResourceCache.cs:line 75
at Netsphere.Resource.ResourceCache.PreCache() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Resource\ResourceCache.cs:line 34
at Netsphere.Network.GameServer.OnStarted() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Network\GameServer.cs:line 165
at ProudNet.ProudServer.Listen(IPEndPoint tcpListener, IPAddress udpAddress, Int32[] udpListenerPorts) in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\ProudNet\ProudServer.cs:line 175
at Netsphere.Program.Main() in C:\Users\palva\Desktop\NetspherePirates-patch_1184\src\Game\Program.cs:line 103
|
|
|
12/04/2018, 21:13
|
#11
|
elite*gold: 0
Join Date: Jun 2013
Posts: 65
Received Thanks: 26
|
I just realised that you are running the 1184 branch... Here's one hint: DON'T.
The 1184 branch ist not supposed to be usable. Use the master branch.
|
|
|
12/05/2018, 01:45
|
#12
|
elite*gold: 0
Join Date: Sep 2011
Posts: 55
Received Thanks: 2
|
Quote:
Originally Posted by EpitaphHaseo
I just realised that you are running the 1184 branch... Here's one hint: DON'T.
The 1184 branch ist not supposed to be usable. Use the master branch.
|
It will work with version 1184?
|
|
|
12/09/2018, 16:52
|
#13
|
elite*gold: 0
Join Date: Jun 2013
Posts: 65
Received Thanks: 26
|
Quote:
Originally Posted by prolxl
It will work with version 1184?
|
No, and there is no public emulator that will work with that version. If you want to use that, you'll have to program the missing parts yourself.
|
|
|
01/02/2019, 15:57
|
#14
|
elite*gold: 0
Join Date: Jan 2013
Posts: 170
Received Thanks: 16
|
Easy.. dont compile as Debug
|
|
|
10/28/2019, 14:45
|
#15
|
elite*gold: 0
Join Date: Aug 2017
Posts: 8
Received Thanks: 0
|
Help please
|
|
|
 |
Similar Threads
|
Free C++ Compiler Good for Starter
06/08/2008 - C/C++ - 2 Replies
Tutorial
>>Teach Yourself C++ in 21 Days<<
Compiler
>>The Dev-C++ Resource Site<<
More:
>>http://www.cplusplus.com/doc<</tuto rial/
>>C++ Tutorials<<
>>C++ Programming Language Tutorials<<
|
anyone know a good .jar compiler
06/17/2007 - Conquer Online 2 - 0 Replies
i need a compiler that makes .class files compile into 1 .jar file
|
What C++ compiler do you use?
04/08/2007 - C/C++ - 9 Replies
What C++ compiler do you use?
P.S. If you can provide the download link :)
|
Need Help with java De/Compiler
02/12/2007 - Conquer Online 2 - 4 Replies
i need a java compiler much like Dj Java decompiler ( it doesnt do checks for all needed files when compiling) or a activation/serial code for dj java decompiler im currently working on making a proggy that lets u know when the real met dove is in the area but my trial version for dj ran out on both computers xD im so close to...anyone?
|
Compiler for Conquer priv server sources
07/19/2006 - Conquer Online 2 - 1 Replies
I know that questions here are forbidden, but I'm confused, and I must ask.
I heard that I can work with sources to conquer online by using compiler called MONO. Is it true?
Have someone already tried it?
Please for fast reply!
|
All times are GMT +1. The time now is 13:51.
|
|