Jump to content

Search the Community

Showing results for tags 'minor'.



More search options

  • 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


Location


Interests

Found 3 results

  1. ...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.
  2. Error trying to use <RIGHT>; from console.txt: function: render -- file: RichTextLayout.lua line # 407 ... LOG : General, 1593545810494> Object tried to call nil in render in RichTextLayout.lua: 404: if orient == "centre" then 405: ui:drawTextCentre(string.trim(v), x + self.width / 2 , y + self.marginTop + self.lineY[c], r, g, b,1, self.font) 406: elseif orient == "right" then 407: ui:drawTextLeft(string.trim(v), x + self.marginLeft + self.lineX[c], y + self.marginTop + self.lineY[c], r, g, b,1, self.font) 408: else 409: ui:drawText(string.trim(v), x + self.marginLeft + self.lineX[c], y + self.marginTop + self.lineY[c], r, g, b,1, self.font) 410: end but type(ui:drawTextLeft) == nil, likely need drawTextRight(). Probably analogous error will be in ISRichTextPanel.lua: 452: self:drawTextLeft( string.trim(v), self.lineX[c] + self.marginLeft, self.lineY[c] + self.marginTop, r, g, b,self.contentTransparency, self.font);
  3. Not a huge addition but I would greatly appreciate the option of having LShift to toggle sprinting, rather than holding it down. I always seem to be contorting my hands weirdly while sprinting diagonally. Maybe because I'm left handed, I'm not sure. Obviously not a crucial addition but I'd love to see this in the game!
×
×
  • Create New...