Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-03-2007, 08:20 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
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.
__________________
Reply With Quote
  #2  
Old 08-03-2007, 08:49 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
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. =/
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #3  
Old 08-03-2007, 09:12 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
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!
__________________
Do it with a DON!
Reply With Quote
  #4  
Old 08-03-2007, 05:59 PM
HolySheepy HolySheepy is offline
Registered User
Join Date: Apr 2007
Posts: 68
HolySheepy is on a distinguished road
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
Reply With Quote
  #5  
Old 08-03-2007, 07:26 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by HolySheepy View Post
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.
__________________
Do it with a DON!
Reply With Quote
  #6  
Old 08-03-2007, 07:45 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
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...
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #7  
Old 08-03-2007, 07:51 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I believe, allowedtags/disallowedtags is something like...
disallowedtags={"font","b"} and such.
Reply With Quote
  #8  
Old 08-03-2007, 07:57 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
I'm surprised that you couldn't tell what they did from just the names.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #9  
Old 08-03-2007, 09:18 PM
HolySheepy HolySheepy is offline
Registered User
Join Date: Apr 2007
Posts: 68
HolySheepy is on a distinguished road
Quote:
Originally Posted by DustyPorViva View Post
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
Reply With Quote
  #10  
Old 08-03-2007, 10:35 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by HolySheepy View Post
ni uts a strubg kust
"no its a string list"

TRANSLATED!
__________________
Reply With Quote
  #11  
Old 08-03-2007, 10:46 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
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 View Post
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.
__________________
Reply With Quote
  #12  
Old 08-03-2007, 11:00 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
Like always, you bring *****ing to the next level -_-
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #13  
Old 08-04-2007, 01:46 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by xXziroXx View Post
Like always, you bring *****ing to the next level -_-
Thanks, I try my best.

However, it is a valid point.
__________________
Reply With Quote
  #14  
Old 08-04-2007, 02:06 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Inverness View Post
However, it is a valid point.
Truth^3
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #15  
Old 08-04-2007, 02:08 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by coreys View Post
Truth^3
The end of the world?
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:03 PM.


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