MrGamer100 Posted November 21, 2010 Share Posted November 21, 2010 Hello, I am MrGamer100. I have been working with Lua for around a year and recently started reading up on MTA's implementation of Lua. I decided to start by making some edits to the Free Roam standard gamemode, such as restricting certain other vehicles from being spawned due to a bug. However, whenever I have made a change to any Lua or XML file in Free Roam, the change is overwritten when I run the gamemode, as if I had never made a change at all. It's not just a specific file, it's all of them. It's very strange. Anyone know why this happens? Is there any way around this, so that I may make some modifications? Apologies if I seem pitifully new, -MrGamer100 Link to comment
dzek (varez) Posted November 21, 2010 Share Posted November 21, 2010 maybe you edit contents of %MTA%\mods\deathmatch\resources\freeroam instead of %MTA\server\mods\deathmatch\resources\freeroam and if you are modifying the server - remove zip file of freeroam, leave only unpacked folder - not sure which one server chooses when they are both existing Link to comment
MrGamer100 Posted November 21, 2010 Author Share Posted November 21, 2010 That didn't seem to work. When I had removed the free roam zip file, it kept with a black screen when I started it up. I didn't make any edits that could have broken the script... Link to comment
MrGamer100 Posted November 21, 2010 Author Share Posted November 21, 2010 (Apologies for a double post) I have attempted to reverse it, in hopes of fixing the black screen. However, it would now seem that I have an even bigger problem: I cannot fix this black screen. I am unable to host my own local servers for temporary testing now. I really hope I don't have to re-install MTA. >. Link to comment
dzek (varez) Posted November 21, 2010 Share Posted November 21, 2010 is server console showing any errors? type "start play" in server console. you can download mta original resources here: http://code.google.com/p/mtasa-resources/downloads/list Link to comment
MrGamer100 Posted November 21, 2010 Author Share Posted November 21, 2010 I would like to thank you for trying to help me, but I have reinstalled my MTA instead of going through the trouble. It is now fixed, and I found a way to stop the files from being overwritten. I marked them as "Read Only" so they will not be overwritten any longer. Thank you very much for your help, and I have now found the solution to the bug I was trying to fix. ( Free Roam's little "float ID" exploit to get Minigun and Rhino, which I have already fixed. ) -MrGamer100 Link to comment
dzek (varez) Posted November 21, 2010 Share Posted November 21, 2010 i didnt know about float ID bug, lol.. this is giving a lot possibilities (a.k.a. bugs) with other scripts i think Link to comment
MrGamer100 Posted November 21, 2010 Author Share Posted November 21, 2010 I'd give more mention of it, but someone reading this topic who doesn't know about the glitch will catch on to it, which will only give free roams even more problems... My current fix to it was to have removed the chat commands and leave it handled by VGUI (very easy fix), but I know another way that will work although it's quite time consuming. >_> Link to comment
dzek (varez) Posted November 21, 2010 Share Posted November 21, 2010 i dont think fixing this bug would be much time consuming.. Link to comment
MrGamer100 Posted November 23, 2010 Author Share Posted November 23, 2010 I fixed it just now, also had found a better way to fix it. viewtopic.php?f=108&t=30240&p=328271#p328271 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