Jump to content

Search the Community

Showing results for tags 'solved'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

  1. So I have made many buildings but some feel empty like racks and shelves that are empty am I supposed to add to these I see there is thing like books in tile zed or will the game populate the future with art to make it look full. Like in my gas station i placed these fossil racks down looks like magazines would go in them but in the editor they are empty when someone comes here in game with they appear to have items in them if there is actually an item in them?
  2. my problem is with the front most corner and how it looks odd. It seems like it is trying to connect to something else. I just started testing and all for map making so I am not sure if there is something I caused. So I was wondering is there a fix to this or is it meant to be like this and when i go to place a door on the outer wall it like another image loads in with the door as well as shown it the last picture.
  3. From the 41.51 release notes: Is there an example of how we define custom perks (skills) and use them?
  4. As title says, unable to sleep more than once per game session. Restarting game allows me to sleep once more, then unable to sleep again until next restart.
  5. I've been trying to figure out how to display spiffo4.png on the hud, and I just can't figure it out. Here's the code I've been using for testing? require('ISUI/ISPanel'); require('ISUI/ISImage'); require('ISUI/ISCollapsableWindow'); UIImagePanel = {}; function UIImagePanel.new(x, y, width, height, texture) title = title or 'test' text = text or 'Bacon ipsum dolor amet strip steak drumstick shankle jerky frankfurter short loin sausage. Short loin hamburger landjaeger turducken. Pork belly bresaola pork drumstick picanha. Rump capicola pork chop ball tip pork loin.' local self = {}; self.tut = ISImage:new(x, y, width, height, texture); --(x, y, width, height, texture) self.tut:initialise(); self.tut:setAnchorBottom(true); self.tut:setAnchorRight(true); self.moreinfo = self.tut:wrapInCollapsableWindow(); self.moreinfo:setX((getCore():getScreenWidth() * 0.5) - (self.tut.width * 0.5)); self.moreinfo:setY((getCore():getScreenHeight() * 0.5) - (self.tut.height * 0.5)); --self.moreinfo:setTitle(title); self.moreinfo:addToUIManager(); self.tut:setWidth(self.moreinfo:getWidth()); self.tut:setHeight(self.moreinfo:getHeight() - 16); self.tut:setY(16); self.tut.autosetheight = false; --self.tut.clip = true; --self.tut:addScrollBars(); --self.tut.textDirty = true; --self.tut.text = text; --self.tut:paginate(); return self; end and then called with: ISImage:new(70, 70, 15, 15, "spiffo4.png");
  6. I wish b41 was more stable and accesible for low end tech. Have i got a software issue or is my hardware at fault? Or neither and the game just has the issues? Can someone take my console.txt and help me figure out whether or not i can play b41 or not?
  7. I'm trying to reduce the initial Carry Capacity of the character from the default 12 to something like 6, so the first thing you need before starting looting is a bag. How can I target that? There is any specific file I need to change? Seems like it's related to Strength, but I'm not sure how to target that either.
  8. How to reproduce: 1) Start new challenge "You Have One Day". 2) Go back to main menu. 3) Enable any mod in main menu, e.g. "Mod Template". 4) Load the game using "Continue" button. Don't press "Load" button. 5) You will see the red error (bug): ----------------------------------------- STACK TRACE ----------------------------------------- function: preLoadLastStandInit -- file: LastStandSetup.lua line # 7 ERROR: General, 1596264292792> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: OnInitWorld of non-table: null at KahluaThread.tableget line:1684. ERROR: General, 1596264292792> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: OnInitWorld of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1684) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1975) at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1807) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66) at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139) at zombie.Lua.Event.trigger(Event.java:37) at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:50) at zombie.iso.IsoWorld.init(IsoWorld.java:1980) at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:242) at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:201) at java.lang.Thread.run(Thread.java:745) To reproduce the bug you should enable the mod either in the main menu or in the save, but not in two places at the same time. Anyway load the game using "Continue" button, because "Load" button is buggy at this moment (I've reported it here).
  9. ...more precisely, the function works, but not correctly, because of which it seems that it does not work - the confirmation button is blocked and immediately becomes available again. an error in the function `ISTextBox:updateButtons()`, which is called every (frame update?) in `ISTextBox:prerender()` function ISTextBox:updateButtons() self.yes:setEnable(true); self.yes.tooltip = nil; local text = self.entry:getText() if self.validateFunc and self.validateText ~= text then self.validateText = text -- after that the next iteration doesn't check and self.yes.enable remains true local isValid = self.validateFunc(self.validateTarget, text, self.validateArgs[1], self.validateArgs[2]) self.yes:setEnable(isValid) end -- ... end I suggested changing the function a bit like this: function ISTextBox:updateButtons() self.yes:setEnable(true); self.yes.tooltip = nil; local text = self.entry:getText() if self.validateFunc and not self.validateFunc(self.validateTarget, text, self.validateArgs[1], self.validateArgs[2]) then self.yes:setEnable(false) self.yes.tooltip = self.validateText; end -- ... end here the check happens all the time, and `validateText` is used as a tooltip when button disable.
  10. Fanny Pack (Front) -> Equip Primary/Secondary -> Wear on Back -> Double Icon in Inventory Panel: In addition, it seems not a good idea to change DisplayName of Fanny Pack when it wear on Front or Back, since this will lose the name entered by player via "Rename".
  11. I already wrote about this in discord, but probably the message was missed. When new Bucket Hat appears in the world (you drop it on floor or zombie knocks it off your head) - this causes a lot of repeated errors: ERROR: General, 1592632584064> RenderThread.logGLException> OpenGLException thrown: Invalid operation (1282) ERROR: General, 1592632584064> RenderThread.logGLException> Stack trace: ERROR: General, 1592632584064> org.lwjgl.opengl.OpenGLException: Invalid operation (1282) ERROR: General, 1592632584064> at org.lwjgl.opengl.Util.checkGLError(Util.java:59) ERROR: General, 1592632584064> at zombie.core.opengl.PZGLUtil.checkGLError(PZGLUtil.java:42) ERROR: General, 1592632584064> at zombie.core.skinnedmodel.shader.Shader.setLight(Shader.java:406) ERROR: General, 1592632584064> at zombie.core.skinnedmodel.model.WorldItemModelDrawer.render(WorldItemModelDrawer.java:213) ERROR: General, 1592632584065> at zombie.core.textures.TextureDraw.run(TextureDraw.java:326) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer$RingBuffer$StateRun.render(SpriteRenderer.java:1157) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer$RingBuffer.render(SpriteRenderer.java:1098) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer.lambda$buildStateDrawBuffer$0(SpriteRenderer.java:342) ERROR: General, 1592632584065> at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:135) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer.buildStateDrawBuffer(SpriteRenderer.java:341) ERROR: General, 1592632584065> at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) ERROR: General, 1592632584065> at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:135) ERROR: General, 1592632584065> at zombie.GameProfiler.lambda$invokeAndMeasure$0(GameProfiler.java:165) ERROR: General, 1592632584065> at zombie.util.lambda.Stacks$Params4$CallbackStackItem.invoke(Stacks.java:286) ERROR: General, 1592632584065> at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) ERROR: General, 1592632584065> at zombie.util.Lambda.capture(Lambda.java:121) ERROR: General, 1592632584065> at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:163) ERROR: General, 1592632584065> at zombie.core.SpriteRenderer.postRender(SpriteRenderer.java:322) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.lambda$lockStepRenderStep$2(RenderThread.java:300) ERROR: General, 1592632584065> at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.lockStepRenderStep(RenderThread.java:300) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.renderStep(RenderThread.java:270) ERROR: General, 1592632584065> at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) ERROR: General, 1592632584065> at zombie.core.opengl.RenderThread.renderLoop(RenderThread.java:138) ERROR: General, 1592632584065> at zombie.gameStates.MainScreenState.main(MainScreenState.java:220) In this case, the Bucket Hat visually remains hanging at the level of the character's head. Sometimes during the battle this is accompanied by strong graphic bugs, which can be fatal for the hat owner. BucketHat-bug console.txt
  12. Hi survivors! (And Indie Stone, too) Did anyone want a grill on their base? The game allows you to pickup the grill with propane, although it says that you need to remove it. We picked up the grill from the ground (We didn't pull out the propane), put it back on the ground - the model of the object has changed to a microwave (But game still think that's a grill). Then again taking and returning to the ground the object - it finally turns into a microwave (It even works! Profitable?) BUT! If we take out the propane, everything works fine. This is the whole bug. For convenience, here is a video with this small bug (CAUTION! The video may be too loud, sorry!) The bug was found by my friend on his computer and checked on mine. Without the use of mods in both cases. This is my first bug report, there may be typos in the text, thank you!
  13. This is already a pretty old bug, but I finally found the time to figure out what was going on here. I checked it for “Winter is coming”, but most likely the same will be for other challenges. When I start a new game - all right; when I exit from game (to desktop, or in main menu), and use "Continue" (last save) - all ok, too. But if I run “Winter is coming”-save via LoadGameScreen (Load - Select saved game - Play) then the winter breaks: the weather corresponds to usual summer weather in PZ. I added print-markers to WinterIsComing.lua and found out that with the last option (Load menu), WinterIsComing.OnInitWorld function is not executed - which means that other functions that should work in WinterIsComing (OnGameStart, EveryDays, OnInitSeasons) will not be executed. Ok, I won’t tell how I looked for the reason for this difference - it was cooler than any AAA-horror-game 😱 But in the end this block of code seemed critical to me: -- MainScreen.lua, function MainScreen.continueLatestSave,from line 1384 for i,challenge in ipairs(LastStandChallenge) do if challenge.gameMode == gameMode then LastStandData.chosenChallenge = challenge doChallenge(challenge) getWorld():setWorld(saveName) MainScreen.instance:setDefaultSandboxVars() MainScreen.continueLatestSaveAux() return end end I added a similar code to the function for load menu: -- LoadGameScreen.lua, function LoadGameScreen:clickPlay, line 565, before "getWorld():setWorld(sel.item.saveName);" for i,challenge in ipairs(LastStandChallenge) do if challenge.gameMode == sel.item.gameMode then LastStandData.chosenChallenge = challenge doChallenge(challenge) getWorld():setWorld(sel.item.saveName); MainScreen.instance:setDefaultSandboxVars() -- duplicated code from source function in order to use "return" self:setVisible(false); MainScreen.instance.bottomPanel:setVisible(true); if self.joyfocus then self.joyfocus.focus = MainScreen.instance; updateJoypadFocus(self.joyfocus); end MainScreen.continueLatestSaveAux(false, self) return end end It seems to work - now "Winter is coming" for real, regardless of the way it is loaded.
  14. When you use saving in the "Customise Character" screen, the DisplayNames of clothes are written to the file Zomboid/Lua/saved_outfits.txt (taking into account the included translation). This creates two errors: 1. If the translation is not Unicode (Russian, Chinese, Japanese, etc.), then instead of the names, question marks are written to the file, which are then not read; that is, a set of clothes is not actually saved; 2. If you configure and save the character in one language, and then switch to another translation, the saved set of clothes does not load correctly (because the names are different in different languages). Perhaps it makes sense to use not the DisplayName, but the code name of the item (for example, "Tshirt_Profession_RangerGreen" instead of "Green Ranger T-Shirt").
  15. These books and magazines still need a parameter "StaticModel" (for display during animation) : - media/scripts/items_radio.txt, items RadioMag[1-3] - media/scripts/vehicles/vehiclesitems.txt, items MechanicMag[1-3] - media/scripts/vehicles/vehiclesitems.txt, items BookMechanic[1-5]
  16. When you change the language or turn on/off the language mod, "reloading Lua" occurs, BUT - names of perks don't reload. Is not very important, but it can be part of another, more global bug.
  17. When you change the map scale (by scrolling the mouse), the font of the interface and tooltips also changes:
  18. Hi! does this mean when you hit a different player, or a hit a zombie? Also, How do I satisfy the Float parameter called damageSplit? Can I just fill in any number with my own variable or do I have to call a specific method that returns the value? I'm defintely new to LUA coding, so thanks for your time replying to this!
  19. I'm trying to alter player XP using a table with this code: for i, k in pairs(Perks) do getPlayer():getXp():AddXP(Perks.k, 10); end ...and it's not working. When I print Perks.k it comes up nil, but if I print k alone it prints as the userdata from the Perks table, Sprinting as an example. And to check to see if this is the same data as Perks.Sprinting I did a quick "if k == Perks.Sprinting" and it came out true. Any insight on this would be appreciated. @RoboMat if you're still around I figure the issue is probably apparent to you.
  20. UPDATE 24/10/2019: build 41.16 fixed the issue. Thanks Devs, now the game is totally playable on macOS Hi there! I'm trying to play Build 41 on a MacBook pro early 2015, OSX 10.13, 16GB RAM, i5 3.1GHz CPU. I disabled all the mods I installed for build 40, and started a new game. Things are fine at the spawn point, but as some zombies show up on the screen the game starts to freeze for about 10 seconds. This happens 2 to 3 times until the game finally crashes to the desktop. I tried 3 times and it always happened with zombies on screen, the starting house is fine. Any clue?
  21. Hey all! Was wondering if by placing the bare branched version of certain trees, if Zomboid will auto-correct their state when loading up the game? Or will they remain as bare dead/winter trees?
  22. Ok, I managed to get through the tutorial, but now, I have gotten all the way to the the point that I can go in-game, select my map from the mod selection, choose my spawn selection on my map, the game goes to load , quits, and says to check the console text file. I got this exception: java.lang.RuntimeException: can't create player at x,y,z=11643,6696,0 because the square is null at zombie.iso.IsoWorld.init(IsoWorld.java:2373) 1557992584373 LuaEventManager: adding unknown event "OnPreUIDraw" 1557992584374 LuaEventManager: adding unknown event "OnPostUIDraw" at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:259) at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:235) at java.lang.Thread.run(Thread.java:745). any ideas? I got all excited, only to have my hopes and dreams dashed by a runtime exception.
  23. player:getPrimaryHandItem():LoadGun() I want to give the gun ammo, whether its reloading the gun from ammo in inventory or just setting the current bullet count to 999, I don't care which I just need to give ammo to a gun in the players primary hand. Help please
  24. Anyone know of a way to transfer items from your inventory to a bag in your inventory instantly? I have this: if item:getType() ~= "KeyRing" and item:getType() ~= "IDCard" then ISTimedActionQueue.add(ISInventoryTransferAction:new(getPlayer(), item, item:getContainer(), idBag2, 0)); end But this isn't instant. I would like something that skips over it being a timed action.
  25. How does one map the buttons on a Controller through coding? Would it be something like A = {} function A.Pressed(_keyPressed) if _keyPressed == DPadDown then --Code end end --Or function A.Pressed(_keyPressed) if _keyPressed == "DPadDown" then --Code end end --Or is it a number? Events.OnKeyPressed.Add(A.Pressed) Edit------- Looked at PZ/media/lua/shared/JoyPad/JoyPadSertup.lua
×
×
  • Create New...