Giter Site home page Giter Site logo

bartizan's Issues

Patcher can't deal with multidimensional arrays

Accessing a multidimensional array, like TowerFall.TrialsStats.Levels, will crash the game with a MissingFieldException. To find the problem, I put some debug output into the patcher, and it shows mapType turns the TrialsLevelStats[][] type into TrialsLevelStats[].

I temporarily fixed it by adding if (type.Name.Contains("Trials")) return new ArrayType(new ArrayType(type)); to mapType, but it's obviously not a good solution - especially since it seems to break other things, I can't access CallRealBase anymore with my changed patcher. Still, I'll be using that workaround until someone more skilled can look into that...

Can't manage to install this mod on arch linux

Hellow. i followed the instructions but
i got this error :
Unhandled Exception:
"System.NullReferenceException: Object reference not set to an instance of an object
at Mono.Cecil.Mixin.HasImplicitThis (IMethodSignature self) <0x41d6d380 + 0x00010> in :0
at Mono.Cecil.Cil.CodeWriter.ComputeStackDelta (Mono.Cecil.Cil.Instruction instruction, System.Int32& stack_size) <0x41d6cc80 + 0x000d7> in :0
at Mono.Cecil.Cil.CodeWriter.ComputeStackSize (Mono.Cecil.Cil.Instruction instruction, System.Collections.Generic.Dictionary2& stack_sizes, System.Int32& stack_size, System.Int32& max_stack) <0x41d6cba0 + 0x00073> in <filename unknown>:0 at Mono.Cecil.Cil.CodeWriter.ComputeHeader () <0x41d6c730 + 0x000e3> in <filename unknown>:0 at Mono.Cecil.Cil.CodeWriter.WriteResolvedMethodBody (Mono.Cecil.MethodDefinition method) <0x41d6c5e0 + 0x0006b> in <filename unknown>:0 at Mono.Cecil.Cil.CodeWriter.WriteMethodBody (Mono.Cecil.MethodDefinition method) <0x41d687e0 + 0x0007f> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddMethod (Mono.Cecil.MethodDefinition method) <0x41d67030 + 0x00053> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddMethods (Mono.Cecil.TypeDefinition type) <0x41d66fb0 + 0x0004b> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddType (Mono.Cecil.TypeDefinition type) <0x41d63100 + 0x001af> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddTypeDefs () <0x41d63080 + 0x0004b> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.BuildTypes () <0x41d62bb0 + 0x00033> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.BuildModule () <0x41d5ed10 + 0x000e3> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.BuildMetadata () <0x41d5ecc0 + 0x0000f> in <filename unknown>:0 at Mono.Cecil.ModuleWriter.<BuildMetadata>m__0 (Mono.Cecil.MetadataBuilder builder, Mono.Cecil.MetadataReader _) <0x41d5eca0 + 0x00013> in <filename unknown>:0 at Mono.Cecil.ModuleDefinition.Read[TItem,TRet] (Mono.Cecil.TItem item, Mono.Func3 read) <0x41d21e50 + 0x00046> in :0
at Mono.Cecil.ModuleWriter.BuildMetadata (Mono.Cecil.ModuleDefinition module, Mono.Cecil.MetadataBuilder metadata) <0x41d5ebc0 + 0x000af> in :0
at Mono.Cecil.ModuleWriter.WriteModuleTo (Mono.Cecil.ModuleDefinition module, System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) <0x41d4a170 + 0x001a7> in :0
at Mono.Cecil.ModuleDefinition.Write (System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) <0x41d4a030 + 0x00067> in :0
at Mono.Cecil.ModuleDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) <0x41d49fa0 + 0x0004b> in :0
at Mono.Cecil.ModuleDefinition.Write (System.String fileName) <0x41d49f60 + 0x0002f> in :0
at Patcher.Patcher.Patch (System.String modModulePath) <0x41d04030 + 0x01cdf> in :0
at Wizard.Program.Main () <0x41cf9e40 + 0x00413> in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at Mono.Cecil.Mixin.HasImplicitThis (IMethodSignature self) <0x41d6d380 + 0x00010> in :0
at Mono.Cecil.Cil.CodeWriter.ComputeStackDelta (Mono.Cecil.Cil.Instruction instruction, System.Int32& stack_size) <0x41d6cc80 + 0x000d7> in :0
at Mono.Cecil.Cil.CodeWriter.ComputeStackSize (Mono.Cecil.Cil.Instruction instruction, System.Collections.Generic.Dictionary2& stack_sizes, System.Int32& stack_size, System.Int32& max_stack) <0x41d6cba0 + 0x00073> in <filename unknown>:0 at Mono.Cecil.Cil.CodeWriter.ComputeHeader () <0x41d6c730 + 0x000e3> in <filename unknown>:0 at Mono.Cecil.Cil.CodeWriter.WriteResolvedMethodBody (Mono.Cecil.MethodDefinition method) <0x41d6c5e0 + 0x0006b> in <filename unknown>:0 at Mono.Cecil.Cil.CodeWriter.WriteMethodBody (Mono.Cecil.MethodDefinition method) <0x41d687e0 + 0x0007f> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddMethod (Mono.Cecil.MethodDefinition method) <0x41d67030 + 0x00053> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddMethods (Mono.Cecil.TypeDefinition type) <0x41d66fb0 + 0x0004b> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddType (Mono.Cecil.TypeDefinition type) <0x41d63100 + 0x001af> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.AddTypeDefs () <0x41d63080 + 0x0004b> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.BuildTypes () <0x41d62bb0 + 0x00033> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.BuildModule () <0x41d5ed10 + 0x000e3> in <filename unknown>:0 at Mono.Cecil.MetadataBuilder.BuildMetadata () <0x41d5ecc0 + 0x0000f> in <filename unknown>:0 at Mono.Cecil.ModuleWriter.<BuildMetadata>m__0 (Mono.Cecil.MetadataBuilder builder, Mono.Cecil.MetadataReader _) <0x41d5eca0 + 0x00013> in <filename unknown>:0 at Mono.Cecil.ModuleDefinition.Read[TItem,TRet] (Mono.Cecil.TItem item, Mono.Func3 read) <0x41d21e50 + 0x00046> in :0
at Mono.Cecil.ModuleWriter.BuildMetadata (Mono.Cecil.ModuleDefinition module, Mono.Cecil.MetadataBuilder metadata) <0x41d5ebc0 + 0x000af> in :0
at Mono.Cecil.ModuleWriter.WriteModuleTo (Mono.Cecil.ModuleDefinition module, System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) <0x41d4a170 + 0x001a7> in :0
at Mono.Cecil.ModuleDefinition.Write (System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) <0x41d4a030 + 0x00067> in :0
at Mono.Cecil.ModuleDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) <0x41d49fa0 + 0x0004b> in :0
at Mono.Cecil.ModuleDefinition.Write (System.String fileName) <0x41d49f60 + 0x0002f> in :0
at Patcher.Patcher.Patch (System.String modModulePath) <0x41d04030 + 0x01cd"
I have no idea why...

Linux build appears to be Windows Executables

as the title states, the Linux build appears to be a copy of the Windows executables - running file Wizard.exe confirms this.

is there the possibility that a Linux version can be released?

in addition, when attempting to compile with monodevelop, it is unable to find the Towerfall includes.

Error on game initialization

Hi, I am confused on the installation. I extracted the release zip to my steam folder, ran wizard.exe, and I opened the game using steam when i got the error below

System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Monocle.Atlas..ctor(String xmlPath, String imagePath, Boolean load)
at TowerFall.TFGame.LoadContent()
at Microsoft.Xna.Framework.Game.Initialize()
at Monocle.Engine.Initialize()
at TowerFall.TFGame.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at TowerFall.TFGame.Main(String[] args)

I'm pretty sure that this was caused by me not being able to install i properly though. I was wondering if you could be more specific on the installation instructions? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.