Jump to content

Maris

Member
  • Posts

    244
  • Joined

  • Last visited

Everything posted by Maris

  1. How to reproduce: 1. Ready to build the gates. I tested in singleplayer. 2. Start building... And press R until end of the process. 3. When the process is finished, you will have a bug. It's not just a graphical glitch. I can't use these gates at all.
  2. Server is full. Registration closed. Thank you all and thanks devs for network optimizations.)
  3. We have a small park of cars on our base. And sometimes there is a question... Who owns this car? Can I take it? Can I use its parts? We have few police cars. Which is mine? I don't remember. Which is leader's car? It would be nice if we can paint something on a hood or add some decorations. So my friend can tell me. Wow! Well done. Is it a cat on your hood? Yea, it's my cat car, it's not fast but very silent. Something like that. XD
  4. Maris

    Spooky Santa

    I can't find new features in server settings window. What is the name of the tab?
  5. Okay, I avoid crash by using local new_item = InventoryItemFactory.CreateItem(name); insted of local new_item = player:getInventory():AddItems(name)
  6. Maris

    Spawn chances

    Okey, now we understand, how loot appears in containers. Now we can create a tool for new loot which won't break other loot. Example: AddLoot('pharmacystorage','counter','CureVirus.CVMag1',1); AddLoot('dentiststorage','metal_shelves','CureVirus.CVMag1',15);
  7. Maris

    Spawn chances

    Structure of SuburbsDistributions (Distributions.lua): First level - room name. Special name: "all" if no room. Second level - container name. Special names: "all" and "other". When container is filling we have two main parameter - room name and container name (type). If no room OR if no current room name exists in SuburbsDistributions, room name "all" will be used. If player in a room AND there is room record in SuburbsDistributions, but there are no container records "all", "other" and container name, then room name "all" wiil be used again. So be careful. For example, there are rooms named "room1" on the map. Loot will be generated from room "all" of SuburbsDistributions. If a player is in a room AND there is room record in SuburbsDistributions AND there are container record "all", "other" or container name, then this room record will be used. When specific room of SuburbsDistributions is picked, we have 2 steps: Check container "all" if it exists in SuburbsDistributions[room]. And generate loot in container. Check container name in SuburbsDistributions[room]. And generate loot. If it doesn't exists, check name "other" and generate loot instead. In other words, game will fill container from SuburbsDistributions[room]["all"] + SuburbsDistributions[room][type]/SuburbsDistributions[room]["other"]. Note that SuburbsDistributions["all"]["other"] is defined for sure. So if you have new/rare container name with no loot defined at all, SuburbsDistributions["all"]["other"] will be used.
  8. How to add users to whitelist BEFORE first start of the server?
  9. Star's Server, Season One First start - Saturday, December 22, at 9:00am GMT. Server location - Moscow. Europeans are welcome. Pre-registration is needed. Group - ****
  10. Maris

    Sieges

    Just an idea. Mod should turn off protection of private base for short period of time e.g. only 2 hors (real time) each Sunday (real time). So there will be possible mass pvp each weekend on a public server with this mod. I'd make it by myself but I can't figure out how it is possible. May be some secret API functions... Does anybody knows?
  11. Maris

    Maximum quality?

    Hello! I plan to start dedicated server and it will be hosted on my home computer (Windows 7). I have cpu 3.4GHz, 32Gb RAM, SSD and good Internet. But is it enough? What if there are 20-30 users simultaneously? Any tips? Game settings? I really want the server to serve as many players as possible. One friend told me that I shold use RAM disk. And I'm not sure if it's really needed and how much ram should be cached and what folders contains critical data that should be read/written very fast. Has anyone tried this yet? Also I'm afraid of cheaters. I heard that it's not a problem to use cheats like teleport etc. May be I could make some traps like autoban on some conditions?
  12. It looks strange if zombies are everywhere even in deep forest. But anyway players need resources like nails, pots etc. So they have to go to town and to face the zombies.
  13. Maris

    ramshackle books

    I think you should inject into stop() event in reading time action. But personally I don't like this idea. If you want it to be more rare you may just make it more rare. Or you could add it to recipe in your mods like I did in mods "Cure Zombie Virus" and "Nocturnal Zombies Fixed".
  14. For example: local bd; local function fnEveryTenMinutes() if not bd then bd = getPlayer():getBodyDamage(); end ..... end Events.EveryTenMinutes.Add(fnEveryTenMinutes); I think it should reduce overhead on api calls.
  15. Maris

    Hydrocraft Mod

    Need more animations for complicated things like animals etc otherwise it looks like a 2D game.
  16. -- wash the clothing! function WashMyClothing_OnCreate(items, result, player, selectedItem) for i=0,items:size() - 1 do local item = items:get(i); if instanceof (item, "Clothing") then local name = item:getType(); if DIRTY_TO_NORMAL[name] then print("New item:",DIRTY_TO_NORMAL[name]); local new_item = player:getInventory():AddItems(DIRTY_TO_NORMAL[name], 1); if new_item then print("new_item",tostring(new_item)); local color = item:getColor() print("color",tostring(color)); new_item:setColor(color); -----> ERROR HERE?! end return; end end end end Crash log: I can't understand what's wrong. "new_item" is valid and "color" is valid too. So why item:setColor(color) causes an error?
  17. Maris

    Rooms on the map

    I researched the map for my own needs and created a list of some rooms. West Point (Center): West Point: Muldraugh: Rosewood: Here are some popular containers in known rooms (dirty draft):
  18. The character must learn only ONE of the recipes with the same name. Now I have: recipe My Recipe 1 { Apple, .... Result: myItem, ... } recipe My Recipe 2 { Banana, ... Result: myItem, ... } As a result I have TWO recipes with different names "My Recipe 1" and "My Recipe 2" with numbers in its names. But these recipes must have the same name, because they produce the same item. For example, "My Recipe". And if I do so, I will have an issue. For example: item myMagazine { Type = Literature, TeachedRecipes = My Recipe, ... } This magazine will teach all recipes with equal name. How I can make two magazines with different recipes but with the same name?
  19. Maris

    Floating cars

    Restart the server will help. Also you can push the car using another cat and it may help but takes time and luck.
  20. You can't set fire to a car. But if you are in a car, you may still get a burn. 1) Drive so you (while driving) are over campfire. or 2) Drive so you (while driving) are over burning zombie or another burning item. Looks weird.
  21. I know that there is OnTest function. But it takes only item as argument. It doesn't access to the character who is trying to use the recipe. My recipe is for making a book. And I want to disable it if a character (in multiplayer) has "Illiterate" trait. Because it means that character can't write (not only read).
  22. Maris

    Cure Zombie Virus

    Version 1.0 is released. Documentation: https://steamcommunity.com/workshop/filedetails/discussion/1576361194/1743353164096783517/
  23. Hello. I had a very cold winter and I sit in a car with broken windows and turn heater on. It helped to get warmer but it shouldn't.
  24. How at least add text to existing tv/radio stations? It should give skills and recipes if watched?
×
×
  • Create New...