TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Map file not loading

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Pasta



Joined: 15 Feb 2010
Posts: 32

PostPosted: Mon Mar 22, 2010 8:25 am    Post subject: Map file not loading Reply with quote

A friend of mine sent me a map to an area on the mud we play. He was on 1.99.6, and I was on 1.99.9. I have since upgraded to 2.00.0, however, I'm still getting the same problem....

The map file he sent me started with:

Code:
C 15000

F 8

I 80

L * # # + # | + + # + - + + + + + x


R {    1} {0} {<178>} {exit} { }
E {    2} {e} {e} {2}


That wouldn't load at all. So I took a look at some of the map files I'd created myself. They started like:

Code:
C 100

CE <078>
CR <178>

F 8

I 1

L * # # + # | + + # + - + + + + + x


R {    1} {0} {} {exit} { } {} {} {}
E {    2} {w} {w} {8}
E {   33} {n} {n} {1}
E {   42} {e} {e} {2}


I noticed the difference in the two lines:

Code:
CE <078>
CR <178>


So I added those two lines to the map file my friend sent me. Now, when I try to load the map, sometimes it will load, and sometimes I'll get:

Code:
#ERROR: #READ {maps/areaname.map} - INVALID START OF FILE.


Both of us are using TT on OSX. He's informed me that he recently upgraded from 1.99.6 to 2.00.0 and all of his maps load just fine. Short of mapping the area by myself, how can I fix this so that this map file reliably loads?

Thanks,
Pasta
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Mon Mar 22, 2010 5:31 pm    Post subject: Reply with quote

C 100 sets the maximum number of rooms to 100, I doubt that's what you want.

The error is from using #read <mapfile> instead of: #map read <mapfile>
Back to top
View user's profile Send private message Send e-mail
Pasta



Joined: 15 Feb 2010
Posts: 32

PostPosted: Mon Mar 22, 2010 10:19 pm    Post subject: Reply with quote

That was definitely the cause of the error. Thanks.

As to the "C 100" thing you mentioned......If I know that the area is under 100 rooms, why would I not want to use "#map create 100" when I'm creating the area map file?

Thanks,
-Pasta
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Tue Mar 23, 2010 7:01 am    Post subject: Reply with quote

Ah ok, if you're mapping less than 100 rooms that's fine.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group