Page 1 of 1

Linux Server

PostPosted: Sun May 08, 2016 7:52 pm
by Pigpriest
Hi
Da ich nichts aktuelles in der Deutschen Ecke gefunden habe was meine Frage angeht erstelle ich einfach mal nen neuen Tread.

So wie ich die Tuts hier sehe ist DOL für Windows programiert.

Ich habe einen Linux Debian Server der eigentlich für WOW gedacht war aber da läuft eh nix mehr und ist sehr langweilig geworden.
Momentan läuft nur ein Minecraft Server drauf ;)

Gibt es auch eine Linix Version von DOL oder muss ich da weiter suchen?

Gruß Piggy

Re: Linux Server

PostPosted: Tue May 10, 2016 5:38 am
by Leodagan
Hello,

Sure DOL can run on Linux and other Unix based system using Mono Project (Open Source .NET Implementation)

A prepared Linux Package is available from DOLSharp repository : https://github.com/Dawn-of-Light/DOLSha ... ses/latest

There is some "How to" available in English : http://www.dolserver.net/viewtopic.php?f=5&t=21517

DOL will use a lot of Memory when running on Linux, you'll need to install 8 GB at least ...

Have Fun !

Re: Linux Server

PostPosted: Tue May 10, 2016 4:05 pm
by HunabKu
Hi, the Leodagan how-to : http://www.dolserver.net/articles/?article=46 can help you.

Re: Linux Server

PostPosted: Tue May 10, 2016 9:15 pm
by Pigpriest
Hi,
thanks for you answer.
I test ist on Weekend.
I hope it works ;)

Greez Piggy

Re: Linux Server

PostPosted: Tue May 17, 2016 3:31 pm
by Urza
Hi,

kannst du dann deine Erfahrungen, Erkenntnisse und Vorgehensweise hier dann mal posten?
Es wäre interessant für mich, wenn das klappt.
Linux-Server zu mieten ist auf alle Fälle billiger als Windows-Server.

Gruß Urza

Re: Linux Server

PostPosted: Wed May 18, 2016 2:28 pm
by Pigpriest
Sicher mach ich das.
Muss nur die Befehle raussuchen da ichDebian habe und das Tut ist für Ubuntu

Re: Linux Server

PostPosted: Wed May 18, 2016 4:44 pm
by Pigpriest
soooooo
Der erste Versuch ging schon mal in die Hode ;)

Bekomme nur Mono 4 Installiert, denke das daher der Fehler kommt beim Compilen.
Muss morgen mal schauen wie Mono Deinstalliert bekomme um die ältere Version drauf zu machen.

