don't click here

SonLVL

Discussion in 'Engineering & Reverse Engineering' started by MainMemory, Feb 7, 2011.

  1. Uberham

    Uberham

    King Of Oblivion Member
    Thanks for the update, but this seems to have broken stuff like Monitor and path swapper placing: they're just Question marks now.
     
  2. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    I'm guessing: you didn't update the definitions; you didn't update SonLVL; something prevented SonLVL from writing to the dllcache (it's a hidden folder, try deleting it?); something screwed up the timestamps on the files.
     
  3. Uberham

    Uberham

    King Of Oblivion Member
    possibly the last one, cos it isn't the dllcache I updated and replaced all the definitions, and I definitely updated SonLVL. did it via the updater prog.

    EDIT: it's prompting me to update SVN ini's only, not the 2007 ini's, could that be it?

    EDIT AGAIN:
    [​IMG]
    I reckon it might just be that.
     
  4. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Oh. Forgot to increment the revision number. Now it should recognize the update.
     
  5. Uberham

    Uberham

    King Of Oblivion Member
    2007 ini's downloaded, DLL on ignore list, works like a charm :)
     
  6. flamewing

    flamewing

    Emerald Hunter Tech Member
    1,161
    65
    28
    France
    Sonic Classic Heroes; Sonic 2 Special Stage Editor; Sonic 3&K Heroes (on hold)
    Report the false positive to AVG and bug them until it is fixed. Or turn off AVG for the update process.
     
  7. Uberham

    Uberham

    King Of Oblivion Member
    I just put it on the ignore list. AVG are twats when it comes to reporting false positives, their bullshit last time I dealt with them included "other people aren't reporting a problem", "get the file creator to code differently" and "until we can speak with the file creator, and ascertain that his code isn't a virus, we're going to keep the positive report".

    on a different note, bug report time! :D

    3 horizontal spikes come up as ?, 4 horizontal spikes uses the graphics for 3 horizontal spikes.

    this bug only appears in the editor, displays properly ingame.
     
  8. Dr. Kylstein

    Dr. Kylstein

    Member
    86
    0
    6
    What's "gmcs"? SonLVL crashes when it tries to load a level because it can't find "gmcs". (Ubuntu 11.10 amd64, Mono 2.10.5-1)

    Log:
    System.NullReferenceException: Object reference not set to an instance of an object.
    at SonicRetro.SonLVL.MainForm.MainForm_Load(Object sender, EventArgs e) in C:\RetroSVN\Programs\SonLVL\SonLVL\MainForm.cs:line 88
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    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 SonicRetro.SonLVL.Program.Main(String[] args) in C:\RetroSVN\Programs\SonLVL\SonLVL\Program.cs:line 21
    at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
    at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

    Edit: SonLVL r.568.1, Sonic 2 SVN 15-Nov-2010
     
  9. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    gmcs is Mono's C# compiler.

    I should point out that I only accept bug reports for the latest version, and log files are basically useless if I add or remove enough lines in the relevant code file.
     
  10. Dr. Kylstein

    Dr. Kylstein

    Member
    86
    0
    6
    Ok, I installed gmcs and the updater version of SonLVL (could you update the OP to make it clear that 568.1 is old?), and tried the INI's it included. Now I find that JScript is needed, which some googling reveals is no longer supported by either Mono or Microsoft. Have you heard about this?
     
  11. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Does this affect your ability to use SonLVL? Does it require you to install something extra to run SonLVL even though it doesn't have any JS objdefs by default? If not, then I'm keeping support to provide more options for people that may want to write definitions.
     
  12. Dr. Kylstein

    Dr. Kylstein

    Member
    86
    0
    6
    SonLVL crashes on level load without it, and I haven't found any way to get JScript.NET support on Ubuntu.
     
  13. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Alright then, I have removed JScript.NET support, because I really don't want to make separate Windows and Linux builds.

    I really should test it on Ubuntu more often.
     
  14. Dr. Kylstein

    Dr. Kylstein

    Member
    86
    0
    6
    Wow, thank you for the quick update! It seems to be working now.
     
  15. Hitaxas

    Hitaxas

    Retro 80's themed Twitch streamer ( on hiatus) Member
    I'm having issues using the import option in this program. Upon importing a chunk, I get a fatal error slapped in my face. This error dumps a log:

     
  16. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    I thought I fixed that? You are using the most up-to-date version right?
     
  17. Hitaxas

    Hitaxas

    Retro 80's themed Twitch streamer ( on hiatus) Member
    Erm, good question. The SVN copy is older than mine, and the updater you released also appears to be older... Something is odd here. >.>

    Fix'd, the updater wasn't overwriting SonLVL.exe before. Works just fine now. :V


    EDIT!
    Right clicking on the background editor causes another fatal error, in the new version:

     
  18. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    I cannot reproduce the error. Maybe I fixed it but haven't uploaded? Also your object definitions are out-of-date, you should get the latest ones from the updater.
     
  19. Hitaxas

    Hitaxas

    Retro 80's themed Twitch streamer ( on hiatus) Member
    Ok, I updated the object definitions, and now I get this error when I try to simply load a level:

     
  20. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    1. You need to replace the obj*.ini files as well.
    2. Try deleting the dllcache folder.