weeztor / darkrp

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

Iron sights messed up #443

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the problem?
Right clicking to bring your ironsights up doesn't actually bring the gun up, 
but does make you walk slow as if it was up. Since I went on single player, I 
put it on third person and the saw the gun was down by the side, and then right 
clicking does indeed bring the gun up, but in first person that iron sight 
isn't there. Turning ironsights off just means your player model fires the gun 
down by the side which looks completely wrong.

What steps will reproduce the problem?
Trying to bring the iron sights up?

Do you have any errors? serverside or clientside? If you do, which ones?
None.

Are you using the downloaded version or an SVN revision (if SVN, which
revision number)?

SVN 2.4.1

Please provide any additional information below.

This was only done in single player and not on a dedicated server if that makes 
any difference.

Original issue reported on code.google.com by andrew...@live.co.uk on 12 Sep 2010 at 1:13

GoogleCodeExporter commented 9 years ago
I think this is a singleplayer issue yeah

Original comment by fpeijnen...@gmail.com on 12 Sep 2010 at 5:20

GoogleCodeExporter commented 9 years ago
Alright I'll try it on my dedicated server and see if the same issue arises.

Original comment by andrew...@live.co.uk on 12 Sep 2010 at 1:18

GoogleCodeExporter commented 9 years ago
Alright I put the game mode on the server, and indeed the iron sights do work. 
However, I like the rp_ironsights setting turned off, and what this does is 
make people run around with their gun down by their side and when they shoot, 
the gun stays down by the side and doesn't come up in the animation like if you 
put your iron sight up. If people do use their ironsights to shoot, the gun 
does come up but not a lot of people do it.

Also as a side issue, people are reporting getting a lua spam error when they 
open the tab menu. Have you ever heard about this error? Something to do with 
missing material. I'll get the full lua error if you want it. I'm not getting 
it myself but several others on the server are. Initially I'm thinking it might 
be because the updated gamemode isn't on fast downloads yet, but I'm not sure. 

Original comment by andrew...@live.co.uk on 12 Sep 2010 at 10:27

GoogleCodeExporter commented 9 years ago
Well I'll save you some time, here's the error.

[lua\vgui\dimage.lua:120] Material missing: FAdmin/ListView

Original comment by andrew...@live.co.uk on 12 Sep 2010 at 10:34

GoogleCodeExporter commented 9 years ago
I'm not the only one with the content downloading issue it seems.

Original comment by ch...@watersideway.plus.com on 12 Sep 2010 at 11:03

GoogleCodeExporter commented 9 years ago
Forget that error. Turns out the FAdmin materials, data and sound folders 
weren't saving, even though they were on FastDownloads. Seems to be a common 
problem now, files not downloading off Fastdownloads. In the end I just made a 
lua file filled with resource.AddFile for all the files in FAdmin. They 
downloaded then and fixed the error when someone opened tab.

The view model however is still a problem.

Original comment by andrew...@live.co.uk on 13 Sep 2010 at 12:15

GoogleCodeExporter commented 9 years ago
So the download problem is fastdl?

Original comment by fpeijnen...@gmail.com on 13 Sep 2010 at 6:17

GoogleCodeExporter commented 9 years ago
"In the end I just made a lua file filled with resource.AddFile for all the 
files in FAdmin. They downloaded then and fixed the error when someone opened 
tab."

Isn't that already done within FAdmin?

I'll try messing around with FastDL and see if it fixes.

Original comment by ch...@watersideway.plus.com on 13 Sep 2010 at 3:01

GoogleCodeExporter commented 9 years ago
Well I stuck the DarkRP folder in 'gamemodes' on my FastDl but it didn't 
download anything. Instead, it was just downloading the FAdmin things because 
it was directly in the servers 'gamemodes' folder, and they weren't saving when 
you joined the server. To get around this, I just stuck each respective folder 
in the FAdmin folder into the base materials, sound and data folders. Even then 
though it won't save, so I make resource.AddFile's in 
lua/server/autorun/<filename.lua> so it does then save. This might just be my 
server... I've no idea about others.

The lua error was because of the FAdmin stuff not being saved. It fixed once I 
did what I said in the above paragraph.

Original comment by andrew...@live.co.uk on 13 Sep 2010 at 4:23

GoogleCodeExporter commented 9 years ago
is the ListView error the only error you get, or do you get errors about other 
materials too?

It would be really strange if only the ListView errors. That would mean the 
rest downloads and shows fine.

Original comment by fpeijnen...@gmail.com on 13 Sep 2010 at 6:49

GoogleCodeExporter commented 9 years ago
It would be hard to say now, since I fixed it XD but any report was just that 
error that I posted. Who knows maybe people got others, but when I was testing 
out the problem myself, I took the DarkRP folder out of my own gamemodes 
folder, and then joined the server. It did indeed make me download all the 
files within FAdmin. There were about 60+ files to download, so it was 
definately recognising they were there in the gamemodes folder. Putting them on 
FastDL didn't make a difference though.

Does FAdmin use the "If server then AddCSLuafile ("shared.lua")" or however it 
goes type thing? Or does that have nothing to do with how clients download 
things? To my knowledge with the 2.4.1 download I previously used, when FAdmin 
was not included, clients would not have to download anything from the server 
gamemode wise. It just seems specific to the FAdmin folder. 

Also my best guess about the error would simply be because it was erroring the 
first material related to opening the tab menu?

Also what's your thoughts on the gun problem I mentioned early?

Original comment by andrew...@live.co.uk on 13 Sep 2010 at 9:21

GoogleCodeExporter commented 9 years ago
The ironsights thing is purely singleplayer. this makes this issue a low 
priority issue. DarkRP isn't really meant for Singleplayer you know :P

I'll fix it, it just might take a while, the other issues are more important 
and I have little time.

Original comment by fpeijnen...@gmail.com on 15 Sep 2010 at 5:33

GoogleCodeExporter commented 9 years ago
Um, I was actually referring to my first paragraph on comment 3. I said there I 
put it on the server and the iron sights worked, that isn't the problem. The 
problem is if you turn the need to use iron sights off, when people shoot their 
gun still appears down by there side, unless this is a bug in itself. 

Original comment by andrew...@live.co.uk on 15 Sep 2010 at 9:26

GoogleCodeExporter commented 9 years ago
That also needs to be fixed.

Original comment by fpeijnen...@gmail.com on 16 Sep 2010 at 7:38

GoogleCodeExporter commented 9 years ago
Awesome thanks for the work and comments! =)

Original comment by andrew...@live.co.uk on 16 Sep 2010 at 3:08

GoogleCodeExporter commented 9 years ago
Made ironsights work in singleplayer.

Original comment by fpeijnen...@gmail.com on 2 Nov 2010 at 11:25