Page 2 of 2

Re: Mission Editor(new mission crash)

PostPosted: 07 Nov 2012, 19:52
by Arisspartiatis
haha i see...!but i changed the directory of the map to the exactly one!from folder to folder!but it crashes again!everytime i switch from script to map after i have saved it and then switch back to script the directory has changed to defautl!very weird things! :O

Re: Mission Editor(new mission crash)

PostPosted: 07 Nov 2012, 19:57
by Ben
Interesting. Did you change the program's directory to your KaM folder? Like from the settings in the editor?

Re: Mission Editor(new mission crash)

PostPosted: 07 Nov 2012, 19:59
by Arisspartiatis
i havent done anything like that how do you do this?

Re: Mission Editor(new mission crash)

PostPosted: 07 Nov 2012, 20:09
by Arisspartiatis
ok i found it i changed the directory let me try again!

Re: Mission Editor(new mission crash)

PostPosted: 07 Nov 2012, 20:12
by Arisspartiatis
ok now it says invalid file:not in your kam directory cant you see it doesnt want to work!i am searching for a solution six days now and nothing!

Re: Mission Editor(new mission crash)

PostPosted: 07 Nov 2012, 23:25
by Ben
One question that I should have asked a while ago: is this for the Remake? because my instructions are for the original game.

Make sure you are setting the directory to KaM's main folder (example: C:\Program Files\KaM - The Peasants Rebellion).

I have uploaded a screenshot. It should be self-explanatory, but please make sure that textfield (the one circled in red) matches the one in the picture.

Re: Mission Editor(new mission crash)

PostPosted: 08 Nov 2012, 12:02
by Arisspartiatis
no its for the original!the directry problem got fixed but the game keeps crashing for NO reason!

Re: Mission Editor(new mission crash)

PostPosted: 08 Nov 2012, 20:08
by Ben
Try putting my fix of your mission and see if that works.
Just place the folder in the data folder (AFTER you make a backup).

Re: Mission Editor(new mission crash)

PostPosted: 08 Nov 2012, 20:45
by Arisspartiatis
i know you've been tired with that story but i replaced your map as you told me...it keeps crashing!i start feeling there are too many problems with my game!

Re: Mission Editor(new mission crash)

PostPosted: 08 Nov 2012, 20:47
by Ben
I really have no idea, then :(
It sounds like your mission isn't detecting your map. That's the only thing I can think of.
Try storing the mission as dmission1.dat or smission1.dat. Once, my smission2.dat file become corrupted and I couldn't use it anymore. Perhaps this will help? I have no idea. I'm sorry.

Re: Mission Editor(new mission crash)

PostPosted: 08 Nov 2012, 20:51
by Arisspartiatis
i sent a message to lewin and he answered me to look how the original is made and so to do!thats what i did but nothing!dont worry my friend you helped me a lot there is nothing else you can tell me i will try everything and see!

Re: Mission Editor(new mission crash)

PostPosted: 09 Nov 2012, 00:39
by Lewin
Arisspartiatis, I downloaded the file you originally posted, here is your mistake:
  Code:
!SET_MAP "Users\Ãåííáéïò\Desktop\for"
KaM can only load maps from inside your KaM TPR folder. It should be something like:
  Code:
!SET_MAP "data\mission\smaps\save01.map"
Please try downloading the attached file. The only thing I changed is !SET_MAP as shown above. (or in the Treeview it is Generic -> Map File)

Extract the attached file to KaM TPR\data\mission. It should overwrite smission1.dat and place "test.map" inside the folder smaps. Now start TPR and start the first single map (Across the Desert)

It works for me. Your buildings do not appear because you need to place Map Revealers (!CLEAR_UP) covering the buildings (kind of a bug in TPR)
Cheers,
Lewin.

Re: Mission Editor(new mission crash)

PostPosted: 09 Nov 2012, 12:17
by Arisspartiatis
so in any new map(mission)that i make i should check the directory of the map!now i fixed the building bug!but the when the mission starts i win should i change the goals or something?

Re: Mission Editor(new mission crash)

PostPosted: 09 Nov 2012, 13:09
by Lewin
so in any new map(mission)that i make i should check the directory of the map!now i fixed the building bug!but the when the mission starts i win should i change the goals or something?
Yeah change the goals, that will fix winning/losing instantly.

Re: Mission Editor(new mission crash)

PostPosted: 11 Nov 2012, 13:11
by Arisspartiatis
one more question now!every time i pick dont build and try to change the color of the team i get an error or trying to time an attack why that and how can i fix this?