[QUOTE=gonzalolog;45813048]I bought that and i'm too lazy to config it...I got a donation system a long ago, but had lack of customization, so i got this and was like...Urgh...This worth me 7.5$ dollars
Another question...It's this normal?
[t]http://i.imgur.com/Kc1VEq8.jpg[/t]
[URL]http://coderhire.com/scripts/view/1284[/URL][/QUOTE]
I bought the related scripts Upgrade and then put all related scripts to my JailBreak gamemode.
[QUOTE=jaooe;45808212]I'd like to report this script, it uses my code for the donation system.
[url]http://coderhire.com/browse/script/1188/automatic-donation-keys[/url][/QUOTE]
[QUOTE=Netheous;45813007]I reported it about 1 month ago.
Glad finally someone can prove what I said about it.
I hope Adam doesn't think I am moaning this time T_T[/QUOTE]
Here's a chat log Zoidberg just sent.
[t]http://puu.sh/b9Led/4bcd06acec.jpg/[/t]
[t]http://puu.sh/b9Lgl/0ee9e816c3.jpg/[/t]
[url]http://pastebin.com/SDaZ7mkK[/url]
Just another known scammer (POM/jaooe) trying to scam some more.
[QUOTE=adamdburton;45813221]Here's a chat log Zoidberg just sent.
[t]http://puu.sh/b9Led/4bcd06acec.jpg/[/t]
[t]http://puu.sh/b9Lgl/0ee9e816c3.jpg/[/t]
[url]http://pastebin.com/SDaZ7mkK[/url]
Just another known scammer (POM/jaooe) trying to scam some more.[/QUOTE]
Glad it got solved so quickly Adam.
[QUOTE=Netheous;45800225][img_thumb]http://puu.sh/b7Zn0/4d2130cda0.png[/img_thumb]
[img_thumb]http://puu.sh/b7ZB4/e961e2ff29.png[/img_thumb][/QUOTE]
I joined that guys server yesterday after being spammed by some random on my friends list about it, then people magically became admin:dance:.
[QUOTE=kila58;45813445]I joined that guys server yesterday after being spammed by some random on my friends list about it, then people magically became admin:dance:.[/QUOTE]
'Magically' haha, thanks for that. It's either one of my scripts getting leaked or other peoples so yeah, you did a great service to us.
[QUOTE=Netheous;45813453]'Magically' haha, thanks for that. It's either one of my scripts getting leaked or other peoples so yeah, you did a great service to us.[/QUOTE]
I can't take the credit, my friend dex is the one who exploited one of the addons, that's what you get you used leaked addons I guess.
[editline]27th August 2014[/editline]
Infact: 50.31.23.118:27015
[QUOTE=kila58;45813479]I can't take the credit, my friend dex is the one who exploited one of the addons, that's what you get you used leaked addons I guess.[/QUOTE]
Agreed, I wrecked few leakers myself, but not actually their servers or anything, just got them banned.
There was one person that was especially stupid:
[img]http://puu.sh/b9OUL/35db1b97ad.png[/img]
[QUOTE=Netheous;45813503]Agreed, I wrecked few leakers myself, but not actually their servers or anything, just got them banned.
There was one person that was especially stupid:
[img]http://puu.sh/b9OUL/35db1b97ad.png[/img][/QUOTE]
[I]Let's use the same name, they'll never know! [/I]
But yea, I actually liked the system QAC used when it was on coderhire, where it tracked what servers were running it and reported it remotely. It would get caught onto but would be useful if your script is getting mass-leaked.
[QUOTE=kila58;45813526][I]Let's use the same name, they'll never know! [/I]
But yea, I actually liked the system QAC used when it was on coderhire, where it tracked what servers were running it and reported it remotely. It would get caught onto but would be useful if your script is getting mass-leaked.[/QUOTE]
I was thinking about something alike, but I am better with sql than mysql.
[QUOTE=Netheous;45813548]I was thinking about something alike, but I am better with sql than mysql.[/QUOTE]
Didn't someone make a SQLite to MySQL converter?
Anyhow I don't think SQL in General is the way to go, passwords and such.
[QUOTE=kila58;45813590]Didn't someone make a SQLite to MySQL converter?
Anyhow I don't think SQL in General is the way to go, passwords and such.[/QUOTE]
Well, I wanted shit to be drawn on a website so yeah, it's a way to go actually :#
[QUOTE=Netheous;45813695]Well, I wanted shit to be drawn on a website so yeah, it's a way to go actually :#[/QUOTE]
Oh I see now, I didn't quite understand before.
[QUOTE=adamdburton;45813221]Here's a chat log Zoidberg just sent.
[t]http://puu.sh/b9Led/4bcd06acec.jpg/[/t]
[t]http://puu.sh/b9Lgl/0ee9e816c3.jpg/[/t]
[url]http://pastebin.com/SDaZ7mkK[/url]
Just another known scammer (POM/jaooe) trying to scam some more.[/QUOTE]
Actually, I spoke to him and he went offline immediately...
I'm not trying to scam anyone, we made an agreement that he would pay me a percentage of the total earnings from that script.
When he went offline IMMEDIATELY after I messaged him I assumed he blocked me.
I haven't scammed anyone.
The permission was given under the premise that I would receive a percentage of the total earnings.
I have had quite a lot happen lately and probably took on a little too much to handle. I'm happy to reimburse anyone left feeling scammed or rectify my mistakes or even finish any unfinished work, but to be disregarded on the grounds of being a scammer is preposterous.
[QUOTE=Netheous;45813548]I was thinking about something alike, but I am better with sql than mysql.[/QUOTE]
SQL is a language used by many different applications, so there really isn't any difference unless MySQL software creators introduced proprietary language.
[QUOTE=kila58;45813590]Didn't someone make a SQLite to MySQL converter?
Anyhow I don't think SQL in General is the way to go, passwords and such.[/QUOTE]
I did, but it is pretty annoying. I only showed how to grab data from PlayerPData, split / explode it into usable data, insert it into a table sorted by uniqueid, and when it was finished it'd go through and generate insert queries with additional information ( such as a steamid column so that when users connect, that data can be added instead of relying only on unique id ).
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/database/converting_sv_db_to_mysql.lua.html[/url]
[b]Hopefully these tutorials and information helps. As always, to view the Lua from any of my tutorials to enable copy/pasting ( HTML doesn't copy/paste well in terms of HTML / CSS Highlighted Lua ), remove .html from the url.[/b]
I am planning on creating a tool for browsing, linking data, and exporting / transcribing sv.db to a MySQL database. I already have my query generator complete ( which takes a few arguments and generates a joined table query for 2 tables. And I am expanding that into one that will generate a query that links together as many tables as you want.
This is the simple one...
function database:BuildSimpleTableJoinQuery( _table1, _table2, _fields1, _fields2, _on, _where )
The new one supports tables and can join unlimited number of tables...
function database:BuildTableJoinQuery( _tables, _fields, _on, _where )
I plan on releasing this tool for free!
[B]Oh, question:[/B].. What was the link to view all of Coderhire bans, or the api to query Coderhire to see if users have been banned? I know I asked about this a while back and I think I got an answer, but I can't seem to locate it any longer. I've been having a problem with one guy I let on my dev server a long time ago, he kept the cache and extracted it and started posting stuff on here asking why things didn't work ( after he removed _s and moved a few minor things around.. he left the names intact, and all sorts of other things ). So, I want to make sure those people stay away...
I know it won't be 100%, but stealing code is just low, especially when I tutor many people for free and I am always more than happy to help if they ASK, but just going behind someone to grab code out of the cache file which is going to be released on my skeletonized dev-base in the near future then posting it on FP claiming to have written it is just annoying.
[QUOTE=Acecool;45813824]long multi quote post[/QUOTE]
Interesting, I'm going to convert a game mode really soon over to another storage method(atm it's using json, and sorting files by unique ID). Anything you recommend? I already know about MySQL, SQLite, etc. I'd be looking for anything faster, localized, or more convenient.
[editline]27th August 2014[/editline]
[QUOTE=jaooe;45813759]Actually, I spoke to him and he went offline immediately...
I'm not trying to scam anyone, we made an agreement that he would pay me a percentage of the total earnings from that script.
When he went offline IMMEDIATELY after I messaged him I assumed he blocked me.
I haven't scammed anyone.
The permission was given under the premise that I would receive a percentage of the total earnings.
I have had quite a lot happen lately and probably took on a little too much to handle. I'm happy to reimburse anyone left feeling scammed or rectify my mistakes or even finish any unfinished work, but to be disregarded on the grounds of being a scammer is preposterous.[/QUOTE]
Did you not read the pastebin or are you still sticking to that story?
Lol, I'm not trying to scam anyone.
[QUOTE=jaooe;45813940]Lol, I'm not trying to scam anyone.[/QUOTE]
Maybe Adam can compare the email in the screen shot to the one on your account?
[QUOTE=Acecool;45813824][B]Oh, question:[/B].. What was the link to view all of Coderhire bans, or the api to query Coderhire to see if users have been banned? I know I asked about this a while back and I think I got an answer, but I can't seem to locate it any longer. [/QUOTE]
It's at /api/users/banned/<steamid64> as far as I can remember. I should document some stuff.
Nethas
MySQL is a fantastic system.. Google actually uses a heavily modified version of it for their search engine.
I also recommend not saving data each time you get it, but gather data together and save at regular intervals or at certain moments in the game.
Example: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/_systems/simple_pointshop_make_traitordetective_system/sv_pointshop_special_rounds_system.lua.html[/url]
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/_systems/simple_pointshop_make_traitordetective_system/item_buy_detective.lua.html[/url]
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/_systems/simple_pointshop_make_traitordetective_system/item_buy_traitor.lua.html[/url]
I just wrote that and the only time that it saves is when the round is over. Don't save when a hiccup / lag spike can affect anything, do it after whatever.
Using more than 1 storage option is good, but they need to be compatible with each other meaning SQL for long-term storage and files for short-term. Essentially you can use files to store what is going on in the game at that moment, when an interval comes up push the data into the long-term storage. This can help out in more ways than one, ie if you're saving a game-state at small intervals, and updating that data at larger intervals, if the game crashes you can re-load the game as it was just a short time ago rather than the full 5 minute interval or whatever. Players aren't a fan of rollbacks, or any type of corruption so...
It really just depends on what the purpose is, how many players, server-load, optimizations or lack thereof, etc... Most of the time, a MySQL database saved at intervals from data stored in memory is the way to go. Depending on other variables ( server prone to crashing? Rollbacks? Other problems? ), spending the overhead and expensive fileio may be worth it for easier problem management.
This conversation is what led me to suspect I had been blocked.
[IMG]http://puu.sh/b9Uy1/a90206ca32.jpg[/IMG]
[IMG]http://puu.sh/b9Uyv/56e161a872.jpg[/IMG]
This was after he had gone offline, I had asked him to ask zoidberg to unblock me, as his profile said that he was still online.
The guy said that he told him to keep the code... In hindsight maybe I should have realized that he was just trying to wind me up...
[QUOTE=adamdburton;45813965]It's at /api/users/banned/<steamid64> as far as I can remember. I should document some stuff.[/QUOTE]
+1 THANK YOU!
I'll save this info into a .lua / txt in my tutorial area, and will build it into my admin mod along with a bunch of other checks for those that want it. Thanks!
[QUOTE=Acecool;45813975]-snip-[/QUOTE]
Wow that's a really good idea and if I wanted I could use what you said and ease into a new storage system without having to delete everyone's data.
[QUOTE=Netheous;45813503]Agreed, I wrecked few leakers myself, but not actually their servers or anything, just got them banned.
There was one person that was especially stupid:
[img]http://puu.sh/b9OUL/35db1b97ad.png[/img][/QUOTE]
You should purposefully leak a broken version of your script, like cause some lua errors deep within it or randomly explode. That way when people have those specific issues and come to you, you can ban anyone using leaked scripts!
Is there a way to list all bans ( Actually, I'm looking for what outputs when there is more than 1 ban on record; I'll look through the site for anyone that may have been banned more than once, but you probably know right off the bat the output data )
[QUOTE=Acecool;45814079]Is there a way to list all bans ( Actually, I'm looking for what outputs when there is more than 1 ban on record; I'll look through the site for anyone that may have been banned more than once, but you probably know right off the bat the output data )[/QUOTE]
The banned enpoint in the users module shows the previous ban count, but doesn't have reasons.
Also [url]http://coderhire.com/about/api-documentation[/url]
[QUOTE=adamdburton;45814111]The banned enpoint in the users module shows the previous ban count, but doesn't have reasons.
Also [url]http://coderhire.com/about/api-documentation[/url][/QUOTE]
Fantastic, thank you! Yeah, a number should be sufficient, I'm sure if they got banned then unbanned it isn't too serious, but they'd most likely be permanently banned for leaking and other stuff so, that works for me!
[QUOTE=Exho;45814044]You should purposefully leak a broken version of your script, like cause some lua errors deep within it or randomly explode. That way when people have those specific issues and come to you, you can ban anyone using leaked scripts![/QUOTE]
-snip-
I am not really into harming other peoples servers, I'd rather get info about leakers and get them banned on CH
[editline]27th August 2014[/editline]
Just wondering, why do [u]some[/u] people release 2 versions of the same script, I know because of the compatibility but why not just put something alike anywhere inside your script:
[code] DarkRP = DarkRP or {}
local p = FindMetaTable( 'Player' )
if not p.addMoney then
p.addMoney = p.AddMoney
else
p.AddMoney = p.addMoney
end
if not DarkRP.notify then
function DarkRP.notify(ply, msgtype, len, msg)
if not IsValid(ply) then return end
umsg.Start("_Notify", ply)
umsg.String(msg)
umsg.Short(msgtype)
umsg.Long(len)
umsg.End()
end
else
GAMEMODE.Notify = DarkRP.notify
end[/code]
You missed my point
[QUOTE=Netheous;45814387]-snip-
I am not really into harming other peoples servers, I'd rather get info about leakers and get them banned on CH
[editline]27th August 2014[/editline]
Just wondering, why do [u]some[/u] people release 2 versions of the same script, I know because of the compatibility but why not just put something alike anywhere inside your script:
[code] DarkRP = DarkRP or {}
local p = FindMetaTable( 'Player' )
if not p.addMoney then
p.addMoney = p.AddMoney
else
p.AddMoney = p.addMoney
end
if not DarkRP.notify then
function DarkRP.notify(ply, msgtype, len, msg)
if not IsValid(ply) then return end
umsg.Start("_Notify", ply)
umsg.String(msg)
umsg.Short(msgtype)
umsg.Long(len)
umsg.End()
end
else
GAMEMODE.Notify = DarkRP.notify
end[/code][/QUOTE]
And [url=http://en.wikipedia.org/wiki/Adapter_pattern]adapter pattern[/url] (or its non-oop equivalent) is more appropriate.
Example:
[lua]
local plyMeta = FindMetaTable("Player")
local notify = DarkRP.notify or GAMEMODE.notify
local addMoney = plyMeta.addMoney or plyMeta.AddMoney or OtherGamemodePlyGiveMoney and function(ply, money) OtherGamemodePlyGiveMoney(money, ply, true, 3, {save = true, notifyAdmin = false})
[/lua]
Adapters that have compatibility with multiple versions of DarkRP and even other gamemodes are quite easy to make. Once you use your own adapter functions in your code rather than the specific gamemode functions, you'll free the actual code from dependency on that specific gamemode. If I were to release another version of DarkRP that again changed the API, you would [I]only[/I] have to change the adapter functions.
By doing this you [I]decouple[/I] your code. [url=http://en.wikipedia.org/wiki/Coupling_%28computer_programming%29]Coupling[/url] is the dependency between two pieces of software. One should always strive for low coupling. Specifically, you remove the [I]External coupling[/I], which is mentioned in the coupling article.
Sorry, you need to Log In to post a reply to this thread.