[JX] Share Ủy Thác Sử Dụng Bạch Cầu Hoàn FULL Linux.
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 1 của 1
  1. #1
    Thành Viên hoangcungclub's Avatar
    Ngày tham gia
    Aug 2011
    Bài viết
    346
    Thanks
    24
    Thanked 410 Times in 115 Posts

    Share Ủy Thác Sử Dụng Bạch Cầu Hoàn FULL Linux.

    Include("\\script\\global\\baijuwanhead.lua")
    Include("\\script\\global\\judgeoffline_limit.lua" );
    Include("\\script\\item\\ib\\zimudai.lua");
    Include("\\script\\lib\\player.lua")
    Include("\\script\\trip\\define.lua")
    Include("\\script\\shop\\shop_checkmap.lua")

    arraymap =
    {
    ["1"] = "Ph­îng T­êng",
    ["11"] = "Thµnh §«",
    ["37"] = "BiÖn Kinh",
    ["80"] = "D­¬ng Ch©u",
    ["78"] = "T­¬ng D­¬ng",
    ["162"] = "§¹i Lý",
    ["176"] = "L©m An",
    ["20"] = "Giang T©n Th«n",
    ["53"] = "Ba L¨ng HuyÖn",
    ["54"] = "Nam Nh¹c TrÊn",
    ["99"] = "VÜnh L¹c trÊn",
    ["100"] = "Chu Tiªu TrÊn",
    ["101"] = "§¹o H­¬ng Th«n",
    ["121"] = "Long M«n TrÊn",
    ["153"] = "Th¹ch Cæ TrÊm",
    ["174"] = "Long TuyÒn Th«n",
    ["13"] = "Nga Mi",
    ["25"] = "§­êng M«n",
    ["49"] = "Thiªn NhÉn",
    ["59"] = "Thiªn V­¬ng",
    ["81"] = "Vâ §ang",
    ["103"] = "ThiÕu L©m",
    ["115"] = "C¸i Bang",
    ["131"] = "C«n L«n",
    ["154"] = "Thóy Y6en",
    ["183"] = "Ngò §éc",
    ["208"] = "§¹i lao",
    };

    function judgeoffline(player_count, offline_count)
    judgecontion()
    return 0
    end;

    function judgecontion()
    local nExpSpareTime = GetTask(AEXP_SMALL_TIME_TASKID);
    local nExpSpareTime_Hours, nExpSpareTime_Minutes = getFrame2MinAndSec(nExpSpareTime);

    local nSkillExpSpareTime = GetTask(AEXP_SMALL_SKILL_TASKID);
    local nSkillExpSpareTime_Hours, nSkillExpSpareTime_Minutes = getFrame2MinAndSec(nSkillExpSpareTime);

    local nSpecialExpSpareTime = GetTask(AEXP_SPECIAL_TIME_TASKID);
    local nSpecialExpSpareTime_Hours, nSpecialExpSpareTime_Minutes = getFrame2MinAndSec(nSpecialExpSpareTime);

    local nSpecialSkillSpareTime = GetTask(AEXP_SPECIAL_SKILL_TASKID);
    local nSpecialSkillSpareTime_Hours, nSpecialSkillSpareTime_Minutes = getFrame2MinAndSec(nSpecialSkillSpareTime);

    if (nExpSpareTime >= FRAME2TIME * 60 or nSkillExpSpareTime >= FRAME2TIME * 60 or nSpecialExpSpareTime >= FRAME2TIME * 60 or nSpecialSkillSpareTime >= FRAME2TIME) then
    local nSkillExpID = GetTask(AEXP_SKILL_ID_TASKID);
    local szSkillExpName = "";
    if (nSkillExpID ~= 0) then
    szSkillExpName = "<color=yellow>"..GetSkillName(nSkillExpID).."<col or>";
    else
    szSkillExpName = "<color=blue>Ch­a chän kû n¨ng<color>";
    end;
    local szmsg = format("<link=image:\\spr\\item\\script\\chuanjiad aoshu_YN.spr><color>Thêi gian sö dông :<color=Yellow>B¹ch CÇu Hoµn §Æc BiÖt <color><enter>Cßn l¹i lµ <color=red>"..nSpecialExpSpareTime_Hours.."<colo r> Giê <color=red>"..nSpecialExpSpareTime_Minutes.."<colo r> Phót "..
    "<enter>Thêi gian sö dông :<color=Yellow>B¹ch CÇu Hoµn<color><enter>Cßn l¹i lµ <color=red>"..nExpSpareTime_Hours.."<color> Giê <color=red>"..nExpSpareTime_Minutes.."<color> Phót "..
    "<enter>§é thuÇn thùc cña kû n¨ng ("..szSkillExpName..")<enter><color=Yellow>B¹c h CÇu Hoµn Kû N¨ng §Æc BiÖt <color><color=red>"..nSpecialSkillSpareTime_Hours. ." <color>Giê <color=red>" ..nSpecialSkillSpareTime_Minutes.."<color> Phót "..
    "<enter><color=Yellow>B¹ch CÇu Hoµn Kû N¨ng <color><color=red>"..nSkillExpSpareTime_Hours.."<c olor> Giê <color=red>"..nSkillExpSpareTime_Minutes.."<colo r> Phót "..
    "<enter>ñy th¸c nÕu nh­ cã <color=red>B¹ch CÇu Hoµn §Æc BiÖt<color><enter>SÏ ®­îc ­u tiªn h¬n")
    local szSay =
    {"B¾t ®Çu ñy th¸c/beginoffline",
    "Lùa chän kû n¨ng ñy th¸c/#selectofflineskill('judgecontion')",
    "Ta suy nghÜ mét chót!/donothing"
    };
    Describe(szmsg, getn(szSay), szSay[1], szSay[2], szSay[3], szSay[4]);
    else
    beginoffline();
    end
    end

    function beginoffline()
    local bRet = check_if_can_offline()
    if bRet then
    return bRet
    end

    mapid = SubWorldIdx2ID(SubWorld);
    strmapid = ""..mapid.."";
    if (arraymap[strmapid] == nil) then
    Say("<#>B¹n kh«ng thÓ ñy th¸c n¬i nµy. Vui lßng ®Õn thÊt ®¹i thµnh thÞ, th«n lµng hoÆc c¸c m«n ph¸i ®Ó tiÒn hµnh ñy th¸c!", 0);
    return 1
    end

    if (GetFightState() ~= 0) then
    Say("<#>HiÖn tr¹ng th¸i cña b¹n kh«ng thÓ ñy th¸c. Vui lßng ®Õn thÊt ®¹i thµnh thÞ, th«n lµng hoÆc c¸c m«n ph¸i ®Ó tiÒn hµnh ñy th¸c! ", 0);
    return 2
    end

    sparetime = getsparetime();
    if (sparetime <= 0) then
    Say("<#>Thêi gian ñy th¸c cña b¹n cßn l¹i lµ 0 Phót. Xin vui lßng sö B¹ch CÇu hoµn ®Ó ñy th¸c!", 0);
    return 3
    end

    player_count = GetPlayerCount();
    if (player_count > AEXP_OFFLINE_PLAYERCOUNT_LIMIT) then
    Say("<#>Xin ®¹i hiÖp l­îng thø kh«ng thÓ sö dông t×nh n¨ng ñy th¸c t¹i server c«ng céng",0);

    return 4
    end

    OfflineLive(PlayerIndex);
    end

    function donothing()

    end

    function getsparetime()
    local nSpecialExpTime = GetTask(AEXP_SPECIAL_TIME_TASKID);
    local nSpecialSkillTime = GetTask(AEXP_SPECIAL_SKILL_TASKID);
    if (nSpecialExpTime > nSpecialSkillTime) then
    return nSpecialExpTime;
    else
    return nSpecialSkillTime
    end
    local nSpareTime_Exp = GetTask(AEXP_SMALL_TIME_TASKID);
    local nSpareTime_SkillExp = GetTask(AEXP_SMALL_SKILL_TASKID);
    if (nSpareTime_Exp > nSpareTime_SkillExp) then
    return nSpareTime_Exp;
    else
    return nSpareTime_SkillExp;
    end
    end

    function selectofflineskill()
    local aryExpSkill = getexpskill();
    local nExpSkillCount = getn(aryExpSkill);
    local szSayCmd = 'Say("Xin mêi lùa chän kû n¨ng cÇn ñy th¸c",'
    szSayCmd = szSayCmd..(1 + nExpSkillCount)..',';
    for i = 1, nExpSkillCount do
    szSayCmd = szSayCmd..'"'..aryExpSkill[i][2]..'/#onSetUpgradeSkill('..aryExpSkill[i][1]..')",';
    end
    szSayCmd = szSayCmd..'"Trë vÒ/judgecontion")';
    dostring(szSayCmd);
    end

    function onSetUpgradeSkill(nUpgradeSkillID)
    SetTask(AEXP_SKILL_ID_TASKID, nUpgradeSkillID);
    judgecontion();
    end


    function check_if_can_offline()
    mapid = SubWorldIdx2MapCopy(SubWorld);
    strmapid = ""..mapid.."";
    if (arraymap[strmapid] == nil) then
    Say("<#>B¹n kh«ng thÓ ñy th¸c n¬i nµy. Vui lßng ®Õn thÊt ®¹i thµnh thÞ, th«ng lµng hoÆc c¸c m«n ph¸i ®Ó tiÒn hµnh ñy th¸c!", 0);
    return 1
    end

    if offlineCheckPermitRegion()~=1 then
    Say("<#>B¹n kh«ng thÓ ñy th¸c n¬i nµy. Vui lßng ®Õn thÊt ®¹i thµnh thÞ, th«n lµng hoÆc c¸c m«n ph¸i ®Ó tiÒn hµnh ñy th¸c!", 0);
    return 1;
    end;

    if (GetFightState() ~= 0) then
    Say("<#>HiÖn tr¹ng th¸i cña b¹n kh«ng thÓ ñy th¸c. Vui lßng ®Õn thÊt ®¹i thµnh thÞ, th«n lµng hoÆc c¸c m«n ph¸i ®Ó tiÒn hµnh ñy th¸c! ", 0);
    return 2
    end

    local sparetime = getsparetime();
    if (sparetime <= 0) then
    Say("<#>Thêi gian ñy th¸c cña b¹n cßn l¹i lµ 0 Phót. Xin vui lßng sö B¹ch CÇu hoµn ®Ó ñy th¸c!", 0);
    return 3
    end

    player_count = GetPlayerCount();
    local nmax_count_limit = AEXP_OFFLINE_PLAYERCOUNT_LIMIT;
    if (mapid >= 835 and mapid <= 840) then
    nmax_count_limit = AEXP_OFFLINE_PLAYERCOUNT_SPECIAL;
    end;
    if (player_count > nmax_count_limit) then
    Say("<#>Xin ®¹i hiÖp l­îng thø kh«ng thÓ sö dông t×nh n¨ng ñy th¸c t¹i server c«ng céng!",0);

    return 4
    end
    end
    Coppy về thay thế life ủy thác hiện tại nhé.
    Lần sửa cuối bởi hoangcungclub, ngày 25-02-16 lúc 05:43 PM.
    Khách viếng thăm hãy cùng hoangcungclub xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. The Following 5 Users Say Thank You to hoangcungclub For This Useful Post:

    dovietthai (07-09-16), killer20099 (25-02-16), vuduymanh (25-02-16), xomnhalalop12 (29-09-16), z0nkazu04 (26-02-16)

 

 

Các Chủ đề tương tự

  1. Trả lời: 75
    Bài viết cuối: 25-09-16, 10:43 AM
  2. Share Full Server Võ Lâm Miến Phí VNG linux 8.0 FULL VH
    Bởi hoangcungclub trong diễn đàn Chat Chit - Tán Gẫu
    Trả lời: 7
    Bài viết cuối: 22-01-16, 11:10 AM
  3. [MU] Share full WEB + Server SS2 10.00.16 full event và CTC
    Bởi DieuNinh trong diễn đàn Releases
    Trả lời: 53
    Bài viết cuối: 09-05-13, 08:20 PM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 09:31 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.