Thread: Widgetizer
View Single Post
Old 11-14-2007, 09:24 PM   #11
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Quote:
Originally Posted by PitzerMike
Regarding the files you provided. There's something strange about your input file. It conains single carriage returns without a linefeed. Why is that? And when i tried it in a map it didn't even work (I mean the input file), the displayed tooltip in-game just ended where the single CR was.

I realized that I need to replace CRLF with |n (which is already done for object files, but I apparently forgot this for the interface strings). But even then your input file wouldn't compile properly because it doesn't contain CRLF but only CR which is not expected.

I totally avoid that ini file.

I don't have any idea how that single CR came into existence.
Strings in war3MapMisc are usually externalized:
Code:
[Errors]
Nofood=TRIGSTR_005
Notownportalhalls=TRIGSTR_006

[FrameDef]
DAMAGETIP_SIEGE=TRIGSTR_007

CR is a newline character on linux btw.... (probably mac too)
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote