Forum

> > Stranded II > Maps/Editor > "start" event bug in editor
Forums overviewStranded II overview Maps/Editor overviewLog in to reply

English "start" event bug in editor

10 replies
To the start Previous 1 Next To the start

old "start" event bug in editor

Warbringer
User Off Offline

Quote
Hi there,
Just logged in here, becuase I have problem with my S2.
When I run the editor and open a map with some scripts
in "start" event, the script executes immediately in editor.
That may be OK, but when I run the map in game itself, the script is running multiple times. For example:

Give player 5 bananas at start. Go to editor to make some little corrects in the map. Run the map again. Get 10 bananas. Open editor again to find out what the hell is going on there. Everything OK, save map and run it again. 15 bananas. Game restart does not help.

The problem started to appear when I run S2 on Win7, it was everything OK on XP. Any ideas?

old Re: "start" event bug in editor

Klirkz
User Off Offline

Quote
So, you have a global-script? With something like that:
1
2
3
on:start {
	find 14,5;
}

I just tried it – had some problems running S2 on Win8 as well – but for me it was working.
Just for interest: If you’d insert s2 cmd freestored, then you should have 5 bananas again, right?

1
2
3
4
on:start {
	freestored unit,1,14;
	find 14,5;
}

old Re: "start" event bug in editor

Warbringer
User Off Offline

Quote
It works, thanks!

But it works only with items.
How about diary entries which are repeating?
I tried the same way, used "freeentry" command at begin of script,
but now it's counterwise: no diary entry. I want just know, WHY is this happening and how can it be fixed?

old Re: "start" event bug in editor

Klirkz
User Off Offline

Quote
Yeah, it is very strange. I don’t think you can do much about it in-game. So have you tried to reinstall the whole game?

As to the diary entries: Make sure s2 cmd freeentry is placed before your s2 cmd diary command! Otherwise it gets deleted right away.

old Re: "start" event bug in editor

Warbringer
User Off Offline

Quote
I have no idea how to fix this, but I managed to bypass the "start" event. Time trigger info does what "start" event does not!
Anyway, thanks for help, man.

old Re: "start" event bug in editor

Warbringer
User Off Offline

Quote
It worked!
But I can forget about freeze time on my maps.
Well, partially solved. It's possible that
I alone have this problem, but if not,
the DC himself should take a look at this.

Damn, S2 doesn't have many bugs, but when one finally appears, it's friggin' hard!.

old Re: "start" event bug in editor

Warbringer
User Off Offline

Quote
XP compatibility didn't work. I don't see any way to fix it. Fortunately I have a backup copy of my S2 from time before this bug occured. Maybe this time I'll have more luck.
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewStranded II overviewForums overview