Skip to content

Commit

Permalink
update netstandard2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-heinz committed Jun 14, 2017
1 parent 9842537 commit 92ecfc8
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 713 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

.DS_Store

# User-specific files
*.suo
*.user
Expand Down
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Arrowgene Ez2Off CLI",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/Arrowgene.Ez2Off.CLI/bin/Debug/netcoreapp2.0/Arrowgene.Ez2Off.CLI.dll",
"args": [],
"cwd": "${workspaceRoot}",
"stopAtEntry": false,
"console": "internalConsole",
"justMyCode": false
}
]
}
17 changes: 17 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "build",
"args": [ ],
"isBuildCommand": true,
"showOutput": "silent",
"problemMatcher": "$msCompile"
}
]
}
52 changes: 36 additions & 16 deletions Arrowgene.Ez2Off.sln
Original file line number Diff line number Diff line change
@@ -1,28 +1,48 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arrowgene.Ez2Off", "Arrowgene.Ez2Off\Arrowgene.Ez2Off.csproj", "{292B623F-3664-4E84-B4B1-E2E0EFEE531E}"
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arrowgene.Ez2Off", "Arrowgene.Ez2Off\Arrowgene.Ez2Off.csproj", "{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arrowgene.Ez2Off.CLI", "Arrowgene.Ez2Off.CLI\Arrowgene.Ez2Off.CLI.csproj", "{8D6B3C9D-1572-406A-B5D6-E8CCD411223A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Arrowgene.Ez2Off.CLI", "Arrowgene.Ez2Off.CLI\Arrowgene.Ez2Off.CLI.csproj", "{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{292B623F-3664-4E84-B4B1-E2E0EFEE531E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{292B623F-3664-4E84-B4B1-E2E0EFEE531E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{292B623F-3664-4E84-B4B1-E2E0EFEE531E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{292B623F-3664-4E84-B4B1-E2E0EFEE531E}.Release|Any CPU.Build.0 = Release|Any CPU
{8D6B3C9D-1572-406A-B5D6-E8CCD411223A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8D6B3C9D-1572-406A-B5D6-E8CCD411223A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8D6B3C9D-1572-406A-B5D6-E8CCD411223A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8D6B3C9D-1572-406A-B5D6-E8CCD411223A}.Release|Any CPU.Build.0 = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Debug|x64.ActiveCfg = Debug|x64
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Debug|x64.Build.0 = Debug|x64
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Debug|x86.ActiveCfg = Debug|x86
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Debug|x86.Build.0 = Debug|x86
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Release|Any CPU.Build.0 = Release|Any CPU
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Release|x64.ActiveCfg = Release|x64
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Release|x64.Build.0 = Release|x64
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Release|x86.ActiveCfg = Release|x86
{8BA2A63C-24F0-4E18-B070-6DF232BB7E64}.Release|x86.Build.0 = Release|x86
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Debug|x64.ActiveCfg = Debug|x64
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Debug|x64.Build.0 = Debug|x64
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Debug|x86.ActiveCfg = Debug|x86
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Debug|x86.Build.0 = Debug|x86
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Release|Any CPU.Build.0 = Release|Any CPU
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Release|x64.ActiveCfg = Release|x64
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Release|x64.Build.0 = Release|x64
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Release|x86.ActiveCfg = Release|x86
{B413E1B9-1880-4E4A-BF0F-6727FC40BB2A}.Release|x86.Build.0 = Release|x86
EndGlobalSection
EndGlobal
81 changes: 13 additions & 68 deletions Arrowgene.Ez2Off/Arrowgene.Ez2Off.csproj
Original file line number Diff line number Diff line change
@@ -1,72 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{292B623F-3664-4E84-B4B1-E2E0EFEE531E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Arrowgene.Ez2Off</RootNamespace>
<AssemblyName>Arrowgene.Ez2Off</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFramework>netstandard2.0</TargetFramework>
<Title>Arrowgene.Ez2Off</Title>
<Company>Arrowgene</Company>
<Description></Description>
<Configuration></Configuration>
<Product>Arrowgene.Ez2Off</Product>
<Version>1.0.0.0</Version>
<FileVersion>1.0.0.0</FileVersion>
<Copyright>Copyright © 2017 Arrowgene</Copyright>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject>
</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="Arrowgene.Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1ffc2f64b716bd63, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Solution Items\Arrowgene.Services.dll</HintPath>
</Reference>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="EzClientList.cs" />
<Compile Include="EzClient.cs" />
<Compile Include="EzHandler.cs" />
<Compile Include="EzHandles\Blank.cs" />
<Compile Include="EzHandles\Login.cs" />
<Compile Include="EzHandles\SelectMode.cs" />
<Compile Include="EzHandles\SelectServer.cs" />
<Compile Include="EzLogPacket.cs" />
<Compile Include="EzPacket.cs" />
<Compile Include="EzPacketBuilder.cs" />
<Compile Include="EzHandle.cs" />
<Compile Include="EzPacketLoggedEventArgs.cs" />
<Compile Include="EzPacketLogger.cs" />
<Compile Include="IEzHandler.cs" />
<Compile Include="EzLogPacketType.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="EzServer.cs" />
<PackageReference Include="Arrowgene.Services" Version="1.0.0" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

</Project>
36 changes: 0 additions & 36 deletions Arrowgene.Ez2Off/Properties/AssemblyInfo.cs

This file was deleted.

85 changes: 84 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,88 @@
# Arrowgene.Ez2Off
IF YOU HAVE THE LATEST EZ2ON REBOOT CLIENT, PLEASE UPLOAD IT AND SEND THE LINK TO ME! THANK YOU ALOT!
===
I want to make a server for the latest version of ez2on reboot, but I dont have the client, please help to find it!

Arrowgene.Ez2Off
===

Server Emulator for the Online Game Ez2On.

Client Download: https://mega.nz/#!AF4TQJ5L!sHoa76UNDys1ZBxzy3wrNVrgwRDS9eZtcXXULkbrPAI

Running under OSX
===

### OSX - Server
1) Ensure you have .NET Core 2.0 Preview 1 or higher
- [Download Page](https://www.microsoft.com/net/core/preview#macos)
- [Direct Download .dmg](https://go.microsoft.com/fwlink/?linkid=848729)

2) Clone the project:
```
git clone https://github.com/Arrowgene/Arrowgene.Ez2Off.git
```

3) Change to the 'Command Line Interface'-Project:
```
cd Arrowgene.Ez2Off/Arrowgene.Ez2Off.CLI
```

4) Restore the project dependencies:
```
dotnet restore
```

5) Run the Server:
```
dotnet run
```

### OSX - Game

To Run the game on OSX you will need wine

1) Follow the tutorial until you completed Part 4:
https://www.davidbaumgold.com/tutorials/wine-mac/

2) Copy the game directory to your wine 'C' drive.
The 'C'-drive can usually be found at your home directory
```
cd ~/.wine/drive_c
```

3) Copy the 'start.sh'-file inside the game directory

4) Start the game:
```
~/.wine/drive_c/ez2on/start.sh
```

If the server is running the game should connect to the Server.

### OSX - Development - VSCode

1) Download VSCode [https://code.visualstudio.com/](https://code.visualstudio.com/)
2) Install the C# Extension [https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp](https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp)
3) Make changes :)


Running under Windows
===

### Windows - Server
1) Ensure you have .NET Core 2.0 Preview 1 or higher
[https://www.microsoft.com/net/core#windowsvs2017](https://www.microsoft.com/net/core#windowsvs2017)

2) Clone the project:
```
git clone https://github.com/Arrowgene/Arrowgene.Ez2Off.git
```

3) Open to the Project in Visual Studio and run the 'Command Line Interface'-Project.
I'm not sure about the exact steps as I havent tested this on a Windows box yet.
I Will update this tutorial once I know the exact steps

### Windows - Game

After downloadig the game execute the 'start.cmd'-file.
If the server is running the game should connect to the Server.
Binary file removed Solution Items/Arrowgene.Services.dll
Binary file not shown.
Binary file removed Solution Items/Arrowgene.Services.pdb
Binary file not shown.
Loading

0 comments on commit 92ecfc8

Please sign in to comment.