Code:
System specifications:
Pokémon 3D version: 0.32
Operating system: Microsoft Windows 7 Ultimate [6.1.7600.0]
Decimal seperator: .
---------------------------
Here is further information:
Message: 'minValue' cannot be greater than maxValue.
Parameter name: minValue
InnerException: NOTHING
BaseException: 'minValue' cannot be greater than maxValue.
Parameter name: minValue
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: mscorlib
TargetSite: Name: Next [
Attributes: PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
CallingConvention: Standard, HasThis
ContainsGenericParameters: False
DeclaringType: System.Random
IsAbstract: False
IsAssembly: False
IsConstructor: False
IsFamily: False
IsFamilyAndAssembly: False
IsFamilyOrAssembly: False
IsFinal: False
IsGenericMethod: False
IsGenericMethodDefinition: False
IsHideBySig: True
IsPrivate: False
IsPublic: True
IsSecurityCritical: False
IsSecuritySafeCritical: False
IsSecurityTransparent: True
IsSpecialName: False
IsStatic: False
IsVirtual: True
MemberType: Method
MetadataToken: 100666974
MethodHandle: System.RuntimeMethodHandle
Module: CommonLanguageRuntimeLibrary
ReflectedType: System.Random
]
StackTrace: at System.Random.Next(Int32 minValue, Int32 maxValue)
at _2._5DHero.Spawner.CalculatePokemon(List`1 Pokemons, List`1 Chances, List`1 LevelCaps)
at _2._5DHero.Spawner.GetPokemon(String LevelFile, Int32 Method)
at _2._5DHero.Level.PokemonEncounter()
at _2._5DHero.Level.Update()
at _2._5DHero.OverworldScreen.Update()
at _2._5DHero.Basic.Update(GameTime gameTime)
at _2._5DHero.DGame.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Microsoft.Xna.Framework.Game.Run()
at _2._5DHero.Program.Main(String[] args)