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
Lang file crashes custom story!
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#1
Sad  Lang file crashes custom story!

Everytime I click on my custom story! It just crashes the game after I edited the lang file! is there something wrong in it?
this is the error message it gets when i click on my custom story!
"Amnesia.exe EXCEPTION_ACCESS_VIOLATION caused in module MSVCR71.dll at 001B:7C3417B, strlen()+0038 byte(s)


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Your name is Richard Anderson and you are a Reporter! Your Boss told you to take some photos of an Abandoned Castle, but when you got closer to the castle, a creature came out and quickly hit you which caused you to faint and then it trapped you inside the castle and there's no escape! You must explore and find a way to get out of the castle before it's too late!</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_HiddenKey_Name">Hidden Key</Entry>
<Entry Text="Note_HiddenKey_Name">Hello</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_TestItem">Food Storage Key</Entry>
<Entry Name="ItemDesc_TestItem">This is the key of the "Food Storage"</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="MasterBedroom">Master Bedroom</Entry>
<Entry Name="FoodStorage">Food Storage</Entry>
</CATEGORY>

<CATEGORY Name="CustomCatLevels">
<Entry Name="CustomEntryLevel">The "Master Bedroom" door is locked. You need the "Master Bedroom Key" to unlock it.</Entry>
<Entry Name="CustomEntryLevel2">The "Food Storage" door is locked. You need the "Food Storage Key" to unlock it.</Entry>
</CATEGORY>
</LANGUAGE>
(This post was last modified: 01-05-2014, 09:40 AM by Radical Batz.)
01-04-2014, 12:37 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Lang file crashes custom story!

Try replacing this:

<CATEGORY Name="Inventory">
<Entry Name="ItemName_TestItem">Food Storage Key</Entry>
<Entry Name="ItemDesc_TestItem">This is the key of the "Food Storage"</Entry>
</CATEGORY>



For this:


<CATEGORY Name="Inventory">
<Entry Name="ItemName_TestItem">Food Storage Key</Entry>
<Entry Name="ItemDesc_TestItem">This is the key of the Food Storage</Entry>
</CATEGORY>


The ("") might be the problem

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
01-04-2014, 01:52 AM
Find
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#3
RE: Lang file crashes custom story!

(01-04-2014, 01:52 AM)The chaser Wrote: Try replacing this:

<CATEGORY Name="Inventory">
<Entry Name="ItemName_TestItem">Food Storage Key</Entry>
<Entry Name="ItemDesc_TestItem">This is the key of the "Food Storage"</Entry>
</CATEGORY>



For this:


<CATEGORY Name="Inventory">
<Entry Name="ItemName_TestItem">Food Storage Key</Entry>
<Entry Name="ItemDesc_TestItem">This is the key of the Food Storage</Entry>
</CATEGORY>


The ("") might be the problem
Still did not work Sad

(01-04-2014, 01:52 AM)The chaser Wrote: Try replacing this:

<CATEGORY Name="Inventory">
<Entry Name="ItemName_TestItem">Food Storage Key</Entry>
<Entry Name="ItemDesc_TestItem">This is the key of the "Food Storage"</Entry>
</CATEGORY>



For this:


<CATEGORY Name="Inventory">
<Entry Name="ItemName_TestItem">Food Storage Key</Entry>
<Entry Name="ItemDesc_TestItem">This is the key of the Food Storage</Entry>
</CATEGORY>


The ("") might be the problem
The crash only started to happen is when i added this!

<CATEGORY Name="Levels">
<Entry Name="MasterBedroom">Master Bedroom</Entry>
<Entry Name="FoodStorage">Food Storage</Entry>
</CATEGORY>

<CATEGORY Name="CustomCatLevels">
<Entry Name="CustomEntryLevel">The "Master Bedroom" door is locked. You need the "Master Bedroom Key" to unlock it.</Entry>
<Entry Name="CustomEntryLevel2">The "Food Storage" door is locked. You need the "Food Storage Key" to unlock it.</Entry>
(This post was last modified: 01-04-2014, 10:46 AM by Radical Batz.)
01-04-2014, 10:40 AM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#4
RE: Lang file crashes custom story!

