Jump to content

Chris90909090909090

Inactive Member
  • Posts

    335
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by Chris90909090909090

  1. in my sysrr:

     

    SYSERR: Mar 14 17:12:40 :: ChildLoop: AsyncSQL: query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '192.168.178', 85001)' at line 1 (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 2, 460232, 953882, 10000025, 'COMBINE (REFINE SUCCESS)', 'Herrscherband (einfach) 1  errno: 1064)

     

     

    can my anyone help?
     

  2. Search:

        if app.ENABLE_SEND_TARGET_INFO:
            class InfoBoard(ui.ThinBoard):
                class ItemListBoxItem(ui.ListBoxExNew.Item):
                    def __init__(self, width):
                        ui.ListBoxExNew.Item.__init__(self)

                        image = ui.ExpandedImageBox()
                        image.SetParent(self)
                        image.Show()
                        self.image = image

                        nameLine = ui.TextLine()
                        nameLine.SetParent(self)
                        nameLine.SetPosition(32 + 5, 0)
                        nameLine.Show()
                        self.nameLine = nameLine

                        self.SetSize(width, 32 + 5)

                    def LoadImage(self, image, name = None):
                        self.image.LoadImage(image)
                        self.SetSize(self.GetWidth(), self.image.GetHeight() + 5 * (self.image.GetHeight() / 32))
                        if name != None:
                            self.SetText(name)

                    def SetText(self, text):
                        self.nameLine.SetText(text)

                    def RefreshHeight(self):
                        ui.ListBoxExNew.Item.RefreshHeight(self)
                        self.image.SetRenderingRect(0.0, 0.0 - float(self.removeTop) / float(self.GetHeight()), 0.0, 0.0 - float(self.removeBottom) / float(self.GetHeight()))
                        self.image.SetPosition(0, - self.removeTop)

     

    change with this:

     

    class TargetBoard(ui.ThinBoard):

        if app.ENABLE_SEND_TARGET_INFO:
            class InfoBoard(ui.ThinBoard):
                class ItemListBoxItem(ui.ListBoxExNew.Item):
                    def __init__(self, width):
                        ui.ListBoxExNew.Item.__init__(self)

                        image = ui.ExpandedImageBox()
                        image.SetParent(self)
                        image.Show()
                        self.image = image

                        nameLine = ui.TextLine()
                        nameLine.SetParent(self)
                        nameLine.SetPosition(32 + 5, 0)
                        nameLine.Show()
                        self.nameLine = nameLine

                        self.SetSize(width, 32 + 5)

                    def LoadImage(self, image, name = None):
                        self.image.LoadImage(image)
                        self.SetSize(self.GetWidth(), self.image.GetHeight() + 5 * (self.image.GetHeight() / 32))
                        if name != None:
                            self.SetText(name)

                    def SetText(self, text):
                        self.nameLine.SetText(text)

                    def RefreshHeight(self):
                        ui.ListBoxExNew.Item.RefreshHeight(self)
                        self.image.SetRenderingRect(0.0, 0.0 - float(self.removeTop) / float(self.GetHeight()), 0.0, 0.0 - float(self.removeBottom) / float(self.GetHeight()))
                        self.image.SetPosition(0, - self.removeTop)
     

  3. error

     

     


    AutoNotice.cpp: In member function 'void CAutoNotice::HourlyAnnouncement(int, int)':
    AutoNotice.cpp:54:12: error: 'AutoNoticeSettings' is not a class or namespace
      if ((bool)AutoNoticeSettings::ENABLE_HOURLY_ANNOUCEMENT == true)
                ^
    AutoNotice.cpp:60:11: error: 'AutoNoticeSettings' is not a class or namespace
      if ((int)AutoNoticeSettings::HOURLY_MINUTE == minute)
               ^
    AutoNotice.cpp: In member function 'void CAutoNotice::SpecialHourAnnoucement(int, int, int, int)':
    AutoNotice.cpp:72:12: error: 'AutoNoticeSettings' is not a class or namespace
      if ((bool)AutoNoticeSettings::ENABLE_SPECIAL_HOUR_ANNOUCEMENT == true)
                ^
    AutoNotice.cpp: In member function 'void CAutoNotice::TimeIntervalAnnoucement(int, int, int, int)':
    AutoNotice.cpp:130:12: error: 'AutoNoticeSettings' is not a class or namespace
      if ((bool)AutoNoticeSettings::ENABLE_TIME_INTERVAL_ANNOUCEMENT == true)
     

    • Sad 1
    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.