[QUOTE=darthkatzs;29961930]silverblu and orange think they know lua, but apparently they can't even compare pieces of lua code.[/QUOTE]
[img]http://dl.dropbox.com/u/20431330/wat.png[/img]
[QUOTE=FlapadarV2;29962421][img_thumb]http://dl.dropbox.com/u/20431330/wat.png[/img_thumb][/QUOTE]
That doesn't even work lol. if you would check you'd see that it's not included.
I did that and tried getting it to work but I couldn't. I know shit about lua and I admit that. Jake is the coder.
And don't try copying the weather files now. We didn't have weather, I used it to make the snow and snow landscape with christmas.
[QUOTE=darthkatzs;29962440] Jake is the coder.[/QUOTE]
Jake's "coding" is outright plagiarism.
[editline]21st May 2011[/editline]
As demonstrated by the above screenshot, which of course isn't actually included into per- ..ocrp!
[QUOTE=silverblu;29962449]Jake's "coding" is outright plagiarism.
[editline]21st May 2011[/editline]
As demonstrated by the above screenshot, which of course isn't actually included into ocrp![/QUOTE]
It actually isn't, but reading is hard, isn't it?
oh btw, with "included" i meant "include(....)". Just telling you as you obviously don't know anything.
You shouldn't need to include an anticheat...
[QUOTE=FlapadarV2;29962481]You shouldn't need to include an anticheat...[/QUOTE]
All the files in the server folder require to be included to be initialized.
[QUOTE=darthkatzs;29962503]All the files in the server folder require to be included to be initialized.[/QUOTE]
Enum masterrace.
[QUOTE=FlapadarV2;29962529]Enum masterrace.[/QUOTE]
Didn't i just tell you that I don't know shit about lua?
The anticheat file required to be included to work. It's not. Because I couldn't get it to work.
EDIT: Flap, using your alt to give me extra dumb ratings, just to troll me, isn't going to work.
Anyway, I admit, and it is in the OP too. There are 2/3 files that I took from PERP. The anticheat, but that didn't work and the weather system that I used to make snow on christmas. Why didn't jake code a system like that? Jake actually did put in a baconbot detector after i tried the anticheat and failed. and Jake was too busy with other stuff when I wanted to have the snow so I did it like that.
[QUOTE=0r4ng3;29961778]It's a ripoff of perp[/QUOTE]
Your a dumb kid and have always been, on steam and elsewhere.
[QUOTE=silverblu;29960612]if you look at the code you will see it was always perp[/QUOTE]
I already said it had some parts, but it's from scratch, so get your facts right.
[QUOTE=Jake1305;29964313]
I already said it had some parts, but it's from scratch, so get your facts right.[/QUOTE]
I really don't care about perp, ocrp or <insertmashofcrap> here.
But... Will you stop saying "We coded it from scratch, we took some parts from perp, but we coded it from scratch" such an oxymoronic statement.
Ramblings:
hmm is Oxymoronic a word? It should be, "Such an oxymoronic statement" sounds better ;). You know, I'm rather hungry. I think I might nip to the ship and buy some Doritos or maybe some Haribo. I could just go for some form of snack food I can open up, crawl into bed and eat while watching tv all day :(
[QUOTE=Pantho;29964422]I really don't care about perp, ocrp or <insertmashofcrap> here.
But... Will you stop saying "We coded it from scratch, we took some parts from perp, but we coded it from scratch" such an oxymoronic statement.
Ramblings:
hmm is Oxymoronic a word? It should be, "Such an oxymoronic statement" sounds better ;). You know, I'm rather hungry. I think I might nip to the ship and buy some Doritos or maybe some Haribo. I could just go for some form of snack food I can open up, crawl into bed and eat while watching tv all day :([/QUOTE]
Jake and Noobulater coded it from scratch and afterwards i took some stuff from perp and added it in.
There, no more oxymoron.
Where is the sql config. I can't find it.
[QUOTE=Ste@mpunk;29966157]Where is the sql config. I can't find it.[/QUOTE]
it uses the same info as assmod in the oc_ass_reqs.lua file.
I have done that but i does not work . Dose it need perp 1/2 tables too maby but theirs a file called database and its blank.
[editline]21st May 2011[/editline]
MySQLLoaded = true
require("tmysql")
tmysql.initialize("NEVA GETING IT)
SiteDatabaseConnection = 1
/*function ConnectToMySQL ( )
if SiteDatabaseConnection == 0 then
if !file.Exists("mysql_fail_log.txt") then file.Write("mysql_fail_log.txt", ""); end
file.Write("mysql_fail_log.txt", file.Read("mysql_fail_log.txt") .. "MySQL connection failed with reason '" .. MySQLError .. "'\n");
for k, v in pairs(player.GetAll()) do
RunConsoleCommand("kickid", v:UserID(), "MySQL Connection Error");
end
return false;
else
Msg("Successfully connect to MySQL database.\n");
end
end
if !SiteDatabaseConnection then ConnectToMySQL() end*/
Did i do it right?
You can say your not using PERP code as much as you like but a lot of this is actually just edited PERP here is a good example
This is PERP
[lua]
function GM.Blacklist ( Player, Command, Args )
if !Player:IsAdmin() then Player:Notify("You're not an admin -.-") return false; end
local From = math.Round(tonumber(Args[1]));
local User = Args[2];
local Reason = Args[3];
local UsUser;
for k, v in pairs(player.GetAll()) do
if tonumber(v:UniqueID()) == tonumber(User) then
UsUser = v;
end
end
if !UsUser then Player:Notify('Could not find that player.'); return false; end
if From == 999 then
if GAMEMODE.IsSeriousRP() then
if !string.find(UsUser:GetTable().RoleplayData.Blacklist, tostring(From)) then
UsUser:GetTable().RoleplayData.Blacklist = UsUser:GetTable().RoleplayData.Blacklist .. '999';
MySQLQuery(SiteDatabaseConnection, "UPDATE `rp_users` SET `blacklist`='" .. UsUser:GetTable().RoleplayData.Blacklist .. "' WHERE `steamid`='" .. UsUser:SteamID() .. "'");
Player:Notify('He has been blacklisted from the serious RP server.');
for k, v in pairs(player.GetAll()) do
if v then
v:PrintMessage(HUD_PRINTTALK, UsUser:Name() .. ' has been blacklisted from the Serious RP server.');
end
end
gatekeeper.Drop(UsUser:UserID(), 'Blacklisted from Serious RP - Reason: ' .. Reason);
else
Player:Notify('He is already blacklisted from the Serious RP server.');
end
else
Player:Notify('This is not the Serious RP server -.-');
end
return false;
end
local Text = 'the Mayor';
if From == TEAM_POLICE then Text = 'an Officer'; end
if From == TEAM_FIREMAN then Text = 'a Fireman'; end
if From == TEAM_PARAMEDIC then Text = 'a Paramedic'; end
if From == TEAM_POLICE and UsUser:Team() != TEAM_POLICE then Player:Notify(UsUser:Nick() .. ' is not an officer.'); end
if From == TEAM_MAYOR and UsUser:Team() != TEAM_MAYOR then Player:Notify(UsUser:Nick() .. ' is not the mayor.'); end
if From == TEAM_FIREMAN and UsUser:Team() != TEAM_FIREMAN then Player:Notify(UsUser:Nick() .. ' is not a fireman.'); end
if From == TEAM_PARAMEDIC and UsUser:Team() != TEAM_PARAMEDIC then Player:Notify(UsUser:Nick() .. ' is not a paramedic.'); end
if !string.find(UsUser:GetTable().RoleplayData.Blacklist, tostring(From)) then
UsUser:GetTable().RoleplayData.Blacklist = UsUser:GetTable().RoleplayData.Blacklist .. From;
MySQLQuery(SiteDatabaseConnection, "UPDATE `rp_users` SET `blacklist`='" .. UsUser:GetTable().RoleplayData.Blacklist .. "' WHERE `steamid`='" .. UsUser:SteamID() .. "'");
if tonumber(From) == TEAM_POLICE and UsUser:Team() == TEAM_POLICE then
GAMEMODE.DemotePlayerFromPolice(UsUser);
elseif tonumber(From) == TEAM_FIREMAN and UsUser:Team() == TEAM_FIREMAN then
GAMEMODE.DemotePlayerFromFireman(UsUser);
elseif tonumber(From) == TEAM_MAYOR and UsUser:Team() == TEAM_MAYOR then
GAMEMODE.DemotePlayerFromMayor(UsUser);
elseif tonumber(From) == TEAM_PARAMEDIC and UsUser:Team() == TEAM_PARAMEDIC then
GAMEMODE.DemotePlayerFromParamedic(UsUser);
end
Msg('[ADMIN CMD] ' .. Player:Nick() .. ' blacklisted ' .. UsUser:Nick() .. ' from being ' .. Text .. '.\n');
UsUser:Notify('You have been blacklisted from being ' .. Text .. '.');
UsUser:Notify('Reason: ' .. Reason);
Player:Notify('You have blacklisted ' .. UsUser:Nick() .. ' from being ' .. Text .. '.');
if GAMEMODE.IsSeriousRP() then
gatekeeper.Drop(UsUser:UserID(), 'You have been blacklisted from the Serious RP server.');
end
for k, v in pairs(player.GetAll()) do
if v:IsSuperAdmin() and v != Player then
v:Notify(Player:Nick() .. ' has blacklisted ' .. UsUser:Nick() .. ' from being ' .. Text .. '.');
end
end
else
Player:Notify(UsUser:Nick() .. ' is already blacklisted from being ' .. Text .. '.');
end
end
concommand.Add('perp_bl', GM.Blacklist);
function GM.UnBlacklist ( Player, Command, Args )
if !Player:IsAdmin() then return false; end
local From = math.Round(tonumber(Args[1]));
local User = Args[2];
local UsUser;
for k, v in pairs(player.GetAll()) do
if tonumber(v:UniqueID()) == tonumber(User) then
UsUser = v;
end
end
if From == 999 then
if !string.find(UsUser:GetTable().RoleplayData.Blacklist, tostring(From)) then
Player:Notify('He is not blacklisted from the Serious RP server.');
else
UsUser:GetTable().RoleplayData.Blacklist = string.gsub(UsUser:GetTable().RoleplayData.Blacklist, From, '');
Player:Notify('He has been unblacklisted from the Serious RP server.');
UsUser:Notify('You have been unblacklisted from the Serious RP server.');
MySQLQuery(SiteDatabaseConnection, "UPDATE `rp_users` SET `blacklist`='" .. UsUser:GetTable().RoleplayData.Blacklist .. "' WHERE `steamid`='" .. UsUser:SteamID() .. "'");
end
return false;
end
if !UsUser then return false; end
local Text = 'the Mayor';
if From == TEAM_POLICE then Text = 'an Officer'; end
if From == TEAM_FIREMAN then Text = 'a Fireman'; end
if From == TEAM_PARAMEDIC then Text = 'a Paramedic'; end
if string.find(UsUser:GetTable().RoleplayData.Blacklist, tostring(From)) then
UsUser:GetTable().RoleplayData.Blacklist = string.gsub(UsUser:GetTable().RoleplayData.Blacklist, From, '');
MySQLQuery(SiteDatabaseConnection, "UPDATE `rp_users` SET `blacklist`='" .. UsUser:GetTable().RoleplayData.Blacklist .. "' WHERE `steamid`='" .. UsUser:SteamID() .. "'");
Msg('[ADMIN CMD] ' .. Player:Nick() .. ' unblacklisted ' .. UsUser:Nick() .. ' from being ' .. Text .. '.\n');
UsUser:Notify('You have been unblacklisted from being ' .. Text .. '.');
Player:Notify('You have unblacklisted ' .. UsUser:Nick() .. ' from being ' .. Text .. '.');
for k, v in pairs(player.GetAll()) do
if v:IsSuperAdmin() and v != Player then
v:Notify(Player:Nick() .. ' has unblacklisted ' .. UsUser:Nick() .. ' from being ' .. Text .. '.');
end
end
else
Player:Notify(UsUser:Nick() .. ' is not blacklisted from being ' .. Text .. '.');
end
end
concommand.Add('perp_ubl', GM.UnBlacklist);
[/lua]
This is OCRP
[lua]
IsSeriousRP = true;
function GM.IsSeriousRP ( )
--return false;
return IsSeriousRP;
end
function GM.Blacklist ( Player, Command, Args )
if !Player:IsAdmin() then Player:Hint("You're not an admin -.-") return false; end
local From = math.Round(tonumber(Args[1]));
local User = Args[2];
local Reason = Args[3];
local UsUser;
for k, v in pairs(player.GetAll()) do
if tonumber(v:UniqueID()) == tonumber(User) then
UsUser = v;
end
end
if !UsUser then Player:Hint('Could not find that player.'); return false; end
if From == 999 then
if GAMEMODE.IsSeriousRP() then
--if !string.find(UsUser:GetTable().RoleplayData.Blacklist, tostring(From)) then
--UsUser:GetTable().RoleplayData.Blacklist = UsUser:GetTable().RoleplayData.Blacklist .. '999';
tmysql.query("UPDATE `OCrp_users` SET `bl_srs`='999' WHERE `STEAM_ID`='" .. UsUser:SteamID() .. "'");
Player:Hint('He has been blacklisted from the serious RP server.');
for k, v in pairs(player.GetAll()) do
if v then
v:PrintMessage(HUD_PRINTTALK, UsUser:Name() .. ' has been blacklisted from the Serious RP server.');
end
end
gatekeeper.Drop(UsUser:UserID(), 'Blacklisted from Serious RP - Reason: ' .. Reason);
--else
--Player:Hint('He is already blacklisted from the Serious RP server.');
--end
else
Player:Hint('This is not the Serious RP server -.-');
end
return false;
end
end
concommand.Add('ocrp_bl_srs', GM.Blacklist);
function GM.UnBlacklist ( Player, Command, Args )
if !Player:IsAdmin() then return false; end
local From = math.Round(tonumber(Args[1]));
local User = Args[2];
local UsUser;
for k, v in pairs(player.GetAll()) do
if tonumber(v:UniqueID()) == tonumber(User) then
UsUser = v;
end
end
if From == 999 then
--if !string.find(UsUser:GetTable().RoleplayData.Blacklist, tostring(From)) then
--Player:Hi
Who Cares tell me that. But its fun thats all that matters.... Stop Troling
[QUOTE=Ste@mpunk;29966498]Who Cares tell me that. But its fun thats all that matters.... Stop Troling[/QUOTE]
Disproving a lie is not trolling
Well i love ocrp and I WILL Defend its AWESOMENESS
[QUOTE=Ste@mpunk;29966553]Well i love ocrp and I WILL Defend its AWESOMENESS[/QUOTE]
You actually need to know what your talking about to defend something since you don't I suggest you let the grown-ups talk instead
[QUOTE=King Flawless;29966523]Disproving a lie is not trolling[/QUOTE]
Didn't you read what I put in the OP about it has [u]some[/u] PERP stuff in? Jesus, you're just going over what I stated, you're sounding like a broken record.
[QUOTE=King Flawless;29966466]-wasted code-[/QUOTE]
Too bad that that is also something I added afterwards.
How about you start looking in the actual core of the gamemode, huh?
I STILL cant get this to work
how dare you use my screenshot :saddowns:
[QUOTE=darthkatzs;29966644]Too bad that that is also something I added afterwards.
How about you start looking in the actual core of the gamemode, huh?[/QUOTE]
I am very sure their was a blacklist system from day one in OCRP so define afterwards?
[editline]21st May 2011[/editline]
[QUOTE=Jake1305;29966632]Didn't you read what I put in the OP about it has [u]some[/u] PERP stuff in? Jesus, you're just going over what I stated, you're sounding like a broken record.[/QUOTE]
The issue isn't that you have stuff from PERP in it the issue is that your have been saying its got nothing from PERP and its 100% coded from scratch how can something be coded from scratch if your using other peoples code
[QUOTE=King Flawless;29966690]I am very sure their was a blacklist system from day one in OCRP so define afterwards?[/QUOTE]
There actually wasn't a working blacklist system from day one.
I added that like a month after the opening of the server.
All the perp stuff is mine. The radio system is from perp 2 too. I also added that a couple of months after.
Just shut up and got cry to your mommy its just a game nits not life / death.
Jake's coding is all done by himself. all the perp stuff is mine.
When the server first opened, it was fully done from scratch.
[QUOTE=darthkatzs;29966762]Jake's coding is all done by himself. all the perp stuff is mine.
When the server first opened, it was fully done from scratch.[/QUOTE]
Clearly you are not willing to accept the truth, its fine everyone else who isn't a idiot knows.
[QUOTE=King Flawless;29966814]Clearly you are not willing to accept the truth, its fine everyone else who isn't a idiot knows.[/QUOTE]
I think I would know how it is better than you.
This gamemode IS BROKEN.It does not work at all.
Sorry, you need to Log In to post a reply to this thread.