EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > EQ2MAP

View Poll Results: Should the site stick with the white/blue interface or one like the dark forum theme?
White/Blue 7 14.00%
White/Blue but change the ugly dark colored tables! 4 8.00%
Darker, like the Dark forum theme. 20 40.00%
Have them both! 19 38.00%
Voters: 50. You may not vote on this poll

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15  
Unread 02-10-2005, 12:14 AM
taco-man's Avatar
taco-man taco-man is offline
EQ2MAP Updater Author
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
Default

ok, here is what i have accomplished so far.
as far as reading the xml and putting the info into the map DB i have written some php that write an array like this from the xml you just have to give it one page at a time. you should be able to modify it to get it into the database if you want.
Code:
Array
(
    [IconType] => Array
        (
            [NAMEzail] => NAME
            [MOBcavs] => MOB
            [MOBcanda] => MOB
            [LOCchapel] => LOC
            [ZONEshiii] => ZONE
            [LOCarchery] => LOC
            [MOBoozmist] => MOB
            [NAMEscion] => NAME
            [MOBzombies] => MOB
            [ZONElib] => ZONE
            [ZONEvalor] => ZONE
            [MOBgel] => MOB
            [MOBtorrent] => MOB
            [LOCatrium] => LOC
            [MOBdcrusaders] => MOB
            [MOBhand] => MOB
            [MOBstrongboxes] => MOB
            [ZONEshi] => ZONE
            [MOBtombs] => MOB
            [LOClib2] => LOC
            [MOBwrits] => MOB
        )

    [LOC] => Array
        (
            [NAMEzail] => 121.60, -24.72, -5.33
            [MOBcavs] => 111.86, -18.72, -29.67
            [MOBcanda] => 79.56, -16.57, -17.74
            [LOCchapel] => 79.56, -16.57, -17.74
            [ZONEshiii] => 93.16, -38.00, -99.10
            [LOCarchery] => 7.18, -24.82, -76.24
            [MOBoozmist] => 5.04, -26.55, -121.61
            [NAMEscion] => 5.04, -26.55, -121.61
            [MOBzombies] => 5.04, -26.55, -121.61
            [ZONElib] => 5.04, -26.55, -121.61
            [ZONEvalor] => -15.69, -24.83, -43.60
            [MOBgel] => -24.87, -24.79, -126.91
            [MOBtorrent] => -49.24, -24.79, -124.00
            [LOCatrium] => -72.69, -24.76, -98.14
            [MOBdcrusaders] => -103.73, -25.74, -64.59
            [MOBhand] => -103.73, -25.74, -64.59
            [MOBstrongboxes] => -95.61, -32.00, -173.57
            [ZONEshi] => -145.19, -16.00, -98.16
            [MOBtombs] => -116.51, -32.00, -154.36
            [LOClib2] => -116.51, -32.00, -154.36
            [MOBwrits] => -116.51, -32.00, -154.36
        )

    [Description] => Array
        (
            [NAMEzail] => The Maelstrom
            [MOBcavs] => Cavaliers
            [MOBcanda] => Cavaliers, Acolytes
            [LOCchapel] => The Chapel
            [ZONEshiii] => To Stormhold Keep III
            [LOCarchery] => Archery
            [MOBoozmist] => Oozing Fungus, Condensed Mist
            [NAMEscion] => Scion of Pain
            [MOBzombies] => Zombies
            [ZONElib] => To Library
            [ZONEvalor] => To Tomb of Valor
            [MOBgel] => Gel-Cubes
            [MOBtorrent] => Torrents
            [LOCatrium] => Atrium
            [MOBdcrusaders] => Defiled Crusaders
            [MOBhand] => Handmaidens
            [MOBstrongboxes] => Strongboxes
            [ZONEshi] => To Stormhold Keep I
            [MOBtombs] => Tombs
            [LOClib2] => The Library
            [MOBwrits] => Writs
        )

)
I have also written some php that will generate output look like:
Code:
<Icon IconStyle="MOB" IconType="map" Location="377,296" Name="MOBbogfairies" pathfindlocation="589, -35, 560" ScrollExtent="10,10" Size="10,10" Tooltip="Bog Fairies " TreatAsButton="true" OnHoverIn="Parent.Parent.Parent.Parent.WC_Titlebar.QM_LocEntry.QM_LocText.LocalText=pathfindlocation Parent.Parent.Parent.Parent.WC_Titlebar.QM_LocEntry.QM_LocPath.pathfindlocation=pathfindlocation"/>
That was generated using the following variables:
$Name = "MOBbogfairies";
$PathfindLocation = "589,-35,560";
$IconType = "MOB";
$Description = "Bog Fairies";
$ZoneRect = "-844,358,-553,698";

you would just have to change it to pull the variables from the database. also i noticed in the code view for some reason it puts spaces in random spots on this forum, it doesnt have them when it is generated.
__________________
EQ2MAP Updater Download
EQ2MAP Website
How to Install a custom interface

Last edited by taco-man : 02-10-2005 at 12:19 AM.
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:12 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI