Radical Batz
Posting Freak
Posts: 953
Threads: 145
Joined: Dec 2013
Reputation:
25
|
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 |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
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)
Aculy iz dolan.
|
|
01-04-2014, 01:52 AM |
|
Radical Batz
Posting Freak
Posts: 953
Threads: 145
Joined: Dec 2013
Reputation:
25
|
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
(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 |
|
WALP
Posting Freak
Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation:
45
|
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 |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
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)
Aculy iz dolan.
|
|
01-04-2014, 01:00 PM |
|
Radical Batz
Posting Freak
Posts: 953
Threads: 145
Joined: Dec 2013
Reputation:
25
|
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 |
|
daortir
Senior Member
Posts: 422
Threads: 9
Joined: Sep 2013
Reputation:
18
|
RE: Lang file crashes custom story!
MOAR THREADS FOR THE GOD OF THREADS !
|
|
01-04-2014, 01:23 PM |
|
Radical Batz
Posting Freak
Posts: 953
Threads: 145
Joined: Dec 2013
Reputation:
25
|
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
|
|
01-04-2014, 01:29 PM |
|
daortir
Senior Member
Posts: 422
Threads: 9
Joined: Sep 2013
Reputation:
18
|
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
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 |
|
Radical Batz
Posting Freak
Posts: 953
Threads: 145
Joined: Dec 2013
Reputation:
25
|
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
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 |
|
|