Zahl Posted February 12, 2008 Share Posted February 12, 2008 I just started scripting with lua, and since my favourite gamemode is ctv, I thought a good thing to start with would be understanding the script and trying to modify it. And so I did. My ideas were: -- Add a scorecounter for the teams -- Add a message when the car is delivered (relized there was such a message, but the call was screwed up so it never showed up in game) -- Make the car not just disappear but explode when it gets delivered, so get out of the car and run! -- Remove the /bring command And there comes the trouble: Suddenly with this script, sometimes you can't get out of the car. You press F (or whatever key you use to enter/exit) and the player in car just makes a strange movement with the hands (like he is steering left/right) and stays in car. Sometimes the radio stops for half a second too. So currently you end up pressing F all the time until he finally gets out of the car. I don't see any reason why this suddenly happens, I checked the playerExitVehicle funtion, nothing suspicious there, the event isn't called if the driver stays in the car. I also checked the wiki for any function like that, but didn't find one. Maybe its just that something is screwed up with my server, but I at least know that it happens for other players too, so its not just my client/game. Any ideas? I attached the modified ctv scripts, in case that helps... Err no, I didn't: "Could not upload attachment to ./files/15278_f66a0276935a100b2697cd1ab2718dbc." Here it is: http://www.file-upload.net/download-664527/ctv.zip.html Link to comment
Quest Posted February 13, 2008 Share Posted February 13, 2008 I have noticed this on my script and server. I think it MIGHT be a MTA bug. Since I haven't touched vehicles at all. Link to comment
Zahl Posted February 28, 2008 Author Share Posted February 28, 2008 Hmmm... Is your server running on windows? My new theory is, that this happens on windows servers only.. Its not just on my modified ctv script, its in everygamemode now that I've checked that. So it really seems like a bug. Can maybe more people confirm that or say anything about that problem? Unfortunately I baraly have time for MTA atm because of tests at univ Link to comment
Smallo Posted February 28, 2008 Share Posted February 28, 2008 sounds like u have race mode turned on, try turning it off and see if it works. or if race mode isn't turned on well i don't know the problem Link to comment
szlend Posted February 28, 2008 Share Posted February 28, 2008 It has nothing to do with the race gamemode. It happens in every gamemode and it pisses me because i have to tap F like mad so the player finally get's out of the car... Link to comment
Guest Posted February 28, 2008 Share Posted February 28, 2008 Ive had the same problem on a lan sever, it was ran on windows XP. Link to comment
Zahl Posted February 28, 2008 Author Share Posted February 28, 2008 Racemode thing was my first idea too, but then it doesn't make sense, because you will eventually get out of the car after tapping F for like 10 times. You can't do that in racemode. So we got two people with windows servers where that happened... Any linux servers with the same symptoms here? Or any windows server without? Link to comment
Mr.Hankey Posted February 28, 2008 Share Posted February 28, 2008 well i got the same problem but i think it has to do with the gta function where the car breaks if you press f at low speed but sometimes in mta this function doesn't work so i have to break myself or wait till the car stops before i can get out... Link to comment
Remp Posted March 4, 2008 Share Posted March 4, 2008 ive had this problem on a linux server its as if you get out and back in instantly, as it often changes the radio station Link to comment
Ransom Posted March 4, 2008 Share Posted March 4, 2008 Its an MTA bug that ended up being worse with post-release scripts. Its high on the todo list. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now