Page 1 of 1

Shore to shore?

Posted: 30 Mar 2006, 07:41
by Mentalist
Someone have a working version of this??.. I would be glad to have one, as this is my fav. 1vs1 map. The one on the universe doesn't work. Anyone??

Posted: 30 Mar 2006, 09:17
by SwiftSpear
The one on universe works... We haven't switched mapping formats since the last time I played it anyways, so it SHOULD work...

Posted: 30 Mar 2006, 10:01
by Mentalist
well when I try to load the map an error message pops up. it says:

Parse error 'brace or further name value pairs expected' in maps/shoretoshore.smd at line 85 column 15 near.

Why does the map give this message?.. All other maps I got from universe works, no problems.

Posted: 30 Mar 2006, 15:57
by Tobi
It's because the tdf parser was entirely rewritten and the new one is stricter and doesn't silently ignore all kinds of errors.

Posted: 30 Mar 2006, 23:56
by Dragon45
oh about that... any chance of getting the .tdf parser to write log files of where it encounters errors?

Posted: 31 Mar 2006, 13:34
by Tobi
It should give an error message with the filename and linenumber in it already. It bails out after the first error, so a log wouldn't be really useful IMHO.

If it ignores 'junk' it writes it to the infolog, so you see it just after game starts in the blue message window or in the file infolog.txt in TASpring dir.

Posted: 31 Mar 2006, 20:15
by Dragon45
Would be a lot more useful to modders if there could be a a -d parameter to just go through every file and output all the errors it finds into a log file isntead of having to fix errosr and keep coming back and then relaunching waiting for it to load etc.


I think i might tackle that this weekend; just a little class copy + paste me thinks X-D

Although if you want it Tobi, go for it, will take me a day or three to finish it prolly :)

Posted: 31 Mar 2006, 21:05
by AF
hmm, maybe there's call for yet another GROUPAI!!!!!!!!!

I could always add in a TDF parser but I'm not sure how you'd specify which files to scan, as there's no get vfs file entries, and no gotchatmsg() so you'd ahve to bruteforce it or handwrite it in a config file.

Unless you made it check several default files, then made it parse through all the unit files.

*gets to work*

oh wait stupid me, thats silly, you wouldnt get ingame to run the groupAI

Posted: 31 Mar 2006, 21:19
by Suit
isn't it simplier just remake the map? :D

shore to shore was also a fav. of mine, so i NEED to play it

Posted: 31 Mar 2006, 21:47
by hrmph

Posted: 31 Mar 2006, 22:19
by Kixxe
Suit wrote:isn't it simplier just remake the map? :D

shore to shore was also a fav. of mine, so i NEED to play it

Yea, and the other remake don't live up to the standads... i mean, not a single tree? Come on! It's a tropical map! :(