Map Locker
Map Locker
Hi Guys!
Would like to ask a question here.
I am making a HL2:DM RP map for my rp server, and i was wondering if there was a way to lock a map.
For example: If players download my map and then they want to put it on there own server it would crash it unless they have a plugin on the server.
Is there a certain script i have to make with sourcemod? And how do i make the map search for the script??
Thank You
Would like to ask a question here.
I am making a HL2:DM RP map for my rp server, and i was wondering if there was a way to lock a map.
For example: If players download my map and then they want to put it on there own server it would crash it unless they have a plugin on the server.
Is there a certain script i have to make with sourcemod? And how do i make the map search for the script??
Thank You
Re: Map Locker
There really isn't any 100% perfect way to lock a map. If someone is really determined, they can just decompile the map and search for whatever you added.
One common way that most people lock RP maps is to have a logic_auto trigger a game_end to run on OnMapStart. Then on the server, you would have to either, rename game_end in the server.dll (if windows) or make a plugin to remove/delete the game_end entity when the map loads, so when someone joins, the logic_auto will ask for the game_end to fire, but nothing will actually happen since the entity doesn't exist.
One common way that most people lock RP maps is to have a logic_auto trigger a game_end to run on OnMapStart. Then on the server, you would have to either, rename game_end in the server.dll (if windows) or make a plugin to remove/delete the game_end entity when the map loads, so when someone joins, the logic_auto will ask for the game_end to fire, but nothing will actually happen since the entity doesn't exist.
Re: Map Locker
spawn logic_auto, give it a name and make it so it removes "worldspawn" onmapspawn then remove the logic_auto using stripper:source plugin
@ant's method
you probably would have to rename it each time you update server or do something cron jobs related
@ant's method
you probably would have to rename it each time you update server or do something cron jobs related
Re: Map Locker
that works also, but like most methods, anyone can do the same and decompile (or even open in Notepad++) to get the entity name.Xseba360 wrote:spawn logic_auto, give it a name and make it so it removes "worldspawn" onmapspawn then remove the logic_auto using stripper:source plugin
Re: Map Locker
I found a way to complete lock it like Valve HL2 maps, but I don't want to share it.
Using the general lock Tools, info_target, Tools/lock texture or anything like this will still be decompiled by bsp source.
Using the general lock Tools, info_target, Tools/lock texture or anything like this will still be decompiled by bsp source.
Re: Map Locker
are valve hl2 maps even locked?!Peter Brev wrote:I found a way to complete lock it like Valve HL2 maps, but I don't want to share it.
Using the general lock Tools, info_target, Tools/lock texture or anything like this will still be decompiled by bsp source.
Re: Map Locker
Yes, if you open them from gcf, some are not usuable.Xseba360 wrote:are valve hl2 maps even locked?!Peter Brev wrote:I found a way to complete lock it like Valve HL2 maps, but I don't want to share it.
Using the general lock Tools, info_target, Tools/lock texture or anything like this will still be decompiled by bsp source.
Re: Map Locker
because some arent even stored in that GCF but are visible as entries.Peter Brev wrote:Yes, if you open them from gcf, some are not usuable.Xseba360 wrote:are valve hl2 maps even locked?!Peter Brev wrote:I found a way to complete lock it like Valve HL2 maps, but I don't want to share it.
Using the general lock Tools, info_target, Tools/lock texture or anything like this will still be decompiled by bsp source.
Re: Map Locker
I FOUND A WAY TO HACK ALL SERVERS AND CURE CANCER BUT I DON'T WANT TO SHARE IT. I JUST WANTED TO LET EVERYONE KNOW ABOUT HOW AWESOME I AM AND MAKE THEM CARE ABOUT MEPeter Brev wrote:I found a way to [...] but I don't want to share it.
Re: Map Locker
That's funny how you think I'm reading.Stefan wrote:I FOUND A WAY TO HACK ALL SERVERS AND CURE CANCER BUT I DON'T WANT TO SHARE IT. I JUST WANTED TO LET EVERYONE KNOW ABOUT HOW AWESOME I AM AND MAKE THEM CARE ABOUT MEPeter Brev wrote:I found a way to [...] but I don't want to share it.
- commander fury
- Former Server Admin
- Posts: 2432
- Joined: Tue Jan 08, 2013 12:37 pm
- Location: France
Re: Map Locker
How I see thatPeter Brev wrote:That's funny how you think I'm reading.Stefan wrote:I FOUND A WAY TO HACK ALL SERVERS AND CURE CANCER BUT I DON'T WANT TO SHARE IT. I JUST WANTED TO LET EVERYONE KNOW ABOUT HOW AWESOME I AM AND MAKE THEM CARE ABOUT MEPeter Brev wrote:I found a way to [...] but I don't want to share it.
Spoiler
Show
Re: Map Locker
LOLcommander fury wrote:How I see thatPeter Brev wrote:That's funny how you think I'm reading.Stefan wrote: I FOUND A WAY TO HACK ALL SERVERS AND CURE CANCER BUT I DON'T WANT TO SHARE IT. I JUST WANTED TO LET EVERYONE KNOW ABOUT HOW AWESOME I AM AND MAKE THEM CARE ABOUT MEClues : Ginger dog = Stefan.Black dog = Peter.SpoilerShow
Ginger Dog?
Re: Map Locker
how bout 'Orange Dog'?myback wrote: Ginger Dog?
also get on steam