• This section is "bound" to the Resources page. Once you've submitted a new mod to the resources, a new discussion about your mod will be automatically generated and posted in this section. That means, you can't create a new thread by hand in here.
  • The move of Eco-Mods.com has taken place and the merge of our old officials forums is currently ongoing, read more here.
Asphalt-ModKit - Modding Framework

Asphalt-ModKit - Modding Framework 0.5.6.1

No permission to download
OP
mampf

mampf

Moderator
Mod Dev
Eco-Mods.com Founder
Messages
115
Reaction score
71
Can you explain me on which system you are running Asphalt?
Windows? Linux? Which Version? 32bit?
 
OP
mampf

mampf

Moderator
Mod Dev
Eco-Mods.com Founder
Messages
115
Reaction score
71
hmm I have no idea why you have that issue.
If you have some time please contact me on discord mampf#6606.
Maybe we can talk :p
 

wa2k

Stone
Messages
4
Reaction score
0
Hi I am on Eco v8.0.6

This is my first time using mods, i am hosting my own private server (to re-learn the game), the server loads up and generates a world. i can login and wander around and open different interfaces like the map and whatnot. the moment i go to left click or right click with or without something in hand i get an exception and get sent to the main menu. this is the exception i get:

Server encountered an exception:

<size=60.00%>Exception: MissingMethodException
Message:Method not found: 'Single Eco.Gameplay.Players.DifficultyConfig.get_ExperiencePerAction()'.
Source:Asphalt-ModKit

System.MissingMethodException: Method not found: 'Single Eco.Gameplay.Players.DifficultyConfig.get_ExperiencePerAction()'.
at Asphalt.Api.Event.PlayerEvents.PlayerInteractEventHelper.Postfix(InteractionInfo info, InteractionContext& __result)
at MakeContext_Patch1(InteractionInfo info, Player player)
at Eco.Gameplay.Players.Player.PlayerInteract(InteractionInfo info)</size>

i asked about this on Eco discord and one of the support moderators said this:
Praefator [EU/NL-EN]Today at 10:59 AM
Ah of course. The ExperiencePerAction was changed in 8.0.6. It's now PlayerExperiencePerSpecialtyExperience (edited)
@war2k can you add that to the post?
 

Lokiare

Stone
Messages
3
Reaction score
1
I'm running this on Wine and a mod that depends on this can't find any of the files it uses to read settings. I've contacted that author, but just in case I'm posting this here.
 

nid

Copper
Trusted Dev
Mod Dev
Messages
52
Reaction score
18
I'm running this on Wine and a mod that depends on this can't find any of the files it uses to read settings. I've contacted that author, but just in case I'm posting this here.
Hey there, this is an issue on my end, due to the paths being platform dependent, never tested it on Mono, sorry :D It is being fixed.
 

Hadez

Stone
Messages
2
Reaction score
1
Hello, I have a small problem when I try to launch my server with Asphalt MDK plugin,

Code:
[21:22:31.173] [1] [ Info] [Eco] >>> START EcoServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 
[21:22:31.183] [1] [ Info] [Eco] Eco Server 0.8.2.9 beta
 
[21:22:31.241] [1] [ Info] [Eco] Server Initialization...  
[21:22:31.241] [1] [ Info] [Eco] Starting LocalizationPlugin...  
[21:22:31.479] [1] [ Info] [Eco] Starting ModKitPlugin...  
[21:22:31.479] [1] [ Info] [Eco] Loading mods...  
[21:22:31.515] [1] [ Info] [Eco] Compilation des mods...  
[21:22:32.689] [1] [ Info] [Eco] Chargement Asphalt-ModKit...
 
[21:22:32.692] [1] [ Info] [Eco] Chargement 0Harmony...
 
[21:22:32.692] [1] [ Info] [Eco] Chargement Eco.IntegrationTests...
 
[21:22:32.698] [1] [ Info] [Eco] Loading mods finished in 1 218,0ms
 
