View unanswered posts | View active topics It is currently Fri Mar 29, 2024 1:23 am



Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
 OpenRPG not loading maps with Text 
Author Message

Joined: Tue Apr 06, 2010 5:38 am
Posts: 4
Post OpenRPG not loading maps with Text
So I've tested this time and again.

Everytime I make a map with a background Image AND text, it never loads up that map ever again.

I'm at my wits end here, can anyone help me?


Thu May 27, 2010 5:52 am
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: OpenRPG not loading maps with Text
Common problem is you are suing single or double quotes. Because the XML string for the text uses on or the other, when you add a single or double quote you pre-emptively close the attribute and then create a malformed XML string.

Try not using either, your map will save. We need to encode the single and double quotes.

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Thu May 27, 2010 6:34 am
Profile YIM WWW

Joined: Thu Dec 10, 2009 4:16 pm
Posts: 89
Post Re: OpenRPG not loading maps with Text
Had this same problem once till it dawned on me what I was doing wrong. I had been using ' when denoting the feet hight of certain terrain features.

Rather than redo the map I went into the xml and just deleted all the offending ' and that fixed it.


Thu May 27, 2010 2:38 pm
Profile

Joined: Thu Dec 10, 2009 6:37 am
Posts: 335
Post Re: OpenRPG not loading maps with Text
Yes an apostrophe in the text can mess up the map XML. Not sure if double quotes is bad too. Not sure if this problem has been fixed in the non-released stuff... I don't think so.


Thu May 27, 2010 4:20 pm
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: OpenRPG not loading maps with Text
davidbyron wrote:
Yes an apostrophe in the text can mess up the map XML. Not sure if double quotes is bad too. Not sure if this problem has been fixed in the non-released stuff... I don't think so.


It depends on ho the attribute is enclosed. If it is enclosed in single qutes, then a single quote will break it. If it is enclose in double quotes, then a double quote will break it.

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Thu May 27, 2010 4:32 pm
Profile YIM WWW

Joined: Thu Dec 10, 2009 6:37 am
Posts: 335
Post Re: OpenRPG not loading maps with Text
Right. And I am saying it's always enclosed in single quotes I believe, but not 100% sure.


Thu May 27, 2010 8:52 pm
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: OpenRPG not loading maps with Text
I believe I started enclosing my text in single quotes so the XML would be more standard looking.

You really should us single quotes for text strings so you can use double quotes inside without an escape character, which are more common than an apostrophe. At least for what I am doing they are.

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Thu May 27, 2010 9:31 pm
Profile YIM WWW

Joined: Thu Dec 10, 2009 6:37 am
Posts: 335
Post Re: OpenRPG not loading maps with Text
Really? I would have guessed the apostrophe is more common.

For example,
to indicate measurement in feet ("10'x10'")
to indicate contractions in speech ("isn't")
in spelling some odd fantasy names ("F'nord")
plus anywhere double quote might be used


Thu May 27, 2010 10:45 pm
Profile

Joined: Tue Apr 06, 2010 5:38 am
Posts: 4
Post Re: OpenRPG not loading maps with Text
It still is giving me problems. I tried getting rid of any ' and " I might have used but the map is still not loading.

Should I get a new version of OpenRPG?


Thu May 27, 2010 11:51 pm
Profile

Joined: Thu Dec 10, 2009 6:37 am
Posts: 335
Post Re: OpenRPG not loading maps with Text
Can you somehow post a copy of the file that is failing to load?


Fri May 28, 2010 1:45 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.