Unten habe ich die Fehler mal gepostet.
XBuild Engine Version 2.10.8.1
Mono, Version 2.10.8.1
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 18.05.2016 18:36:08.
__________________________________________________
/root/DOLSharp/Dawn of Light.sln: warning : Don't know how to handle GlobalSection DPCodeReviewSolutionGUID, Ignoring.
Project "/root/DOLSharp/Dawn of Light.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Target Build:
Project "/root/DOLSharp/DOLBase/DOLBase.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: AnyCPU
Target GetFrameworkPaths:
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.5' not supported by this toolset (ToolsVersion: 4.0).
Target GetReferenceAssemblyPaths:
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
Target ResolveAssemblyReferences:
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'log4net' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/log4net.2.0.4/lib/net45-full/log4net.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
For searchpath {PkgConfig}
Considered log4net, but could not find in any pkg-config files.
For searchpath {GAC}
Considered log4net, but could not find in the GAC.
For searchpath {RawFileName}
Considered '/root/DOLSharp/DOLBase/log4net' as a file, but the file does not exist
For searchpath ../Release/lib/
Considered '/root/DOLSharp/Release/lib/log4net' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/log4net.exe' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/log4net.dll' as a file, but the file does not exist
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target CoreCompile:
Tool /usr/bin/gmcs execution started with arguments: /noconfig /delaysign- /debug- /optimize+ /out:../build/DOLBase/Release/obj/DOLBase.dll AssemblyInfo.cs Config/BaseServerConfiguration.cs Config/ConfigElement.cs Config/XMLConfigFile.cs Constants.cs FTP/FTPAsynchronousConnection.cs FTP/FTPConnection.cs FTP/FTPFile.cs FTP/FTPFileTransferType.cs FTP/FTPMode.cs Marshal.cs MPK/MPK.cs MPK/MPKFile.cs MPK/MPKFileHeader.cs Network/BaseClient.cs Network/BaseServer.cs Network/IPacket.cs Network/PacketIn.cs Network/PacketOut.cs Network/UPnPNat.cs Statistics.cs Threading/SpinWaitLock.cs WeakMulticastDelegate.cs WeakRef.cs /target:library /warnaserror- /unsafe- /checked- /define:TRACE /nowarn:"1570;1572;1573;1587;1591;1592" /platform:x86 /reference:/usr/lib/mono/gac/ICSharpCode.SharpZipLib/4.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll /reference:/usr/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll /reference:/usr/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll /warn:4
Network/BaseClient.cs(23,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Network/BaseServer.cs(25,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Network/BaseServer.cs(47,36): error CS0246: The type or namespace name `HashSet' could not be found. Are you missing a using directive or an assembly reference?
WeakMulticastDelegate.cs(23,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/root/DOLSharp/DOLBase/DOLBase.csproj".-- FAILED
Done building project "/root/DOLSharp/DOLBase/DOLBase.csproj".-- FAILED
Project "/root/DOLSharp/DOLDatabase/DOLDatabase.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: AnyCPU
Target GetFrameworkPaths:
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.5' not supported by this toolset (ToolsVersion: 4.0).
Target GetReferenceAssemblyPaths:
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
Target ResolveAssemblyReferences:
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'log4net' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/log4net.2.0.4/lib/net45-full/log4net.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
For searchpath {PkgConfig}
Considered log4net, but could not find in any pkg-config files.
For searchpath {GAC}
Considered log4net, but could not find in the GAC.
For searchpath {RawFileName}
Considered '/root/DOLSharp/DOLDatabase/log4net' as a file, but the file does not exist
For searchpath ../Release/lib/
Considered '/root/DOLSharp/Release/lib/log4net' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/log4net.exe' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/log4net.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'MySql.Data' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
Considered ../packages/MySql.Data.6.9.8/lib/net45/MySql.Data.dll, but it does not exist.
For searchpath {TargetFrameworkDirectory}
For searchpath {PkgConfig}
Considered MySql.Data, but could not find in any pkg-config files.
For searchpath {GAC}
Considered MySql.Data, but could not find in the GAC.
For searchpath {RawFileName}
Considered '/root/DOLSharp/DOLDatabase/MySql.Data' as a file, but the file does not exist
For searchpath ../Release/lib/
Considered '/root/DOLSharp/Release/lib/MySql.Data' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/MySql.Data.exe' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/MySql.Data.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'System.Data' and 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System.Data' reference.
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' not resolved
For searchpath /root/DOLSharp/sharedModules/SQLite/managedOnly
Considered '/root/DOLSharp/sharedModules/SQLite/managedOnly/mscorlib' as a file, but the file does not exist
Considered '/root/DOLSharp/sharedModules/SQLite/managedOnly/mscorlib.exe' as a file, but the file does not exist
Considered '/root/DOLSharp/sharedModules/SQLite/managedOnly/mscorlib.dll' as a file, but the file does not exist
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
For searchpath {PkgConfig}
Considered mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config files.
For searchpath {GAC}
Considered mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, but could not find in the GAC.
For searchpath {RawFileName}
Considered '/root/DOLSharp/DOLDatabase/mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' as a file, but the file does not exist
For searchpath ../Release/lib/
Considered '/root/DOLSharp/Release/lib/mscorlib' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/mscorlib.exe' as a file, but the file does not exist
Considered '/root/DOLSharp/Release/lib/mscorlib.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'System' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System' reference.
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'System.Xml' and 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System.Xml' reference.
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target CoreCompile:
Tool /usr/bin/gmcs execution started with arguments: /noconfig /delaysign- /debug- /optimize+ /out:../build/DOLDatabase/Release/obj/DOLDatabase.dll AssemblyInfo.cs Attributes/ReadOnly.cs Attributes/DataElement.cs Attributes/DataTable.cs Attributes/PrimaryKey.cs Attributes/Relation.cs Cache/CacheException.cs Cache/ICache.cs Cache/SimpleCache.cs Connection/ConnectionType.cs Connection/DataConnection.cs CustomParam.cs Handlers/SQLiteObjectDatabase.cs Handlers/XMLObjectDatabase.cs LanguageDataObject.cs Tables/CharacterXDataQuest.cs Tables/ClassXSpecialization.cs Tables/HousingConsignmentMerchant.cs Tables/LanguageDoor.cs Tables/LanguageGameObject.cs Tables/LanguageItem.cs Tables/LanguageNPC.cs Tables/LanguageSystem.cs Tables/Regions.cs Tables/SalvageYield.cs Tables/DropTemplateXItemTemplate.cs Tables/LanguageArea.cs Tables/LanguageZone.cs Tables/MobDropTemplate.cs Tables/DataQuest.cs Tables/Zones.cs Tables/DOLCharactersBackup.cs Tables/MobXAmbientBehaviour.cs Transaction/IsolationLevel.cs DatabaseException.cs DataObject.cs DataTableHandler.cs Handlers/MySQLObjectDatabase.cs IObjectDatabase.cs Tables/Account.cs Tables/Appeal.cs Tables/Artifact.cs Tables/ArtifactBonus.cs Tables/ArtifactXItem.cs Tables/BindPoint.cs Tables/BugReport.cs Tables/CharacterXOneTimeDrop.cs Tables/ItemUnique.cs Tables/ServerStats.cs Tables/DOLCharacters.cs Tables/ClassXRealmAbility.cs Tables/Battleground.cs Tables/AuditEntry.cs Tables/PvPKillsLog.cs Tables/HouseHookpointOffset.cs Tables/InstanceXElement.cs Tables/MinotaurRelic.cs Tables/KeepCaptureLog.cs Tables/Race.cs Tables/ServerProperty_Category.cs Tables/PlayerBoats.cs Tables/CharacterXMasterLevel.cs Tables/HousepointItem.cs Tables/DBHouseCharsXPerms.cs Tables/DBHousePermissions.cs Tables/KeepHookPointItem.cs Tables/KeepPosition.cs Tables/News.cs Tables/Relic.cs Tables/StyleXSpell.cs Tables/PlayerXEffect.cs Tables/ServerProperty.cs Tables/Ability.cs Tables/GuildAlliance.cs Tables/Area.cs Tables/Ban.cs Tables/CraftedItem.cs Tables/CraftedXItem.cs Tables/Door.cs Tables/Faction.cs Tables/FactionAggroLevel.cs Tables/Guild.cs Tables/DBHouse.cs Tables/DBHouseIndoorItem.cs Tables/DBHouseOutdoorItem.cs Tables/Keep.cs Tables/KeepComponent.cs Tables/KeepHookPoint.cs Tables/LineXSpell.cs Tables/LinkedFaction.cs Tables/LootGenerator.cs Tables/LootOTD.cs Tables/LootTemplate.cs Tables/MobXLootTemplate.cs Tables/NpcTemplate.cs Tables/Path.cs Tables/PathPoints.cs Tables/Quest.cs Tables/GuildRank.cs Tables/Salvage.cs Tables/SinglePermission.cs Tables/Specialization.cs Tables/SpecXAbility.cs Tables/Spell.cs Tables/SpellLine.cs Tables/Style.cs Tables/Task.cs Tables/Inventory.cs Tables/ItemTemplate.cs Tables/MerchantItem.cs Tables/Mob.cs Tables/NPCEquipment.cs Tables/Teleport.cs Tables/WorldObject.cs Tables/ZonePoint.cs ObjectDatabase.cs UniqueID/IDGenerator.cs /target:library /warnaserror- /unsafe- /checked- /define:TRACE /nowarn:"1570;1572;1573;1587;1591;1592" /platform:x86 /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll /reference:/usr/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll /reference:../sharedModules/SQLite/managedOnly/System.Data.SQLite.dll /reference:/usr/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll /reference:/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll /reference:/usr/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll /reference:/usr/lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll /warn:4
Connection/DataConnection.cs(31,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Connection/DataConnection.cs(32,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing a using directive or an assembly reference?
Connection/DataConnection.cs(51,41): error CS0246: The type or namespace name `ILog' could not be found. Are you missing a using directive or an assembly reference?
ObjectDatabase.cs(33,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Handlers/MySQLObjectDatabase.cs(28,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing a using directive or an assembly reference?
Handlers/MySQLObjectDatabase.cs(29,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing a using directive or an assembly reference?
Tables/ItemTemplate.cs(64,41): error CS0246: The type or namespace name `ILog' could not be found. Are you missing a using directive or an assembly reference?
Tables/Inventory.cs(24,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/root/DOLSharp/DOLDatabase/DOLDatabase.csproj".-- FAILED
Done building project "/root/DOLSharp/DOLDatabase/DOLDatabase.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/root/DOLSharp/Dawn of Light.sln".-- FAILED
Done building project "/root/DOLSharp/Dawn of Light.sln".-- FAILED

Build FAILED.

Warnings:

/root/DOLSharp/Dawn of Light.sln: warning : Don't know how to handle GlobalSection DPCodeReviewSolutionGUID, Ignoring.

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLBase/DOLBase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.Common.targets (GetFrameworkPaths target) ->

/usr/lib/mono/4.0/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.5' not supported by this toolset (ToolsVersion: 4.0).

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLBase/DOLBase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.Common.targets (GetReferenceAssemblyPaths target) ->

/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLBase/DOLBase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'log4net' not resolved

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLDatabase/DOLDatabase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.Common.targets (GetFrameworkPaths target) ->

/usr/lib/mono/4.0/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.5' not supported by this toolset (ToolsVersion: 4.0).

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLDatabase/DOLDatabase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.Common.targets (GetReferenceAssemblyPaths target) ->

/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLDatabase/DOLDatabase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'log4net' not resolved
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'MySql.Data' not resolved
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'System.Data' and 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System.Data' reference.
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' not resolved
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'System' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System' reference.
/usr/lib/mono/4.0/Microsoft.Common.targets: warning : Found a conflict between : 'System.Xml' and 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System.Xml' reference.

Errors:

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLBase/DOLBase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->

Network/BaseClient.cs(23,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Network/BaseServer.cs(25,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Network/BaseServer.cs(47,36): error CS0246: The type or namespace name `HashSet' could not be found. Are you missing a using directive or an assembly reference?
WeakMulticastDelegate.cs(23,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?

/root/DOLSharp/Dawn of Light.sln (default targets) ->
(Build target) ->
/root/DOLSharp/DOLDatabase/DOLDatabase.csproj (default targets) ->
/usr/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->

Connection/DataConnection.cs(31,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Connection/DataConnection.cs(32,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing a using directive or an assembly reference?
Connection/DataConnection.cs(51,41): error CS0246: The type or namespace name `ILog' could not be found. Are you missing a using directive or an assembly reference?
ObjectDatabase.cs(33,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?
Handlers/MySQLObjectDatabase.cs(28,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing a using directive or an assembly reference?
Handlers/MySQLObjectDatabase.cs(29,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing a using directive or an assembly reference?
Tables/ItemTemplate.cs(64,41): error CS0246: The type or namespace name `ILog' could not be found. Are you missing a using directive or an assembly reference?
Tables/Inventory.cs(24,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing a using directive or an assembly reference?

12 Warning(s)
12 Error(s)

Time Elapsed 00:00:03.3972730

Re: Linux Server

PostPosted: Thu May 19, 2016 4:57 am
by Leodagan
For building...

There is a new "step" when retrieving sources

Open a Shell inside directory where sources are cloned then use Nuget to download binary dependencies
Code: Select all
cd your_cloned_dir nuget restore
You need to install Nuget for your Linux distribution, or download nuget.exe from nuget.org and run it with Mono...

Re: Linux Server

PostPosted: Thu May 19, 2016 12:37 pm
by Pigpriest
Thanks for your answer.
I test it this evening.

But one more question. Linux and an exe file? This is a Windows file or simulate Mono windows.
Can I run this file (DOLServer_linux_net45_Release.zip)

Also Extract the zip file, Upload an run the DOLServer.exe, after config Change, with mono?

Re: Linux Server

PostPosted: Fri May 20, 2016 4:49 am
by Leodagan
You can run any Windows "exe" file which are built using Managed .NET with the Mono Runtime (no need for Wine)
Code: Select all
mono my_managed-net.exe --with-params...
thus for Nuget you can use
Code: Select all
mono /path/to/nuget.exe restore
For DOLServer you can run the "exe" distributed in DOLServer_linux_net45_Release.zip the same way
Code: Select all
mono DOLServer.exe
or other tools
Code: Select all
mono DOLConfig.exe
Mono is a Community Implementation of the Windows .NET Runtime, .NET Managed Runtime can be seen like a Java Virtual Machine, except it use .NET ByteCode (MSIL) instead of Java ByteCode :)

The DOLServer.exe provided for Linux have only ONE small difference with the windows distribution of DOLServer.exe, the SQLite Embedded Library for Linux targets system SQLite Binaries (/lib/libsqlite3.so) instead of Windows Packaged SQLite Binaries (SQLite.Interop.dll), this is because SQLite is only provided as pure C/C++ compiled library and can't be system portable like a Managed program...

Re: Linux Server

PostPosted: Tue Jul 19, 2016 12:28 pm
by HunabKu
Hey, i'd the same problem even after i restore nuget packages.
For information Monodevelop automaticaly restore nuget package on first solution load.

So i :
1. deleted my solution folder
2. re clone it
3. open with MonoDevelop
4. close after the 'restore nuget packages' message disappear
5. re-open and compile
6. surprise ! it's working

i don't know what buged but that's my history :wink:

Re: Linux Server

PostPosted: Thu Jul 28, 2016 9:40 am
by HunabKu
I've this problem again.
More informations :
- i clone git
- i can compile as many times as i want
- if i modify any line, i've this problem

Re: Linux Server

PostPosted: Thu Sep 01, 2016 8:50 am
by HunabKu
Hi.
I've a new issue on Linux : The file names and line for errors don't appear correctly : <filename unknow>:0
Code: Select all
[10:46:24,153] InvokeSafe System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: The method or operation is not implemented. at DOL.GS.GameEvents.StatPrint.GetProcessCounterName () <0x4050d120 + 0x00093> in <filename unknown>:0 at DOL.GS.GameEvents.StatPrint.OnScriptCompiled (DOL.Events.DOLEvent e, System.Object sender, System.EventArgs args) <0x4050bd80 + 0x00187> in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x7ff9251881e0 + 0x000a3> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x7ff9251881e0 + 0x000f1> in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0x7ff924fb3e90 + 0x0002a> in <filename unknown>:0 at DOL.WeakMulticastDelegate.InvokeSafe (System.Object[] args) <0x404a4070 + 0x00075> in <filename unknown>:0 [10:46:24,179] Server is now listening to incoming connections!
- I tested, this problem affect dol only on linux. So the problem seems to come about mono.
- I tested, this problem affect dol on ext4 and ntfs file systems.

Founded a solution : launch mono with --debug.
LANG=fr_FR@euro mono --debug --gc=sgen --server DOLServer.exe

I edit articles now.

Re: Linux Server

PostPosted: Mon Sep 26, 2016 3:43 am
by Urza
@Pigpriest:
Hallo, wie weit bist du denn mit DoL unter Linux?