Platin Posted January 4, 2016 Share Posted January 4, 2016 This is the error that kick them: Error downloading requested files. Transferred a partial file. [Transfer closed 1126080 bytes reaming to read] [newskins3/SkinsFolder/Jill_Army.txd] The patron changes for newskins2 and another folder, or newskins5 and other error too. The skins are fine and i can play with it, but some people just cant download them. Error in image: How can i fix it? This is the luas if you are interested: newskins2 / newskins3 / newskins5 function replaceModel() ----------------- Vehículos ----------------- txd = engineLoadTXD("VehiclesFolder/admiral.txd", 445) -- Ford Fusion v6 engineImportTXD(txd, 445) dff = engineLoadDFF("VehiclesFolder/admiral.dff", 445) engineReplaceModel(dff, 445) txd = engineLoadTXD("VehiclesFolder/patriot.txd", 470) -- Hummer H1 engineImportTXD(txd, 470) dff = engineLoadDFF("VehiclesFolder/patriot.dff", 470) engineReplaceModel(dff, 470) txd = engineLoadTXD("VehiclesFolder/sabre.txd", 475) -- Shana engineImportTXD(txd, 475) dff = engineLoadDFF("VehiclesFolder/sabre.dff", 475) engineReplaceModel(dff, 475) end addEventHandler("onClientResourceStart", resourceRoot, replaceModel) ----------- function replaceModel() ----------------- Skins ----------------- txd = engineLoadTXD("SkinsFolder/DTMiku.txd", 9) -- Dreamy Teatre MIKU engineImportTXD(txd, 9) dff = engineLoadDFF("SkinsFolder/DTMiku.dff", 9) engineReplaceModel(dff, 9) txd = engineLoadTXD("SkinsFolder/mikunew.txd", 10) -- Miku Hatsune MMD engineImportTXD(txd, 10) dff = engineLoadDFF("SkinsFolder/mikunew.dff", 10) engineReplaceModel(dff, 10) txd = engineLoadTXD("SkinsFolder/Jill Army.txd", 11) -- Jill Valentine Army engineImportTXD(txd, 11) dff = engineLoadDFF("SkinsFolder/Jill Army.dff", 11) engineReplaceModel(dff, 11) txd = engineLoadTXD("SkinsFolder/army.txd", 14) -- US Navy Seal engineImportTXD(txd, 14) dff = engineLoadDFF("SkinsFolder/army.dff", 14) engineReplaceModel(dff, 14) end addEventHandler("onClientResourceStart", resourceRoot, replaceModel) ----------- function replaceModel() ----------------- Skins ----------------- txd = engineLoadTXD("SkinsFolder/Widowmaker.txd", 12) -- Widowwaker engineImportTXD(txd, 12) dff = engineLoadDFF("SkinsFolder/Widowmaker.dff", 12) engineReplaceModel(dff, 12) txd = engineLoadTXD("SkinsFolder/krul.txd", 38) -- Krul engineImportTXD(txd, 38) dff = engineLoadDFF("SkinsFolder/krul.dff", 38) engineReplaceModel(dff, 38) txd = engineLoadTXD("SkinsFolder/wfybe.txd", 39) -- Light Honey engineImportTXD(txd, 39) dff = engineLoadDFF("SkinsFolder/wfybe.dff", 39) engineReplaceModel(dff, 39) txd = engineLoadTXD("SkinsFolder/army.txd", 14) -- US Navy Seal engineImportTXD(txd, 14) dff = engineLoadDFF("SkinsFolder/army.dff", 14) engineReplaceModel(dff, 14) end addEventHandler("onClientResourceStart", resourceRoot, replaceModel) all meta.xml <meta> <info author="Platin" type="script" name="Texture Modification for Default Skins" version="1.0.2" /> <script src="client.lua" type="client" /> <download_priority_group> -2 </download_priority_group> <file src="VehiclesFolder/admiral.txd" /> <file src="VehiclesFolder/admiral.dff" /> <file src="VehiclesFolder/patriot.txd" /> <file src="VehiclesFolder/patriot.dff" /> <file src="VehiclesFolder/sabre.txd" /> <file src="VehiclesFolder/sabre.dff" /> </meta> ----- <meta> <info author="Platin" type="script" name="Texture Modification for Default Skins" version="1.0.2" /> <script src="client.lua" type="client" /> <download_priority_group> -3 </download_priority_group> <file src="SkinsFolder/DTMiku.txd" /> <file src="SkinsFolder/DTMiku.dff" /> <file src="SkinsFolder/mikunew.txd" /> <file src="SkinsFolder/mikunew.dff" /> <file src="SkinsFolder/army.txd" /> <file src="SkinsFolder/army.dff" /> <file src="SkinsFolder/Jill Army.txd" /> <file src="SkinsFolder/Jill Army.dff" /> </meta> ---------- <meta> <info author="Platin" type="script" name="Texture Modification for Default Skins" version="1.0.2" /> <script src="client.lua" type="client" /> <download_priority_group> -5 </download_priority_group> <file src="SkinsFolder/Widowmaker.txd" /> <file src="SkinsFolder/Widowmaker.dff" /> <file src="SkinsFolder/krul.txd" /> <file src="SkinsFolder/krul.dff" /> <file src="SkinsFolder/wfybe.txd" /> <file src="SkinsFolder/wfybe.dff" /> </meta> Link to comment
Perfect Posted January 5, 2016 Share Posted January 5, 2016 engineLoadTXD and engineLoadDFF requires only 1 argument which is the path of the file you are replacing. Which simply means remove the skin ID number from these functions in your script. Link to comment
Platin Posted January 5, 2016 Author Share Posted January 5, 2016 engineLoadTXD and engineLoadDFF requires only 1 argument which is the path of the file you are replacing.Which simply means remove the skin ID number from these functions in your script. Well, that can help me, but the error is going to will still show up. I have literally a equal resource but with some other skins, and it work fine. But the problems arent the skins Link to comment
killeryoyo Posted January 5, 2016 Share Posted January 5, 2016 engineLoadTXD and engineLoadDFF requires only 1 argument which is the path of the file you are replacing.Which simply means remove the skin ID number from these functions in your script. Well, that can help me, but the error is going to will still show up. I have literally a equal resource but with some other skins, and it work fine. But the problems arent the skins well maybe there is a problem in your mods, the script looks good. maybe you can try replacing the mods with a modloader script Link to comment
Platin Posted January 5, 2016 Author Share Posted January 5, 2016 engineLoadTXD and engineLoadDFF requires only 1 argument which is the path of the file you are replacing.Which simply means remove the skin ID number from these functions in your script. Well, that can help me, but the error is going to will still show up. I have literally a equal resource but with some other skins, and it work fine. But the problems arent the skins well maybe there is a problem in your mods, the script looks good. maybe you can try replacing the mods with a modloader script Well, i will try that. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now