"0.0.10178", 204986683, "0.0.10453", 201827574, "0.0.10591", 201866008, "0.0.10643", 201866123, "0.0.11057", 201878996, "0.0.11176", 201878996, "0.0.11434", 204094312, "0.0.11441", 204094312, "0.0.12444", 204124788, "0.0.12937", 204720178, "0.0.13124", 204720178, "0.0.13132", 204720178, "0.0.13495", 206218809, "0.0.13788", 206219183, "0.0.14003", 208279051, "0.0.15047", 210706102, "0.0.15246", 210706102, "0.0.16252", 213225706, "0.0.17666", 218406503, "0.0.17721", 218406503, "0.0.17990", 218406503, "0.0.18795", 222012348, "0.0.19092", 222048930, "0.0.21734", 239325550, "0.0.23618", 241860218, "0.0.23632", 241860218, "0.0.26323", 244958860, "0.0.29522", 253348913, "0.0.33101", 268891190, "0.0.37097", 294376243, "0.0.41196", 312714220, "0.0.45300", 329796780, "0.0.47257", 326607925, "0.0.47865", 327331199, "0.0.48954", 328562525, "0.0.49287", 348239794, "0.0.50334", 361284185, "0.0.50358", 361284185, "0.0.51566", 366391958, "0.0.52818", 373216534, "0.0.53685", 376595156, "0.10178.34332", 112906453, "0.25000.34332", 39288940, "0.30000.34332", 28581725, "0.36952.37090", 814551, "1.0.30243", 8095070, "1.0.30252", 4918, "1.0.30296", 1039565, "1.0.30568", 7924, "1.0.31090", 6208942, "1.0.31122", 415209, "1.0.31124", 6896, "1.0.31146", 22378, "1.0.31338", 2747822, "1.0.31803", 4252667, "1.0.31843", 16959, "1.0.31845", 27501, "1.0.31847", 4445, "1.0.31923", 424013, "1.0.32537", 7210351, "1.0.32565", 68685, "1.0.33066", 3691922, "1.0.33677", 6087096, "1.0.34226", 2565913, "1.0.34251", 4806, "1.0.34332", 35124, "1.0.34598", 2482654, "1.0.34708", 5207, "1.0.34981", 2219517, "1.0.35331", 7037081, "1.0.35349", 36246, "1.0.35767", 1759574, "1.0.35774", 13833, "1.0.35848", 9297, "1.0.35850", 9238, "1.0.36090", 5344303, "1.0.36119", 7524, "1.0.36187", 3353, "1.0.36437", 2202059, "1.0.36509", 342277, "1.0.36550", 3697, "1.0.37090", 14388520, "1.0.37181", 661034, "1.0.37580", 7511130, "1.0.37649", 7083, "1.0.38076", 5053090, "1.0.38079", 8684, "1.0.38081", 8692, "1.0.38127", 23429, "1.0.38129", 44349, "1.0.38149", 26600, "1.0.38538", 3242492, "1.0.38552", 45306, "1.0.38601", 54889, "1.0.38664", 128651, "1.0.38796", 1032760, "1.0.38884", 193851, "1.0.38899", 5388, "1.0.39279", 8187044, "1.0.39321", 75679, "1.0.39389", 66198, "1.0.39420", 16987, "1.0.39529", 5528, "1.0.39833", 2644844, "1.0.39839", 16197, "1.0.40082", 898320, "1.0.40092", 2220, "1.0.40105", 10773, "1.0.40452", 1600146, "1.0.40464", 28705, "1.0.40868", 3825072, "1.0.40898", 131597, "1.0.40922", 56844, "1.0.40925", 5850, "1.0.41201", 271774, "1.0.41226", 30952, "1.0.42025", 12948212, "1.0.42048", 394641, "1.0.42434", 2056615, "1.0.42492", 5100, "1.0.42754", 1031764, "1.0.43604", 22654737, "1.0.43657", 674373, "1.0.43667", 177063, "1.0.43681", 123400, "1.0.43736", 623238, "1.0.43908", 252194, "1.0.43916", 6353, "1.0.43926", 4463, "1.0.43954", 19937, "1.0.44340", 3063703, "1.0.44950", 7580525, "1.0.45292", 2719037, "1.0.45357", 70452, "1.0.45774", 2285550, "1.0.45782", 7264, "1.0.46321", 9098442, "1.0.46334", 405170, "1.0.46644", 860056, "1.0.46657", 11944, "1.0.47240", 3655106, "1.0.47266", 1660, "1.0.47313", 6267, "1.0.47320", 9464, "1.0.47382", 289985, "1.0.47440", 283735, "1.0.47712", 1874315, "1.0.47729", 67685, "1.0.48263", 2654450, "1.0.48274", 36949, "1.0.48336", 248904, "1.0.48603", 2279338, "1.0.48842", 553406, "1.0.48900", 491752, "1.0.49269", 103170028, "1.0.49312", 21655, "1.0.49630", 2822997, "1.0.49636", 20883, "1.0.49904", 154698, "1.0.50330", 36254514, "1.0.50341", 18574, "1.0.50409", 13115, "1.0.50525", 1556037, "1.0.50544", 3631, "1.0.50620", 107272, "1.0.50797", 2841466, "1.0.50943", 1125172, "1.0.50983", 6733, "1.0.51088", 2508352, "1.0.51249", 2345936, "1.0.51264", 42297, "1.0.51566", 2982097, "1.0.51593", 89434, "1.0.51843", 2632320, "1.0.52333", 6395866, "1.0.52348", 16249, "1.0.52398", 375898, "1.0.52409", 9160, "1.0.52451", 1280794, "1.0.52609", 5690321, "1.0.52632", 407820, "1.0.52651", 9160, "1.0.52818", 579587, "1.0.52858", 10608, "1.0.52892", 6516, "1.0.53106", 1860168, "1.0.53261", 1435621, "1.0.53263", 17970, "1.0.53371", 105580, "1.0.53487", 2515528, "1.0.53500", 31261, "1.0.53601", 28117, "1.0.53615", 31722, "1.0.53666", 49092, "1.0.53765", 1457997, "1.0.53932", 1212950, "1.0.54140", 2183126, "1.0.54206", 308281, "1.0.54246", 376528, "1.0.54273", 361854, "1.0.54342", 794962, "1.0.54376", 328824, "1.0.54401", 83350, "1.0.54428", 330456, "1.0.54462", 332014, "1.0.54481", 333509, "1.0.54495", 1480, } baseVer="1.0.10178" patchUrl="https://g64na.gph.netease.com/patch" packUrl="https://g64na.update.netease.com/pl/package_url" _sp={} _min=30000 _https_ver=1 M_S=999999999 function gVN(vv) local a,i={},1 for d in string.gmatch(vv,"%d+") do a[i]=tonumber(d) i=i+1 end return a[1],a[2],a[3] end function init() _cb={} _nm={} _nma={} _ul={} _mp={} local a,b,c=gVN(baseVer) _bv=c local i,x,y,z=1,0,0,0 while i<= #pl do x,y,z=gVN(pl[i]); if(z>=_min or (x<1 and y<1))then if(x<1)then if(y<1)then _mp[z]=pl[i+1] else if not _cb[y] or _cb[y][2]0 do if i==1 or _nma[i-1]<=cev then ev=_nma[i] iS=_nm[ev][1]+gNP(ev,cev,tb1) break end i=i-1 end for k,v in pairs(_cb) do if cev=k then local f=1 if lev ~= 0 then if lev=k then f=0 end end if f==1 then local tb2={} local s=v[1]+gNP(v[2],cev,tb2) if iS > s then iS=s bv=k ev=v[2] tb1=tb2 end end end end table.insert(tbU,{bv,ev}) for k,v in pairs(tb1) do table.insert(tbU,v) end return iS end function getUpdateInfo(cV) return getUpdateInfoEx(cV,baseVer) end function getUpdateInfoEx(cV,bV) init() local x,y,s=gVN(bV) if s<_bv then return 0,packUrl end if s<_https_ver then patchUrl=string.gsub(patchUrl, "https://", "http://") end local mv=0 x,y,s=gVN(cV) if s<1 then cV=bV x,y,s=gVN(cV) mv=s end if _sp['v'..s] then s=_sp['v'..s] end if #_nma>0 and s<_nma[1]-1 then _nm[_nma[1]-1]={M_S,baseVer} table.insert(_nma,1,_nma[1]-1) end gNP(s,0,_ul) ret="" for k,v in pairs(_ul) do s,x,y=0,'','' if v[1]==0 then s=_nm[v[2]][1] x=_nm[v[2]][2] y=x else s=_cb[v[1]][1] x='0.'..v[1]..'.'..v[2] y=x y=_nm[v[2]][2] end if s0 then x="0.0."..mv ret=x..",".._mp[mv]..","..patchUrl..x..".sanguo.all.all"..","..ret end return 1,ret end