weeztor / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 1 forks source link

Few updates #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Just simply admins being able to name unowned doors, so instead of
'Unownable' you can change it to something like 'Stairs' or whatnot.

Then just a simple advertise system that works the same way hints do. Or
maybe even with an rp_tellall.

Modify police ram to not open unowned doors, and non-ownable doors, and
group owned doors.

Modify the stunstick damage to prevent minging, one click should just be a
stun, other button should be 1 - 2 damage plus stun.

Update the F1 menu with current and missing commands.

I had more but i went blank, but that should be great for now.

Original issue reported on code.google.com by c_u_late...@hotmail.com on 12 May 2010 at 8:26

GoogleCodeExporter commented 9 years ago
Oh and a toggle for users being able to use kill in console, had to code it 
myself
due to people abusing it to get away from police and whatnot.

Original comment by c_u_late...@hotmail.com on 12 May 2010 at 8:28

GoogleCodeExporter commented 9 years ago
Shit sorry i'm just starting to remember things, make it so when people die 
they are
no longer wanted (this will help with NLR on servers)

Add emotes to darkrp, can be fun to give to admins and if people have VIP 
systems VIP's.

Change the new money printer identifyer so to say, the old style above it 
looked much
better, this new style looks tacky tbh (no offense)

A demote cooldown timer, stop people mass random demoting.

A cap on /price due to players setting drug lab's, gun lab's and microwave's 
/price
extremely high and basically stealing player's money.

Add an f4 menu option as well as the ability to type "/unownalldoors" in chat. 
This
will unown all of your doors and tell you how many doors were sold and how much 
money
was given back for selling the doors.

Players use the drop glitch to get more ammo for grenades, flashes, smoke 
grenades,
and knives. Make a /drop blacklist like i did myself to stop this from 
happening.

Disallow players from switching teams during demotes.

When using rp_unarrest when someone is jailkilled;

DarkRP\gamemode\admincc.lua:402: attempt to index global 'v' (a nil value)

        if not target:Alive() then v:Spawn() end

And that should be it, sorry for the triple post.

Original comment by c_u_late...@hotmail.com on 12 May 2010 at 8:46

GoogleCodeExporter commented 9 years ago
"make it so when people die they are
no longer wanted (this will help with NLR on servers)"

I thought it did that anyway..

Original comment by ch...@watersideway.plus.com on 12 May 2010 at 5:51

GoogleCodeExporter commented 9 years ago
New error i found when messing about with the new linux bins (wooop) Not sure 
if this
is a garrysmod error or darkrp, but when i try to spawn some NPC's (in this 
case a
hunter) i get this message which is quite hard to press without having a curser.

http://i40.tinypic.com/r0cem8.png

Also the wanted thing is a bug.

Original comment by c_u_late...@hotmail.com on 13 May 2010 at 9:13

GoogleCodeExporter commented 9 years ago
Comment 4 is a gmod bug. Been around for ages, no one wants to fix it.

Original comment by fpeijnen...@gmail.com on 13 May 2010 at 9:20

GoogleCodeExporter commented 9 years ago
What about the other bugs/suggestions?

Original comment by c_u_late...@hotmail.com on 13 May 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Also found a new bug with animations, don't remember the exact error as I'm on 
my itouch bit it has 
something to do with unhandeled usermessages. I'll post the exact error when I 
get home.

Original comment by c_u_late...@hotmail.com on 17 May 2010 at 9:30

GoogleCodeExporter commented 9 years ago
Found another when pressing unwanted on scoreboard. 
You need to specify a reason!

So to recap;

Just simply admins being able to name unownable doors and even unowned doors, so
instead of
'Unownable' you can change it to something like 'Stairs' or whatnot.

Then just a simple advertise system that works the same way hints do. Or
maybe even with an rp_tellall.

Modify police ram to not open unowned doors, and non-ownable doors, and
group owned doors.

Modify the stunstick damage to prevent minging, one click should just be a
stun, other button should be 1 - 2 damage plus stun.

Update the F1 menu with current and missing commands.

Add emotes to darkrp, can be fun to give to admins and if people have VIP 
systems VIP's.

Change the new money printer identifyer so to say, the old style above it 
looked much
better, this new style looks tacky tbh (no offense)

A demote cooldown timer, stop people mass random demoting.

