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
Custom function freezes the game.
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: Custom function freezes the game.

I did a test run, and i got the following output with "Text_Text_Text":

Analyzing Letter: T
New String:
Analyzing Letter: ex
New String:
Analyzing Letter: xt_
New String:
Analyzing Letter: t_Te
New String:
Analyzing Letter: _Text
New String:
Analyzing Letter: Text_T
New String:
Analyzing Letter: ext_Tex
New String:
Analyzing Letter: xt_Text
New String:
Analyzing Letter: t_Text
New String:
Analyzing Letter: _Text
New String:
Analyzing Letter: Text
New String:
Analyzing Letter: ext
New String:
Analyzing Letter: xt
New String:
Analyzing Letter: t
New String:
Analyzing Letter:
New String:
Analyzing Letter:
New String:
Analyzing Letter:
New String:
Analyzing Letter:
New String:
Analyzing Letter:
New String:
Analyzing Letter:
New String:
Analyzing Letter:
New String:
Analyzing Letter:
New String:
... (ad infinitum)

It is on an infinite loop, and as you can see letter never equals "_", so the issue is in the incrementing chr variable. Instead of adding 1, just put simply 1 -- that is, for StringSub.

I'm going to go to sleep now.

Tutorials: From Noob to Pro
(This post was last modified: 07-07-2012, 07:50 AM by Your Computer.)
07-07-2012, 07:44 AM
Website Find


Messages In This Thread
RE: Custom function freezes the game. - by Your Computer - 07-07-2012, 07:44 AM



Users browsing this thread: 1 Guest(s)