Results 1 to 15 of 22

Thread: New Client

Threaded View

  1. #13
    Registered User
    Join Date
    Dec 2004
    Posts
    284

    Re: New Client

    I am not sure why you are mixing Sony and Mapfiend maps. Don't most folks pick one set or the other? It seems illogical to overlap the two sets... and I can certainly see that causing more problems down the road.

    For example, this is a link to GFay at mapfiend: http://eq.mapfiend.net/map/gfaydark/3129

    In there are THREE layers, gfay_1.txt, gfay_2.txt and gfay_3.txt. File 1 has just lines, File 2 has labels, File 3 has lines.

    There is zero overlap of labels. All of these come from Mapfiend. If you also have the Sony map in there, it would be labeled gfay.txt. The client only loads gfay.txt OR gfay_1.txt, it never loads both. It also never loads any _2 or _3 files, period.

    So if you are getting double images, you need to post the labels in your map files.

    Here is a link to the source code used in the client you all currently use:
    http://seq.cvs.sourceforge.net/seq/m...cs?view=markup

    And here is the relevant code:
    Code:
     // Try it as a LoY map first
    1643 if (!loadmap(f + ".txt"))
    1644 {
    1645	 // If it didn't work, try an SEQ map
    1646	 if (!loadmap(f + ".map"))
    1647	 {
    1648		 bool foundmap = false;
    1649		 for (int mapnum = 1; mapnum <= 3; mapnum++)
    1650		 {
    1651			if (loadmap(string.Format("{0}_{1}.txt", f, mapnum)))
    1652			{
    1653			 foundmap = true;
    1654			 break;
    1655			}
    1656		 }
    1657		 //... Missing map
    1658		 if (!foundmap)
    1659		 {
    1660			map.loadDummyMap();
    1661			this.Text = BaseTitle + string.Format(" - Couldn't find a map for the zone: {0}", si.Name);
    1662		 }
    1663	 }
    1664 }
    Here you can see we first would try and load gfay.txt. These are the Sony maps if you copied them from your EverQuest/maps folder. If that is not found, it then checks for gfay.map. These are the old SEQ format maps that you used to get from Mapfiend. These existed before EQ had an in-game map. Most folks should not have any of these anymore. If that is not found, it tries to load gfay_1.txt, then gfay_2.txt then gfay_3.txt.

    Of course it should never get to _2 or _3, since folks should have either gfay.txt, gfay.map or gfay_1.txt in their map folder.

    In any case, we never load more than one file ever, so having double images means you must have some hacked map from somewhere.
    Last edited by Seaxouri; 12-07-2006 at 07:42 PM.
    Thanks for all the donuts.

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On