I dont think "" is supported by amnesia lang, At least I got strange stuff in my notes when I used those and had to manage with "-word-" instead.
(This post was last modified: 01-04-2014, 11:41 AM by WALP.)
01-04-2014, 11:41 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#5
RE: Lang file crashes custom story!

By what I've seen, try replacing this:

<CATEGORY Name="CustomCatLevels">
<Entry Name="CustomEntryLevel">The "Master Bedroom" door is locked. You need the "Master Bedroom Key" to unlock it.</Entry>
<Entry Name="CustomEntryLevel2">The "Food Storage" door is locked. You need the "Food Storage Key" to unlock it.</Entry>



For this:


<CATEGORY Name="CustomCatLevels">
<Entry Name="CustomEntryLevel">The Master Bedroom door is locked. You need the Master Bedroom Key to unlock it.</Entry>
<Entry Name="CustomEntryLevel2">The Food Storage door is locked. You need the Food Storage Key to unlock it.</Entry>



This one doesn't have ("") in the text, for the reason The Mug said: The "" are not supported in entries in .lang files.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
01-04-2014, 01:00 PM
Find
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#6
RE: Lang file crashes custom story!

(01-04-2014, 01:00 PM)The chaser Wrote: By what I've seen, try replacing this:

<CATEGORY Name="CustomCatLevels">
<Entry Name="CustomEntryLevel">The "Master Bedroom" door is locked. You need the "Master Bedroom Key" to unlock it.</Entry>
<Entry Name="CustomEntryLevel2">The "Food Storage" door is locked. You need the "Food Storage Key" to unlock it.</Entry>



For this:


<CATEGORY Name="CustomCatLevels">
<Entry Name="CustomEntryLevel">The Master Bedroom door is locked. You need the Master Bedroom Key to unlock it.</Entry>
<Entry Name="CustomEntryLevel2">The Food Storage door is locked. You need the Food Storage Key to unlock it.</Entry>



This one doesn't have ("") in the text, for the reason The Mug said: The "" are not supported in entries in .lang files.
ok, It's fixed but IO have another problem now, later I fixed the lang file I have another problem which is worse! I just posted a thread of it! it's called "hps file doesn't work after using the lang file! which is a strange error
(This post was last modified: 01-04-2014, 01:10 PM by Radical Batz.)
01-04-2014, 01:09 PM
Find
daortir Offline
Senior Member

Posts: 422
Threads: 9
Joined: Sep 2013
Reputation: 18
#7
RE: Lang file crashes custom story!

MOAR THREADS FOR THE GOD OF THREADS !

01-04-2014, 01:23 PM
Find
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#8
RE: Lang file crashes custom story!

(01-04-2014, 01:23 PM)daortir Wrote: MOAR THREADS FOR THE GOD OF THREADS !

I already tracked it, can't wait to play it! keep up the good work Smile
01-04-2014, 01:29 PM
Find
daortir Offline
Senior Member

Posts: 422
Threads: 9
Joined: Sep 2013
Reputation: 18
#9
RE: Lang file crashes custom story!

(01-04-2014, 01:29 PM)Badcat5550 Wrote:
(01-04-2014, 01:23 PM)daortir Wrote: MOAR THREADS FOR THE GOD OF THREADS !

I already tracked it, can't wait to play it! keep up the good work Smile

Damn, now my signature is longer than some of my posts : x. Thanks for the support. I wish I could help you with your issue but I'm really bad with scripting and stuff >///<...

01-04-2014, 01:40 PM
Find
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#10
RE: Lang file crashes custom story!

(01-04-2014, 01:40 PM)daortir Wrote:
(01-04-2014, 01:29 PM)Badcat5550 Wrote:
(01-04-2014, 01:23 PM)daortir Wrote: MOAR THREADS FOR THE GOD OF THREADS !

I already tracked it, can't wait to play it! keep up the good work Smile

Damn, now my signature is longer than some of my posts : x. Thanks for the support. I wish I could help you with your issue but I'm really bad with scripting and stuff >///<...

I wish I could fix my problem, if there's no fix then I don't know what to do!
(This post was last modified: 01-04-2014, 01:48 PM by Radical Batz.)
01-04-2014, 01:48 PM
Find




Users browsing this thread: 1 Guest(s)