Jump to content

Saejin

Inactive Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Saejin

  1. Hello,

    I have a problem.

    I Don't know if it's exactly the same with all the other quests because i haven't had time to look at everything,

    but when i have a map 1 quest for example, teleporting myself somewhere else, for example the valley of the orcs, i have the targets pointing in the map to where i am.

     

    There's no syserr so far.

     

    My concern would come from :

    
    local v=find_npc_by_vnum(20354)
    
    if v!=0 then
    
    target.vid("_TARGET_", v, mob_name(20354))
    
    

     

    How could i counter this concern by keeping the target but in its respective map ?

     

    Screenshots :

    spacer.png

     

    spacer.png

     

    Thank you in advance

  2. Hello and thank you for responding,

     

    At line 263 i have this :

    
                self.special_bg = getObject("special_bg")
    
    

     

    
            pyScrLoader = ui.PythonScriptLoader()
            pyScrLoader.LoadScriptFile(self, "uiscript/inputdialogwithdescription.py")
    
            try:
                getObject = self.GetChild
                self.board = getObject("Board")
                self.special_bg = getObject("special_bg")
    
    

     

     

    and in uiscript then inputdialogwithdescription.py, i have this :

    
    import uiScriptLocale
    
    window = {
        "name" : "InputDialog_WithDescription",
    
        "x" : 0,
        "y" : 0,
    
        "style" : ("movable", "float",),
    
        "width" : 170,
        "height" : 106,
    
        "children" :
        (
            {
                "name" : "Board",
                "type" : "board_with_titlebar",
    
                "x" : 0,
                "y" : 0,
    
                "width" : 170,
                "height" : 106,
    
                "title" : "",
    
                "children" :
                (
    
                    ## Text
                    {
                        "name" : "Description",
                        "type" : "text",
                        "text" : "",
                        "horizontal_align" : "center",
                        "text_horizontal_align" : "center",
                        "x" : 0,
                        "y" : 34,
                    },
    
                    ## Input Slot
                    {
                        "name" : "InputSlot",
                        "type" : "slotbar",
    
                        "x" : 0,
                        "y" : 51,
                        "width" : 90,
                        "height" : 18,
                        "horizontal_align" : "center",
    
                        "children" :
                        (
                            {
                                "name" : "InputValue",
                                "type" : "editline",
    
                                "x" : 3,
                                "y" : 3,
    
                                "width" : 90,
                                "height" : 18,
    
                                "input_limit" : 12,
                            },
                        ),
                    },
    
                    ## Button
                    {
                        "name" : "AcceptButton",
                        "type" : "button",
    
                        "x" : - 61 - 5 + 30,
                        "y" : 74,
                        "horizontal_align" : "center",
    
                        "text" : "|cffb6a68dOK",
    
                        "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                        "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                        "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
                    },
                    {
                        "name" : "CancelButton",
                        "type" : "button",
    
                        "x" : 5 + 30,
                        "y" : 74,
                        "horizontal_align" : "center",
    
                        "text" : uiScriptLocale.CANCEL,
    
                        "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                        "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                        "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
                    },
    
                ),
            },
        ),
    }
    
    

     

    No "special_bg" in this file, i don't know what to do...

     

    Thank you in advance

     

     

  3. Hello,

     

    I encounter a problem when deleting the character in the selection.

    By clicking "delete," the customer closes and I get this error:

    
    0113 00:15:14494 :: 
    uicommon.py(line:263) __CreateDialog
    ui.py(line:8065) GetChild
    
    InputDialogWithDescription.LoadBoardDialog.BindObject - <type 'exceptions.KeyError'>:'special_bg' 
    
    0113 00:15:14494 :: ============================================================================================================
    0113 00:15:14494 :: Abort!!!!
    
    

     

    Thanks in advance

×
×
  • 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.