Hey dude, how about my idea? Is it real?
Alright. I have been talking to Pecon and Boodals about acquiring all commands in a server. There is basically only one logical way (That I could think of) to acquire all commands in a server.
Here is a theory that will not work:Spamming all commands rapidly in the sequence of /a /b /c ... /ab /ac ... /hsatf ... etc you get the point
This will not work, because if you could only use words and numbers (36 characters), without any of the specials(' ] [ ; , . / etc) and it would be a max of a 10 word phrase, there are 254,186,856 possible combinations, which if you could send the commands at 1000 commands per second(which you can't, unless you have 0 ping which you don't.), it would take about 3 days. SO BASICALLY forget THAT IDEA
An idea that in theory would work:Since you cannot check for all commands in a server, by spamming them. How about you have a list of stored commands? As in, a notepad would contain all Server_x / Script_x commands from RTB archives, or from the Add-Ons section, or just requested Add-Ons. The commands would be stored in a fashion of something like:
function getCommandsServer_NewDup()
{
ADD COMMAND STUFF HERE
}
function getCommandsScript_Copymod()
{
ADD COMMAND STUFF HERE
}
How would I know what addons are on a server? Well, there is a default listdatablocks(); console command, that lists all datablocks.. obviously. So with this, you can find what Server / Script mods are on a server, and from the notepad, you can get the commands from the notepad.
Mod made to be client-sided only.
Idea if this method would work:The ability for the client to track what servers have what commands(Another notepad that records the commands on the server).
Questions? Thoughts? Problems?