A cap on /price due to players setting drug lab's, gun lab's and microwave's 
/price
extremely high and basically stealing player's money.

Add an f4 menu option as well as the ability to type "/unownalldoors" in chat. 
This
will unown all of your doors and tell you how many doors were sold and how much 
money
was given back for selling the doors.

Players use the drop glitch to get more ammo for grenades, flashes, smoke 
grenades,
and knives. Make a /drop blacklist like i did myself to stop this from 
happening.

Disallow players from switching teams during demotes.

Animations are broken "Warning: Unhandled usermessage 'anim_keys'"

Unwanted on scoreboard is broken.

Hope to see some updates soon.

Original comment by c_u_late...@hotmail.com on 18 May 2010 at 12:35

GoogleCodeExporter commented 9 years ago
Not going to happen, exam week.

Original comment by fpeijnen...@gmail.com on 18 May 2010 at 1:54

GoogleCodeExporter commented 9 years ago
Thought euasion also worked on the svn or was that only temp

Original comment by c_u_late...@hotmail.com on 18 May 2010 at 1:59

GoogleCodeExporter commented 9 years ago
I don't know what Eusion is going to do.

Original comment by fpeijnen...@gmail.com on 18 May 2010 at 4:33

GoogleCodeExporter commented 9 years ago
Turns out the animations thing was on my behalf, the rest is with a clean svn 
though.

Original comment by c_u_late...@hotmail.com on 20 May 2010 at 10:41

GoogleCodeExporter commented 9 years ago
"Then just a simple advertise system that works the same way hints do. Or
maybe even with an rp_tellall."
I won't make this, /advert is enough. There is no need for an EXTRA 
advertisement 
system. Besides I hate popups.

Add emotes to DarkRP? You're not really clear what people should do with 
Emotes. That 
sentence you make there doesn't even make sense:
"Add emotes to darkrp, can be fun to give to admins and if people have VIP 
systems 
VIP's."
I assume you mean emoticons in chat, That really is something for custom mods. 
Emoticons require a custom chatbox and if there is ONE thing I hate in Garry's 
mod 
it's custom chat boxes.

A demote timer won't prevent random demote. A demote timer would even make it 
worse: 
People will have less idea that it's the same random demoter and they won't 
identify 
it as a random demoter. When they spam admins know who to ban.

"Modify police ram to not open unowned doors, and non-ownable doors, and
group owned doors."
Uh why should I make that? A lot of non-ownable doors are locked by default, 
it's 
annoying if you can't open it. Doors with groups: If you can't break them open 
it's a 
safe place for gangsters/gundealers because cops can't get in anyway
and unowned doors: why should cops not be able to get in, they can inspect a 
deserted 
mansion for secret druglabs, it's quite realistic. 
There is no reason at all to do this.

Oh and the rest?
Consider it fixed in the next revision.

Original comment by fpeijnen...@gmail.com on 21 May 2010 at 12:23

GoogleCodeExporter commented 9 years ago
I mean like emotes (One example being perp) you say a keyword and it plays a 
sound.

I also coded a demote timer for my server and this became a very useful feature
stopping fagots mass demoting and whatnot, or just constant demoting a person 
untill
they get demoted

I put group owned doors in there by accident, but unowned doors it is very much
needed as it can cause issues with doors in apartments (rp_downtown_v2) and the
elevator doors then people cram them with world props or their own props.

But glad to see the rest done tbh.

Original comment by c_u_late...@hotmail.com on 21 May 2010 at 12:29

GoogleCodeExporter commented 9 years ago
Kay first error found with your update was

weapons/stunstick/shared.lua:129: 'end' expected (to close 'function' at line 
94)
near '<eof>'

So we added that extra end and we now have over and over

Timer Error: weapons/stunstick/shared.lua:57: Player is NULL(!?)
Error - Starting new message without ending the old one!
Error: Calling umsg.End without a valid RecipientFilter!?
Timer Error: weapons/stunstick/shared.lua:57: Player is NULL(!?)
Error - Starting new message without ending the old one!
Error: Calling umsg.End without a valid RecipientFilter!?

Original comment by c_u_late...@hotmail.com on 21 May 2010 at 1:13

GoogleCodeExporter commented 9 years ago
Also now allow ownership button is broken on doors

Original comment by c_u_late...@hotmail.com on 21 May 2010 at 1:19

