Posted July 12, 200519 yr I was browsing through all of the BF2 files and found the unlock file for all of weapons. The file is located in C:\Program Files\EA GAMES\Battlefield 2\python\bf2\stats. The file should be named unlocks.py. Open the file in WordPad or Notepad. Any should work. Find where it says: defaultUnlocks = [0, 0, 0, 0, 0, 0, 0]. Change all of the 0's to 1's. This should unlock all weapons, and as long as you don't make it obviouis EA Games will not find out. Enjoy.
July 13, 200519 yr Author Only works for DEMO Okay, so I guess it only works for me. Lmao, do you even have BF2? I've been playing with all of the unlocked weapons pretty much all day. EDIT: Then again I don't have the latest patch, but I don't see how that would effect the unlock script.
July 13, 200519 yr class UnlockSet: pass def onPlayerConnect(player): defaultUnlocks = [1, 1, 1, 1, 1, 1, 1] host.pers_plrSetUnlocks(player.index, defaultUnlocks, defaultUnlocks) works! :wow: :naughtyd: maybe you have to change the kitlock too? :O_o: kitUnlocks = [1, 1, 1, 1, 1, 1, 1] for item in unlocks: if item in unlockItemMap: kitUnlocks[unlockItemMap[item]] = 1
July 13, 200519 yr Author I think this might be a problem, but I'm not yet for sure. When I did this, I went on Single-Player first to test it out. Of course it worked. Afterwards, I went to multiplayer and it also worked. You might want try to that.
July 14, 200519 yr Author I found out how to make it work on Multiplayer. Like Bcos said earlier, find where it says kitUnlocks = [0, 0, 0, 0, 0, 0, 0] for item in unlocks: if item in unlockItemMap: kitUnlocks[unlockItemMap[item]] = 0 Change every 0 to a 1. Then it should work on multiplayer. Enjoy.
July 17, 200519 yr Author I don't even play the game that much. So, I don't know if it will work with the new patch or not. It works without the new patch. I'm a 100% sure of that. If it doesn't work with the new patch, too bad.
July 19, 200519 yr I have not tried it yet, but i am a lance corporal on a legal way, and i unlocked the G3, but there is no change in the unlock.py! i think that there would be no effect...
July 25, 200519 yr i know this threads old but it still dont fucking work i put every single 0 to a 1
July 28, 200519 yr they fixed all that shit, or its going 2 be fixed along with the god awful sniper...IN THE FACE? NO MAGICALLY HE USED HIS OUTER BODY MAGIC SHIELD TO PROTECT THE SNIPER BULLET FROM ENTERING HIS BODY, the M25 sucks dick atm
July 28, 200519 yr Also the weapons being unlocked were a freak occurence, an error in the EA auth servers. Currently there exists no method at all to unlock any of the weapons illegally/outside of the normal method. Earn it folks. :eek3d:
August 2, 200519 yr Yeah lmao, someone contacted EA about security holes in the servers. EA ignored them so to get their attention, the people exploited them.
August 3, 200519 yr I was browsing through all of the BF2 files and found the unlock file for all of weapons. The file is located in C:\Program Files\EA GAMES\Battlefield 2\python\bf2\stats. The file should be named unlocks.py. Open the file in WordPad or Notepad. Any should work. Find where it says: defaultUnlocks = [0, 0, 0, 0, 0, 0, 0]. Change all of the 0's to 1's. This should unlock all weapons, and as long as you don't make it obviouis EA Games will not find out. Enjoy. thnx :fingersx: