I found my problem when I copied down RGB.txt and placed it in the folder. For some reason the put RGB in small caps. I renamed the file and it works.
I found my problem when I copied down RGB.txt and placed it in the folder. For some reason the put RGB in small caps. I renamed the file and it works.
When ever I run the awk script as follows
awk -f eqtomap.awk < SoldungC_1.txt > Soldungc.map
I get the following:
awk: eqtomap:2:
' in expression:2: ^ invalid char '
and nothing else.
RH 9 full install.
Any ideas? This happens with ANY maps I have.
I'm getting this too**unknown color: 0 0 240
But then I tried it with "Poknowledge_1.txt" (from my EQ map folder) just to test, and it worked fine. Got some "]**unknown color:" stuff but loaded it up in SEQ and it was identical to the one that SEQ comes with. So maybe it's something with the new LDON zone maps from eqtoolbox?
Thoughts?
My EQ map txt files do not start with a Capitial Letter. If your file names are all in small cap's, then change your awk line to -Originally posted by Elyon
awk -f eqtomap.awk < SoldungC_1.txt > Soldungc.map
awk -f eqtomap.awk < soldungC_1.txt > Soldungc.map
Hope that helps
Jel321
After you fix your RGB.txt file (see below), change:P,water area
,unknown,-5,446
P,To Innothule Swamp
,magenta,69,-833
P,bridge/pit
,unknown,-235,-554
toCode:BEGIN { #RS="\n"; print "Converted map,converted,0,0" }
ieatacidCode:BEGIN { RS="\r\n"; print "Converted map,converted,0,0" }
That means you need to add that color to your RGB.txt file. Not knowing which map in particular you're looking at, I'd suggest addingunknown color 0 0 240
to your RGB.txt file.Code:0 0 240 blue
Elyon
My guess is that you failed to copy and paste the awk script correctly.awk: eqtomap:2:
' in expression:2: ^ invalid char '
Thanks for the reply ksmith. That fixed the problem for all but "unknown color: 0 0 0"
It's in RGB.txt as "0 0 0 black"
An example of this happening is in guka_1.txt. Here's a sample of the first few lines:
L 326, -984, 1, 326, -1018, -2, 0, 0, 0
L 433, -833, 1, 433, -801, -2, 0, 0, 0
L 323, -832, 1, 323, -798, -2, 0, 0, 0
L 379, -832, 1, 378, -798, -2, 0, 0, 0
L 292, -831, 1, 461, -833, 1, 0, 0, 0
L 292, -908, -13, 292, -831, 1, 0, 0, 0
Ksmith,
I am getting the same error as elyon. I cut and pasted the script as you posted it. Not sure what might be the issue.
Beer
Also, once I get a map that loads up in-game and looks good, how do I get it to load automatically when i zone into that zone?
change the name to match the zone name.
Thanks. My map names weren't matching the ones in zones.h
The zones.h zone names are the short zone names and the list of new ones match those in eqgame.exe.Originally posted by ieatacid
Thanks. My map names weren't matching the ones in zones.h
Enjoy,
Zaphod (dohpaZ)
Chief Software Engineer of the Apocalypse.
http://showeq.doomed.to/
SourceForge.net user: dohpaz.
Personal thank you donations are now accepted.
I have combine some of the new maps and they look fine. Some information is missing but they work. I looked at the file "zones.h" and the new zones were already added with the correct names, they start at 229 through 278 When I zone into a new zone it said un_know_zone with the following number "1357185297". I manually loaded the map which the name was "Rujj.map". The next step I wanted to find out what number would be displayed if I commement out some of the zones in the "zones.h" file. I did it to the zones 1 through 85. I then restarted SEQ and had my character zone into EC. EC came up and worked with no problems, even after I made the change to "zones.h" file. The "zones.h" file seems to do nothing. The only thing I see in the "zones.h" file is the names of the zones start with a small letter. But where the maps files are stored on the Hard Drive start with a capitial letter. The location of the "zones.h" file I was looking at is /seq/showeq/src/zones.h.Originally posted by Zaphod
The zones.h zone names are the short zone names and the list of new ones match those in eqgame.exe.
Enjoy,
Zaphod (dohpaZ)
I would appreciate any help you can provide.
I'm no expert, but I think if you change zones.h (or any source files) you have to recompile for any changes to take effect.
TY , But I tried it and it didn't work. There has to be something eles.
For those of you getting
when trying to run the awk script, this is because you're using gawk.Code:awk: eqtomap:2: ' in expression:2: ^ invalid char '
Try changing
toCode:/^L/ {
andCode:$1 == "L" {
toCode:/^P/ {
Unfortunately, I don't have gawk to test this with.Code:$1 == "P" {
There are currently 1 users browsing this thread. (0 members and 1 guests)