Jump to content

Dr_Cox1911

Member
  • Posts

    814
  • Joined

Everything posted by Dr_Cox1911

  1. Thanks, was thinking about modData too but I don't know when this is loaded/reapplied to the item. There is the event "onLoadModDataFromServer", but this isn't used anywhere in TIS code, so I'm not sure how it works. How do I reapply the cooling effect then to every specific cooling box item there is in the world?
  2. Greetings, I'm trying to code a cooling box. The cooling aspect works, but when I reload my save all my cooling containers stop cooling. My cooling box is based on coldpacks, so the more coldpacks are in it the higher the cooling effect is. To achieve the cooling effect I use the "setCustomTemperature"-function, but this doesn't seem to be saved. I looked through the IsoObject and found this: public void saveChange(String change, KahluaTable tbl, ByteBuffer bb) { if ("container.customTemperature".equals(change)) { if (this.getContainer() != null) { bb.putFloat(this.getContainer().getCustomTemperature()); } else { bb.putFloat(0.0F); } Unfortunately I don't think that I can call this function from LUA (all my attempts ended in a Stack Trace with a nil error, don't know what to pass as the ByteBuffer).
  3. I started this a few weeks back. Instead of ice I used the coldpacks shipped with the game. Unfortunately I hit a rather big problem that I couldn't fix: Upon loading a save you would need to remove and add the coldpacks to every cold box again in order to gain the cooling effect again. EDIT: This get's more a must-have-feature once vehicles finally drop in the normal build. Would be damn nice to have some boxes in your car for proper "safehouse-cars".
  4. Really hope there will be a replacement soon.
  5. I use Atom to code for PZ (and as a general text editor). Prefer it over Notepad++ but needs some love at first to run like you want it. There are a bunch of plugins for it that will customize the editor to your liking. Mainly switched to it because it is available for other operating systems as well.
  6. I admit it, I didn't read the whole thread, please don't punch me Does the game freeze for you guys as well when running windowmode and clicking outside/minimize the game? The music is running fine, but I can't interact with the game anymore, have to kill it to get rid of it. My Systemspecs: Linux Mint 18.3 Cinnamon 64bit (Kernel 4.10.0-38) Core i7 2600k 16GB RAM PZ installed on Crucial SSD MSI GTX970 Attached is my options.ini, nothing in the console.txt though. options.ini
  7. As stated in my posts above: at first it didn't work with the branch line because the linux dedicated server wasn't properly distributed through steam. If you alter your branch line now it works just fine.
  8. Works just fine for me now (seems like the dedicated server wasn't pushed at first). My branch line in lgsm looks as follows: branch="-beta iwillbackupmysave -betapassword iaccepttheconsequences"
  9. When you log in as an admin you bypass the file-check, that's why you don't get the error. The "normal" vehicle branch is AFAIK discontinued, as it is switched to IWBUMS.
  10. Looks like TIS forgot to update the linux dedicated server (again). This will get fixed soon (I hope).
  11. Should look like this: branch="-beta vehicle"
  12. Just uploaded it to workshop. Unfortunately I had to remove the examples.zip, because Steam doesn't alllow any compressed files within the mod. No changenotes as of yet (because it's v1.0). Link to the Workshop page (Hope everything is fine @Fenris_Wolf, if not just hit me with the changes that I should do)
  13. Any wishes/suggestions/pics for the workshop preview picture?
  14. Didn't check it 100% but it seems to be pretty easy. Look at "lua/client/LastStand/YouHaveOneDay.lua". There are the special conditions of that challenge coded, so if you copy that file to your mod and alter it to your liking this should work.
  15. For some reason my JDgui doesn't want to start right now, so I can't check the java source for this. I want to display a icon above a players head just like the skull when the safety is off. I looked through the lua files and didn't find anything related to the skull, only to the safety indicator at the bottom right of the screen.
  16. So it would have two places for carpentry buildings: the official stuff from TIS in a radial the mod stuff from mods Not really intuitive to me, but oh well if it's the way TIS will want to go so be it.
  17. And what if a mod adds a bunch of stuff to build? I fear that it will be radial after radial after radial, ...
  18. I personally don't really like the idea of having this for something like carpentry. With radial-menus it's way harder to organize many entries in proper way without extremely adding depth to it with sub-categories. It looks way prettier than the ordinary context-menus though, but imagine more then 15/20 entries in a radial fashion kinda frightens me.
  19. Can do if you want Just started to watch the github, poke me if you think it's ready or need someone extern to test something.
  20. Thanks! That fixed it (should have tried that first, sorry for bothering you guys).
  21. Started the server with -Ddebug and that's the line it stops: 1518986043132 zone: cut zone into 1 pieces x,y,z=10800,13200,0 Do you guys need the whole log? If yes I would get rid of some "personal" infos in it an post it in here. EDIT: Just edited all the "personal" info out of the log, here it is: server-console_vehicle.txt
  22. Yep, no mods, just the default setup with the default map.
  23. No hurry, but yes, its use would be rather limited if its not on Steam. My ultimate hope: more of such frameworks would find its way into the base game, would make modding so much easier. And thats not just the profession-system, pretty much all of it could use a proper framework for interacting.
  24. Can't even put in words how much I love this Hope this finds its way on to steam.
  25. Greetings, currently doing some tests with the vehicle build but for some reason my dedicated linux server run with lgsm doesn't want to boot up. It hangs on this console-entry: Adding translation: b73aa63e-6286-4c32-9e48-3b0024c22b51 Found file: /home/pzde02/serverfiles/media/radio/RadioData_FR.txt Adding translation: b73aa63e-6286-4c32-9e48-3b0024c22b51 Found file: /home/pzde02/serverfiles/media/radio/RadioData_PL.txt Adding translation: b73aa63e-6286-4c32-9e48-3b0024c22b51 Adding (vanilla) file: /home/pzde02/serverfiles/media/radio/RadioData.xml - GUID: b73aa63e-6286-4c32-9e48-3b0024c22b51 Radio loaded. ################################################ 1518981478282 can't find map objects file: media/maps/West Point, KY/objects.lua 1518981478283 Loading: media/maps/Muldraugh, KY/objects.lua I already checked the objects.lua, seems fine and the same as the one on my linux client running the vehicle branch. Steps I already tried: reinstalled from scratch many times revalidated many times tried vanilla server (boots just fine) Any help?
×
×
  • Create New...