• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Paragraph in quest log

lucastiond

New Member
Joined
Jul 14, 2013
Messages
35
Reaction score
0
Hello otland

I just want to know how can I make paragraphs inside one quest log.
Because if I only put a lot of space, the message just gets eaten.

Thank you.
 
Last edited:
Hello otland

I just want to know how can I make paragraphs inside one quest log.
Because if I only put a lot of space, the message just gets eaten.

Thank you.
you should add this when you want a new line
Code:


Example:
Code:
<missionstate id="1" description="You checked all ship routes.&#xA;If you haven't done so yet, report back to Kevin and tell him about your mission."/>

should be
Code:
You checked all ship routes.
If you haven't done so yet, report back to Kevin and tell him about your mission.
Edit:
I did just test it on 0.3.6 seems like it wont work using \n
But &#xA; is working
 
Last edited:
you should add this when you want a new line
Code:
&#xA;
Example:
Code:
<missionstate id="1" description="You checked all ship routes.&#xA;If you haven't done so yet, report back to Kevin and tell him about your mission."/>

should be
Code:
You checked all ship routes.
If you haven't done so yet, report back to Kevin and tell him about your mission.
Edit:
I did just test it seems like it wont work using \n
But &#xA; is working

&#xA; works for sure, but I think the regular tibia client has a limited amount of characters that can go in a quest log entry. If you're using OTClient, you'll probably fine with &#xA; OP.
 
you should add this when you want a new line
Code:
&#xA;
Example:
Code:
<missionstate id="1" description="You checked all ship routes.&#xA;If you haven't done so yet, report back to Kevin and tell him about your mission."/>

should be
Code:
You checked all ship routes.
If you haven't done so yet, report back to Kevin and tell him about your mission.
Edit:
I did just test it seems like it wont work using \n
But &#xA; is working
\n should work, are you using TFS 1.x?

https://github.com/otland/forgottenserver/blob/master/src/quests.cpp#L34

If it doesn't work we should replace it for &#xA;
 
Thank you guys for the replies.

My tfs is 1.2 and I tested both /n and &#xA;

The only one that worked with me was &#xA;

Thank you so much!
 
Back
Top