Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

MLLE issues & unplayable levels

Xerxes

JCF Member

Joined: Jan 1970

Posts: 9

Xerxes has disabled reputation

Oct 20, 2018, 12:01 PM
Xerxes is offline
Reply With Quote
MLLE issues & unplayable levels

Hi again! I was checking out some levels, among them Complete Pipe Dream. It haven't appear in my Home Cooked levels list, so I have opened it in MLLE to see what's going on. The option to hide the level is checked and it would be so easy to just uncheck it and save the level. The problem is that I can not save the level nor "save and run" nor even just "test run". I have noticed that this happens a lot with levels that use lots of animations. MLLE will simply not let me save the level.

Here is the window I get:



and here is the whole message in the details:

Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at J2LFile.Save(String filename, Boolean eraseUndefinedTiles, Boolean allowDifferentTilesetVersion, Boolean storeGivenFilename, Byte[] Data5) in C:\Users\Sam\Documents\Visual Studio 2015\Projects\MLLE\j2files.cs:line 1890
   at MLLE.Mainframe.SaveJ2L(String filename, Boolean eraseUndefinedTiles, Boolean allowDifferentTilesetVersion, Boolean storeGivenFilename) in C:\Users\Sam\Documents\Visual Studio 2015\Projects\MLLE\Mainframe.cs:line 1671
   at MLLE.Mainframe.SaveAndRun(String filepath, String warningText, Boolean storeGivenFilename) in C:\Users\Sam\Documents\Visual Studio 2015\Projects\MLLE\Mainframe.cs:line 1528
   at MLLE.Mainframe.saveRunToolStripMenuItem_Click(Object sender, EventArgs e) in C:\Users\Sam\Documents\Visual Studio 2015\Projects\MLLE\Mainframe.cs:line 1582
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.(-)(-)(-)(-)(-)(-)(-)(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
   at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
   at System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at MLLE.Mainframe.ProcessCmdKey(Message& msg, Keys keyData) in C:\Users\Sam\Documents\Visual Studio 2015\Projects\MLLE\Mainframe.cs:line 707
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MLLE
    Assembly Version: 2.11.0.0
    Win32 Version: 2.11
    CodeBase: file:///C:/Jazz2/MLLE/MLLE.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
OpenTK.GLControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.278.44921
    CodeBase: file:///C:/Jazz2/MLLE/OpenTK.GLControl.DLL
----------------------------------------
OpenTK
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.278.44921
    CodeBase: file:///C:/Jazz2/MLLE/OpenTK.DLL
----------------------------------------
Ionic.Zlib.CF
    Assembly Version: 1.9.1.8
    Win32 Version: 1.9.1.8
    CodeBase: file:///C:/Jazz2/MLLE/Ionic.Zlib.CF.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Bass.Net
    Assembly Version: 2.4.8.0
    Win32 Version: 2.4.8.0
    CodeBase: file:///C:/Jazz2/MLLE/Bass.Net.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


    


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


BTW: my computer can't be an issue here, since it's pretty new and very fast.
Attached Images
File Type: jpg Capture22.JPG (55.9 KB, 0 views)
Treylina Treylina's Avatar

JCF Member

Joined: Sep 2009

Posts: 1,046

Treylina is a forum legendTreylina is a forum legendTreylina is a forum legend

Oct 21, 2018, 05:43 PM
Treylina is offline
Reply With Quote
Are you saving with 1.23 instead of TSF? That may be the problem.

Honestly though, I'd just recommend hosting locally to view multiplayer levels instead. Not only is it less tedious and far easier to cycle to different levels, there are different start positions used for single player compared to multiplayer, which means that opening multiplayer levels (in single player mode) often causes the player to get stuck inside a wall.
__________________


Jazz Jackrabbit group: https://discord.gg/vZm95tQ
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Oct 21, 2018, 09:11 PM
Violet CLM is offline
Reply With Quote
This appears to be a bug in MLLE, probably having to do, as you say, with large numbers of animations. Thanks for the report! Do you remember any other specific levels you've experienced this with, for help in identifying the problem?
__________________
Xerxes

JCF Member

Joined: Jan 1970

Posts: 9

Xerxes has disabled reputation

Oct 22, 2018, 12:10 AM
Xerxes is offline
Reply With Quote
Violet - I'll post the names of the other levels as soon as I will remember them.

Quote:
Originally Posted by Treylina View Post
Are you saving with 1.23 instead of TSF? That may be the problem.
No, TSF.

Quote:
Originally Posted by Treylina View Post
Honestly though, I'd just recommend hosting locally to view multiplayer levels instead. Not only is it less tedious and far easier to cycle to different levels, there are different start positions used for single player compared to multiplayer, which means that opening multiplayer levels (in single player mode) often causes the player to get stuck inside a wall.
Hmmm... I'm very new into this community, I really have no idea how to do it.
Treylina Treylina's Avatar

JCF Member

Joined: Sep 2009

Posts: 1,046

Treylina is a forum legendTreylina is a forum legendTreylina is a forum legend

Oct 22, 2018, 09:44 AM
Treylina is offline
Reply With Quote
Quote:
Originally Posted by Xerxes View Post
Hmmm... I'm very new into this community, I really have no idea how to do it.
New game -> Party Mode -> Local Network TCP -> Start a new game < Server > -> Everything else should be self explanatory. Once you have started a server, you can use /c to cycle levels. For example /c battle1 will cycle you to battle1.
__________________


Jazz Jackrabbit group: https://discord.gg/vZm95tQ
Xerxes

JCF Member

Joined: Jan 1970

Posts: 9

Xerxes has disabled reputation

Oct 22, 2018, 02:10 PM
Xerxes is offline
Reply With Quote
Got it, thx! But please elaborate on this: "you can use /c to cycle levels". I just don't understand what /c means. And is this connected with the level list?
Treylina Treylina's Avatar

JCF Member

Joined: Sep 2009

Posts: 1,046

Treylina is a forum legendTreylina is a forum legendTreylina is a forum legend

Oct 23, 2018, 12:00 PM
Treylina is offline
Reply With Quote
Quote:
Originally Posted by Xerxes View Post
Got it, thx! But please elaborate on this: "you can use /c to cycle levels". I just don't understand what /c means. And is this connected with the level list?
JJ2+ offers chat commands, which all start with / when you're the host. To chat, press T.

You don't need to worry about levellist.ini as a host. My recommendation regarding it was simply to help know which level belongs to what gamemode. levellist.ini is normally used as a white list for what levels clients (non-hosts) can cycle to.

EDIT: Oh yeah, I forgot the original purpose, as explained below. My bad..
__________________


Jazz Jackrabbit group: https://discord.gg/vZm95tQ

Last edited by Treylina; Oct 23, 2018 at 06:12 PM.
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,812

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Oct 23, 2018, 12:43 PM
cooba is offline
Reply With Quote
The purpose of the Level List is to allow servers to have a controllable rotation of levels to be hosted, without having to change their own Next Level settings, which used to be cumbersome before JJ2+ introduced this functionality.

Official documentation (currently missing from the JJ2+ readme for some reason):
Quote:
You can write the filenames directly into levellist.ini directly. The "j2l" extension must be included. This is the general format of levellist.ini:

[Battle]
001=levelfilename.j2l

The default section names, based on gamemode, are Battle, TeamBattle, CTF, Treasure, SinglePlayer, and Race. The number before the equal sign must be between 001 and 999, and the leading zeros are required.
Old Nov 13, 2018, 12:08 AM
Vietphil
This message has been deleted by ShadowGPW.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 08:33 AM.