This little add-on looks quite simple in design and mechanic, but it actually helps a lot if you're in a quick hurry to go to another server for somethin'.
I'd say that it needs a ping bar to tell how much connection you have between the server and yourself so the user has convenience as well, speaking of convenience I'd also like to say that it can use a slots rig, where the little tabs could tell how much slots are available for the opening.
Overall I'd say that this add-on is quite simple and does what it does.
[QUOTE=Mikey Howell;48062914]
Features:
Able to put infinite buttons without having to edit/add code
Config (Able to easily add buttons with no problems at all)
No Coding Knowledge at all!
[CODE]-- Config
local spaceb = 15 // THE SPACE BETWEEN THE BUTTONS!!!!! ! ! ! ! ! !
local servers = servers or {}
servers[1] = {"Click to join!","162.255.210.163:27015","247 Community"} -- Format: {"gamemode/description","Address","Server Name"} // You need the port...
servers[2] = {"Click to join","13914839:131","AWESOME DUDE!"}
servers[3] = {"Click to join","13914839:131","WOW INFINITE BUTTONS?"}[/CODE]
[/QUOTE]
However "Able to put infinite buttons without having to edit/add code" is wrong, server owners have to edit the code in the file..
"No Coding Knowledge at all!" Eh, you'd be surprised at how bad at following logic some people can be.
The script is simple and gets the job done, but it would get a lot more usage if you added a menu for superadmins to be able to add / edit / remove server lists on the fly in-game.
Shinycow, the server hopper has an implemented loop so you don't have to edit any code but only the config.
[QUOTE=Mikey Howell;48077542]Shinycow, the server hopper has an implemented loop so you don't have to edit any code but only the config.[/QUOTE]
At the very least you could do something like
[lua]
local servers = {}
local function AddServerHop( strDesc, strAddress, strName )
servers[ #servers + 1 ] = {strDesc, strAddress, strName}
end
AddServerHop( "Click to join!", "1234:27015", "Server name" )
AddServerHop( "Click to join!", "2345:27015", "Server name" )
AddServerHop( "Click to join!", "2345:27016", "Server name" )
[/lua]
Sneaky little server IP advertisement you have there.
Very useful , Thanks! ( ͡° ͜ʖ ͡°)
[QUOTE=Shinycow;48077841]At the very least you could do something like
[lua]
local servers = {}
local function AddServerHop( strDesc, strAddress, strName )
servers[ #servers + 1 ] = {strDesc, strAddress, strName}
end
AddServerHop( "Click to join!", "1234:27015", "Server name" )
AddServerHop( "Click to join!", "2345:27015", "Server name" )
AddServerHop( "Click to join!", "2345:27016", "Server name" )
[/lua][/QUOTE]
He could take it one step further and utilize either JSON or INI (there are countless INI parsers).
Sorry, you need to Log In to post a reply to this thread.