[21:22:32.698] [1] [ Info] [Eco] Starting NetworkManager...  
[21:22:32.702] [6] [ Info] [Eco] Initialisation des types de simulation...  
[21:22:32.769] [7] [ Info] [Eco] Starting BackupPlugin...  
[21:22:32.778] [7] [ Info] [Eco] Starting StorageManager...  
[21:22:32.979] [8] [ Info] [Eco] Starting WorldGeneratorPlugin...  
[21:22:33.036] [5] [ Info] [Eco] Starting GameplayStatsPlugin...  
[21:22:33.092] [1] [ Info] [Eco] Server Initialization finished in 1 850,8ms
 
[21:22:33.094] [1] [ Info] [Eco] Failed to load server, Exception was Exception: ReflectionTypeLoadException
Message:Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load type of field 'Asphalt.Api.Asphalt:<Harmony>k__BackingField' (1) due to: Could not load file or assembly '0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load type of field 'Asphalt.Api.Asphalt:<Harmony>k__BackingField' (1) due to: Could not load file or assembly '0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <15c986724bdc480293909469513cfdb3>:0 
  at Eco.Core.Serialization.SimpleSerializer+<>c.<InitializeSerializableTypes>b__38_0 (System.Reflection.Assembly assembly) [0x00000] in <819dccde568b4de182be051baf2fd231>:0 
  at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <bc12c8ff64f747cbbe4a57b5cb9ad68c>:0 
  at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00029] in <bc12c8ff64f747cbbe4a57b5cb9ad68c>:0 
  at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00059] in <bc12c8ff64f747cbbe4a57b5cb9ad68c>:0 
  at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x000a3] in <bc12c8ff64f747cbbe4a57b5cb9ad68c>:0 
  at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) [0x00000] in <bc12c8ff64f747cbbe4a57b5cb9ad68c>:0 
  at Eco.Core.Serialization.SimpleSerializer.InitializeSerializableTypes () [0x000ba] in <819dccde568b4de182be051baf2fd231>:0 
  at Eco.Core.Serialization.SimpleSerializer..cctor () [0x00010] in <819dccde568b4de182be051baf2fd231>:0 
System.TypeLoadException: Could not load type of field 'Asphalt.Api.Asphalt:<Harmony>k__BackingField' (1) due to: Could not load file or assembly '0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
 

.
I am using debian 9 and I have Mono 6.0.0
 
Last edited:

nid

Copper
Trusted Dev
Mod Dev
Messages
52
Reaction score
18
Hey, newest version doesn't work in Linux environment yet, workaround for now is to use previous one. You can find it in history in this thread.
 
OP
mampf

mampf

Moderator
Mod Dev
Eco-Mods.com Founder
Messages
115
Reaction score
71
@Hadez
You can also try to put the 0Harmony.dll in the same folder then the .exe file.
 

AlexALX

Stone
Messages
2
Reaction score
0
Version 0.5.6.1 does not work on linux using mono, got crash on server startup:

Code:
Failed to load server, Exception was Exception: NullReferenceException
Message:Object reference not set to an instance of an object
Source:0Harmony

System.NullReferenceException: Object reference not set to an instance of an object
  at Harmony.ILCopying.Memory.WriteBytes (System.Int64 memory, System.Byte[] values) [0x0000c] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.ILCopying.Memory.WriteJump (System.Int64 memory, System.Int64 destination) [0x00041] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.ILCopying.Memory.DetourMethod (System.Reflection.MethodBase original, System.Reflection.MethodBase replacement) [0x0003b] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, Harmony.PatchInfo patchInfo, System.String instanceID) [0x00056] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.PatchProcessor.Patch () [0x000e4] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.HarmonyInstance.<PatchAll>b__9_0 (System.Type type) [0x0002c] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x0001b] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00007] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Asphalt.Api.Asphalt..cctor () [0x00033] in <f0a49a6b2586428eb7da139783ce61b3>:0
But 0.5.6.0 seems to be working, but with exit issue (must send exit command instead).
 
Last edited:
Top Bottom