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


Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My problems
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#61
RE: My problems

(10-19-2012, 04:30 PM)The chaser Wrote: When it says "Unexpected end of file" is because there is a missing bracket. Is the worse error you can get, because you have to inspect every single letter of the script.

I've also noticed a high amount of AddEntityCollideCallbacks. Why is that?
Multiple script zones, maybe?

(10-19-2012, 04:35 PM)naseem142 Wrote: I have to check every letter ... oh god
The downside of scripting issues.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-19-2012, 04:36 PM by Robby.)
10-19-2012, 04:36 PM
Website Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#62
RE: My problems

(10-19-2012, 04:30 PM)The chaser Wrote: When it says "Unexpected end of file" is because there is a missing bracket. Is the worse error you can get, because you have to inspect every single letter of the script.

I've also noticed a high amount of AddEntityCollideCallbacks. Why is that?
And why wouldn't there be alot?
Is that a problem? Undecided
10-19-2012, 04:36 PM
Website Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#63
RE: My problems

(10-19-2012, 04:36 PM)naseem142 Wrote:
(10-19-2012, 04:30 PM)The chaser Wrote: When it says "Unexpected end of file" is because there is a missing bracket. Is the worse error you can get, because you have to inspect every single letter of the script.

I've also noticed a high amount of AddEntityCollideCallbacks. Why is that?
And why wouldn't there be alot?
Is that a problem? Undecided
I've had a lot in one CS, and they never gave me problems.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
10-19-2012, 04:37 PM
Website Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#64
RE: My problems

I have noticed something at:

AddUseItemCallback("", "des_orb", "Map_3_go", "UsedKeyOnDoor125", true);

There is no UsedKeyOnDoor125 Function :o
10-19-2012, 04:37 PM
Website Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#65
RE: My problems

That may be the problem. Try fixing it.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
10-19-2012, 04:38 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#66
RE: My problems

No, the AddEntityCollideCallbacks are very useful, I just say it because sometimes, while fixing some bugs in crappy stories by myself, there were a lot of AddEntityCollideCallbacks.

They are very useful, but it was just something that caught my attention. Nothing more Smile

I don't think that's the issue. This explains the Unexpected end of file much better.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-19-2012, 04:42 PM by The chaser.)
10-19-2012, 04:40 PM
Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#67
RE: My problems

i deleted the function but now i got the same error at first
10-19-2012, 04:44 PM
Website Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#68
RE: My problems

(10-19-2012, 04:40 PM)The chaser Wrote: This explains the Unexpected end of file much better.
Doesn't work. The information that should explain this doesn't appear. Just the title "Unexpected End of File".

(10-19-2012, 04:44 PM)naseem142 Wrote: i deleted the function but now i got the same error at first
Must be something within the entire script then. Letter-by-letter check is now what you can try. If not work, you'll have to remake the entire script then.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-19-2012, 04:47 PM by Robby.)
10-19-2012, 04:46 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#69
RE: My problems

Yep. Scripting is this way. Sometimes you are just like:
Spoiler below!
FUUUUUCK IT.

If he gets an Unexpected end of file that's what he needs.
I'm sorry naseem, but you will have to check your script. Letter by letter. That's the reason why I always check all the letters I do.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-19-2012, 04:52 PM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#70
RE: My problems

(10-19-2012, 04:52 PM)The chaser Wrote: Yep. Scripting is this way. Sometimes you are just like:
Spoiler below!
FUUUUUCK IT.

If he gets an Unexpected end of file that's what he needs.
I'm sorry naseem, but you will have to check your script. Letter by letter. That's the reason why I always check all the letters I do.
Did the same each time I worked on my map. And whenever an error like that popped up, started from the bottom, moving upwards (since the problem was close to the bottom of the script).

And I end up locating the problem quickly.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
10-19-2012, 04:53 PM
Website Find




Users browsing this thread: 2 Guest(s)