• DarkRP Installed models, but still show ERROR's.
    11 replies, posted
[img]http://gifok.net/images/2013/11/17/9Xe7E.png[/img][img]http://gifok.net/images/2013/11/17/kEWH6.png[/img] But when i choose job or buy weapon on which i see "ERROR" in preview, it's ok and no ERROR's. Only in Preview tabs. I uploaded workshop.vdf to server [code]"addons" { "1" "115753588" "2" "145276873" "3" "104482086" "4" "104996105" "5" "130223869" "6" "133342076" "7" "121961644" "8" "115093479" "9" "149491742" } [/code] And in start.bat [code] +host_workshop_collection 195871591 -authkey ******************************** [/code] But when i start server, few addon's show "DOWNLOAD FAILED!" On 20%-50% of downloaded. What's problem? Sorry for bad english. I have no idea in what problem. [editline]17th November 2013[/editline] [img]http://gifok.net/images/2013/11/17/P1At3.png[/img] I've uploaded .gma files from my game "addons" dir to server and now i don't see "DOWNLOAD FAILED ERRORS". [code] Mounting Addon 'NYPD 1940's Model-Group' (121961644) Mounting Addon 'M9K Weapons for DarkRP' (145276873) Mounting Addon 'rp_downtown_v2_fiend_v2b' (115093479) Mounting Addon 'Mafia Player Models' (149491742) Mounting Addon 'Police player model' (133342076) [/code] But as client i still have errors :( [img]http://gifok.net/images/2013/11/17/tRZAX.png[/img] Please, help me.
I'd hide the authkey with *'s if I were you. Show what shipments.lua and jobs.lua includes, could be wrong model path.
[QUOTE=CM Punk;42894751]I'd hide the authkey with *'s if I were you. Show what shipments.lua and jobs.lua includes, could be wrong model path.[/QUOTE] It's was ok on my local dedicated server, and when i was have all models/materials as client. But i try to delete and called my friends, everyone see error on previvew and few models in hands/jobs. I'll make video tomorrow about this problem. Problem in that when players connect he don't download workshop addons, but should. I don't know why. Now i show my shipments and jobs lua's. [B]Shipments[/B] [code] //-----------------Rifles DarkRP.createShipment("m416", { model = "models/weapons/w_hk_416.mdl", entity = "m9k_m416_drp", price = 5900, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_ADMIN} }) DarkRP.createShipment("AK-47", { model = "models/weapons/w_ak47_m9k.mdl", entity = "m9k_ak47_drp", price = 3750, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("MP5", { model = "models/weapons/w_hk_mp5.mdl", entity = "m9k_mp5_drp", price = 2900, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_ADMIN} }) DarkRP.createShipment("UMP45", { model = "models/weapons/w_hk_ump45.mdl", entity = "m9k_ump45_drp", price = 2500, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN, TEAM_ADMIN} }) DarkRP.createShipment("UZI", { model = "models/weapons/w_uzi_imi.mdl", entity = "m9k_uzi_drp", price = 1700, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN, TEAM_ADMIN} }) //----------------Shotguns DarkRP.createShipment("Benelli M3", { model = "models/weapons/w_benelli_m3.mdl", entity = "m9k_m3_drp", price = 1900, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN, TEAM_ADMIN} }) //----------------Snipers DarkRP.createShipment("Remington7615P", { model = "models/weapons/w_remington_7615p.mdl", entity = "m9k_remington7615p_drp", price = 4750, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN, TEAM_ADMIN} }) //----------------Pistols DarkRP.createShipment("USP", { model = "models/weapons/w_pist_fokkususp.mdl", entity = "m9k_usp_drp", price = 970, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_ADMIN} }) DarkRP.createShipment("HK45", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_hk45_drp", price = 1, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_ADMIN} }) DarkRP.createShipment("Colt1911", { model = "models/weapons/s_dmgf_co1911.mdl", entity = "m9k_colt1911_drp", price = 1150, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN, TEAM_ADMIN} }) DarkRP.createShipment("Python", { model = "models/weapons/w_colt_python.mdl", entity = "m9k_coltpython_drp", price = 1150, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_ADMIN, TEAM_ADMIN} }) DarkRP.createShipment("M92Beretta", { model = "models/weapons/w_beretta_m92.mdl", entity = "m9k_m92beretta_drp", price = 500, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN, TEAM_ADMIN} }) DarkRP.createShipment("M92FS", { model = "models/weapons/w_pist_m9f.mdl", entity = "m9k_m92fs_drp", price = 1550, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN, TEAM_ADMIN} }) DarkRP.createShipment("Honey Badger", { model = "models/weapons/w_aac_honeybadger.mdl", entity = "m9k_honeybadger_drp", price = 2850, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M24", { model = "models/weapons/w_snip_m24_6.mdl", entity = "m9k_m24_drp", price = 5750, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) [/code] [B]Jobs[/B] [code] TEAM_CITIZEN = AddExtraTeam("Гражданин", { color = Color(20, 150, 20, 255), model = { "models/player/Group01/Female_01.mdl", "models/player/Group01/Female_02.mdl", "models/player/Group01/Female_03.mdl", "models/player/Group01/Female_04.mdl", "models/player/Group01/Female_06.mdl", "models/player/Group01/Male_02.mdl", "models/player/Group01/Male_04.mdl", "models/player/Group01/Male_05.mdl", "models/player/Group01/Male_06.mdl", "models/player/Group01/Male_07.mdl", "models/player/Group01/Male_08.mdl", "models/player/Group01/Male_09.mdl" }, description = [[ Обычный гражданин У этой роли нет никаких особенностей ]], weapons = {}, command = "citizen", max = 0, salary = 45, admin = 0, vote = false, hasLicense = false, candemote = false }) TEAM_RUGANG = AddExtraTeam("Русский Мафиози", { color = Color(255, 128, 0, 255), model = "models/humans/mafia/male_08.mdl", description = [[ Член Русской мафии, подчиняется Боссу Русской Мафии. Вы никогда не работаете один, за исключением случаев когда вы получили личиное задание от Босса. ]], weapons = {}, command = "rusmaf", max = 8, salary = 45, admin = 0, vote = false, hasLicense = false }) TEAM_RUMOB = AddExtraTeam("Босс Русской Мафии", { color = Color(215, 110, 255), model = "models/humans/mafia/male_07.mdl", description = [[ Босс Русской Мафии, под его контролем все Русские мафиози штата, он даёт им задания, имеет право наказать за неподчинение или же неуспешное выпол- нение задания вплоть до убийства. Так же он владеет навыками взлома и может в&#
Need heeeelp. :(
you probably havent made add.resources?
[QUOTE=bobo1332;43076818]you probably havent made add.resources?[/QUOTE] It's [URL="http://wiki.garrysmod.com/page/resource/AddFile"]resource.AddFile[/URL] and that's not what he's looking for as he uses Workshop. OP, you want to take a look at [URL="http://wiki.garrysmod.com/page/resource/AddWorkshop"]resource.AddWorkshop[/URL]
I will clarify the problem. Look at image: [url=http://gifok.net/images/2013/12/09/1Uwa.jpg]CLICK HERE TO SEE BIG IMAGE[/url] Example: UZI. Look at shipment. You see that UZI is ok as "World Prop" and without "ERROR"'s. But i don't know why, in "F4" preview icon shows ERROR!? And it's happen with some other weapons but "Banelli M3" and "Colt". I have no idea. I check model folder and etc. all ok. Please, help.
[QUOTE=mecheniy286;43122402]I will clarify the problem. Look at image: [url=http://gifok.net/images/2013/12/09/1Uwa.jpg]CLICK HERE TO SEE BIG IMAGE[/url] Example: UZI. Look at shipment. You see that UZI is ok as "World Prop" and without "ERROR"'s. But i don't know why, in "F4" preview icon shows ERROR!? And it's happen with some other weapons but "Banelli M3" and "Colt". I have no idea. I check model folder and etc. all ok. Please, help.[/QUOTE] Have you made a resource.AddWorkshop file yet?
Go to sandbox and rerender those icons.
[QUOTE=Robotboy655;43125383]Go to sandbox and rerender those icons.[/QUOTE] He hasn't sent those world models to clients though, so they won't be able to see them anyways.
[QUOTE=code_gs;43125428]He hasn't sent those world models to clients though, so they won't be able to see them anyways.[/QUOTE] You read my last post? [QUOTE=mecheniy286;43122402]I will clarify the problem. Look at image: [url=http://gifok.net/images/2013/12/09/1Uwa.jpg]CLICK HERE TO SEE BIG IMAGE[/url] Example: UZI. Look at shipment. You see that UZI is ok as "World Prop" and without "ERROR"'s. But i don't know why, in "F4" preview icon shows ERROR!? And it's happen with some other weapons but "Banelli M3" and "Colt". I have no idea. I check model folder and etc. all ok. Please, help.[/QUOTE] I've added resource.AddWorkshop but it's not fixed "ERROR" in icon preview. [img]http://gifok.net/images/2013/12/10/iIea9.png[/img]
Fixed/Solved. Problem was in that my gmod was in old directory - "steamapps/USERNAME/garrysmod". Reinstalled it. Thank you all for help.
Sorry, you need to Log In to post a reply to this thread.