Menu

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.

Show posts Menu

Messages - Lord C

#1
Quote from: Crimson Wizard on Thu 28/05/2020 00:56:09
Lord C, rongel and Lukey J, sorry for long wait. There's a temp build prepared that you may download here: https://cirrus-ci.com/task/4504037129191424
(choose either installer or archive)

Please tell if this version fixes the room "user file" problem for you.

Thank you very much, it works fine now! I can draw walk-behind areas with the rectangle tool and no error messages appear. Thank you!
#2
Okay, thank you very much in advance!
#3
Quote from: Crimson Wizard on Mon 20/04/2020 00:55:15
Lord C, rongel and Lukey J, I finally managed to reproduce the problem you were having, or at least I think it has same root.

The crashes begin if you make the text in the object selection field too long. I don't know how did you do that, maybe this depends on monitor settings too (different resolution, font sizes, and so on), but what I did was creating a room object and giving it a very long name, something like "AAAAA_BBBBB_CCCCCCC_DDDDDDDD_FFFFFFFFF".

If the line is too long this control begins to wrap it, replacing words with "...", and eventually glitches begin to occur (selection not working, crashes, and so on).

Thanks for getting back to us!

But when I create a walk-behind area, I don't give it a name, it just has an ID.
Regardless, when I delete the RoomXXX.crm.user file after the error occurs, it seems to be fixed and I can edit the room again.
#4
Quote from: Crimson Wizard on Mon 06/04/2020 13:10:54

Hmm, so it is actually the same as the exception message you receive afterwards?

Could you tell, does it happen only with walk-behinds, or anything else (other areas? objects?)

Yes, it's the same message. It happens only with walk-behinds. Hotspots, walkable areas and regions work fine.
#5
QuoteCould you tell, when this error message appears, -
"Unable to read the room design-time preferences. This should not affect the actual game data, but the design time-state of all room items will be reset."
- is there any additional text below that indicates actual reason?

It also says: "Index was out of range. Must be non-negative and less than the size of the collection. Paramater name: index"
#7
Quote from: Crimson Wizard on Fri 27/03/2020 20:09:54

Does this depend on how do you add an area? Like, do you always draw it by hand in the editor, or do you import it from bitmap?

Could you upload the room file (roomXXX.crm) and corresponding *.crm.user file if it exists? (after you added a walkable area and saved)

When I import it from bitmap, it seems to work fine. When I draw it in the editor, the error appears.

Here are the room files:

https://drive.google.com/file/d/127JFPyzBlrGmXdaU8Y9_Rj1TLN1ZDlyX/view?usp=sharing

https://drive.google.com/file/d/1lfaSL7O18LWxOtCPGG6KehzyFJiIHN_1/view?usp=sharing
#8
Thank you, and sorry again!
#9
Hello,

I hope this is the right thread for reporting a problem in version 3.5.0.24 of AGS.

Whenever I put a walk-behind area in a room, save the room, and later edit it again, it says:

"Unable to read the room design-time preferences. This should not affect the actual game data, but the design time-state of all room items will be reset."

Also, there is this error information, which it says to post on the AGS forum:

"Error: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index
Version: AGS 3.5.0.24

System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index
   bei System.Collections.ArrayList.get_Item(Int32 index)
   bei System.Windows.Forms.ToolStripItemCollection.get_Item(Int32 index)
   bei AddressBarExt.Controls.AddressBarExt.AddOrUpdateOverflow()
   bei AddressBarExt.Controls.AddressBarExt.UpdateBar()
   bei AddressBarExt.Controls.AddressBarExt.set_CurrentNode(IAddressNode value)
   bei AGS.Editor.RoomSettingsEditor.SelectOldNode(IAddressNode currentNode)
   bei AGS.Editor.RoomSettingsEditor.RefreshLayersTree()
   bei AGS.Editor.Components.RoomsComponent.CreateRoomSettings(DockData previousDockData)
   bei AGS.Editor.Components.RoomsComponent.LoadDifferentRoom(UnloadedRoom newRoom)
   bei AGS.Editor.Components.RoomsComponent.LoadRoom(String controlID)
   bei AGS.Editor.Components.RoomsComponent.ItemCommandClick(String controlID)
   bei AGS.Editor.Components.BaseComponentWithFolders`2.CommandClick(String controlID)
   bei AGS.Editor.ProjectTree.ProcessClickOnNode(String nodeID, MouseButtons button)
   bei AGS.Editor.ProjectTree.projectTree_NodeMouseDoubleClick(Object sender, TreeNodeMouseClickEventArgs e)
   bei System.Windows.Forms.TreeView.OnNodeMouseDoubleClick(TreeNodeMouseClickEventArgs e)
   bei System.Windows.Forms.TreeView.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"

In the room, I then can't select anything from the "Edit this room's" window. When I test the room, it still works fine though.

Thanks in advance for any help with this, and sorry if this isn't the right thread.
SMF spam blocked by CleanTalk