Raised This Month: $ Target: $400
 0% 

Why does this top10 not show top20?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-08-2018 , 12:42   Re: Why does this top10 not show top20?
Reply With Quote #5

Quote:
Originally Posted by Black Rose View Post
To make it easy, double whatever you had previously.
You do however have a limit in the MOTD of 1536 characters which you probably will hit. In order to work around that you'll have to print everything to a local file and link the MOTD to the file instead of supplying it a string.

I think it's as easy as this, haven't tested it thought.
Code:
show_motd(id, sBuffer);
->
Code:
new hFile = fopen("top20.htm", "w"); fputs(hFile, sBuffer); fclose(hFile); show_motd(id, "top20.htm");
IIRC, the limit is still there for displaying a file. It has to do with transmitting to the player. So, the only way to bypass that limit is to host the content on a website.
__________________
fysiks is offline
 



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 -4. The time now is 12:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode