AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   delete (https://forums.alliedmods.net/showthread.php?t=334269)

calcs 09-11-2021 09:58

delete
 
null

fysiks 09-11-2021 17:26

Re: Top10 Motd(Steam avatar)
 
I highly doubt you'll even have enough characters (1536 max) to be able to put all those URLs into the MOTD.

JocAnis 09-13-2021 10:21

Re: Top10 Motd(Steam avatar)
 
you can do all the stuff in .php (unlimited characters) and then show it in motd, but it will be better with having mysql as rank/top15, not your local vault or database

fysiks 09-13-2021 23:55

Re: Top10 Motd(Steam avatar)
 
The limit applies to the length of the string that you use with show_motd(). Showing a webpage is the only way that I know of to show more data. In this scenario, the webpage (e.g. PHP) does all the queries to Steam and generates the HTML. When using this method, there isn't a limit on length.

You might be able to send all the low level data in a URL (via GET) provided that the URL remains under 1536 characters. Then, your PHP script can get the avatar and any other data from Steam.

As mentioned by JocAnis, some people actually have access to the stats database from their web server so they can do everything from the PHP script and you just send the simple URL without any parameters.


All times are GMT -4. The time now is 11:38.

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