[QUOTE=Pantho;40854657]I'll go give this a try now, although why would they be set to such odd values by default?
[editline]31st May 2013[/editline]
[IMG]http://bybservers.co.uk/sharex/pantho/2013-05-31_18-54-57.png[/IMG]
Tried applying it / unapplying it and couldn't fix the issue at all. Windows local test server.
I was getting the bug when trying it on a local single player game as well until I deleted the GMA and then redownloaded it. However the server still has the issue, I've tried loading it both unpacked and loading it as a packed gma via a workshop collection.
[editline]31st May 2013[/editline]
[vid]http://bybservers.co.uk/sharex/pantho/gm_flatgrass_2013-5-31_19-16-28.webm[/vid][/QUOTE]
Weird. I will go ahead and do some MP testing myself then. I've had a similar issue before.
Just going to check so there aren't any obvious flaws.
[editline]31st May 2013[/editline]
Will have to wait to test it until tomorrow. Got a slow connection so getting down the dedi will take some time for me.
While making a video to show you an example of the turning issue I realised the bug can persist clientside after leaving a server. Both of these are recorded clientside in a single player game with NO changes to any files.
[vid]http://bybservers.co.uk/sharex/pantho/gm_construct_2013-5-31_19-24-14.webm[/vid]
[vid]http://bybservers.co.uk/sharex/pantho/gm_flatgrass_2013-5-31_19-30-26.webm[/vid]
The first video is how the cars are behaving on the server. However, after the server if I disconnect and join a single player game the bug persists until I restart gmod. Once gmod is restart they work fine in single player again.
[QUOTE=Pantho;40855210]While making a video to show you an example of the turning issue I realised the bug can persist clientside after leaving a server. Both of these are recorded clientside in a single player game with NO changes to any files.
[vid]http://bybservers.co.uk/sharex/pantho/gm_construct_2013-5-31_19-24-14.webm[/vid]
[vid]http://bybservers.co.uk/sharex/pantho/gm_flatgrass_2013-5-31_19-30-26.webm[/vid]
The first video is how the cars are behaving on the server. However, after the server if I disconnect and join a single player game the bug persists until I restart gmod. Once gmod is restart they work fine in single player again.[/QUOTE]
Haven't hosted my dedi for a long while so I made a clean install.
Then I made it subscribe to my SCars complete pack collection (Slim, Basic, Extra).
And when I tested it all seemed to work like it should. No issues with the steering at all.
But so far it seems to me like you got some old convar issue.
As you may know, even after leaving a server you may still have the servers convars applied
which would explain why the problem still persists after leaving a server and starting a single player session.
You could try to setting this convar "scar_steerforce" manually to 100 or something and see if something happens.
Note that you will have to spawn a new car or change the steering force.
Another thing you could try is to select the tuner STool and then use secondary fire on your "broken" vehicle.
That will make the STool suck up the information and you can view it here.
[img]http://oi42.tinypic.com/33pbus9.jpg[/img]
The default steer force should be 4 for the junker1 car.
If it shows something else it's probably the limitations kicking in somehow.
how can i rotate objects in the editor if they are facing the wrong way
[editline]1st June 2013[/editline]
how do i rotate objects in the editor ?
[QUOTE=xcc37774x;40870746]how can i rotate objects in the editor if they are facing the wrong way
[editline]1st June 2013[/editline]
how do i rotate objects in the editor ?[/QUOTE]
You can't rotate objects in the editor at the moment.
You can rotate seats and such manually in the entity file but you can't rotate the car chassis in any way.
Is it possible to add support for rotated chassis? Yes, but that would cause a lot of overhead calculations
so I decided that it was not worth it and this is why it's not supported.
A solution would be to rotate the model itself (in a model editor). SCars is designed so the forward vector of the model must be pointing
the direction the object should be moving when moving forward which is logical but this is not always the case.
I've gotten them to work to some degree, by setting the server scar_steerforce to 100 then using the tuner tool to set the steering to 20.
How do you think Scars would far on a heavily populated server? There seems a lot to it.
Have you read my [URL="http://facepunch.com/showthread.php?t=1250302&p=40433013&viewfull=1#post40433013"]suggestion[/URL] about editing CalculateEngineRev function?
Recent update to the development version has fixed the sound issue, although now I'm getting this on Linux.
[code][ERROR] lua/entities/sent_sakarias_car_paccar/shared.lua:253: attempt to index a nil value
SpecialThink - lua/entities/sent_sakarias_car_paccar/shared.lua:253
unknown - lua/entities/sent_sakarias_scar_base/init.lua:730[/code]
The same group of addons works fine on the Windows development version. It could be related to case sensitivity, since Linux is case sensitive with files and folders
[QUOTE=Pantho;40881946]I've gotten them to work to some degree, by setting the server scar_steerforce to 100 then using the tuner tool to set the steering to 20.
How do you think Scars would far on a heavily populated server? There seems a lot to it.[/QUOTE]
I hope you don't have to set the steering every time you spawn a new car because you shouldn't need to.
How well it would work on a heavily populated server? Not sure to be honest. Haven't tested it myself with more than 10 slots.
I think it should work pretty well but a lot depends on the ping the player has, also the amount of active cars.
[QUOTE=iCRASH;40886256]Have you read my [URL="http://facepunch.com/showthread.php?t=1250302&p=40433013&viewfull=1#post40433013"]suggestion[/URL] about editing CalculateEngineRev function?[/QUOTE]
Sorry for the late reply. I haven't tested it yet to be honest. I will have to try it out when I got time.
Do you think you could manage to make it simpler with less magic numbers?
[QUOTE=d10sfan;40887708]Recent update to the development version has fixed the sound issue, although now I'm getting this on Linux.
[code][ERROR] lua/entities/sent_sakarias_car_paccar/shared.lua:253: attempt to index a nil value
SpecialThink - lua/entities/sent_sakarias_car_paccar/shared.lua:253
unknown - lua/entities/sent_sakarias_scar_base/init.lua:730[/code]
The same group of addons works fine on the Windows development version. It could be related to case sensitivity, since Linux is case sensitive with files and folders[/QUOTE]
Where did you get the sent_sakarias_car_paccar entity? Would help if I could have a look at the lua file.
Ah sorry, forgot I had a bunch of third-party Scar mods installed. Tried it with only Scars Slim installed (where it's only the junkers), and I'm seeing this error:
[code]
Model missing: models/nova/airboat_seat.mdl
ERROR!: Can't create physics object for models/nova/airboat_seat.mdl
[SCars Slim] lua/entities/sent_sakarias_scar_base/init.lua:283: Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type)
1. EnableGravity - [C]:-1
2. Setup - lua/entities/sent_sakarias_scar_base/init.lua:283
3. unknown - lua/entities/sent_sakarias_car_junker3/shared.lua:193
4. Spawn - [C]:-1
5. MakeVehicle - lua/autorun/server/s_scarconsole.lua:75
6. unknown - lua/autorun/server/s_scarconsole.lua:113
7. unknown - lua/includes/modules/concommand.lua:69
[SCars Slim] lua/entities/sent_sakarias_scar_base/init.lua:3436: attempt to index a nil value
1. Reposition - lua/entities/sent_sakarias_scar_base/init.lua:3436
2. v - lua/autorun/server/s_scarsaddingservertagandmisc.lua:135
3. Call - lua/includes/modules/hook.lua:82
4. MakeVehicle - lua/autorun/server/s_scarconsole.lua:85
5. unknown - lua/autorun/server/s_scarconsole.lua:113
6. unknown - lua/includes/modules/concommand.lua:69
[SCars Slim] lua/entities/sent_sakarias_scar_base/init.lua:1363: attempt to call method 'Stop' (a nil value)
1. HandBrakeOn - lua/entities/sent_sakarias_scar_base/init.lua:1363
2. AutoDeployHandBrake - lua/entities/sent_sakarias_scar_base/init.lua:1393
3. DriverExitsCar - lua/entities/sent_sakarias_scar_base/init.lua:1118
4. unknown - lua/entities/sent_sakarias_scar_base/init.lua:787
[/code]
Looks like this could be partially an issue with gmod itself. There's a model for the airboat seat in the nova directory, but on Linux it's Nova, instead of nova.
After creating a link to create a nova directory from the Nova directory, Scars started working again, including all the mods I had. Did see something strange when trying to use tanks, when firing the main gun.
Attempting to create unknown particle system 'dusty_explosion_rockets'
Could be another gmod-related thing
[QUOTE=Sakarias88;40890693]I hope you don't have to set the steering every time you spawn a new car because you shouldn't need to.
How well it would work on a heavily populated server? Not sure to be honest. Haven't tested it myself with more than 10 slots.
I think it should work pretty well but a lot depends on the ping the player has, also the amount of active cars.
Sorry for the late reply. I haven't tested it yet to be honest. I will have to try it out when I got time.
Do you think you could manage to make it simpler with less magic numbers?
Where did you get the sent_sakarias_car_paccar entity? Would help if I could have a look at the lua file.[/QUOTE]
I did indeed have to set this for every car on every spawn.
[QUOTE=Sakarias88;40890693]Do you think you could manage to make it simpler with less magic numbers?[/QUOTE]
I think not, since I'm a kind of dilettante in writing code (especially LUA). Besides, in my opinion, without these magic numbers new function will lose any sense...
I don't know if it was a clientside problem, but when I turned on the police siren, something bad happened with the sprites, and the background of the sprites would be black instead of transparent.
[QUOTE=Squerl101;40912712]I don't know if it was a clientside problem, but when I turned on the police siren, something bad happened with the sprites, and the background of the sprites would be black instead of transparent.[/QUOTE]
I don't know why this is happening to be honest.
I've seen it a few times before back in the days but the effect just lasted a sec or so before going back to normal. After that Garry made some update that changed how transparency worked which always made the transparency black on the sirens, fixed that in a SCar update and I haven't seen the problem you are describing since.
If you are using another SCar addon (not slim, extra or basic) the problem may still persist.
All I can say is that I fixed it on slim, extra and on basic.
[QUOTE=Pantho;40893695]I did indeed have to set this for every car on every spawn.[/QUOTE]
You really shouldn't have to do that. :S
wow my brother will be crazy for seeing this
Oh so this thread ISN'T closed.
I was wondering, why the cars are so shaky, and also why my comment was deleted on the steam workshop.
I'd prefer the answer for the first question over the second :)
[QUOTE=Zotero;41115619]Oh so this thread ISN'T closed.
I was wondering, why the cars are so shaky, and also why my comment was deleted on the steam workshop.
I'd prefer the answer for the first question over the second :)[/QUOTE]
The thread was closed but I created a new one.
Also, I'm the only one that can delete the comments on my workshop addons so that must be me.
I usually delete questions that can be answered by the FAQ so I guess I removed your comment by mistake.
I think posting on the forum was a good choice anyway, now we can have a dialogue.
Shaky you say? I have to admit that some cars can be a bit shaky but I've tried to set fairly good suspension settings.
It can sometimes be hard to get a good setup on the suspension.
If you think a certain car is shaky you can adjust the suspension stiffness manually with a tool (the suspension tool).
You don't want it too soft (wheels will "bend" when you make hard turns) and you don't want it too hard (shaky).
The nice spot can be quite tricky to find but once you find it you will notice that it makes quite an impact on performance.
Speaking of suspension, might I suggest adding suspension limits?
That means, if the wheel travels too high from its starting point, the suspension automatically tightens up.
This would help in situations where the car is often damaged by the chassis slamming into the ground during hard landings, while still permitting suspension soft enough for a smooth and pleasant ride.
Hey Sakaria, I have a question if you don't mind.
I have installed all 3 SCars addons onto my server, but the odd thing is the Tank De-spawns,
And a few Sports cars are missing (Fastback)
Do you have a clue what causes this? (Its a DarkRP..)
[QUOTE=ShadowKnightX;41184038]Hey Sakaria, I have a question if you don't mind.
I have installed all 3 SCars addons onto my server, but the odd thing is the Tank De-spawns,
And a few Sports cars are missing (Fastback)
Do you have a clue what causes this? [b](Its a DarkRP..)[/b][/QUOTE]
That's your problem, not his.
What's with the dumbs?
If they do not work in sandbox either, then it's a problem with:
Conflicting addons[sp]there shouldn't be any[/sp]
borked version of the addons[sp]You surely using the latest version?[/sp]
too much addons[sp]could be[/sp]
I normally do not say anything on stuff breaking, other than to help fix garrys mod. Anytime I install this on my darkrp server it corrupts some files and makes me do a complete re install of the whole server. I am running Ubuntu Linux.
edit---------------------------
I figured out what the problem was. Although I still do not understand how it corrupted all of darkrp.
I can spawn any car aside from the armored vehicles. I'm not sure how to get them to work. They appear for about 1 second (the chasis) then they disappear. I get no errors or anything. They just flicker on screen then disappear. We can spawn the prop models though.
I have several scars installed on my server. When I spawn a tank, out of any pack, the base spawns for about 2 seconds then disappears, and has no turret attached. Humvee's spawn with no turret. The turreted jeep spawns with a 50 cal. I really need some help here. I'm running DarkRP.
I can't figure out why I can't seem to get the tanks to spawn. Everything else works.
I'm at the point where I'd pay for a fix. Since we kinda need the tanks for the RP I'm trying to setup.
[QUOTE=GhostRogue;41201189]I can spawn any car aside from the armored vehicles. I'm not sure how to get them to work. They appear for about 1 second (the chasis) then they disappear. I get no errors or anything. They just flicker on screen then disappear. We can spawn the prop models though.
I have several scars installed on my server. When I spawn a tank, out of any pack, the base spawns for about 2 seconds then disappears, and has no turret attached. Humvee's spawn with no turret. The turreted jeep spawns with a 50 cal. I really need some help here. I'm running DarkRP.
I can't figure out why I can't seem to get the tanks to spawn. Everything else works.
I'm at the point where I'd pay for a fix. Since we kinda need the tanks for the RP I'm trying to setup.[/QUOTE]
It probably has something to do with DarkRP so it's hard for me to tell exactly what the issue is.
But just to be sure, could you test it on sandbox just to see if the issue is solved or not?
I mean if you run it on sandbox and you still got the issue it's probably not DarkRP after all.
[QUOTE=bran92don;41198038]I normally do not say anything on stuff breaking, other than to help fix garrys mod. Anytime I install this on my darkrp server it corrupts some files and makes me do a complete re install of the whole server. I am running Ubuntu Linux.
edit---------------------------
I figured out what the problem was. Although I still do not understand how it corrupted all of darkrp.[/QUOTE]
Please share the solution. There might be other people who need your solution.
Perhaps you could help GhostRogue?
[QUOTE=GhostRogue;41201189]I can spawn any car aside from the armored vehicles. I'm not sure how to get them to work. They appear for about 1 second (the chasis) then they disappear. I get no errors or anything. They just flicker on screen then disappear. We can spawn the prop models though.
I have several scars installed on my server. When I spawn a tank, out of any pack, the base spawns for about 2 seconds then disappears, and has no turret attached. Humvee's spawn with no turret. The turreted jeep spawns with a 50 cal. I really need some help here. I'm running DarkRP.
I can't figure out why I can't seem to get the tanks to spawn. Everything else works.
I'm at the point where I'd pay for a fix. Since we kinda need the tanks for the RP I'm trying to setup.[/QUOTE]
[QUOTE=Sakarias88;41211558]It probably has something to do with DarkRP so it's hard for me to tell exactly what the issue is.
But just to be sure, could you test it on sandbox just to see if the issue is solved or not?
I mean if you run it on sandbox and you still got the issue it's probably not DarkRP after all.
Please share the solution. There might be other people who need your solution.
Perhaps you could help GhostRogue?[/QUOTE]
I have exactly the same problem but its not a DarkRP problem i´m running a sandbox server and it´s the same and when i´m playing on singleplayer in sandbox it´s also the same problem.
But in singleplayer there are errors -->
[U]Scars Tank[/U]
File exists in two addons - possible conflicts! lua/entities/sent_sakarias_car_abrams/shared.lua (SCars Extra and SCars Slim)
[ERROR] addons/falcospropprotection/lua/autorun/sh_cppi.lua:46: attempt to index local 'ply' (a nil value)
1. CPPISetOwner - addons/falcospropprotection/lua/autorun/sh_cppi.lua:46
2. SCarSetObjOwner - lua/autorun/server/s_scarsaddingservertagandmisc.lua:70
3. SetCarOwner - lua/entities/sent_sakarias_carwheel/init.lua:379
4. SetWheelOwner - lua/entities/sent_sakarias_scar_base/init.lua:3489
5. ChangeWheel - lua/entities/sent_sakarias_scar_base/init.lua:3159
6. Repair - lua/entities/sent_sakarias_scar_base/init.lua:3214
7. SetCarHealth - lua/entities/sent_sakarias_scar_base/init.lua:3180
8. unknown - lua/entities/sent_sakarias_car_abrams/shared.lua:401
9. Spawn - [C]:-1
10. MakeVehicle - lua/autorun/server/s_scarconsole.lua:75
11. unknown - lua/autorun/server/s_scarconsole.lua:113
12. unknown - lua/includes/modules/concommand.lua:69
File exists in two addons - possible conflicts! lua/entities/sent_sakarias_scar_base/init.lua (SCars Slim and SCars Extra)
[ERROR] lua/entities/sent_sakarias_car_abrams/shared.lua:716: attempt to index field 'TowerSound' (a nil value)
1. SpecialRemove - lua/entities/sent_sakarias_car_abrams/shared.lua:716
2. unknown - lua/entities/sent_sakarias_scar_base/init.lua:941
[U]Battlefield 3 Scars Addon[/U]
File exists in two addons - possible conflicts! lua/entities/sent_sakarias_car_bf3m1a2_rc/shared.lua (Battlefield 3 SCars and SCars Slim)
[ERROR] addons/falcospropprotection/lua/autorun/sh_cppi.lua:46: attempt to index local 'ply' (a nil value)
1. CPPISetOwner - addons/falcospropprotection/lua/autorun/sh_cppi.lua:46
2. SCarSetObjOwner - lua/autorun/server/s_scarsaddingservertagandmisc.lua:70
3. SetCarOwner - lua/entities/sent_sakarias_carwheel/init.lua:379
4. SetWheelOwner - lua/entities/sent_sakarias_scar_base/init.lua:3489
5. ChangeWheel - lua/entities/sent_sakarias_scar_base/init.lua:3159
6. Repair - lua/entities/sent_sakarias_scar_base/init.lua:3214
7. SetCarHealth - lua/entities/sent_sakarias_scar_base/init.lua:3180
8. unknown - lua/entities/sent_sakarias_car_bf3m1a2_rc/shared.lua:424
9. Spawn - [C]:-1
10. MakeVehicle - lua/autorun/server/s_scarconsole.lua:75
11. unknown - lua/autorun/server/s_scarconsole.lua:113
12. unknown - lua/includes/modules/concommand.lua:69
File exists in two addons - possible conflicts! lua/entities/sent_sakarias_scar_base/init.lua (SCars Slim and Battlefield 3 SCars)
[ERROR] lua/entities/sent_sakarias_car_bf3m1a2_rc/shared.lua:1326: attempt to index field 'Tower' (a nil value)
1. SpecialReposition - lua/entities/sent_sakarias_car_bf3m1a2_rc/shared.lua:1326
2. Reposition - lua/entities/sent_sakarias_scar_base/init.lua:3459
3. v - lua/autorun/server/s_scarsaddingservertagandmisc.lua:135
4. Call - lua/includes/modules/hook.lua:82
5. MakeVehicle - lua/autorun/server/s_scarconsole.lua:85
6. unknown - lua/autorun/server/s_scarconsole.lua:113
7. unknown - lua/includes/modules/concommand.lua:69
File exists in two addons - possible conflicts! lua/entities/sent_sakarias_scar_base/init.lua (SCars Slim and Battlefield 3 SCars)
[ERROR] lua/entities/sent_sakarias_car_bf3m1a2_rc/shared.lua:1123: attempt to index field 'TowerSound' (a nil value)
1. SpecialRemove - lua/entities/sent_sakarias_car_bf3m1a2_rc/shared.lua:1123
2. unknown - lua/entities/sent_sakarias_scar_base/init.lua:941
It´s since the [U]great[/U] gmod update a few weeks ago...
[QUOTE=skulldeath16;41260891]I have exactly the same problem but its not a DarkRP problem i´m running a sandbox server and it´s the same and when i´m playing on singleplayer in sandbox it´s also the same problem.
But in singleplayer there are errors -->
ERRORS
It´s since the [U]great[/U] gmod update a few weeks ago...[/QUOTE]
Thanks! I will have a look at it later today.
Also, a note.
I can't fix other peples workshop addons but I will let the guy know.
[QUOTE=Sakarias88;41263785]Thanks! I will have a look at it later today.
Also, a note.
I can't fix other peples workshop addons but I will let the guy know.[/QUOTE]
Yeah thx i hope the errors are helping you to find the problem.
EDIT: I know that u cant fix other people addons but maybe this information is helping you too:
The problem is with [U]all tanks[/U].
Jeeps and all other cars are working fine :)
Its only a tank problem...
[QUOTE=skulldeath16;41265387]Yeah thx i hope the errors are helping you to find the problem.
EDIT: I know that u cant fix other people addons but maybe this information is helping you too:
The problem is with [U]all tanks[/U].
Jeeps and all other cars are working fine :)
Its only a tank problem...[/QUOTE]
I talked with FPTje about these issues about a day ago.
Think we got it sorted out.
[editline]1st July 2013[/editline]
Just pushed out an update but it seems like the workshop is a bit bitchy.
I haven't received the workshop update myself yet.
[QUOTE=Sakarias88;41266685]I talked with FPTje about these issues about a day ago.
Think we got it sorted out.
[editline]1st July 2013[/editline]
Just pushed out an update but it seems like the workshop is a bit bitchy.
I haven't received the workshop update myself yet.[/QUOTE]
Nice dude :smile:
I´m going to tell you if it´s working when i got the update.
I haven´t received it too @ the moment.
[QUOTE=Sakarias88;41266685]I talked with FPTje about these issues about a day ago.
Think we got it sorted out.
[editline]1st July 2013[/editline]
Just pushed out an update but it seems like the workshop is a bit bitchy.
I haven't received the workshop update myself yet.[/QUOTE]
Nor have I received it. maybe it didn't fully register?
[QUOTE=ShadowKnightX;41278255]Nor have I received it. maybe it didn't fully register?[/QUOTE]
I've tried updating it 5 times now.
No dice, not sure what's going on.
Sorry, you need to Log In to post a reply to this thread.