Author Topic: Editor Crash when trying to Test  (Read 14881 times)

Grizwhirl

  • Posts: 6
  • Ooh what's that do?
    • View Profile
Editor Crash when trying to Test
« on: August 13, 2013, 06:09:27 PM »
Whenever I try to test a level in the editor the level fails to load.


Juschlan

  • Posts: 75
  • I like trains.
    • View Profile
Re: Editor Crash when trying to Test
« Reply #1 on: August 13, 2013, 09:40:18 PM »
Is it your level? I mean, is it possible to start the example level?

Grizwhirl

  • Posts: 6
  • Ooh what's that do?
    • View Profile
Re: Editor Crash when trying to Test
« Reply #2 on: August 13, 2013, 09:43:00 PM »
No, the example level fails to load as well.

Juschlan

  • Posts: 75
  • I like trains.
    • View Profile
Re: Editor Crash when trying to Test
« Reply #3 on: August 13, 2013, 09:45:06 PM »
How did you test the level? Using the buttons in the editor or did you play it via the hammerwatch.exe in the editor folder?
Or you moved the maps into the folder of the normal game?
Is there an error.txt?
« Last Edit: August 13, 2013, 09:55:55 PM by Juschlan »

Grizwhirl

  • Posts: 6
  • Ooh what's that do?
    • View Profile
Re: Editor Crash when trying to Test
« Reply #4 on: August 13, 2013, 10:08:03 PM »
Running the level from the editor is where the game crashes. I can compile the level and put it in the Hammerwatch level folder, but that is cumbersome when i'm testing inter-connected scripts. I attached an error.txt in my initial post

machao

  • Posts: 7
  • Maggot Crusher.
    • View Profile
Re: Editor Crash when trying to Test
« Reply #5 on: August 14, 2013, 10:36:14 AM »
Same for me

Linaru

  • Moderator
  • Posts: 113
  • That Collectable coin is mine!
    • View Profile
Re: Editor Crash when trying to Test
« Reply #6 on: August 14, 2013, 12:11:27 PM »
you can  run the debug launcher and test it without compiling the map, but it does not make it as easy to load  as the editor, hope myran can get this fixed soon

alternatively i remember hipshot telling me about a bat file he used to test , i could never get it to work but maybe you can.

just create a test document and put in

Code: [Select]
@Echo off
Echo Level_* file:
set /p Input=
Echo Class (knight/ranger/wizard/warlock):
set /p Input2=
"hammerwatch.exe" l editor\greyfall\levels\level_%Input%.xml c %Input2% r 1920x1080

change greyfull to your maps folder and save it as a bat.

this does require that your maps levels be be named level_example.xml

-----------------------------------------------------------
Stabaddey Stabaddey Zap
-----------------------------------------------------------

Juschlan

  • Posts: 75
  • I like trains.
    • View Profile
Re: Editor Crash when trying to Test
« Reply #7 on: August 14, 2013, 04:36:42 PM »
I prever the "start at camera" button.
Debug needs cheatcodes :D

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: Editor Crash when trying to Test
« Reply #8 on: August 14, 2013, 05:22:47 PM »
If you right click Hammerwatch in your steam library and go in to properties, betas and select "testing - Public testing" (no password), it should download a patch for the game, it contains a few crash fixes and a few editor fixes, it might help.
The debug version does have cheats, if you open the console (with the standard ~/§ button depending on keyboard layout) theres a bunch of commands you can use, like "god" and "noclip" (use tab to list)

Juschlan

  • Posts: 75
  • I like trains.
    • View Profile
Re: Editor Crash when trying to Test
« Reply #9 on: August 14, 2013, 05:49:23 PM »
The debug version does have cheats, if you open the console (with the standard ~/§ button depending on keyboard layout) theres a bunch of commands you can use, like "god" and "noclip" (use tab to list)

Ok, thanks, I didn't know that^^ I think that's different on my german keyboard, I will try.

Linaru

  • Moderator
  • Posts: 113
  • That Collectable coin is mine!
    • View Profile
Re: Editor Crash when trying to Test
« Reply #10 on: August 14, 2013, 10:02:56 PM »
recently discovered that if i copy the whole hammer-watch game folder into program files the run from camera and test buttons in the editor work fine, it would seem that it dosent like the steam folder. Myran is working on a fix for this but in the mean time copying the game folder could be a workaround.

just make sure you don't miss any patches.
-----------------------------------------------------------
Stabaddey Stabaddey Zap
-----------------------------------------------------------

Grizwhirl

  • Posts: 6
  • Ooh what's that do?
    • View Profile
Re: Editor Crash when trying to Test
« Reply #11 on: August 15, 2013, 01:54:37 PM »
Thanks moving the folder helped. I set up the opt in beta so ill keep an eye on the patches

2665

  • Posts: 4
  • Maggot Crusher.
    • View Profile
Re: Editor Crash when trying to Test
« Reply #12 on: August 17, 2013, 05:48:09 PM »
I have this same sort of issue.  I can make and a run a map fine, but if I save it and then close and reopen the editor I can't run the map anymore.