oujimikael Posted September 9, 2014 Share Posted September 9, 2014 Thank you blindcoder for sharing your patch *o* I will try it as soon as i have the time. I love you !!! blindcoder 1 Link to comment Share on other sites More sharing options...
gaunti12 Posted September 10, 2014 Share Posted September 10, 2014 For some reason it's not working for me. The spraycans get equiped like they should and I can move the ghosttiles around, but when I "place" a sprayitem nothing happens. The Ghosttile remains where I clicked, even if I start walking around. It vanishes only when I right click again. Sometimes my char starts walking to the place he was supposed to spray something after the second right click that makes the Ghosttile disappear. I found a reference to luautils.lua and that file is in the RKFmod, too. Maybe there is some change of code in there that is conflicting?! Link to comment Share on other sites More sharing options...
blindcoder Posted September 11, 2014 Share Posted September 11, 2014 For some reason it's not working for me. The spraycans get equiped like they should and I can move the ghosttiles around, but when I "place" a sprayitem nothing happens. The Ghosttile remains where I clicked, even if I start walking around. It vanishes only when I right click again. Sometimes my char starts walking to the place he was supposed to spray something after the second right click that makes the Ghosttile disappear. I found a reference to luautils.lua and that file is in the RKFmod, too. Maybe there is some change of code in there that is conflicting?! Can you try this version: https://oc.anderdonau.de/public.php?service=files&t=d6052d142f0ec7e790397d769db92104 Link to comment Share on other sites More sharing options...
gaunti12 Posted September 12, 2014 Share Posted September 12, 2014 Hi I did try this version. Didn't work. But my PZ is acting weird lately. For example I use canning mod but can't put apples, carrots or oranges in cans, but still can put corn or broccoli in cans. Will redownload PZ now. BTW I made a necroforge support based on a file you made for some other mod:Events.OnGameStart.Add( function () if NecroList then if NecroList.Items.SpraycanWhite then else NecroList.Items.SpraycanWhite = {"Misc.", nil, nil, "Spraycan White", "spraypaint.SpraycanWhite", "Item_TZ_Spraycan_White", nil, nil, nil}; end if NecroList.Items.SpraycanRed then else NecroList.Items.SpraycanRed = {"Misc.", nil, nil, "Spraycan Red", "spraypaint.SpraycanRed", "Item_TZ_Spraycan_Red", nil, nil, nil}; end if NecroList.Items.SpraycanBlue then else NecroList.Items.SpraycanBlue = {"Misc.", nil, nil, "Spraycan Blue", "spraypaint.SpraycanBlue", "Item_TZ_Spraycan_Blue", nil, nil, nil}; end if NecroList.Items.SpraycanGreen then else NecroList.Items.SpraycanGreen = {"Misc.", nil, nil, "Spraycan Green", "spraypaint.SpraycanGreen", "Item_TZ_Spraycan_Green", nil, nil, nil}; end if NecroList.Items.SpraycanOrange then else NecroList.Items.SpraycanOrange = {"Misc.", nil, nil, "Spraycan Orange", "spraypaint.SpraycanOrange", "Item_TZ_Spraycan_Orange", nil, nil, nil}; end if NecroList.Items.SpraycanYellow then else NecroList.Items.SpraycanYellow = {"Misc.", nil, nil, "Spraycan Yellow", "spraypaint.SpraycanYellow", "Item_TZ_Spraycan_Yellow", nil, nil, nil}; end if NecroList.Items.SpraycanViolet then else NecroList.Items.SpraycanViolet = {"Misc.", nil, nil, "Spraycan Violet", "spraypaint.SpraycanViolet", "Item_TZ_Spraycan_Violet", nil, nil, nil}; end if NecroList.Items.SpraycanBlack then else NecroList.Items.SpraycanBlack = {"Misc.", nil, nil, "Spraycan Black", "spraypaint.SpraycanBlack", "Item_TZ_Spraycan_Black", nil, nil, nil}; end if NecroList.Items.SpraycanCyan then else NecroList.Items.SpraycanCyan = {"Misc.", nil, nil, "Spraycan Cyan", "spraypaint.SpraycanCyan", "Item_TZ_Spraycan_Cyan", nil, nil, nil}; end end -- add garbage bag --if NecroList then --if NecroList.Items.Garbagebag then --else --print("Adding garbage Mybags to necro list"); --NecroList.Items.Garbagebag = {"Carpentry", nil, nil, "Garbage bag", "Base.Garbagebag", "Item_Garbagebag", nil, nil, nil}; -- NecroList.Items.radio = {"Carpentry", nil, nil, "radio", "Recycling.Radio", "Item_DVDplayer", nil, nil, nil}; --end --endend) blindcoder 1 Link to comment Share on other sites More sharing options...
blindcoder Posted September 12, 2014 Share Posted September 12, 2014 Hi I did try this version. Didn't work. But my PZ is acting weird lately. For example I use canning mod but can't put apples, carrots or oranges in cans, but still can put corn or broccoli in cans. Will redownload PZ now. BTW I made a necroforge support based on a file you made for some other mod: Cool, I'll add them for the next tarball then What about the garbage bags there? It seems that working vs. not working is very different between users. If you can provide your Zomboid\console.txt of a game where you tried and it didn't work that would certanily help debugging. Link to comment Share on other sites More sharing options...
gaunti12 Posted September 12, 2014 Share Posted September 12, 2014 The garbage bags are just an example how to code an item to add that was in the original file. I've kept it as a reference. After redownloading PZ and leaving it in the original steamfolder this time^^ the bug persists. The only mods I have activated are necroforge and the spraycanmod from your link above. I deleted the whole PZ folder, that I had moved to E:/ before (zomboid folder where mods are left intact), deleted console.txt and made a new blank console.txt. Redownloaded PZ via steam and started the game with the ProjectZomboid64.exe. Sandbox with no zombies, abundant loot and 2 hours day. Profession firefighter, strong, and... I think shortsighted, the "gets drunk fast" and "bad hearing" traits. Added Black spraycan to inventory via Necroforge after I found no cans in the house I spawned. BTW I took a baseballbat and equiped it first. Tried spraying a black cross in the house and another symbol outside on the street. Bug was again: Ghosttile shows up after spraycan gets equiped, I leftclick where I want it but nothing happens. The ghosttile stays where I click, but if I walk there the ghosttile is floating "above" the charackter. When I rightclick anywhere again, the ghosttile vanishes and the charackter walks to the place where the ghosttile was. but nothing else happens. After I tried that I quit to main menu and closed the game from mainmenu. Console.txt follows in next postGoddammit I think it's too much text for the forum to handle.... attached console.txtconsole.txt as file Link to comment Share on other sites More sharing options...
blindcoder Posted September 13, 2014 Share Posted September 13, 2014 The garbage bags are just an example how to code an item to add that was in the original file. I've kept it as a reference. After redownloading PZ and leaving it in the original steamfolder this time^^ the bug persists. The only mods I have activated are necroforge and the spraycanmod from your link above. I deleted the whole PZ folder, that I had moved to E:/ before (zomboid folder where mods are left intact), deleted console.txt and made a new blank console.txt. Redownloaded PZ via steam and started the game with the ProjectZomboid64.exe. Sandbox with no zombies, abundant loot and 2 hours day. Profession firefighter, strong, and... I think shortsighted, the "gets drunk fast" and "bad hearing" traits. Added Black spraycan to inventory via Necroforge after I found no cans in the house I spawned. BTW I took a baseballbat and equiped it first. Tried spraying a black cross in the house and another symbol outside on the street. Bug was again: Ghosttile shows up after spraycan gets equiped, I leftclick where I want it but nothing happens. The ghosttile stays where I click, but if I walk there the ghosttile is floating "above" the charackter. When I rightclick anywhere again, the ghosttile vanishes and the charackter walks to the place where the ghosttile was. but nothing else happens. After I tried that I quit to main menu and closed the game from mainmenu. Console.txt follows in next postGoddammit I think it's too much text for the forum to handle.... attached console.txtconsole.txt as file Well, fuck me gently with a chainsaw... I have found the error!See, it never happened for me, because I always carry around a Hammer. And new building mods that explicitly don't require a Hammer now need to set the option noNeedHammer = true. So you can either go into the file Zomboid/mods/spraypaint/media/lua/server/BuildingObjects/tag.lua and add the lineo.noNeedHammer = true;into the function Tag:new or download the new version here:https://oc.anderdonau.de/public.php?service=files&t=3fc0397016d7d53866e3f96089f74404 Have fun Wasteland, gaunti12 and Thuztor 3 Link to comment Share on other sites More sharing options...
gaunti12 Posted September 13, 2014 Share Posted September 13, 2014 Great! Thanx a lot! Link to comment Share on other sites More sharing options...
Wasteland Posted September 13, 2014 Share Posted September 13, 2014 This works perfect now! thank you! Link to comment Share on other sites More sharing options...
blindcoder Posted September 17, 2014 Share Posted September 17, 2014 I've added a fix that affected some servers (and maybe clients, too). Please try this V3 download if you experienced any problems (won't hurt to use even if you didn't have problems)https://oc.anderdonau.de/public.php?service=files&t=10a9d8cb4d5a14408693cd53296c1a62 gaunti12 1 Link to comment Share on other sites More sharing options...
EvaN Posted October 15, 2014 Share Posted October 15, 2014 Loving this mod so far, last version works well with build 29. My only gripe with it was that I kept finding too much of those (about 6-8 per house on average), so I altered the loot chances in spraypaint/media/lua/server/Items/spraypaint_suburbsdistribution.lua, all from 1/2 to 0.01 and only findable in crates, metal shelves and garagestorage, now I find one every 3-4 houses, which feels just fine. The script :-- WHITEtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanWhite");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanWhite");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanWhite");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--REDtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanRed");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanRed");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanRed");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--BLUEtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanBlue");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanBlue");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanBlue");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--GREENtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanGreen");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanGreen");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanGreen");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--ORANGEtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanOrange");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanOrange");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanOrange");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--YELLOWtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanYellow");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanYellow");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanYellow");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--VIOLETtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanViolet");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanViolet");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanViolet");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--CYANtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanCyan");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanCyan");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanCyan");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01);--BLACKtable.insert(SuburbsDistributions["all"]["crate"].items, "spraypaint.SpraycanBlack");table.insert(SuburbsDistributions["all"]["crate"].items, 0.01);table.insert(SuburbsDistributions["all"]["metal_shelves"].items, "spraypaint.SpraycanBlack");table.insert(SuburbsDistributions["all"]["metal_shelves"].items, 0.01);table.insert(SuburbsDistributions["garagestorage"]["all"].items, "spraypaint.SpraycanBlack");table.insert(SuburbsDistributions["garagestorage"]["all"].items, 0.01); blindcoder 1 Link to comment Share on other sites More sharing options...
blindcoder Posted October 15, 2014 Share Posted October 15, 2014 Loving this mod so far, last version works well with build 29. My only gripe with it was that I kept finding too much of those (about 6-8 per house on average), so I altered the loot chances in spraypaint/media/lua/server/Items/spraypaint_suburbsdistribution.lua, all from 1/2 to 0.01 and only findable in crates, metal shelves and garagestorage, now I find one every 3-4 houses, which feels just fine. The script : Sounds reasonable to me, and I agree that there were waay too many of them. I've included the new distribution locally and will soon upload a new tar with this included. EvaN 1 Link to comment Share on other sites More sharing options...
Wasteland Posted October 27, 2014 Share Posted October 27, 2014 Loving this mod so far, last version works well with build 29. My only gripe with it was that I kept finding too much of those (about 6-8 per house on average), so I altered the loot chances in spraypaint/media/lua/server/Items/spraypaint_suburbsdistribution.lua, all from 1/2 to 0.01 and only findable in crates, metal shelves and garagestorage, now I find one every 3-4 houses, which feels just fine. The script : Sounds reasonable to me, and I agree that there were waay too many of them. I've included the new distribution locally and will soon upload a new tar with this included. I'm not sure if it works well after the last update. I mean, so far i can see, those signs anr not seen by other players. Also i'm getting this:-----------------------------------------STACK TRACE-----------------------------------------Callframe at: getSpecificPlayerfunction: onSpray -- file: spraypaintMenu.lua line # 95function: Add -- file: keys.lua line # 73no pipe on right clickno barrel on right clickNo valid door to open.no pipe on right clickno barrel on right click Link to comment Share on other sites More sharing options...
Bounty Posted November 25, 2014 Share Posted November 25, 2014 I try to use this mod but, when i click on any symbols and then on the can's color doesn't do anything, i see the bar upon char's head but nothing appear on the ground... Link to comment Share on other sites More sharing options...
chthonic Posted November 26, 2014 Share Posted November 26, 2014 yep the mod has been outdated for a long time now Link to comment Share on other sites More sharing options...
Hydromancerx Posted December 4, 2014 Share Posted December 4, 2014 Anyone know how to fix this mod? Too bad spray cans are not part of the core game. They seem like they should be if you can have paint buckets. Link to comment Share on other sites More sharing options...
Meabe Posted December 5, 2014 Share Posted December 5, 2014 yep the mod has been outdated for a long time nowNot at all. Until the last maj (30), he worked. ( But the main post is outdated ok, u have to pick the last link of the topic.) Btw at the monment, spray can are in game but unable to use. Link to comment Share on other sites More sharing options...
Gaeniel Posted January 3, 2015 Share Posted January 3, 2015 It's not working for me with the latest game version. Nothing happens when i click, the character is just equiping the item in the secondary slot and... nothing. He's not even moving where he should paint. Too bad. Link to comment Share on other sites More sharing options...
blindcoder Posted January 16, 2015 Share Posted January 16, 2015 I have updated this mod to work with Build 30.16: Edit: Removed link to broken version Link to comment Share on other sites More sharing options...
blindcoder Posted January 17, 2015 Share Posted January 17, 2015 Okay, here's V5 which actually lets you load saves where you drew tags. Backwards compatible, so if your save doesn't load with the V4, it will load with this one: https://oc.anderdonau.de/public.php?service=files&t=196d97b85e7a36896d8760a751ae9904 Sorry for the problems. Thuztor and Svarog 2 Link to comment Share on other sites More sharing options...
Gaeniel Posted January 22, 2015 Share Posted January 22, 2015 Hi, thanks for updating the mod, but with the newest link the mod doesn't work. I can't paint anything. With the previous link, it was working but other players couldn't see the paintings. Link to comment Share on other sites More sharing options...
Hydromancerx Posted January 24, 2015 Share Posted January 24, 2015 I can't seem to draw an X. But a Circle and Triangle work as well as many o the arrows and special symbols. Link to comment Share on other sites More sharing options...
blindcoder Posted January 24, 2015 Share Posted January 24, 2015 I can't seem to draw an X. But a Circle and Triangle work as well as many o the arrows and special symbols. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! (When in panic, when in doubt, run in circles, scream and shout.) Sorry for that one, I needed to get it out of my system because that is SUCH A FSCKING STUPID BUG!Here, thy this version: https://oc.anderdonau.de/public.php?service=files&t=e75f4689e3cdaa4f7a3fbe640190d91a Link to comment Share on other sites More sharing options...
EvaN Posted January 25, 2015 Share Posted January 25, 2015 *Taps blindcoder on the back*There there, it'll be allright Link to comment Share on other sites More sharing options...
Ornament Posted March 28, 2015 Share Posted March 28, 2015 Sorry for necromancing this thread.I really like this mod but it doesn't work with the latest version If I click on the colour after i've chosen the symbol, nothing happens, except that the can will be equipped in the secondary slot.The menu stays open and no symbol appears on the ground.Can anyone help me? (Perhaps someone fixed it on his own or there is a similiar mod out there?)With the latest version I started playing this game again after a longer break. And this mod helps me to get some system in my game.Thanks in advance Edit: I've used the last link of Blindcoder Link to comment Share on other sites More sharing options...
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