[Help] Wrong Skin Trace errors |
Author: |
Message: |
Volv
Skinning Contest Winner
Posts: 1233 Reputation: 31
35 / /
Joined: Oct 2004
|
RE: [Help] Wrong Skin Trace errors
You should be using '\' in SkinInfo.xml for all local file paths.
This post was edited on 03-09-2008 at 12:48 PM by Volv.
|
|
03-09-2008 12:43 PM |
|
|
SmokingCookie
Senior Member
Posts: 815 Reputation: 15
30 / /
Joined: Jul 2007
|
O.P. RE: [Help] Wrong Skin Trace errors
Whatever
EDIT:: Let's make a new topic titled "Discuss whether to use "/" or "\" in SkinInfo.xml"
This post was edited on 03-09-2008 at 12:49 PM by SmokingCookie.
|
|
03-09-2008 12:46 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: [Help] Wrong Skin Trace errors
Well, it's not a path is it? It's an markup language.
<Eljay> "Problems encountered: shit blew up"
|
|
03-09-2008 05:05 PM |
|
|
Matti
Elite Member
Script Developer and Helper
Posts: 1646 Reputation: 39
32 / /
Joined: Apr 2004
|
RE: [Help] Wrong Skin Trace errors
To make it even worse... you should escape the backslash in your paths!
code: <File>Images\\04.png</File>
This is because when you have an image called "nothing.png", the "Images\nothing.png" will be parsed as:
quote: Images
othing.png
This post was edited on 03-09-2008 at 05:44 PM by Matti.
|
|
03-09-2008 05:43 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: [Help] Wrong Skin Trace errors
I've only seen them with single slashes. Only seen doubles in scripts
<Eljay> "Problems encountered: shit blew up"
|
|
03-09-2008 06:02 PM |
|
|
SmokingCookie
Senior Member
Posts: 815 Reputation: 15
30 / /
Joined: Jul 2007
|
O.P. RE: RE: [Help] Wrong Skin Trace errors
quote: Originally posted by Mattike
To make it even worse... you should escape the backslash in your paths!
code: <File>Images\\04.png</File>
This is because when you have an image called "nothing.png", the "Images\nothing.png" will be parsed as:
quote: Images
othing.png
That is called SCRIPTING.. This sub forum is called SKINNING.
I have to admit that these two words look like each other, since both have an S as first character and they both end with "-ing", but please learn to read properly and see the difference between them
This post was edited on 03-09-2008 at 06:15 PM by SmokingCookie.
|
|
03-09-2008 06:14 PM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
|
03-09-2008 06:54 PM |
|
|
Soardra
Junior Member
The original Soaring Dragon
Posts: 35
35 / /
Joined: Mar 2008
|
RE: [Help] Wrong Skin Trace errors
Also, scripting practices apply to skinning as well since it's basically using the same resources and such. The \n is because it's a code in strings for referring to a certain data set.
Ex)
code: 30=%1\nhas just signed in.
Thanks for uploading my pirate status buttons, MeEtc ^^
|
|
03-11-2008 12:49 AM |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: [Help] Wrong Skin Trace errors
quote: Originally posted by Soardra
Also, scripting practices apply to skinning as well since it's basically using the same resources and such. The \n is because it's a code in strings for referring to a certain data set.
Ex)
code: 30=%1\nhas just signed in.
No, strings are processed and so \n is converted to a new line. Paths are not however, the path is read as it is, else the skin would be looking for files with the newline character in them for example
<Eljay> "Problems encountered: shit blew up"
|
|
03-11-2008 02:25 PM |
|
|
SmokingCookie
Senior Member
Posts: 815 Reputation: 15
30 / /
Joined: Jul 2007
|
O.P. RE: [Help] Wrong Skin Trace errors
And the newline charater comes back in C(+(+)) and probarbly many other programming languages..
|
|
03-11-2008 02:29 PM |
|
|
Pages: (6):
« First
«
1
2
[ 3 ]
4
5
6
»
Last »
|
|