Jump to content

Changes I make to standard free roam don't save


MrGamer100

Recommended Posts

Posted

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

Posted

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

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

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...

Posted

(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. >.

Posted

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

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

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

Posted

i didnt know about float ID bug, lol.. this is giving a lot possibilities (a.k.a. bugs) with other scripts i think

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

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. >_>

Posted

i dont think fixing this bug would be much time consuming..

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...