GoogleCodeExporter commented 9 years ago
Also your drop blacklist doesn't work unless i have the wrong syntax

local NoDrop = {weapon_real_cs_knife, weapon_real_cs_grenade, 
weapon_real_cs_flash,
weapon_real_cs_smoke, weapon_physgun} -- Drop blacklist

Also tried with "" and no luck.

Original comment by c_u_late...@hotmail.com on 21 May 2010 at 1:37

GoogleCodeExporter commented 9 years ago
Allow ownership works fine for me.
Your 'end' expected doesn't appear for me.
The other fugs are bixed. 

Original comment by fpeijnen...@gmail.com on 21 May 2010 at 5:31

GoogleCodeExporter commented 9 years ago
"I mean like emotes (One example being perp) you say a keyword and it plays a 
sound.

I also coded a demote timer for my server and this became a very useful feature
stopping fagots mass demoting and whatnot, or just constant demoting a person 
untill
they get demoted

I put group owned doors in there by accident, but unowned doors it is very much
needed as it can cause issues with doors in apartments (rp_downtown_v2) and the
elevator doors then people cram them with world props or their own props.

But glad to see the rest done tbh."

Also your drop shit is still broken 

"
ERROR: GAMEMODE:'PlayerSay' Failed: DarkRP\gamemode\chat.lua:23: attempt to
concatenate local 'callback' (a nil value)
Error: hook->PlayerSay returned a non-string!"

function RP_PlayerChat(ply, text)
    DB.Log(ply:SteamName().." ("..ply:SteamID().."): "..text )
    local callback = "" 
    local DoSayFunc
    for k, v in pairs(ChatCommands) do
        if string.lower(v.cmd) == string.Explode(" ", string.lower(text))[1] then
            callback, DoSayFunc = v.callback(ply, string.sub(text, string.len(v.cmd) + 2,
string.len(text)))
            if callback == "" then 
                return "", "" , DoSayFunc
            end
            text = string.sub(text, string.len(v.cmd) + 2, string.len(text)).. " "
        end
    end
    if callback ~= "" then callback = callback.." " end
    return text, callback, DoSayFunc
end

Original comment by c_u_late...@hotmail.com on 22 May 2010 at 4:29

GoogleCodeExporter commented 9 years ago
Found another

ERROR: GAMEMODE:'PlayerDeath' Failed: DarkRP\gamemode\util.lua:3: Player is 
NULL(!?)
Error - Starting new message without ending the old one!
Error: Calling umsg.End without a valid RecipientFilter!?

Original comment by c_u_late...@hotmail.com on 22 May 2010 at 4:31

GoogleCodeExporter commented 9 years ago
#20 is impossible in two ways
1. Notify isn't called from GAMEMODE:PlayerDeath
2. Player can not be NULL, on line 2 there's a ValidEntity check.

I don't get the /drop error either.

Original comment by fpeijnen...@gmail.com on 22 May 2010 at 3:03

GoogleCodeExporter commented 9 years ago
/wrist

"I mean like emotes (One example being perp) you say a keyword and it plays a 
sound.

I also coded a demote timer for my server and this became a very useful feature
stopping fagots mass demoting and whatnot, or just constant demoting a person 
untill
they get demoted

I put group owned doors in there by accident, but unowned doors it is very much
needed as it can cause issues with doors in apartments (rp_downtown_v2) and the
elevator doors then people cram them with world props or their own props.

But glad to see the rest done tbh."

And wanted timer is still broken, i swear Ive brang it up in other issues.

Original comment by c_u_late...@hotmail.com on 23 May 2010 at 11:26

GoogleCodeExporter commented 9 years ago
People stay wanted when they suicide. This is to prevent people from using 
suicide to 
run away from the cops.

When they are killed by something else than themselves, they won't be wanted 
anymore.

Original comment by fpeijnen...@gmail.com on 24 May 2010 at 9:38

GoogleCodeExporter commented 9 years ago
The key word being timer. Remember rp_wantedtimer (or something along the lines 
of that)

Original comment by c_u_late...@hotmail.com on 24 May 2010 at 10:46

GoogleCodeExporter commented 9 years ago
First you say wanted people are still wanted after death
and then you say wanted is broken and refer to what you said before
but what you said before is completely different.

Original comment by fpeijnen...@gmail.com on 24 May 2010 at 3:56