Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   HTML tags in GuiMLTextCtrl (https://forums.graalonline.com/forums/showthread.php?t=76067)

Inverness 08-03-2007 08:20 AM

HTML tags in GuiMLTextCtrl
 
There are 3 variables in GuiMLTextCtrl that I'm interested in.
parsetags
allowedtags
disallowedtags

How do I use them and how do they affect eachother? What format do I use to list allowed or disallowed tags?

Do to the complete lack of sufficient documentation on the Wiki, I'm forced to pollute the forum with useless crap that could have been avoided.

God damn, what do you GSTs do all day? We've been needing decent documentation for forever.

coreys 08-03-2007 08:49 AM

GSTs are too busy with *** lil' Zodiac. :)
I had to script my own html filter because there was no documentation on them so I couldn't figure any of it out. =/

zokemon 08-03-2007 09:12 AM

I don't think any of the current GSTs are fans of that wiki. Almost all of the updates now a days are from developers like myself. Of course we don't get anything for it what so ever (not even recognition) so don't look at us!

HolySheepy 08-03-2007 05:59 PM

Jsut tested it for about 10 mins...


parsetags is a boolean
if parsetags is true and you write <font color="red">meh</font> the "meh" will be red

if its false it will just show "<font color="red">meh</font>", so it doesnt sort it out

allowedtags and disallowedtags are comman separated lists

so basically if you set allowedtags it will set disallowedtags to all tags that arent on allowedtags
if you set disallowedtags it will set allowedtags to all tags that arent on disallowedtags

tags filetered out arent showed, so if you put font on disallowedtag and someone does <font color="red">meh</font> it will just show meh, but it wont change the color

zokemon 08-03-2007 07:26 PM

Quote:

Originally Posted by HolySheepy (Post 1336959)
Jsut tested it for about 10 mins...


parsetags is a boolean
if parsetags is true and you write <font color="red">meh</font> the "meh" will be red

if its false it will just show "<font color="red">meh</font>", so it doesnt sort it out

allowedtags and disallowedtags are comman separated lists

so basically if you set allowedtags it will set disallowedtags to all tags that arent on allowedtags
if you set disallowedtags it will set allowedtags to all tags that arent on disallowedtags

tags filetered out arent showed, so if you put font on disallowedtag and someone does <font color="red">meh</font> it will just show meh, but it wont change the color

Good job HolySheepy (rep++; ). I'm surprised many of the others that posted here couldn't figure that out.

coreys 08-03-2007 07:45 PM

I already knew about parsetags, but I tried every way I could think of to make lists in allowedtags and disallowedtags, and it never worked...

DustyPorViva 08-03-2007 07:51 PM

I believe, allowedtags/disallowedtags is something like...
disallowedtags={"font","b"} and such.

xXziroXx 08-03-2007 07:57 PM

I'm surprised that you couldn't tell what they did from just the names.

HolySheepy 08-03-2007 09:18 PM

Quote:

Originally Posted by DustyPorViva (Post 1336993)
I believe, allowedtags/disallowedtags is something like...
disallowedtags={"font","b"} and such.

ni uts a strubg kust
its like
disallowedtags = "font,color";

edits says
uhm just tested, it works with your way too

Crow 08-03-2007 10:35 PM

Quote:

Originally Posted by HolySheepy (Post 1337015)
ni uts a strubg kust

"no its a string list"

TRANSLATED!

Inverness 08-03-2007 10:46 PM

Quote:

Originally Posted by zokemon
I'm surprised many of the others that posted here couldn't figure that out.

Quote:

Originally Posted by xXziroXx (Post 1336995)
I'm surprised that you couldn't tell what they did from just the names.

Thats not so much the point of this thread, I could have easily figured them out in a small amount of time. The point is I shouldn't need to, the documentation should exist to people don't have to guess about ****, that wastes so much time.

xXziroXx 08-03-2007 11:00 PM

Like always, you bring *****ing to the next level -_-

Inverness 08-04-2007 01:46 AM

Quote:

Originally Posted by xXziroXx (Post 1337046)
Like always, you bring *****ing to the next level -_-

Thanks, I try my best.

However, it is a valid point.

coreys 08-04-2007 02:06 AM

Quote:

Originally Posted by Inverness (Post 1337088)
However, it is a valid point.

Truth^3

Crow 08-04-2007 02:08 AM

Quote:

Originally Posted by coreys (Post 1337090)
Truth^3

The end of the world?

coreys 08-04-2007 02:13 AM

Quote:

Originally Posted by Crow (Post 1337092)
The end of the world?

Perhaps.

zim5354 08-04-2007 03:23 AM

Quote:

Originally Posted by coreys (Post 1337094)
Perhaps.

lawl orly?

coreys 08-04-2007 03:31 AM

ya rly

zokemon 08-04-2007 07:33 AM

I don't really find it a valid point. You can kindly ask the GST or others to document these things but treating people like crap and demanding things is certainly no way to get what you want. Most learn that at least before they are 10...

coreys 08-04-2007 07:53 AM

Quote:

Originally Posted by zokemon (Post 1337179)
I don't really find it a valid point. You can kindly ask the GST or others to document these things but treating people like crap and demanding things is certainly no way to get what you want. Most learn that at least before they are 10...

Psh, still works for me.

xXziroXx 08-04-2007 12:15 PM

Quote:

Originally Posted by coreys (Post 1337187)
Psh, still works for me.

Shut up Vash.

Tigairius 08-04-2007 07:28 PM

Quote:

Originally Posted by zokemon (Post 1337179)
I don't really find it a valid point. You can kindly ask the GST or others to document these things but treating people like crap and demanding things is certainly no way to get what you want. Most learn that at least before they are 10...

Your post ID started with 1337, thought you would want to know.

zokemon 08-04-2007 07:48 PM

Quote:

Originally Posted by Tigairius (Post 1337332)
Your post ID started with 1337, thought you would want to know.

:cool:

coreys 08-04-2007 11:24 PM

Quote:

Originally Posted by xXziroXx (Post 1337241)
Shut up Vash.

Never. I'm stubborn, okay?

Inverness 08-05-2007 12:46 AM

Quote:

Originally Posted by zokemon (Post 1337179)
I don't really find it a valid point. You can kindly ask the GST or others to document these things but treating people like crap and demanding things is certainly no way to get what you want. Most learn that at least before they are 10...

You shouldn't have to ask for documentation on the scripting engine, you don't seem to understand this. Stefan is making this scripting engine so other people can use it, there should be no lack of documentation.

You have the wrong idea if you think its just fine that its not documented and people shouldn't mind and ask nicely about it. I've asked nicely several times in the past (If you don't take my word for it I would care less), and I have yet to see any effort done to document the engine.
Quote:

Originally Posted by Tigairius (Post 1337332)
Your post ID started with 1337, thought you would want to know.

So does everyone else's.

zokemon 08-05-2007 12:49 AM

Quote:

Originally Posted by Inverness (Post 1337441)
You shouldn't have to ask for documentation on the scripting engine, you don't seem to understand this. Stefan is making this scripting engine so other people can use it, there should be no lack of documentation.

You have the wrong idea if you think its just fine that its not documented and people shouldn't mind and ask nicely about it. I've asked nicely several times in the past (If you don't take my word for it I would care less), and I have yet to see any effort done to document the engine.

So does everyone else's.

Then why don't you?

Inverness 08-05-2007 01:00 AM

Quote:

Originally Posted by zokemon (Post 1337443)
Then why don't you?

I don't know, maybe because its not my job? My job is making content for Valikorlia not documenting the scripting engine like Stefan or the GST should have done. I'm not going to do other people's work for them because they didn't.

Not everyone is at or near the level of scripting ability of the GST and we want more decent scripters around Graal the engine needs to be documented so they know what they have to work with.

If this isn't the job of the GST please tell me what it is because they are called Global Scripting Team. And the only thing I've seen from them is the ClientRC. I wont appreciate favoring playerworlds while certain things still need to be done.

zokemon 08-05-2007 01:06 AM

Then I would gladly actively update the wiki if it was my job.

Inverness 08-05-2007 01:47 AM

Quote:

Originally Posted by zokemon (Post 1337452)
Then I would gladly actively update the wiki if it was my job.

HINT HINT

Switch 08-20-2007 04:28 PM

Well here's a whole website on this teaches all HTML XML CSS stuff

www.w3schools.com

zokemon 08-20-2007 04:34 PM

Quote:

Originally Posted by Switch (Post 1341671)
Well here's a whole website on this teaches all HTML XML CSS stuff

www.w3schools.com

Myspace, here I come!

Switch 08-20-2007 09:37 PM

trust me Zero, it's not as easy as you think xD

DustyPorViva 08-20-2007 09:47 PM

Well, we can't post links, but either way, I used w3schools, but also used Tizag. It's a little more personal than w3 seems to be, but no hands-on testing like w3 has. But whenever I couldn't find anything at w3, I could find it at tizag.
I'm sure anyone will be able to find their way there.

zokemon 08-20-2007 10:02 PM

Quote:

Originally Posted by Switch (Post 1341779)
trust me Zero, it's not as easy as you think xD

I was joking. My 'space is already tricked out enuf plx.

Twinny 08-21-2007 05:42 AM

Myspace....people fail basic website layouts and designs there.

"I know!! Purple picture background with....PURPLE text! This will work!!....hmm how about alot of annoying animated green images! That surely won't clash with my purple!!"

Admins 08-21-2007 12:37 PM

If I remember right the "allowedtags" and "disallowedtags" was explained in the client change log / newfeatures list, which is available on the wiki.
You can also echo() those variables to get all available tags.

zokemon 08-22-2007 10:06 AM

Quote:

Originally Posted by Stefan (Post 1342018)
which is available on the wiki.

Uhh...?

coreys 08-22-2007 08:34 PM

Yeah too bad the wiki is down.


All times are GMT +2. The time now is 06:04 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.