• Adding DurgzMod to DarkRP help.
    22 replies, posted
Hello all, I'm having some trouble getting the DurgzMOD to hook into DarkRP so I've reverted back to my last set of changes and cleared it all out hoping to get a walk through or some good guidance in regards to how to do this. Basically this is what I want to accomplish: 1. Remove Drug Labs 2. Add the drugs from DurgzMOD to the buy list and limit it only to TEAM_DRUGDEALER If anyone can explain how to do this I'd appreciate it, my last three attempts have pretty much failed and I'm starting to get a little bit annoyed. I know its really not that difficult to do it, I almost had it working once, but after awhile my mind starts to get over active resulting in me second guessing and making needless changes, which is what's happening now.
Don't do this.
Ok, any particular reason why I shouldn't?
Add me on steam: JasonWharmby and I'll take you through a walkthrough.
In the main.lua file, add the drugname/models. Done.
For the drugs you just have to add them to addshipment.lua : [lua]AddCustomShipment("Cocaine", "models/cocn.mdl", "durgz_cocaine", 7000, 10, true, 150,true, {TEAM_DRUGDEALER}) AddCustomShipment("Heroine", "models/katharsmodels/syringe_out/syringe_out.mdl", "durgz_heroine", 7000, 10, true, 10,true, {TEAM_DRUGDEALER}) AddCustomShipment("LSD", "models/smile/smile.mdl", "durgz_lsd", 7000, 10, true, 50,true, {TEAM_DRUGDEALER}) AddCustomShipment("Mushroom", "models/ipha/mushroom_small.mdl", "durgz_mushroom", 7000, 10, true, 50,true, {TEAM_DRUGDEALER}) AddCustomShipment("Weed", "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl", "durgz_weed", 7000, 10, true, 150,true, {TEAM_DRUGDEALER})[/lua] That code should work unless the format has been changed in recent revisions. To disable the existing druglab search main.lua for this line and comment it out/remove it : [lua]AddChatCommand("/buydruglab", BuyDrugLab)[/lua] Then search showteamtabs.lua for and remove the following : [lua] if LocalPlayer():Team() == TEAM_DRUG then AddEntIcon("models/props_lab/crematorcase.mdl", "Buy a druglab " .. CUR .. tostring(GetGlobalInt("druglabcost")), "/Buydruglab") end[/lua]
[QUOTE=THE_BEST_DAD;14355740]Don't do this.[/QUOTE] THE_BEST_DAD is an alt of ninjers, the original creator of DurgzMod. He says he is not giving you permission to use his script because he doesn't want it to be ruined by this faggotry. So consider this a cease and desist.
[QUOTE=Sa-Mu;14386974]THE_BEST_DAD is an alt of ninjers, the original creator of DurgzMod. He says he is not giving you permission to use his script because he doesn't want it to be ruined by this faggotry. So consider this a cease and desist.[/QUOTE] All Lua is by nature Open Source. If he didn't want people using his script he just had not to release it. Besides this modification has nothing to do with DurgzMod, it's a DarkRP mod. And if it really is that mod's author he should stop trolling.. that's no way to get a serious point across.
[QUOTE=Crazy Quebec;14387316]All Lua is by nature Open Source. If he didn't want people using his script he just had not to release it. Besides this modification has nothing to do with DurgzMod, it's a DarkRP mod. And if it really is that mod's author he should stop trolling.. that's no way to get a serious point across.[/QUOTE] You are the same exact type of person who would bitch and moan if you found that someone had been using your script without permission. Regardless of Open Source shit since that means absolutely nothing in any way shape or form, it has been understood for a very long time that it is common courtesy to ask permission of an author to create modified versions of the script. I'm not here to play semantics about which part of the script is being used or changed or any of that childish bullshit, I'm just here to say that the original author, ninjers, doesn't want this modification to be made.
[QUOTE=Sa-Mu;14387503]You are the same exact type of person who would bitch and moan if you found that someone had been using your script without permission. Regardless of Open Source shit since that means absolutely nothing in any way shape or form, it has been understood for a very long time that it is common courtesy to ask permission of an author to create modified versions of the script. I'm not here to play semantics about which part of the script is being used or changed or any of that childish bullshit, I'm just here to say that the original author, ninjers, doesn't want this modification to be made.[/QUOTE] You don't actually know me so I doubt you know how I'd react. And I was just pointing out that your ninjers guy has no right to tell someone he can't mod his DarkRp installation (Which is officially public domain). This uses no part of DurgzMod at all. I don't really want to enter a flamewar and wish you could leave it there. This is getting seriously off topic.
[QUOTE=Crazy Quebec;14387572]You don't actually know me so I doubt you know how I'd react. And I was just pointing out that your ninjers guy has no right to tell someone he can't mod his DarkRp installation (Which is officially public domain). This uses no part of DurgzMod at all. I don't really want to enter a flamewar and wish you could leave it there. This is getting seriously off topic.[/QUOTE] This isn't getting off-topic at all. This is precisely the topic. The topic is, someone is trying to make a modification to DarkRP to add DurgzMod to it and the original author is politely asking him not to do so. So the OP can either be a jackass baby, like you, or he can just be courteous and let this go.
I don't understand why we're still discussing this.. [url=http://www.facepunch.com/showthread.php?t=680525]Ninjers isn't the author of the current DurgzMod release. His words are : I give no fucks. The changelog of DurgzMod states : Possibly easy DarkRP implementation[/url] But both of these are beyond the point, there's still no reason the OP should be told "Don't do this." by any of us, be it Garry. If you want to continue arguing let's do this over PM. This is an help thread and is not ours to take.
I'm not arguing with you. You are being a pest when it's not even your place. His words were I give no fucks in terms of a person re-doing durgzmod, don't be a shitlord and try to take them out of context. This is specifically pertaining to DurgzMod being combined with DarkRP. This literally has nothing to do with you, so I don't know why you're being a white knight. Maintaining the will of the original author is not a horrible thing to ask.
If he really want drugs in darkrp so badly, how about he makes them himself
[QUOTE=Sa-Mu;14396829]If he really want drugs in darkrp so badly, how about he makes them himself[/QUOTE] That's the thing you can't seem to get. He's not stealing any fucking drugs from anyone. He's not modding DurgzMod. He's not even taking anything from it. This is entirely new content that has nothing to do with your original author. That's like buying a car and a month later the guy who sold it to you tells you you don't have the right to use it since he's the original owner. I don't get why you're defending those 3 words as if they were god's commandments to us lowly mortals. That guy asked a question, I helped him, end of the story. This is a lua HELP thread.
As I said initially, what the OP wants to do is interface DurgzMod with DarkRP. The car analogy literally makes no sense at all and doesn't describe this situation in the slightest. With my first reply to your white-knight crap I specifically said to not pull out this bullshit semantics as an argument that will last forever. YOU aren't even the god damned person who is trying to do this, yet you will defend their freedom to make shitty mods till the end of time. Instead of being a dumb faggot why don't you let the op speak for himself.
serious drugs roleplay
[QUOTE=Sa-Mu;14397689]As I said initially, what the OP wants to do is interface DurgzMod with DarkRP. The car analogy literally makes no sense at all and doesn't describe this situation in the slightest. With my first reply to your white-knight crap I specifically said to not pull out this bullshit semantics as an argument that will last forever. YOU aren't even the god damned person who is trying to do this, yet you will defend their freedom to make shitty mods till the end of time. Instead of being a dumb faggot why don't you let the op speak for himself.[/QUOTE] If he wants to make shitty mods, so be it.
Here's my general take on this: First and foremost, I am a programmer, I'm just not an "LUA" programmer. I work with GNU/GPL stuff quite a bit, and have over the last 15 years given my fair share of public programming/code to numerous communities in a wide variety of game titles and projects. Sure, I could write my own mod, LUA isn't that difficult to understand or to use, but why reinvent the wheel? Secondly, the person who said that Ninjers shouldn't have released the Drug code in the first place if he didn't want people using it is absolutely 100% correct. There's no claim to fame once you publicly release your source code, you've ultimately turned it over and said "Here, take it and use it how you wish." Herein lies my dilemma, normally I wouldn't use the code after something like this happens, but to re-write it seems redundant at this point, it works, it's not the most efficient code I've ever seen written, it could use some better structure and better commenting, but I can't justify spending several days turning it into some bastard child of the original just because someone suddenly decides to come down with a sudden case of jackass syndrome over something I probably had nothing to do with. In any case, I'm going to use it, I'm just deciding at this point on what the best way is to go about it, perhaps I'll simply re-write it, perhaps not. Not like it's going to matter, I'm the only one with access to the code that's written anyhow, and I won't re-release something already made to somehow justify that it's not the original code, I mean the design/idea is the same, so what would be the point? lol. Fact remains the same, he released the code to the community, by doing so, he signed over his rights to have any say on how it gets used or who it gets used by.
[QUOTE=Riodan;14417739]There's no claim to fame once you publicly release your source code, you've ultimately turned it over and said "Here, take it and use it how you wish."[/QUOTE] This is what open sores advocates actually believe. They believe that copyright law does not exist (I think you'll find that's not what you've turned it over and said unless you say so), and that people write code for others without any personal motivation at all.
You have a valid point, however isn't that implied by the simple act of uploading your source files to a modding community site? How could you possibly expect a "modding" community not to want to use it the way each person sees fit to? Also, it raises the question to if it's even possible to legally copyright our lua scripting for GMOD since most if not all of the code written relies on the already copyrighted material that GMOD has. Would anyone even bother trying to copyright lua script for GMOD? Doubtful, seems like a God awful waste of time and money. It actually brings up some interesting issues when you think about it, because I myself am working on a "secret" project and once done, I want to release it to the community. Could I copyright my work? I highly doubt it, simply because of the nature of the project and how it interfaces with the actual game engine. Would I bother? No, the point behind modding communities is to grow together, and to learn from one another, and to hopefully have fun in the process of making useful and entertaining things for others to use. If I were to state that I didn't want someone to look at the code once I release it, that's alot like telling a 6 year old, "This wrapped Christmas present is yours, but you are forbidden to unwrap it and to play with what's inside."
[QUOTE=Sa-Mu;14397689]As I said initially, what the OP wants to do is interface DurgzMod with DarkRP. The car analogy literally makes no sense at all and doesn't describe this situation in the slightest. With my first reply to your white-knight crap I specifically said to not pull out this bullshit semantics as an argument that will last forever. YOU aren't even the god damned person who is trying to do this, yet you will defend their freedom to make shitty mods till the end of time. Instead of being a dumb faggot why don't you let the op speak for himself.[/QUOTE] I'm not using the DurgzMOD code to write some sort of "new" mod to release to the community, I'm using a few aspects of that mod to better reinforce a team I've already created and have waiting. There seems to be this rather large cloud of drama surrounding the modding in this "Modding Community" in regards to what people do with the code that has been released to the community. Personally, I think it's bad form to take someone else's work, change a few things, and then re-release it as your own, I hated it back in the days of CircleMUD/Diku/Smaug, hated it through the birth of Online FPSs, and still hate it to this day. The only truly honorable thing you can do is to make sure you give proper credit where credit is due. As for if my mod is "Shitty" or not, well I'd prefer to think of what I have currently as passable for the time being, it's not the greatest darkrp project out there, but it certainly isn't the worst either. Regardless, I got involved in GMOD and darkrp because I wanted to learn more about LUA and see what I could do to contribute, not to start unnecessary drama on the boards and get into a long and what appears to be a heated argument over what rights modders have in regards to open source.
[QUOTE=Sa-Mu;14386974]THE_BEST_DAD is an alt of ninjers, the original creator of DurgzMod. He says he is not giving you permission to use his script because he doesn't want it to be ruined by this faggotry. So consider this a cease and desist.[/QUOTE]the version that the op wants to use is made by me. so... yea
Sorry, you need to Log In to post a reply to this thread.