Truespin Posted January 5, 2008 Share Posted January 5, 2008 I was testing some at our server and I had the following: The mode "broph" (thanks Brophy ) and "race" were running together somehow. Everytime I died in any race, I was spawning in "broph" without any car. When a new race begins, I am back at the start in the car. When I am dead, I am back onfoot in "broph". This was fixed in this moment, I unloaded "broph". Link to comment
norby89 Posted January 5, 2008 Share Posted January 5, 2008 you should stop broph when playing any gamemode, to do that type '/stop broph' Link to comment
Truespin Posted January 5, 2008 Author Share Posted January 5, 2008 I know, but it would be better if MTA stops resources itself when starting a new one. I found another bug, but I dont want to post a new topic. So here it is: I played Hay yesterday and played a bit around with the admin-panel. So I gave myself a car that I "parked" somewhere at the ground. After that I played some other gamemodes with unloading the old ones. But now I started Hay again, and the car is still standing there. Link to comment
darkdreamingdan Posted January 7, 2008 Share Posted January 7, 2008 I know, but it would be better if MTA stops resources itself when starting a new one. No it wouldnt. Read up the resources system for details. I do agree that broph should be labelled as a gamemode however, so that two gamemodes cant be loaded at once. Link to comment
Truespin Posted January 7, 2008 Author Share Posted January 7, 2008 Okay, of course you need resources together. My question was not asked very well. I mean if you load a new gamemode or map. Cause you wont need two modes or maps togehter, dont you? Thank for the answear Link to comment
darkdreamingdan Posted January 7, 2008 Share Posted January 7, 2008 All gamemodes are flagged as the type "gamemode". This means when you use the command "gamemode " it will auto stop the previous gamemode, and start the new one. This is not the case if you use the "start" command. Unfortunately, broph is not marked as a gamemode (mainly so that people cant vote to play it), since its more like a sandbox environment. In other words, if you had the gamemode "stealth" started, you could do "gamemode cdm cdm-ls" which would stop stealth, and start CDM. Broph is an exception, you need to start it using "start broph", and the gamemode command wont stop it, so you need to do "stop broph". I hope that answers your question. Link to comment
Truespin Posted January 8, 2008 Author Share Posted January 8, 2008 Yes, thanks. Is there a way to flagg broph as a gametype now? Change change the meta.xml-file from map to gametype? Link to comment
darkdreamingdan Posted January 8, 2008 Share Posted January 8, 2008 Yes, thanks. Is there a way to flagg broph as a gametype now? Change change the meta.xml-file from map to gametype? Yeah, you can change the 'type' attribute from "script" to "gamemode" in the tag. Should work. Link to comment
kevuwk Posted January 9, 2008 Share Posted January 9, 2008 I know, but it would be better if MTA stops resources itself when starting a new one.I found another bug, but I dont want to post a new topic. So here it is: I played Hay yesterday and played a bit around with the admin-panel. So I gave myself a car that I "parked" somewhere at the ground. After that I played some other gamemodes with unloading the old ones. But now I started Hay again, and the car is still standing there. That isn't a bug, the admin panel made the vehicle so the admin resource owns that vehicle, the vehicle will only be destroyed if one of the resources uses destroyElement on it, you delete it from the admin panel (if that is even possible) or you stop/restart the admin resource. Link to comment
Recommended Posts