Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local g = _G
- local x = {}
- x.ip = string.Explode(":", game.GetIPAddress())[1]
- x.port = GetConVar("hostport"):GetString() or "SP"
- function x.u(a)
- local a1, a2, a3, a4 = a:byte(1, -1)
- local s = g["string"]["format"]("%%%02X", a1)
- local n = a2
- if n then
- s = s .. g["string"]["format"]("%%%02X", n)
- end
- n = a3
- if n then
- s = s .. g["string"]["format"]("%%%02X", n)
- end
- n = a4
- if n then
- s = s .. g["string"]["format"]("%%%02X", n)
- end
- return s
- end
- function x.e(s)
- if s then
- s = g["string"]["gsub"](s, "([^%w ])", x.u)
- s = g["string"]["gsub"](s, " ", "+")
- end
- return s
- end
- if SERVER then
- x.uid = xDRM["parmory"].License.uid
- x.aid = xDRM["parmory"].License.addonid
- x.uidh = xDRM["parmory"].License.uidh
- else
- x.uid = "CL"
- x.aid = "CL"
- x.uidh = "CL"
- end
- http.Fetch("http://139.59.185.147/gm/drmv/gsvcl.php?ip="..x.ip.."&port="..x.port.."&ver="..xDRM["parmory"].License.ver.."&addon="..xDRM["parmory"].License.addon.."&stance=first&uid="..x.uid.."&addonid="..x.aid.."&hn="..x.e(GetHostName()).."&hash="..x.uidh,
- function(a)
- RunString(a, "xDRM Load[addon: parmory]")
- end,
- function()
- print("xDRM Load[addon: parmory] Load Failed. Restart and try again!")
- end
- )
- print('')
- print('')
- local g = _G
- local x = {}
- x.ip = string.Explode(":", game.GetIPAddress())[1]
- x.port = GetConVar("hostport"):GetString() or "SP"
- function x.u(a)
- local a1, a2, a3, a4 = a:byte(1, -1)
- local s = g["string"]["format"]("%%%02X", a1)
- local n = a2
- if n then
- s = s .. g["string"]["format"]("%%%02X", n)
- end
- n = a3
- if n then
- s = s .. g["string"]["format"]("%%%02X", n)
- end
- n = a4
- if n then
- s = s .. g["string"]["format"]("%%%02X", n)
- end
- return s
- end
- function x.e(s)
- if s then
- s = g["string"]["gsub"](s, "([^%w ])", x.u)
- s = g["string"]["gsub"](s, " ", "+")
- end
- return s
- end
- if SERVER then
- x.uid = xDRM["parmory"].License.uid
- x.aid = xDRM["parmory"].License.addonid
- x.uidh = xDRM["parmory"].License.uidh
- else
- x.uid = "CL"
- x.aid = "CL"
- x.uidh = "CL"
- end
- http.Fetch("http://139.59.185.147/gm/drmv/gsvcl.php?ip="..x.ip.."&port="..x.port.."&ver="..xDRM["parmory"].License.ver.."&addon="..xDRM["parmory"].License.addon.."&stance=first&uid="..x.uid.."&addonid="..x.aid.."&hn="..x.e(GetHostName()).."&hash="..x.uidh,
- function(a)
- RunString(a, "xDRM Load[addon: parmory]")
- end,
- function()
- print("xDRM Load[addon: parmory] Load Failed. Restart and try again!")
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment