Jump to content

RealReznov

Inactive Member
  • Posts

    43
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by RealReznov

  1. TheMt2, just use this:

    On 2016. 04. 19. at 0:50 PM, jnebun said:

    fix for crash 

    This is the hidden content, please

    for empty list you need fix for crash and search exac name 

    ex: for Rune Sword +9 search Rune NO rune

    Sorry for my bad english

    But i still need help for this

    18 hours ago, RealReznov said:

    0419 21:58:35277 :: [['0', '[SA]Reznov', '\xd6rd\xf6gszarv-v\xe9rt +9', '20009', '1', '9', '123', '105', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '46', '\x81\xc3Y\xc9', '\x85\xc0x\xc7\x0f\xb7U\xa01\xc0\x8bM\x10\x81\xe2']]
    0419 21:58:35277 :: Traceback (most recent call last):

    0419 21:58:35277 ::   File "game.py", line 2490, in BINARY_ServerCommand_Run

    0419 21:58:35277 ::   File "stringCommander.py", line 63, in Run

    0419 21:58:35277 ::   File "stringCommander.py", line 31, in __call__

    0419 21:58:35277 ::   File "stringCommander.py", line 11, in __call__

    0419 21:58:35277 ::   File "uiPrivateShopSearch.py", line 703, in CreateGUIList

    0419 21:58:35278 :: ValueError
    0419 21:58:35278 :: : 
    0419 21:58:35278 :: invalid literal for int() with base 10: '\x85\xc0x\xc7\x0f\xb7U\xa01\xc0\x8bM\x10\x81\xe2'
    0419 21:58:35278 :: 

    0419 21:58:35278 :: Unknown Server Command CreateSearchedItemList | CreateSearchedItemList
     

    • Metin2 Dev 1
    • Love 6
  2. 0419 21:58:35277 :: [['0', '[SA]Reznov', '\xd6rd\xf6gszarv-v\xe9rt +9', '20009', '1', '9', '123', '105', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '46', '\x81\xc3Y\xc9', '\x85\xc0x\xc7\x0f\xb7U\xa01\xc0\x8bM\x10\x81\xe2']]
    0419 21:58:35277 :: Traceback (most recent call last):

    0419 21:58:35277 ::   File "game.py", line 2490, in BINARY_ServerCommand_Run

    0419 21:58:35277 ::   File "stringCommander.py", line 63, in Run

    0419 21:58:35277 ::   File "stringCommander.py", line 31, in __call__

    0419 21:58:35277 ::   File "stringCommander.py", line 11, in __call__

    0419 21:58:35277 ::   File "uiPrivateShopSearch.py", line 703, in CreateGUIList

    0419 21:58:35278 :: ValueError
    0419 21:58:35278 :: : 
    0419 21:58:35278 :: invalid literal for int() with base 10: '\x85\xc0x\xc7\x0f\xb7U\xa01\xc0\x8bM\x10\x81\xe2'
    0419 21:58:35278 :: 

    0419 21:58:35278 :: Unknown Server Command CreateSearchedItemList | CreateSearchedItemList
     

  3. @ImBacK or @lopez008

    I have it too.

    I see you have offline shop. Can you test me something?

    Open a NORMAL shop with a red potion.

    Try to search for it. (With item's category potion and name string "red")

    And tell me what happend. (Me: Server crash)

    (Iif I want to search for sword/armour i get the "Item listy is empty....")

  4.  

    1. quest ride begin
    2.     state start begin
    3.         function Ride( vnum, remain_time )
    4.             ride_info = {
    5.                 [71114] = { 20110,  60*60,                  apply.DEF_GRADE_BONUS,  75,     1,  true,   false,  false},
    6.                 [71115] = { 20110,  60*60,  apply.DEF_GRADE_BONUS,  100,    1,  false,  false,  false   },
    7.                 [71116] = { 20111,  60*60,                  apply.DEF_GRADE_BONUS,  100,    1,  true,   false,  false   },
    8.                 [71117] = { 20111,  60*60,  apply.DEF_GRADE_BONUS,  150,    1,  false,  false,  false   },
    9.                 [71118] = { 20112,  60*60,                  apply.DEF_GRADE_BONUS,  125,    1,  true,   false,  false   },
    10.                 [71119] = { 20112,  60*60,  apply.DEF_GRADE_BONUS,  200,    1,  false,  false,  false   },
    11.                 [71120] = { 20113,  60*60,                  apply.ATT_GRADE_BONUS,  200,    1,  true,   false,  false   },
    12.                 [71121] = { 20113,  item.get_socket(2)*60,  apply.ATT_GRADE_BONUS,  300,    1,  false,  false,  false   },
    13.         -- new mount                                                                                        
    14.                 [71124] = { 20114,  item.get_socket(2)*60,  apply.ATTBONUS_MONSTER, 20,     1,  false,  false,  false   },
    15.                 [71125] = { 20115,  item.get_socket(2)*60,  apply.ATTBONUS_MONSTER, 20,     1,  false,  false,  false},
    16.                 [71126] = { 20116,  item.get_socket(2)*60,  apply.ATTBONUS_MONSTER, 20,     1,  false,  false,  false},
    17.                 [71127] = { 20117,  item.get_socket(2)*60,  apply.ATTBONUS_MONSTER, 20,     1,  false,  false,  false},
    18.                 [71128] = { 20118,  item.get_socket(2)*60,  apply.ATTBONUS_MONSTER, 20,     1,  false,  false,  false},
    19.                 [71131] = { 20119,  item.get_socket(2)*60,  apply.MAX_HP,               500,    1,  false,  false,  false},
    20.                 [71132] = { 20119,  item.get_socket(2)*60,  apply.MAX_HP,               1000,   1,  false,  false,  false},
    21.                 [71133] = { 20119,  item.get_socket(2)*60,  apply.MAX_HP,               1500,   1,  false,  false,  false},
    22.                 [71134] = { 20119,  item.get_socket(2)*60,  apply.MAX_HP,               2000,   1,  false,  false,  false},
    23.                 [71161] = { 20159,  item.get_socket(2)*60,  apply.MOV_SPEED,    60,     1,  false,  false,  false},
    24.                                                            
    25.  
    26.                 [52001] = { 20201,  60*60*24*365, apply.ATTBONUS_MONSTER,   0,  0,  false,  true    },
    27.                 [52002] = { 20201,  60*60*24*365, apply.MALL_EXPBONUS,      0,  0,  false,  true    },
    28.                 [52003] = { 20201,  60*60*24*365, apply.MAX_HP,             0,  0,  false,  true    },
    29.                 [52004] = { 20201,  60*60*24*365, apply.DEF_GRADE_BONUS,    0,  0,  false,  true    },
    30.                 [52005] = { 20201,  60*60*24*365, apply.ATT_GRADE_BONUS,    0,  0,  false,  true    },
    31.                 [52006] = { 20205,  60*60*24*365, apply.ATTBONUS_MONSTER,   3,  0,  false,  true    },
    32.                 [52007] = { 20205,  60*60*24*365, apply.MALL_EXPBONUS,      3,  0,  false,  true    },
    33.                 [52008] = { 20205,  60*60*24*365, apply.MAX_HP,             250,    0,  false,  true    },
    34.                 [52009] = { 20205,  60*60*24*365, apply.DEF_GRADE_BONUS,    50, 0,  false,  true    },
    35.                 [52010] = { 20205,  60*60*24*365, apply.ATT_GRADE_BONUS,    30, 0,  false,  true    },
    36.                 [52011] = { 20209,  60*60*24*365, apply.ATTBONUS_MONSTER,   5,  0,  false,  true    },
    37.                 [52012] = { 20209,  60*60*24*365, apply.MALL_EXPBONUS,      5,  0,  false,  true    },
    38.                 [52013] = { 20209,  60*60*24*365, apply.MAX_HP,             500,    0,  false,  true    },
    39.                 [52014] = { 20209,  60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,  false,  true    },
    40.                 [52015] = { 20209,  60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,  false,  true    },
    41.  
    42.                 [52016] = { 20202,  60*60*24*365, apply.ATTBONUS_MONSTER,   0,  0,  false,  true    },
    43.                 [52017] = { 20202,  60*60*24*365, apply.MALL_EXPBONUS,      0,  0,  false,  true    },
    44.                 [52018] = { 20202,  60*60*24*365, apply.MAX_HP,             0,  0,  false,  true    },
    45.                 [52019] = { 20202,  60*60*24*365, apply.DEF_GRADE_BONUS,    0,  0,  false,  true    },
    46.                 [52020] = { 20202,  60*60*24*365, apply.ATT_GRADE_BONUS,    0,  0,  false,  true    },
    47.                 [52021] = { 20206,  60*60*24*365, apply.ATTBONUS_MONSTER,   3 , 0,  false,  true    },
    48.                 [52022] = { 20206,  60*60*24*365, apply.MALL_EXPBONUS,      3 , 0,  false,  true    },
    49.                 [52023] = { 20206,  60*60*24*365, apply.MAX_HP,             250,    0,  false,  true    },
    50.                 [52024] = { 20206,  60*60*24*365, apply.DEF_GRADE_BONUS,    50, 0,  false,  true    },
    51.                 [52025] = { 20206,  60*60*24*365, apply.ATT_GRADE_BONUS,    30, 0,  false,  true    },
    52.                 [52026] = { 20210,  60*60*24*365, apply.ATTBONUS_MONSTER,   5 , 0,  false,  true    },
    53.                 [52027] = { 20210,  60*60*24*365, apply.MALL_EXPBONUS,      5 , 0,  false,  true    },
    54.                 [52028] = { 20210,  60*60*24*365, apply.MAX_HP,             500,    0,  false,  true    },
    55.                 [52029] = { 20210,  60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,  false,  true    },
    56.                 [52030] = { 20210,  60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,  false,  true    },
    57.  
    58.  
    59.                 [52031]= { 20204,   60*60*24*365, apply.ATTBONUS_MONSTER,   0,  0,  false,  true    },
    60.                 [52032]= { 20204,   60*60*24*365, apply.MALL_EXPBONUS,      0,  0,  false,  true    },
    61.                 [52033]= { 20204,   60*60*24*365, apply.MAX_HP,             0,  0,  false,  true    },
    62.                 [52034]= { 20204,   60*60*24*365, apply.DEF_GRADE_BONUS,    0,  0,  false,  true    },
    63.                 [52035]= { 20204,   60*60*24*365, apply.ATT_GRADE_BONUS,    0,  0,  false,  true    },
    64.                 [52036]= { 20208,   60*60*24*365, apply.ATTBONUS_MONSTER,   3 , 0,  false,  true    },
    65.                 [52037]= { 20208,   60*60*24*365, apply.MALL_EXPBONUS,      3 , 0,  false,  true    },
    66.                 [52038]= { 20208,   60*60*24*365, apply.MAX_HP,             250,    0,  false,  true    },
    67.                 [52039]= { 20208,   60*60*24*365, apply.DEF_GRADE_BONUS,    50, 0,  false,  true    },
    68.                 [52040]= { 20208,   60*60*24*365, apply.ATT_GRADE_BONUS,    30, 0,  false,  true    },
    69.                 [52041]= { 20212,   60*60*24*365, apply.ATTBONUS_MONSTER,   5 , 0,  false,  true    },
    70.                 [52042]= { 20212,   60*60*24*365, apply.MALL_EXPBONUS,      5 , 0,  false,  true    },
    71.                 [52043]= { 20212,   60*60*24*365, apply.MAX_HP,             500,    0,  false,  true    },
    72.                 [52044]= { 20212,   60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,  false,  true    },
    73.                 [52045]= { 20212,   60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,  false,  true    },
    74.  
    75.  
    76.                 [52046]= { 20203,   60*60*24*365, apply.ATTBONUS_MONSTER,   0,  0,  false,  true    },
    77.                 [52047]= { 20203,   60*60*24*365, apply.MALL_EXPBONUS,      0,  0,  false,  true    },
    78.                 [52048]= { 20203,   60*60*24*365, apply.MAX_HP,             0,  0,  false,  true    },
    79.                 [52049]= { 20203,   60*60*24*365, apply.DEF_GRADE_BONUS,    0,  0,  false,  true    },
    80.                 [52050]= { 20203,   60*60*24*365, apply.ATT_GRADE_BONUS,    0,  0,  false,  true    },
    81.                 [52051]= { 20207,   60*60*24*365, apply.ATTBONUS_MONSTER,   3 , 0,  false,  true    },
    82.                 [52052]= { 20207,   60*60*24*365, apply.MALL_EXPBONUS,      3 , 0,  false,  true    },
    83.                 [52053]= { 20207,   60*60*24*365, apply.MAX_HP,             250,    0,  false,  true    },
    84.                 [52054]= { 20207,   60*60*24*365, apply.DEF_GRADE_BONUS,    50, 0,  false,  true    },
    85.                 [52055]= { 20207,   60*60*24*365, apply.ATT_GRADE_BONUS,    30, 0,  false,  true    },
    86.                 [52056]= { 20211,   60*60*24*365, apply.ATTBONUS_MONSTER,   5 , 0,  false,  true    },
    87.                 [52057]= { 20211,   60*60*24*365, apply.MALL_EXPBONUS,      5 , 0,  false,  true    },
    88.                 [52058]= { 20211,   60*60*24*365, apply.MAX_HP,             500,    0,  false,  true    },
    89.                 [52059]= { 20211,   60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,  false,  true    },
    90.                 [52060]= { 20211,   60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,  false,  true    },
    91.    
    92.    
    93.                 [52061]= { 20213,   60*60*24*365, apply.ATTBONUS_MONSTER,   0,  0,  false,  true    },
    94.                 [52062]= { 20213,   60*60*24*365, apply.MALL_EXPBONUS,      0,  0,  false,  true    },
    95.                 [52063]= { 20213,   60*60*24*365, apply.MAX_HP,             0,  0,  false,  true    },
    96.                 [52064]= { 20213,   60*60*24*365, apply.DEF_GRADE_BONUS,    0,  0,  false,  true    },
    97.                 [52065]= { 20213,   60*60*24*365, apply.ATT_GRADE_BONUS,    0,  0,  false,  true    },
    98.                 [52066]= { 20214,   60*60*24*365, apply.ATTBONUS_MONSTER,   3 , 0,  false,  true    },
    99.                 [52067]= { 20214,   60*60*24*365, apply.MALL_EXPBONUS,      3 , 0,  false,  true    },
    100.                 [52068]= { 20214,   60*60*24*365, apply.MAX_HP,             250,    0,  false,  true    },
    101.                 [52069]= { 20214,   60*60*24*365, apply.DEF_GRADE_BONUS,    50, 0,  false,  true    },
    102.                 [52070]= { 20214,   60*60*24*365, apply.ATT_GRADE_BONUS,    30, 0,  false,  true    },
    103.                 [52071]= { 20215,   60*60*24*365, apply.ATTBONUS_MONSTER,   5 , 0,  false,  true    },
    104.                 [52072]= { 20215,   60*60*24*365, apply.MALL_EXPBONUS,      5 , 0,  false,  true    },
    105.                 [52073]= { 20215,   60*60*24*365, apply.MAX_HP,             500,    0,  false,  true    },
    106.                 [52074]= { 20215,   60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,  false,  true    },
    107.                 [52075]= { 20215,   60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,  false,  true    },
    108.    
    109.                 -- Àü°©¾Ï¼ø·Ï
    110.                 [52076]= { 20216,   60*60*24*365, apply.ATTBONUS_MONSTER,   0,  0,  false,  true    },
    111.                 [52077]= { 20216,   60*60*24*365, apply.MALL_EXPBONUS,      0,  0,  false,  true    },
    112.                 [52078]= { 20216,   60*60*24*365, apply.MAX_HP,             0,  0,  false,  true    },
    113.                 [52079]= { 20216,   60*60*24*365, apply.DEF_GRADE_BONUS,    0,  0,  false,  true    },
    114.                 [52080]= { 20216,   60*60*24*365, apply.ATT_GRADE_BONUS,    0,  0,  false,  true    },
    115.                 [52081]= { 20217,   60*60*24*365, apply.ATTBONUS_MONSTER,   3 , 0,  false,  true    },
    116.                 [52082]= { 20217,   60*60*24*365, apply.MALL_EXPBONUS,      3 , 0,  false,  true    },
    117.                 [52083]= { 20217,   60*60*24*365, apply.MAX_HP,             250,    0,  false,  true    },
    118.                 [52084]= { 20217,   60*60*24*365, apply.DEF_GRADE_BONUS,    50, 0,  false,  true    },
    119.                 [52085]= { 20217,   60*60*24*365, apply.ATT_GRADE_BONUS,    30, 0,  false,  true    },
    120.                 [52086]= { 20218,   60*60*24*365, apply.ATTBONUS_MONSTER,   5 , 0,  false,  true    },
    121.                 [52087]= { 20218,   60*60*24*365, apply.MALL_EXPBONUS,      5 , 0,  false,  true    },
    122.                 [52088]= { 20218,   60*60*24*365, apply.MAX_HP,             500,    0,  false,  true    },
    123.                 [52089]= { 20218,   60*60*24*365, apply.DEF_GRADE_BONUS,    150,    0,  false,  true    },
    124.                 [52090]= { 20218,   60*60*24*365, apply.ATT_GRADE_BONUS,    100,    0,  false,  true    },
    125.                
    126.                 -- Dragor
    127.                 [52091]= { 20223,   60*60*24*365, apply.ATTBONUS_MONSTER,   0,  1,  false,  true    },
    128.                 [52092]= { 20223,   60*60*24*365, apply.MALL_EXPBONUS,      0,  1,  false,  true    },
    129.                 [52093]= { 20223,   60*60*24*365, apply.MAX_HP,             0,  1,  false,  true    },
    130.                 [52094]= { 20223,   60*60*24*365, apply.DEF_GRADE_BONUS,    0,  1,  false,  true    },
    131.                 [52095]= { 20223,   60*60*24*365, apply.ATT_GRADE_BONUS,    0,  1,  false,  true    },
    132.                 [52096]= { 20224,   60*60*24*365, apply.ATTBONUS_MONSTER,   3 , 1,  false,  true    },
    133.                 [52097]= { 20224,   60*60*24*365, apply.MALL_EXPBONUS,      3 , 1,  false,  true    },
    134.                 [52098]= { 20224,   60*60*24*365, apply.MAX_HP,             250,    1,  false,  true    },
    135.                 [52099]= { 20224,   60*60*24*365, apply.DEF_GRADE_BONUS,    50, 1,  false,  true    },
    136.                 [52100]= { 20224,   60*60*24*365, apply.ATT_GRADE_BONUS,    30, 1,  false,  true    },
    137.                 [52101]= { 20225,   60*60*24*365, apply.ATTBONUS_MONSTER,   5 , 1,  false,  true    },
    138.                 [52102]= { 20225,   60*60*24*365, apply.MALL_EXPBONUS,      5 , 1,  false,  true    },
    139.                 [52103]= { 20225,   60*60*24*365, apply.MAX_HP,             500,    1,  false,  true    },
    140.                 [52104]= { 20225,   60*60*24*365, apply.DEF_GRADE_BONUS,    150,    1,  false,  true    },
    141.                 [52105]= { 20225,   60*60*24*365, apply.ATT_GRADE_BONUS,    100,    1,  false,  true    },
    142.                
    143.                 -- Moa
    144.                 [52106]= { 20228,   60*60*24*365, apply.ATTBONUS_MONSTER,   0,  1,  false,  true    },
    145.                 [52107]= { 20228,   60*60*24*365, apply.MALL_EXPBONUS,      0,  1,  false,  true    },
    146.                 [52108]= { 20228,   60*60*24*365, apply.MAX_HP,             0,  1,  false,  true    },
    147.                 [52109]= { 20228,   60*60*24*365, apply.DEF_GRADE_BONUS,    0,  1,  false,  true    },
    148.                 [52110]= { 20228,   60*60*24*365, apply.ATT_GRADE_BONUS,    0,  1,  false,  true    },
    149.                 [52111]= { 20229,   60*60*24*365, apply.ATTBONUS_MONSTER,   3 , 1,  false,  true    },
    150.                 [52112]= { 20229,   60*60*24*365, apply.MALL_EXPBONUS,      3 , 1,  false,  true    },
    151.                 [52113]= { 20229,   60*60*24*365, apply.MAX_HP,             250,    1,  false,  true    },
    152.                 [52114]= { 20229,   60*60*24*365, apply.DEF_GRADE_BONUS,    50, 1,  false,  true    },
    153.                 [52115]= { 20229,   60*60*24*365, apply.ATT_GRADE_BONUS,    30, 1,  false,  true    },
    154.                 [52116]= { 20230,   60*60*24*365, apply.ATTBONUS_MONSTER,   5 , 1,  false,  true    },
    155.                 [52117]= { 20230,   60*60*24*365, apply.MALL_EXPBONUS,      5 , 1,  false,  true    },
    156.                 [52118]= { 20230,   60*60*24*365, apply.MAX_HP,             500,    1,  false,  true    },
    157.                 [52119]= { 20230,   60*60*24*365, apply.DEF_GRADE_BONUS,    150,    1,  false,  true    },
    158.                 [52120]= { 20230,   60*60*24*365, apply.ATT_GRADE_BONUS,    100,    1,  false,  true    },
    159.                
    160.                 --Karácsonyi szarvas, jegesmedve és panda mount
    161.                 [71164]= { 20220,   item.get_socket(2)*60,  apply.MOV_SPEED,    60,     1,  false,  false,  false},
    162.                 [71165]= { 20221,   item.get_socket(2)*60,  apply.MOV_SPEED,    60,     1,  false,  false,  false},
    163.                 [71166]= { 20222,   item.get_socket(2)*60,  apply.MOV_SPEED,    60,     1,  false,  false,  false},
    164.                
    165.                
    166.                 --király tigris
    167.                 [71137]= { 20120,   item.get_socket(2)*60,  apply.MALL_EXPBONUS,    20,     1,  false,  false,  false},
    168.                 [71138]= { 20121,   item.get_socket(2)*60,  apply.MALL_EXPBONUS,    20,     1,  false,  false,  false},
    169.                 [71139]= { 20122,   item.get_socket(2)*60,  apply.MALL_EXPBONUS,    20,     1,  false,  false,  false},
    170.                 [71140]= { 20123,   item.get_socket(2)*60,  apply.MALL_EXPBONUS,    20,     1,  false,  false,  false},
    171.                 [71141]= { 20124,   item.get_socket(2)*60,  apply.MALL_EXPBONUS,    20,     1,  false,  false,  false},
    172.                 [71142]= { 20125,   item.get_socket(2)*60,  apply.MALL_EXPBONUS,    20,     1,  false,  false,  false},
    173.                
    174.                 --Dragor test és Tűz, jég unikornis
    175.                 [71180] = { 20180,  item.get_socket(2)*60,  apply.DEF_GRADE_BONUS,  150,        1,  false,  false,  false},
    176.                 [71181] = { 20220,  item.get_socket(2)*60,  apply.DEF_GRADE_BONUS,  175,        1,  false,  false,  false},
    177.                 [71182] = { 20221,  item.get_socket(2)*60,  apply.DEF_GRADE_BONUS,  200,        1,  false,  false,  false},
    178.                 [71183] = { 20184,  item.get_socket(2)*60,  apply.ATT_GRADE_BONUS,  100,        1,  false,  false,  false},
    179.                 [71184] = { 20183,  item.get_socket(2)*60,  apply.ATT_GRADE_BONUS,  100,        1,  false,  false,  false},
    180.                 }
    181.  
    182.             if pc.level < ride_info[vnum][5] then
    183.                 syschat("Még nincs meg a szinted.")
    184.             else
    185.                 if ride_info[vnum][2] == 0 and remain_time != 0 then
    186.                     pc.mount( ride_info[vnum][1], remain_time*60 )
    187.                     pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
    188.                 else
    189.                     pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
    190.                     pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
    191.                 end
    192.  
    193.                 if true == ride_info[vnum][6] then
    194.                     pc.remove_item(vnum, 1)
    195.                 end
    196.             end
    197.         end
    198.  
    199.         when login begin
    200.             local vnum, remain_time = pc.get_special_ride_vnum()
    201.  
    202.             if 0 != vnum then
    203.                 ride.Ride(vnum, remain_time)
    204.             end
    205.         end
    206.  
    207.         when 71114.use or 71115.use or 71116.use or 71117.use or
    208.              71118.use or 71119.use or 71120.use or 71121.use or 71124.use or
    209.              71125.use or 71126.use or 71127.use or 71128.use or
    210.              71161.use or
    211.         52001.use or 52002.use or 52003.use or 52004.use or 52005.use  or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use  or 52011.use or 52012.use or 52013.use or 52014.use or 52015.use or
    212.              52016.use or 52017.use or 52018.use or 52019.use or 52020.use  or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use  or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use or
    213.          52031.use or 52032.use or 52033.use or 52034.use or 52035.use  or 52036.use or 52037.use or 52038.use or 52039.use or 52040.use  or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or
    214.              52046.use or 52047.use or 52048.use or 52049.use or 52050.use  or 52051.use or 52052.use or 52053.use or 52054.use or 52055.use  or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use or
    215.             52061.use or 52062.use or 52063.use or 52064.use or 52065.use or 52066.use or 52067.use or 52068.use or 52069.use or 52070.use or 52071.use or 52072.use or 52073.use or 52074.use or 52075.use or
    216.             52076.use or 52077.use or 52078.use or 52079.use or 52080.use or 52081.use or 52082.use or 52083.use or 52084.use or 52085.use or 52086.use or 52087.use or 52088.use or 52089.use or 52090.use or 71164.use or 71180.use or 71181.use or 71182.use or 71183.use or 71184.use
    217.             or 71165.use or 71166.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use or 71131.use or 71132.use or 71133.use or 71134.use or
    218.             52091.use or 52092.use or 52093.use or 52094.use or 52095.use or 52096.use or 52097.use or 52098.use or 52099.use or 52100.use or 52101.use or 52102.use or 52103.use or 52104.use or 52105.use or
    219.             52106.use or 52107.use or 52108.use or 52109.use or 52110.use or 52111.use or 52112.use or 52113.use or 52114.use or 52115.use or 52116.use or 52117.use or 52118.use or 52119.use or 52120.use begin
    220.             if pc.is_polymorphed() then
    221.                 syschat("Próbáld újra ha nem vagy átváltoztva.")
    222.             elseif false == pc.is_riding() then
    223.                 if true == horse.is_summon() then
    224.                     horse.unsummon()
    225.                 end
    226.  
    227.                 -- ą«ÇŃ´ë·Î ĽłÁ¤(60łâ)
    228.                 -- item.set_socket(2, 60*24*365*60)
    229.                 ride.Ride(item.vnum, 0)
    230.             else
    231.                 pc.unmount()
    232.                 --say("ŔĚąĚ Ĺ»°ÍŔ» ŔĚżëÁßŔÔ´Ď´Ů.")
    233.                 --say("")
    234.             end
    235.         end
    236.     end
    237. end

     

     

    • Love 2
  5. .sql file?

    Okey, but i think the problem somewhere in source.

    http://pastebin.com/nPewvUhW

     

    In clientmanagerplayer.cpp

    see this:

     

    queryLen = snprintf(queryStr, sizeof(queryStr), 
                "INSERT INTO player%s "
                "(id, account_id, name, level, st, ht, dx, iq, "
                "job, voice, dir, x, y, z, "
                "hp, mp, random_hp, random_sp, stat_point, stamina, part_base, part_main, part_hair, part_acce, gold, playtime, "
                "skill_level, quickslot) "
                "VALUES(0, %u, '%s', %d, %d, %d, %d, %d, "
                "%d, %d, %d, %d, %d, %d, %d, "
                "%d, %d, %d, %d, %d, %d, %d, %d, 0, %lld, 0, ",

    %lld <-- This is the gold. If i write this to 0, it's working, but that's a very very poor fix, i have to find the problem's real cause.

    Edit: It's not caused by the gold int-->long long. It's worked me for a long time, maybe a new system wrong it. Example Offlineshop.

  6. Hi

    I had this attr bug too. I'v solved it. It was simple, but hard to find what is wrong.

    In offline shop config files (in core folders), the socket default is 4. Change it to the real number. (max socket = max stone = default 3)

     

    I've solved 6-7 bonuses too.  If you have the latest public file just see char.cpp: 

    Search for this:

     

    char szColumns[QUERY_MAX_LEN], szValues[QUERY_MAX_LEN];
    
     

    And make it like this below:

     

                char szColumns[QUERY_MAX_LEN], szValues[QUERY_MAX_LEN];
    
    
              int iLen = snprintf(szColumns, sizeof(szColumns), "id,owner_id,pos,count,price,vnum");
                int iUpdateLen = snprintf(szValues, sizeof(szValues), "%u,%u,%d,%u,%u,%u", pkItem->GetID(), GetPlayerID(), (pTable + i)->display_pos, pkItem->GetCount(), (pTable + i)->price, pkItem->GetVnum());
    
                iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ",socket0,socket1,socket2");
                iUpdateLen += snprintf(szValues + iUpdateLen, sizeof(szValues) - iUpdateLen, ",%ld,%ld,%ld", pkItem->GetSocket(0), pkItem->GetSocket(1), pkItem->GetSocket(2));
    
                iLen += snprintf(szColumns + iLen, sizeof(szColumns) - iLen, ",attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6");
                iUpdateLen += snprintf(szValues + iUpdateLen, sizeof(szValues) - iUpdateLen, ",%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d",
                    pkItem->GetAttributeType(0), pkItem->GetAttributeValue(0),
                    pkItem->GetAttributeType(1), pkItem->GetAttributeValue(1),
                    pkItem->GetAttributeType(2), pkItem->GetAttributeValue(2),
                    pkItem->GetAttributeType(3), pkItem->GetAttributeValue(3),
                    pkItem->GetAttributeType(4), pkItem->GetAttributeValue(4),
                    pkItem->GetAttributeType(5), pkItem->GetAttributeValue(5),
                    pkItem->GetAttributeType(6), pkItem->GetAttributeValue(6));
    
                char szInsertQuery[QUERY_MAX_LEN];
                snprintf(szInsertQuery, sizeof(szInsertQuery), "INSERT INTO %soffline_shop_item (%s) VALUES (%s)", get_table_postfix(), szColumns, szValues);
                std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery(szInsertQuery));
                pkItem->RemoveFromCharacter();

     

    If doesn't works, than you doesn't have latest files, then PM me.

     

    P.S. I don't want to fight anyone who had buy or not the system, It's everyone own business, and conscience. Peace

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