Jump to content

Dr_Cox1911

Member
  • Content Count

    793
  • Joined

Everything posted by Dr_Cox1911

  1. @WATTOThose are the perks for the current stable build 40.43:
  2. @mendoncaI have the same problem as @Peter Lion, the program doesn't do anything upon executing in Windows 10.
  3. The following is not really a solution to your problem, but might point you in the right direction. The event "OnHitZombie" is called like this in IsoZombie.class: LuaEventManager.triggerEvent("OnHitZombie", this, paramIsoGameCharacter, bodyPartType, paramHandWeapon); So I guess your parameters in your function "CombatOnHitZombie" are wrong. I quickly printed the Event hook to this event, the output is this: LOG : General, 1586779565623> -- SHARED: OnHitZombie(zombie.characters.IsoZombie@2e627dd, zombie.characters.IsoPlayer@427590b4, Head, zombie.inventory.types.HandWeapon@1a4a79f9) LOG : General, 1586779565623> -- LOG : General, 1586779565623> -- LOG : General, 1586779565623> -------------------------------------- LOG : General, 1586779565623> -- CLIENT: OnHitZombie(zombie.characters.IsoZombie@2e627dd, zombie.characters.IsoPlayer@427590b4, Head, zombie.inventory.types.HandWeapon@1a4a79f9) LOG : General, 1586779565623> -- LOG : General, 1586779565623> -- LOG : General, 1586779565623> -------------------------------------- LOG : General, 1586779565623> -- SERVER: OnHitZombie(zombie.characters.IsoZombie@2e627dd, zombie.characters.IsoPlayer@427590b4, Head, zombie.inventory.types.HandWeapon@1a4a79f9) LOG : General, 1586779565623> -- LOG : General, 1586779565623> -- If I did everything right (sorry, kinda rusted regarding PZ modding) you can see that the event is fired from every "game-type" and has the arguments passed to the registered function "IsoZombie zombieThatWasHit, IsoPlayer playerThatHitTheZombie, BodyPartType bodyPartThatWasHit, HandWeapon weaponThatHitTheZombie" Hope this helps you.
  4. @leon2356Will try it out! I have one small suggestion though, you should add the profession framework as a dependency for your workshop mod, so that if people subscribe to your mod they automatically get PFM. @Fenris_WolfShould I bump the version on the workshop?
  5. Dr_Cox1911

    Zed Packets

    So much glory MP news! Can't wait to dive in deep again.
  6. This thread is rather old, but I still hope that the devs are looking in here from time to time. I'm currently coding a mod where the helicopter drops a crate with loot in it. The basic functionality is already done, but I'm now struggling with the helicopter. The Helicopter.class is not exposed to Lua, so I can't instantiate a new one. The one instantiated in IsoWorld is not really accessible. So I hope that you (@TIS) can expose the Helicopter.class so that I can set a target with Lua using the "setTarget()" method.
  7. That is kinda my current way but don't know the performance hits doing this in Lua on a larger scale.
  8. I'm currently looking for a clever way of getting a free IsoGridSquare out in the open of a IsoCell. I found the method IsoCell:getFreeTile(RoomDef paramRoomDef), but as this states it needs a RoomDef. I don't really know where I could get a RoomDef that represents the "outside-world". So do you guys know any clever way of doing this? I could randomly choose tiles within the IsoCell and check them, but is this really the way to go?
  9. Dr_Cox1911

    2020 vision

    Glad to read more news and behind the scene info regarding Multiplayer and I'm excited for the next Thursdoid with hopefully even more regarding MP.
  10. Dr_Cox1911

    Celebrate Zed Times

    Don't you dare get that pillow, baldspot!
  11. Hope that this will see the day of integration! The current system really is (compared to the others) kinda bland. In the new Thursdoid the showed the insulation system and this again shows the lack of depth to the diseases.
  12. Hey all, I'm currently trying to communicate with the dedicated server via RCON. I've written an RCON protocol in Java and tried the python-valve lib, but I get nothing back from commands like "showoptions" or "players". The connection and the protocol is working fine though, because commands like "additem" or "quit" are working fine. Can somebody help me here?
  13. Hey all, I never really used the discord integration and I'm wondering what it's capable of. Is there any documentation for it? Or could someone give me a run-down/guide?
  14. @Fenris_Wolf Should I push this new version to Steam? Or should I wait till you lift it out of the beta status?
  15. Dr_Cox1911

    StreamZed II

    Damn these overlays look sexy! I hope that these will be able to make the world more wasted and remove the sometime steril look.
  16. Didn't look to closely into this, but getWorld() gives you an Instance of IsoWorld, so you can't directly deprive the name of it. There is the method getWorld() inside IsoWorld, so maybe it does work if you rewrite your example code to something like this: function WhichWorld() local where = getWorld(); local player = getSpecificPlayer(0); if where.getWorld() == "Madhbih Oasis" then --Name of the map's Lots player:Say("I am in the desert."); else player:Say("I have no idea where I am."); end end Events.EveryHours.Add(WhichWorld); Notice the getWorld() that I added to your where in the if statement.
  17. Love the new details the insulationsystem is getting, so I'm hopping proper clothing during winter will be more a necessity. Does this system factor in the previously shown ripped clothes lower the insulation effect? And maybe in the future this system is the groundwork for armor?
  18. Dr_Cox1911

    Twisted

    Wow! That car interior pic came out of the blue! Didn't thought that you guys would have a prototyp so soon. And I'm always amazed how much math is going into gamedev, even if it's "just" for rotation (don't take the just wrong).
  19. Really digging this thursdoid It's great to get more insight in the technical stuff that's needed in order to get the shiny things done. It's also good to highlight how much complex calculation is needed for Game logic.
  20. Do you know the Zomboid folder? The location of this folder ist different for each OS, for Windows it is in your User folder. In there you find a console.txt, in there are the errors.
  21. Just stumbled upon this mod again, is this still something you are working on @blindcoder? I really like the mod idea and hope that TIS will revisit the whole crafting concept.
  22. I would suggest you use the luaNet functions (shipped with the game). The setup is quite complicated, but once you got the grips of it you quickly value the possibilities. As an example you can look at my mods (like CoxisReloadSync).
  23. They stated in a recent Thursdoid that one of the coders is currently investigating the car save bug and is making some progress (if I understood that correctly).
  24. Never really used ModData myself. As for your file problem: You can write files on the server, you just have to execute your write command in a function that is executed by the server. I only read on my mods on the server side, but you would just have to switch the read to a write. You can either look at my mod CoxisShop or CoxisReloadSync for this. CoxisShop uses my other mod CoxisUtil now to read the file.
×
×
  • Create New...