Jump to content

Crystal™

Premium
  • Posts

    257
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Crystal™

  1.  

    This is an internal error in the Python C++ code. Something more heinous is going on here, I don't think this is an error in my Python code. 

    Does anyone knows where should i look?

    Spoiler

    ===== Load Script File : uiscript/attachstonedialog.py
    importing from lib sys
    importing from lib sys

    importing from sys.modules utils
    importing from sys.modules utils

    importing from lib chr
    importing from lib chr

    importing from lib player
    importing from lib player

    importing from lib app
    importing from lib app

    importing from lib sys
    importing from lib sys

    importing from lib copy
    importing from lib copy

    importing from sys.modules uiScriptLocale
    importing from sys.modules uiScriptLocale

    importing from sys.modules localeInfo
    importing from sys.modules localeInfo

    importing from lib sys
    importing from lib sys

    importing from lib item
    importing from lib item

    importing from lib app
    importing from lib app

    importing from lib player
    importing from lib player

    importing from lib types
    importing from lib types

    importing from sys.modules uiScriptLocale
    importing from sys.modules uiScriptLocale

    SYSERR: Traceback (most recent call last):

    SYSERR:   File "networkModule.py", line 239, in SetGamePhase

    SYSERR:   File "game.py", line 98, in __init__

    SYSERR:   File "interfaceModule.py", line 295, in MakeInterface

    SYSERR:   File "interfaceModule.py", line 175, in __MakeWindows

    SYSERR:   File "uiInventory.py", line 276, in __init__

    SYSERR:   File "uiInventory.py", line 420, in __LoadWindow

    SYSERR:   File "uiInventory.py", line 491, in SetInventoryPage

    SYSERR:   File "uiInventory.py", line 617, in RefreshBagSlotWindow

    SYSERR:   File "uiInventory.py", line 239, in RefreshSlot

    SYSERR: SystemError
    SYSERR: :
    SYSERR: ..\Objects\longobject.c:981: bad argument to internal function
    SYSERR:

    The error is when i call this function: RefreshBagSlotWindow uiinventory.py

    Spoiler

        def RefreshBagSlotWindow(self):
            getItemVNum=player.GetItemIndex
            getItemCount=player.GetItemCount
            setItemVNum=self.wndItem.SetItemSlot
            if app.BL_ENABLE_PICKUP_ITEM_EFFECT:
                for i in xrange(self.wndItem.GetSlotCount()):
                    self.wndItem.DeactivateSlot(i)

            for i in xrange(player.INVENTORY_PAGE_SIZE):
                slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i)

                itemCount = getItemCount(slotNumber)
                # itemCount == 0이면 소켓을 비운다.
                if 0 == itemCount:
                    self.wndItem.ClearSlot(i)
                    continue
                elif 1 == itemCount:
                    itemCount = 0

                itemVnum = getItemVNum(slotNumber)
                setItemVNum(i, itemVnum, itemCount)

                ## 자동물약 (HP: #72723 ~ #72726, SP: #72727 ~ #72730) 특수처리 - 아이템인데도 슬롯에 활성화/비활성화 표시를 위한 작업임 - [hyo]
                if constInfo.IS_AUTO_POTION(itemVnum):
                    # metinSocket - [0] : 활성화 여부, [1] : 사용한 양, [2] : 최대 용량
                    metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]

                    isActivated = 0 != metinSocket[0]

                    if isActivated:
                        self.wndItem.ActivateSlot(i)
                        potionType = 0;
                        if constInfo.IS_AUTO_POTION_HP(itemVnum):
                            potionType = player.AUTO_POTION_TYPE_HP
                        elif constInfo.IS_AUTO_POTION_SP(itemVnum):
                            potionType = player.AUTO_POTION_TYPE_SP

                        usedAmount = int(metinSocket[1])
                        totalAmount = int(metinSocket[2])
                        player.SetAutoPotionInfo(potionType, isActivated, (totalAmount - usedAmount), totalAmount, self.__InventoryLocalSlotPosToGlobalSlotPos(i))

                    else:
                        self.wndItem.DeactivateSlot(i)
                if itemVnum in constInfo.PET_ITEMS:
                    metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]    
                    isActivated = 0 != metinSocket[1]
                    
                    if isActivated:
                        self.wndItem.ActivateSlot(i)
                    else:
                        self.wndItem.DeactivateSlot(i)
            if app.BL_ENABLE_PICKUP_ITEM_EFFECT:
                self.__HighlightSlot_Refresh()
                if app.BL_TRANSMUTATION_SYSTEM:
                    if not player.GetChangeLookVnum(player.INVENTORY, slotNumber) == 0:
                        self.wndItem.SetSlotCoverImage(i,"icon/item/ingame_convert_Mark.tga")
                    else:
                        self.wndItem.EnableSlotCoverImage(i,False)
            self.wndItem.RefreshSlot()

            if self.wndBelt:
                self.wndBelt.RefreshSlot()->Line 617
     

    Spoiler

        def RefreshSlot(self):
            getItemVNum=player.GetItemIndex

            for i in xrange(item.BELT_INVENTORY_SLOT_COUNT): #line 239
                slotNumber = item.BELT_INVENTORY_SLOT_START + i
                self.wndBeltInventorySlot.SetItemSlot(slotNumber, getItemVNum(slotNumber), player.GetItemCount(slotNumber))
                self.wndBeltInventorySlot.SetAlwaysRenderCoverButton(slotNumber, True)

                avail = "0"

                if player.IsAvailableBeltInventoryCell(slotNumber):
                    self.wndBeltInventorySlot.EnableCoverButton(slotNumber)
                else:
                    self.wndBeltInventorySlot.DisableCoverButton(slotNumber)

            self.wndBeltInventorySlot.RefreshSlot()
     

     

  2. I want to write a quest that  uses party.get_member_pids and gives to every party member an item or exp for example.

    How can i do this?

    Spoiler

                                local teamArr={party.get_member_pids()}
                                for j=1,table.getn(teamArr) do
                                    teamArr[j].pc.give_exp2(pc.get_next_exp())
                                    j=j+1                            
                                end--for j

    *i dont know lua

  3. 20 hours ago, I3ooI3oo said:

    Im not sure, but you need to secure your server more. These are the basic security settings. Yes your server can be scanned for open ports, thats why you need ip whitelist for SSH, it will help you a lot (be sure you have static ip, not a dynamic one).

    The difference between dynamic vs static is that the ip does not change?I think all host have static.Or you mean mine IP?

    8 hours ago, .colossus. said:

    maybe you just don´t have enough ram for your game cores

    2gb ram are enough I think,i check how much ram is used and i see that the ram percentage is goes abruptly up and swap memory is used.

     

    P.S. the scary about this event is that my  metin server is not  even public,it's just a vps test server and there are bots that have many ips saved and are scanning for opened ports and try get access lol...

  4. 2 minutes ago, I3ooI3oo said:

    Change your default SSH port, disable SSH PASSWORD login and enable SSH KEY login... And don't forget to enable whitelist for your IP and disable others ip from accessing SSH port

    Are the proofs i have enough about be sure that i get bruteforce? Do you have any ideas why swap memory is used?Also by changing my default SSH port I think wouldn't be useful because the ip could be scanned and the opened ports be found.

    Thanks

  5. Ok , i didn't find anything so i removed the folder from the monsters..

    now, i dont know why but i got spam in sysslog with this for this specific monster:

    Aug  5 01:20:01 :: SpawnMob: BAN_PK position for mob spawn ?????? ??? 2960 at 9305291 9300081
    Also which table stores the states that have been completed in quests?

     

  6. Could someone please share with us the data of models (motlist) please?


     

    Spoiler

    defensewave_minihydra

    metinstone_loop

    defensewave_redrock

    defensewave_steerhandle

    defenswwave_woodrepair


    Spoiler

    12zi_statue_mouse_npc

    12zi_statue_cow_npc

    12zi_statue_tiger_npc

    12zi_statue_rabbit_npc

    12zi_statue_dragon_npc

    12zi_statue_snake_npc

    12zi_statue_horse_npc

    12zi_statue_sheep_npc

    12zi_statue_monkey_npc

    12zi_statue_chicken_npc

    12zi_statue_dog_npc

    12zi_statue_pig_npc



     

    Spoiler

    zombie_god_stone

    zombie_security_stone

    pig_young2

    dog_young2

    tiger_young2

    lion_young2

    I've searched on official patch and on public serverfiles but didnt find them complete.

  7. My test player gets kicked and i get these errors.

    SYSERR: Aug  1 16:48:11 :: SyncPosition: Too often SyncPosition Interval(1ms)(mob) from Name(killerz) VICTIM(480360,975720) SYNC(480299,975702)
    SYSERR: Aug  1 16:49:00 :: HandshakeProcess: handshake retry limit reached! (limit 32 character !NO CHARACTER!)
     

    Also i can't understand what's wrong and i get this error

    BAN_PK position for mob spawn ?????? ??? 2960 at 9288317 9300468

  8. effectfile        "d:/ymir work/effect/dl2_effects/bird_little_01.mse"
    d:/ymir work/effect/dl2_effects/butterfly_01.mse

    i cant find these files dude,can you upload them please?

  9. 1 hour ago, Shahin said:

    V9KR95x.jpg

    i started working on the design side for a few days and after that i found that i screwed up the Atlas dimensions. I tried to find the file that has the coordinates for it but without success. 

    Can anyone give me directions please?

    A tricky solution is try to resize the minimap file to your window's file.If this works and the quality of the icon is good, then try resize all the minimaps with a python script.

  10. Spoiler

    Severity    Code    Description    Project    File    Line    Suppression State
    Error    C2923    'std::unordered_map': '_wint32' is not a valid template type argument for parameter '_Kty'    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryTargetManager.h    32    
    Error (active)    E0020    identifier "_wuint32" is undefined    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\EterLib\CryRenderTarget.h    14    
    Error    C4430    missing type specifier - int assumed. Note: C++ does not support default-int    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\UserInterface\PythonNonPlayer.h    228    
    Error    C2061    syntax error: identifier '_wfloat'    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryRenderTarget.h    38    
    Error    C2061    syntax error: identifier '_wuint32'    UserInterface    C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryRenderTarget.h    37    


    any suggestions?
     

  11. 0621 18:30:24463 :: GRANNY: d:/dev/rad/granny/rt/granny_file.cpp(939): ERROR: File is file format revision 6 (current version is 7) --- [2] Warning --- [24] FileReading
    0621 18:30:24468 :: GRANNY: d:/dev/rad/granny/rt/granny_file_info.cpp(87): ERROR: File has run-time type tag of 0x80000010, which doesn't match this version of Granny (0x80000037).  Automatic conversion will be attempted. --- [2] Warning --- [24] FileReading

    Granny version:11

    • Not Good 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.