• DarkRP 2.4.X
    1,868 replies, posted
I mostly said it to shut them up. I use FAdmin for job blacklisting, and ULX for everything else really. And I'm telling you, mine wouldn't download the materials (they WERE on FastDL) until I added my script. They didn't even attempt to download. [editline]01:45AM[/editline] I don't know if this means I'm retarded, or your script has an error, or what.
[QUOTE=Rambomst;25086603]I require some assistance. I am trying to get DarkRP to work with a MySQL DB. The username, password, db name and server ip are all correct but each time I start up the server and then connect to it I get this error [code] Lua Error: [@gamemodes\darkrp\gamemode\data.lua:71] Connection failed! [Database:17318CF8] [/code][/QUOTE]
Falco, I've just managed to solve the MySQL problem. (sort of o.O) Do you remember me telling you about the MySQL not working, and you told me the problem was with the module? Well, I replaced libmySQL.dll with the libmysql.dll from tmysql3, and got this error: [code] [@gamemodes\darkrp\gamemode\data.lua:31] Unknown column 'admin' in 'field list'[/code] I followed it through and it points to this query in DB:Init(): [lua] DB.Query([[SELECT amount, salary, name, admin, mayor, cp, tool, phys, prop FROM darkrp_wallets LEFT OUTER JOIN darkrp_salaries ON darkrp_wallets.steam = darkrp_salaries.steam LEFT OUTER JOIN darkrp_rpnames ON darkrp_wallets.steam = darkrp_rpnames.steam WHERE darkrp_wallets.steam = ]].. SteamID ..[[ ;]], function(data) local Data = data[1] if Data.name then v:SetDarkRPVar("rpname", Data.name) end if Data.salary then v:SetDarkRPVar("salary", Data.salary) end if Data.amount then v:SetDarkRPVar("money", Data.amount) end end) [/lua] Now, I see there it tries to load all the old priviliges from the database, when surely this won't work now because FAdmin replaced it? So, I removed the "admin, mayor, cp, tool, phys, prop" from it to get this: [lua] DB.Query([[SELECT amount, salary, name FROM darkrp_wallets LEFT OUTER JOIN darkrp_salaries ON darkrp_wallets.steam = darkrp_salaries.steam LEFT OUTER JOIN darkrp_rpnames ON darkrp_wallets.steam = darkrp_rpnames.steam WHERE darkrp_wallets.steam = ]].. SteamID ..[[ ;]], function(data) local Data = data[1] if Data.name then v:SetDarkRPVar("rpname", Data.name) end if Data.salary then v:SetDarkRPVar("salary", Data.salary) end if Data.amount then v:SetDarkRPVar("money", Data.amount) end end) [/lua] And now, the MySQL connects fine. However now, if I don't run a query for about 30 seconds, then try to run a query, the connection dies, when I do lua_run DB.MySQLDB:connect(), it works fine again, until I stop running queries.
[QUOTE=Drakehawke;25220995] However now, if I don't run a query for about 30 seconds, then try to run a query, the connection dies, when I do lua_run DB.MySQLDB:connect(), it works fine again, until I stop running queries.[/QUOTE] Fixed the first issue, contact the guy who made the module for the last problem (with the 30 seconds no query) I think it's andyvincent (the same guy who made assmod)
I'm thinking of doing something revolutionary with DarkRP. I still have to think it through and I have to discuss it with Eusion. The name of the project will be "the ultimate open source experience" if we get it done. You will all like it. No exceptions.
[QUOTE=FPtje;25262188] You will all like it. No exceptions.[/QUOTE] I'm liking it already.
[QUOTE=FPtje;25262188]I'm thinking of doing something revolutionary with DarkRP. I still have to think it through and I have to discuss it with Eusion. The name of the project will be "the ultimate open source experience" if we get it done. You will all like it. No exceptions.[/QUOTE] I like your thinking, and another +1 for open source :v:
Well to get rid of FAdmin but keep all other do this: Delete the FAdmin related folders and files, then put the scoreboard folder in from the old DarkRP, add AddCSLuaFile("cl_scoreboard.lua") to init.lua and include("cl_scoreboard") in cl_init.lua. There you go no FAdmin I have done this on two servers so it works :)
Are you ever going to fix it so when you drop a knife/grenade and you pick it up you dont get double ammo with Mad Cow/CS:S Realistic
[QUOTE=mikeym;25305439]Are you ever going to fix it so when you drop a knife/grenade and you pick it up you dont get double ammo with Mad Cow/CS:S Realistic[/QUOTE] This has been reported so many times it's unreal..
CSS Realistic Weapons set it like that... It's not DarkRP.
How do i add; Drug License & Driver Licenses? For mayor to had out? Please tell me :D
Edit the code. To make it work I think you have to edit "sv_gamemode_functions.lua" and then for the mayor to see it and hand it out, "showteamtabs.lua"
[QUOTE=Drakehawke;25307034]This has been reported so many times it's unreal..[/QUOTE] He yet refuses to fix it?
We've agreed on a system that will allow the community to contribute to DarkRP. This will all be administrated by Falco and I though, more information will be available soon!
I'm interested :)
add an inventory so stuff you have buyed doesnt dissapear after a crash or rejoining!
The Ultimate Open Source project is starting up. It will allow [b]anyone[/b] to update DarkRP, FPP and FAdmin. Read more about it here: [url]http://www.facepunch.com/showthread.php?p=25315539[/url] Yeehaa the project has started. Do you want to contribute to OpenDarkRP? Do you want to make changes, fix a bug or add a feature? No obligations! Just make a change and upload it to the SVN! Here's how to do it: [url]http://code.google.com/p/opendarkrp/wiki/HowToContribute[/url] Here's the OpenDarkRP project site: [url]http://code.google.com/p/opendarkrp/[/url] The rules: [url]http://code.google.com/p/opendarkrp/wiki/Rules[/url]
[QUOTE=FPtje;25315623]The Ultimate Open Source project is starting up. It will allow [b]anyone[/b] to update DarkRP, FPP and FAdmin. Read more about it here: [url]http://www.facepunch.com/showthread.php?p=25315539[/url] Yeehaa the project has started. Do you want to contribute to OpenDarkRP? Do you want to make changes, fix a bug or add a feature? No obligations! Just make a change and upload it to the SVN! Here's how to do it: [url]http://code.google.com/p/opendarkrp/wiki/HowToContribute[/url] Here's the OpenDarkRP project site: [url]http://code.google.com/p/opendarkrp/[/url] The rules: [url]http://code.google.com/p/opendarkrp/wiki/Rules[/url][/QUOTE] I knew this is what it would be, guessed from the first second I saw it.
I dont know why you guys hate FAdmin, personally I like it. Great Work Falco, and Eusion.
So what? Is DarkRp going to basically be Wiki? So now people can upload exploits and then use them in servers? I mean it's a good idea but.... I see some really bad exploits that will be uploaded to the svn..
[QUOTE=AngelofDeath114;25325349]So what? Is DarkRp going to basically be Wiki? So now people can upload exploits and then use them in servers? I mean it's a good idea but.... I see some really bad exploits that will be uploaded to the svn..[/QUOTE] All updates committed to OpenDarkRP are looked at by humans (for now Eusion and I) Putting in exploits on purpose is against the rules and they will be removed. Read the thread on how I prevent vandalism and shit updates to reach the end user.
Damn, that's a lot of work for two guys. Working on fixing up darkrp and doing this, while watching for vandalism. You should get some other darkrp editors to help.
Soo, may we add a inventory to DarkRP? or stuff like that?
[QUOTE=Trivkz;25328358]Soo, may we add a inventory to DarkRP? or stuff like that?[/QUOTE] This is where this will flaw, the countless arguments that have happened on DarkRP threads about whether a feature should or shouldn't be added, so what happens when one person uploads a feature and another person doesn't like it? I haven't read the other thread fully sorry, so forgive me if this already is a rule, but can we have a rule so that if you add any feature whatsoever you must add a rp_ command that can disable it for those who don't want it?
[QUOTE=Trivkz;25328358]Soo, may we add a inventory to DarkRP? or stuff like that?[/QUOTE] You can IF: - it's your work - Fully functional - it [b]IS[/b] better than pocket - you don't upload it to the SVN in bits, that's annoying. Unless you need to make another commit to fix a last minute bug, but always try to avoid that.
[QUOTE=mikeym;25305439]Are you ever going to fix it so when you drop a knife/grenade and you pick it up you dont get double ammo with Mad Cow/CS:S Realistic[/QUOTE] Fixed in the latest SVN of [url=http://opendarkrp.googlecode.com]OpenDarkRP[/url], either grab it from there or see if Falco will put it in the official SVN. Also, Falco, you said it is credited via your name in the log message on the SVN, changes we make that you decide to put onto the official SVN, are we still credited in those log messages?
[QUOTE=FPtje;25330248]You can IF: - it's your work - Fully functional [B]- not better than pocket[/B] - you don't upload it to the SVN in bits, that's annoying. Unless you need to make another commit to fix a last minute bug, but always try to avoid that.[/QUOTE] Ahh well xD Guess I'll find something else to add
[QUOTE=Drakehawke;25331866]Fixed in the latest SVN of [url=http://opendarkrp.googlecode.com]OpenDarkRP[/url], either grab it from there or see if Falco will put it in the official SVN. Also, Falco, you said it is credited via your name in the log message on the SVN, changes we make that you decide to put onto the official SVN, are we still credited in those log messages?[/QUOTE] Yes. But you didn't put any name in the log messages! Since this is the first time, I'll forgive you. Added AFK module by drakehawke in official SVN. Thanks a lot! [QUOTE=Trivkz;25335144]Ahh well xD Guess I'll find something else to add[/QUOTE] [b]Whoops![/b] I meant better than pocket! Why did I put the "not" there!? I didn't mean that! Make something better than pocket and DarkRP will use it instead of pocket!
[QUOTE=FPtje;25335803]Yes. But you didn't put any name in the log messages! Since this is the first time, I'll forgive you. Added AFK module by drakehawke in official SVN. Thanks a lot! [b]Whoops![/b] I meant better than pocket! Why did I put the "not" there!? I didn't mean that! Make something better than pocket and DarkRP will use it instead of pocket![/QUOTE] I forgot to put my name in the AFK module one, I was gonna ask you on Steam to allow comments on revisions so I could claim it, but you were away :P
Sorry, you need to Log In to post a reply to this thread.