Jump to content

TheM3ss

Member
  • Posts

    6
  • Joined

  • Last visited

TheM3ss's Achievements

  1. Very good tip, i have "finished" the mod but can always improve on it... i have little experience to lua and mostly wrote the mod while fishing for errors and learning as i progressed, will apply your suggestion to the existing mod. Thank you.
  2. Will give it a try... need to make my mod mp friendly and this will save me a lot of work. Thank you
  3. Solved it... changed from my soundcard to my onboard soundcard with the game running, exited the game... changed it back to my soundcard, deleted the file sounds.ini opened the game again and everything works fine now ... its probably something that has nothing to do with the game but with the audio engine from windows itself...
  4. I've encountered a weird "bug" where some sounds dont work, to be more specific the gun shot noises and almost everything related to combat has no sound... i can still hear the zombies dying but gunfire makes no sound, melee weapon hits makes no sound, opening and closing doors makes no sound. I have and older save where all the sounds are present in gameplay but whenever i start a new save no sounds from combat and other stuff, but every other sound from the game is present. I've removed all mods, same result. I've deleted my zomboid folder in users on windows, same result. I've uninstalled the game and downloaded it again from steam, same result. Uninstalled sound drivers and installed them again. Apart from reinstalling windows i ( which for me makes no sense since in the older save everything is fine ) i've tried everything i could think off... Browsed the foruns and i havent found anyone with the same issue neither a possible solution for it. Any other info i can provide just let me know what it is and ill post it gladly. Thank you for reading my post.
  5. By chance, i found 1 bug and someone else told me another one and the result is this... Max speed from start and engine at 0 rpm no fuel spent during travel.
  6. Hi, I've looked in the foruns trying to find something that might contain a solution for what i want to do. Is a simple mod intended only to allow me to export some info from the game into text files to be used with OBS. I want to get the info on the char to text files with: Time survived, number of zombies killed and his traits. The number of kills was easy and just browsing through the documentation i was able to do it in a simple way ( it may not be the best way but it works ) function zedkills() local player = getSpecificPlayer(0); local zedskilled = player:getZombieKills(); local writer = getFileWriter("zkills.txt", true, false); writer:write(tostring(zedskilled)); writer:close(); end So from what i read i was supposed to be able to get all the traits into a Variable - local CharTraits = player:GetTraits(); which should give me a arraylist with the traits i assume, but no matter what method i use to try and convert the arraylist to string and dump it into a file i always get an error saying Exception thrown java.lang.RuntimeException: attempted index: write of non-table: null at KahluaThread.tableget line:1689.. I know nothing of java and i am most likely doing something dumb and obviously wrong. So if possible, i would like to know the proper way to get the character info from the player object and to dump it into a text file. Googled everywhere and everything i could think off but after a week frying my brain over this i have made no progress and i think is time to ask for help with this subject.
×
×
  • Create New...