Player profile
Printed From: Illyriad
Category: Strategies, Guides & Help
Forum Name: General Questions
Forum Description: If your gameplay question isn't answered in the help files, please post it here.
URL: http://forum.illyriad.co.uk/forum_posts.asp?TID=609
Printed Date: 17 Apr 2022 at 07:00 Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com
Topic: Player profile
Posted By: Akura
Subject: Player profile
Date Posted: 05 Jun 2010 at 03:16
Just wondering, is there a limit to the size of the profile?
And can BBCode or HTML be used for it?
|
Replies:
Posted By: Wuzzel
Date Posted: 05 Jun 2010 at 11:02
Just test it and you can see for yourself Akura. I have no idea.
-------------
|
Posted By: HonoredMule
Date Posted: 07 Jun 2010 at 16:35
Well there's no limit in the actual specification for POST, but there will be a practical limit to the amount of POST data the webserver will accept (to protect against denial os service and buffer overflow attacks), but that could be as high as two megabytes of text. Single fields are often limited to 1024 characters, but this limit can also be adjusted.
I'm sure there is some limit to the size of the database field that stores it as well. Without any proper checking or synchronized configuration between webserver and db server, your profile could just get silently truncated to the amount that is actually stored.
|
Posted By: Akura
Date Posted: 07 Jun 2010 at 22:40
|
Oh, I figured out what the limit is. It cut off the last paragraph or two, which weren't all that important.
|
Posted By: HonoredMule
Date Posted: 08 Jun 2010 at 10:40
|
The suspense is killing me. What was the accepted character count?
|
Posted By: Duke Felirae
Date Posted: 08 Jun 2010 at 10:51
6577 not including spaces, 7956 including spaces.
------------- His Grace the Duke of Felirae
|
Posted By: HonoredMule
Date Posted: 08 Jun 2010 at 19:20
|
So likely 8,000 then, with losses for some character escaping.
|
Posted By: GM Stormcrow
Date Posted: 08 Jun 2010 at 21:21
Yes indeed, I'm pretty sure it's a varchar(8000) input field.
We could, of course, increase it to varchar(max) but we sort-of think the "Public Forum" area for each alliance is where people could post the extra information they want. The Profile shouldn't be War & Peace.
|
Posted By: HonoredMule
Date Posted: 08 Jun 2010 at 21:52
|
8k chars was sufficient for Harmless' rather comprehensive profile, including overhead of html markup.
|
|