Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Crashes The Game
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#16
RE: Script Crashes The Game

(03-14-2014, 04:35 PM)Apfel Wrote:
(03-14-2014, 02:59 PM)Mudbill Wrote: if(bWest == true) sThisDoor = sThisDoor +"x" + --x; else sThisDoor = sThisDoor +"x" +x;
if(bNorth == true) sThisDoor = sThisDoor +"y" + --y; else sThisDoor = sThisDoor +"y" +y;
if(bEast == true) sThisDoor = sThisDoor +"_x"+ ++x; else sThisDoor = sThisDoor +"_x"+x;
if(bSouth == true) sThisDoor = sThisDoor +"y" + ++y; else sThisDoor = sThisDoor +"y" +y;



Hi there,

I made some tests of your script and I noticed that there are some problems with --x and --y. Changing them to (x-1) and (y-1) solved the crashing for me. However, ++x and ++y don't seem to make any troubles.

Yes, this is the problem I pointed out. It gives incorrect values sometimes. However this shouldn't cause the game to crash.

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
03-14-2014, 04:42 PM
Find Reply


Messages In This Thread
Script Crashes The Game - by Wapez - 03-11-2014, 01:54 PM
RE: Script Crashes The Game - by PutraenusAlivius - 03-11-2014, 02:34 PM
RE: Script Crashes The Game - by Wapez - 03-11-2014, 02:39 PM
RE: Script Crashes The Game - by PutraenusAlivius - 03-11-2014, 02:43 PM
RE: Script Crashes The Game - by Wapez - 03-11-2014, 02:57 PM
RE: Script Crashes The Game - by Mudbill - 03-11-2014, 03:12 PM
RE: Script Crashes The Game - by Daemian - 03-11-2014, 03:15 PM
RE: Script Crashes The Game - by Wapez - 03-11-2014, 03:40 PM
RE: Script Crashes The Game - by Mudbill - 03-11-2014, 09:09 PM
RE: Script Crashes The Game - by Daemian - 03-12-2014, 01:22 AM
RE: Script Crashes The Game - by Mudbill - 03-13-2014, 09:27 PM
RE: Script Crashes The Game - by Wapez - 03-14-2014, 08:54 AM
RE: Script Crashes The Game - by Mudbill - 03-14-2014, 02:59 PM
RE: Script Crashes The Game - by Wapez - 03-14-2014, 03:56 PM
RE: Script Crashes The Game - by Apfel - 03-14-2014, 04:35 PM
RE: Script Crashes The Game - by Wapez - 03-14-2014, 04:42 PM
RE: Script Crashes The Game - by Apfel - 03-14-2014, 05:31 PM
RE: Script Crashes The Game - by Wapez - 03-14-2014, 05:36 PM
RE: Script Crashes The Game - by Mudbill - 03-14-2014, 05:49 PM



Users browsing this thread: 1 Guest(s)