EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > EQ2MAP

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-04-2005, 05:18 AM
highlander highlander is offline
A Brown Bear
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 9
Default Mapper.xml not working on non-english log files

first of all sorry if my english is not very good, because i m french hehe
i did a search about inkscape, and it s been 2 days that i m trying to make a map with no success.
i downloaded everything, mapper.XML, perl, inkscape, i did my logfile, and i can t get a usefull .svg file.

here is what i get:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"></svg>

i m not very good at XML so i can t debug it myself but i can clearely see that the script actualy bypass all my logfile

here is the begining of my logfile suposed to be used for the .svg :

(1115118556)[Tue May 03 13:09:16 2005] Logging to 'logs/Storms/eq2log_Medecin.txt' is now *ON*
(1115118558)[Tue May 03 13:09:18 2005] Vous start new map line
(1115118560)[Tue May 03 13:09:20 2005] Votre position est -17,83, 628,39, 125,04. Votre orientation est 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Votre position est -18,21, 628,37, 125,05. Votre orientation est 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Votre position est -18,40, 628,36, 125,06. Votre orientation est 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Votre position est -18,95, 628,33, 125,08. Votre orientation est 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Votre position est -19,34, 628,31, 125,10. Votre orientation est 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Votre position est -19,62, 628,30, 125,11. Votre orientation est 89,95, 0,00, 0,00

i get absolutely no error msg, everything seems to work very well exept the fact that i don t get a single line in the end
Reply With Quote
  #2  
Unread 05-04-2005, 05:30 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

(Split into new thread.)

The log parser was made for the english-language logs. When you point it to your french-language log file, it has no clue what it's looking at. It's just a computer, after all.

Try this:

Open the log file with a text editor. Search for Votre position est and replace with Your location is

Then search for Votre orientation est and replace with Your orientation is

That should let the script parse the log correctly.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #3  
Unread 05-04-2005, 05:38 AM
highlander highlander is offline
A Brown Bear
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 9
Default

oh god i m a noob i didn t even notice my logs where in french lol
thx, i m trying this right now
Reply With Quote
  #4  
Unread 05-04-2005, 07:19 AM
diztorded's Avatar
diztorded diztorded is offline
Crushbone - Cronique
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Crushbone
Posts: 163
Default

I will update my HowTo to reflect what the parcer is looking for.
Reply With Quote
  #5  
Unread 05-04-2005, 10:51 AM
highlander highlander is offline
A Brown Bear
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 9
Default

hmm it s still not working with this as my logfile:

(1115118556)[Tue May 03 13:09:16 2005] Logging to 'logs/Storms/eq2log_Medecin.txt' is now *ON*
(1115118558)[Tue May 03 13:09:18 2005] You start new map line
(1115118560)[Tue May 03 13:09:20 2005] Your location is -17,83, 628,39, 125,04. Your orientation is 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Your location is -18,21, 628,37, 125,05. Your orientation is 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Your location is -18,40, 628,36, 125,06. Your orientation is 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Your location is -18,95, 628,33, 125,08. Your orientation is 89,95, 0,00, 0,00
(1115118560)[Tue May 03 13:09:20 2005] Your location is -19,34, 628,31, 125,10. Your orientation is 89,95, 0,00, 0,00


the weird thing is that it doesn t even seem to execute this line :

my $startline = "<polyline fill=\"none\" stroke=\"black\" ...

it s not even a problem of interpreting, it s just that it seems to bypass it

Last edited by highlander : 05-04-2005 at 11:34 AM.
Reply With Quote
  #6  
Unread 05-04-2005, 11:38 AM
sstair sstair is offline
Scuba Steve
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Everfrost
Posts: 150
Default

Quote:
Originally Posted by highlander
hmm it s still not working with this as my logfile:

(1115118560)[Tue May 03 13:09:20 2005] Your location is -17,83, 628,39, 125,04. Your orientation is 89,95, 0,00, 0,00
Ok, now the problem is that the pattern the code is trying to match is probably something like:
Your location is [-]NNN.NN, [-]NNN.NN, [-]NNN.NN

And your log file has commas where the pattern is expecting periods.
Reply With Quote
Reply



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 02:48 AM.


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