Create a free account to remove all ad content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mystic_ReloadzZ

Pages: [1]
Your Projects / [C#] Re: TM crash report/message. [Fixed]
« on: November 13, 2018, 03:39:08 AM »
[Issue Solved]

Your Projects / [C#] TM crash report/message. [Need Help]
« on: November 12, 2018, 05:13:27 PM »
I have been trying to add in a new item into the game, you may know of the "sonic screwdriver" from Doctor Who, and i have only just finished the code (for it to open locked doors and locked chests) and all the XML files. I have loaded the game to test it... and all the problems showed XD

1) The textures didn't load but the item was still in the shop/creative menu.
2) when i "bought" the item and it was in my inventory, when I exited out of the creative/shop menu the game crashed and gave me this message.
Spoiler for Hidden Content:
Total Miner.  Please take a photo of this screen and post it on, so that we can fix it. Thank you.

System.ArgumentOutOfRangeException: Resource size must be greater than zero.
Parameter name: vertexCount
   at Microsoft.Xna.Framework.Graphics.VertexBuffer..ctor(GraphicsDevice graphicsDevice, Type vertexType, Int32 vertexCount, BufferUsage usage)
   at StudioForge.TotalMiner.Graphics.ItemModelManager.BuildModel(Item itemID)
   at StudioForge.TotalMiner.Graphics.ItemModel.BuildMesh()
   at StudioForge.TotalMiner.Hand.SetItem(Item newItemID, Boolean overrideOtherHand)
   at StudioForge.TotalMiner.Player.CheckHotBarButtons()
   at StudioForge.TotalMiner.Player.HandlePlayInput()
   at StudioForge.TotalMiner.Player.HandleInput(GamePadState pad, GamePadState lastpad)
   at StudioForge.TotalMiner.GameInstance.HandleInput(InputState input)
   at StudioForge.TotalMiner.Screens.GameplayScreen.HandleInput(InputState input)
   at StudioForge.Engine.GameState.ScreenManager.Update(Int32 index, Boolean otherScreenHasFocus)
   at StudioForge.Engine.GameState.ScreenManager.Update(GameTime donotuse)
   at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
   at StudioForge.Engine.Game.BaseGame.Update(GameTime gameTime)
   at StudioForge.TotalMiner.TotalMinerGame.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 StudioForge.Engine.Game.BaseGame.Run[T]()
I'm not sure if it's my code (probably, i'm pretty bad XD) or if it was something else...

**just for reference i did use one of Craig's Sample mods ( as a guide/help.

Creative Features / Re: Killstreak script need help!
« on: June 12, 2016, 05:02:13 PM »
until they die really.

Creative Features / Killstreak script need help!
« on: June 11, 2016, 10:37:36 PM »
I am making an adventure map and i want to make a kill streak script for it, however i dont know how. If anyone can help please message me.

Ideas / Re: HasStat Script
« on: July 11, 2015, 06:54:28 PM »
I think that would be a really good script because it can be used for so many different stuff

Ideas / Re: HasRate [player] [5] [true]
« on: July 11, 2015, 06:30:57 PM »
i know what you mean but if you rate 5 you should get a reward also if you dont say you get a reward then players wont just rate as they dont know if they get a reward

Ideas / HasRate [player] [5] [true]
« on: July 11, 2015, 06:22:00 PM »
I would like this script in the game because it would help to give rewards to people who have rated 5
Has Rate [player] [5] [true]
Inventory [player] [add] [gold pieces] [5000]

This script would be brilliant for a world like Hunger games because it could be used like this;
IsPlayer [x,y,z] [x,y,z] [true]
Teleport [player] [x,y,z]

It would also help with "private mines" to stop players getting in.
The Second script i would like to see would help again for "private mines" becasue it could be used like this
IsZone [Builder] [true]
Teleport [player] [x,y,z]
IsZone [builder] [false]
SetBuilder [zone name] [player]

Pages: [1]