Mohaas.net | Medal of Honor Allied Assault Spearhead Community

Anti cheat script

Questions about scripting? Or new scripts made for you here!

Re: Anti cheat script

Postby Appelpitje » 16 May 2014, 19:30

Yes but it uses DMprecache which some mods also need, so u would need to merge them...
User avatar
Appelpitje
GUN
 
Posts: 122
Joined: 03 May 2014, 13:10
Location: Belgium

Re: Anti cheat script

Postby modder » 04 Aug 2014, 21:41

- Create a pk3 called zzzz-test.pk3.
- Create a folder called "global".
- Find any DMPrecache script from your game.
- Write the execute on the bottom of the DMPrecache script ("exec global/thefile.scr")
- Save the DMPrecache and put it together with the script from this thread into the folder global
- Save the pk3 file and restart your server

Remark:
- You cannot add a pk3 to a running game or server. You need to restart it
- If you have multiple DMPreache in multiple pk3 files, always the last one will be executed. The last one means the one in the pk3 file coming last in a sort-by-name order. That is why people name pk3 files like zzzz-...., to make sure it comes after the standard paks and other mods.
modder
2A
 
Posts: 370
Joined: 03 May 2014, 14:45

Re: Anti cheat script

Postby Time-bomb » 04 Aug 2014, 22:00

lol, before I can do that spearhead will be dead ;) sorry I don't understand a word you wrote. This is not my thingy like - Find any DMPrecache script from your game.
- Write the execute on the bottom of the DMPrecache script ("exec global/thefile.scr")
User avatar
Time-bomb
ESOE
 
Posts: 119
Joined: 06 May 2014, 18:01

Re: Anti cheat script

Postby Appelpitje » 04 Aug 2014, 22:05

Ill be on xfire in a min hang on. :)
User avatar
Appelpitje
GUN
 
Posts: 122
Joined: 03 May 2014, 13:10
Location: Belgium

Previous

Return to Modding / Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron