The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lang file - Small error or not found
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#1
Lang file - Small error or not found

Hey.
My .lang file isn't working.
Yes, I know they works, and I've been checking everything.
" must end with "
<Entry> must end with </Entry>
All my notes are "Note_[NOTENAME]_Name" and "Note_[NOTENAME]_Text"

Still it isn't showing anything, and my note with narration is just closing by itself.

Could it be possible that it cannot find my .lang file?
It's located where it should be, in my custom story.

I don't know what's wrong.

This is my lang file
Spoiler below!

<RESOURCES>
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
This is our description
</Entry>
</CATEGORY>



<CATEGORY Name="Journal">

<Entry Name="Note_FatherLetter_1_Name">Father Markus #1</Entry>
<Entry Name="Note_FatherLetter_1_Text">
The church stands tall and strong. Everytime I cast my eyes on it,
I get filled with pride. This is the house of god, the temple of forgiveness,
and with the church-tax and other donations we can spread the word of the lord.
[br]
[br]
Two people went missing yesterday. A boy and a girl. I do not recall their names,
but I remember their faces from when they were sitting up front, on the benches.
Their family is poor, and people does not seem to care about people without gold to spend.
The two were honest in the name of jesus. They showed up every sunday, to pray, and I feel
that it's my duty, as a father to at least look for them.
[br]
[br]
It is that time of the month again, where I head to the castle of Rothburg, to deliver, baron Louis of Rothburg,
his part of the church-tax. The old man nearly owns half of the church. It is only my pleasure, to be the one delivering it.
Maybe Louis knows about the two that went missing.
[br]
[br]
[br]
Father Markus
</Entry>

<Entry Name="Note_FatherLetter_2_Name">Father Markus #2</Entry>
<Entry Name="Note_FatherLetter_2_Text">
Baron Louis seems to be away. Not even his bookholder is here.
It seems odd. He usually spents his time in the study, when I enter at this time.
I wonder where he is. I'm going to put the money on his desk. When someone reads this,
they should know it's from the church. After that, I will return to the house of god.
[br]
[br]
[br]
Father Markus
[br][new_page][br]
Something happened! As I went to place the money on his desk tripped and fell, but was caught by a guarding,
with arms of metal. Not only did he save me from hurting myself, but he also revealed something only he could
be hiding. This is odd and very out of place. I feel my curiosity dragging me towards the mystery of the revealing.
I cannot just leave this. I'm will keep writing, if someone attempts to follow. May god watch over me.
[br]
[br]
Father Markus

</Entry>

<Entry Name="Note_01_Diary01_Name">A new adventure</Entry>
<Entry Name="Note_01_Diary01_Text">
[br][voice 01_Diary01.ogg][br]
Dear John Traveller.
[br]
[br]Words have spread and your name has too.
Words say you're an explorer and also a treasure hunter.
I've got a challenge for you.
[br]I want you to travel to the Castle of Rothburg, in the northern England.
Stories have been told of an ancient treasure, in the deepest chambers of the castle.
The treasure contains such gold and jewelry, to last you a whole lifetime in luxury and success.
[br]But have you got the courage to face the ancient building?
[br]
[br]A friend.
</Entry>

<Entry Name="Note_DiaryLouis_1_Name">Louis Diary - Page 296</Entry>
<Entry Name="Note_DiaryLouis_1_Text">
Dear Diary.
[br]
[br]Today I went out of bed and went to do my morning routine, as usual.
I felt quite awake and ready for the day, though I had woken up a couple of times during the night as usual.
It's easy to say my sleep has become rather disturbed lately.
I went to reach for the door, but at that moment I lost my breath. I felt so very weak.
It was then I realized that my days will come, and time is not the biggest thing
I've got left. It's time for me to find a heir.Since dear Lady Madelyn past away from sickness,
I've had none to take over Castle Rothburg. I wish to find a worthy heir and pass him on the heritance.
[br]I shall call my servants to explain the situation.
[br]
[br]Louis of Rothburg.
</Entry>

<Entry Name="Quest_Quest1_Text"></Entry>

</CATEGORY>



<CATEGORY Name="Levels">
<Entry Name="Study">Study</Entry>
<Entry Name="Library">Library</Entry>
<Entry Name="SecretPassage">Secret Passage</Entry>
<Entry Name="OldArchives">Old Archives</Entry>
<Entry Name="BackHall">Back Hall</Entry>

</CATEGORY>


<CATEGORY Name="Inventory">

<Entry Name="ItemName_HallKey">Key</Entry>
<Entry Name="ItemDesc_HallKey">Labelled: "Hall"</Entry>

<Entry Name="ItemName_StoneHammer">Stone hammer</Entry>
<Entry Name="ItemDesc_StoneHammer">It's an old stone hammer</Entry>

</CATEGORY>

<CATEGORY Name="Voice">
<Entry Name="01_John01">My name is John. John Traveller, they call me. Well, I was a traveller... until... Once I'd just arrived home, from a journey, when I received a letter. It had no return-address but on the front were several stamps.</Entry>
<Entry Name="01_John02">Quickly, I packed everything I would need, to a castle exploration. My heart pumped, and I felt the adrenaline-rush. This was the start of a new adventure...</Entry>
<Entry Name="01_John03">The journey was long, but finally, Castle Rothburg stood as a giant in front of tiny little me. As I took my first steps towards the ancient building, lightnings flashed above me. I went to knock on the door...</Entry>
<Entry Name="01_John04">...but it was already open.</Entry>
</CATEGORY>

<CATEGORY Name="Messages">

<Entry Name="Locked">It's locked</Entry>
<Entry Name="Impossible">It's impossible to open</Entry>
<Entry Name="WeakLocked">The lock is damaged</Entry>
<Entry Name="Blocked">It's blocked</Entry>
<Entry Name="StrangeLocked">Nothing seems wrong, but I can't open it</Entry>
<Entry Name="InsideLocked">It's locked from inside</Entry>
<Entry Name="OutsideLocked">It's locked from outside</Entry>
<Entry Name="PadlockLocked">It's a strong padlock</Entry>
<Entry Name="PadlockDoorLocked">It's locked with a strong padlock</Entry>
<Entry Name="BudgeLocked">It won't budge</Entry>
<Entry Name="Stuck">It's stuck in this position</Entry>
<Entry Name="NotDone">Something tells me I'm not done here</Entry>
<Entry Name="Continue">I should continue</Entry>
<Entry Name="NotWorking">Something is not working</Entry>
</CATEGORY>



<CATEGORY Name="Signs">
<Entry Name="ArchiveHolder">Archive Holder</Entry>
<Entry Name="Storage">Storage</Entry>
<Entry Name="WineCellar">Wine Cellar</Entry>
<Entry Name="Hall">Hall</Entry>
<Entry Name="WineCellarExit">Wine Cellar Exit</Entry>
<Entry Name="BackHall">Back Hall</Entry>

</CATEGORY>



<CATEGORY Name="DeathHints">

<Entry Name="NormalDeath"></Entry>

</CATEGORY>



<CATEGORY Name="Ending">

<Entry Name="Credits">
[br]*Treasure hunt?[br]
[br]by JacobARF and BeeKayK
[br]
[br]
</Entry>

</CATEGORY>

</LANGUAGE>
</RESOURCES>



Trying is the first step to success.
(This post was last modified: 10-24-2013, 03:41 PM by FlawlessHappiness.)
10-24-2013, 03:24 PM
Find


Messages In This Thread
Lang file - Small error or not found - by FlawlessHappiness - 10-24-2013, 03:24 PM



Users browsing this thread: 2 Guest(s)