OK論壇

 找回密碼
 註冊
查看: 651|回復: 3

RO Ea-12466 PVP排行 [已爬文,始終未解決]

 關閉 [複製鏈接]
  • TA的每日心情
    開心
    2011-1-18 10:37 PM
  • 簽到天數: 218 天

    連續簽到: 0 天

    [LV.7]常住居民III

    發表於 2008-5-11 12:10:01 | 顯示全部樓層 |閱讀模式
    我在Ea-12466的版本裡設了一個PVP排行腳本,我點更新排行時他都不理我,我已經爬過文了,也曾經有人發過還有解決的辦法,但我都照了那些解決步驟做了,還是一樣。

    這是我目前用的Ea-PVP排行腳本:

    請問是哪兒沒有設定到?

    高手幫忙。

    感恩。

    //------------------------------------------//
    //名稱 : kill_place_system
    //版本 : v2.5a
    //製造日期 : 2007/11/07
    //完成日期 : 2007/11/07
    //版權 : Pluto Asterism
    //設定製作       by   Legend
    //                               以上請勿刪除
    //------------------------------------------//
    //BUG回報:
    [url=]//[email protected][/url]
    //------------------------------------------//
    //修正&更新:
    //修正變數,將#變數改為人物專用變數
    //簡化 腳本編排方式
    //刪除使用NPC來紀錄資料的方式
    //------------------------------------------//
    //注意事項:
    //假如原本就有殺人旁行榜之類的腳本
    //,那麼請刪除或是停用那個腳本
    //因為互相干擾的機率是100%
    //請將 OnPCDieEvent , OnPCKillEvent  事件空出來,以供此腳本運作
    //------------------------------------------//
    //地圖座標皆以測試伺服器為基準,
    //請自行更改成您要的地圖或是座標
    //(只需更改PVP排行榜的地圖座標)
    //------------------------------------------//
    //--------------------------------//
    //----------PVP排行----------//
    //--------------------------------//
    ayothaya.gat,213,190,4 script PVP/GVG排行員 123,{
    mes "您【" + killmanname$ + "】親手解決了 " + killpoint + " 人,死亡次數:" + diepoint;
    next;
    menu "觀看排行",seeplace_all,"更新排行",newplacings_all;
    seeplace_all:
    callfunc "seeplace";
    end;
    newplacings_all:
    callfunc "newplacings";
    end;
    }
    //--------------------------------//
    //----------排行榜單---------//
    //--------------------------------//
    function script seeplace {
    for(set @num,1;@num<16;set @num,@num+1){
    mes "第" + @num + "名: ^ff0000" + $place_name$[(@num)] + "^000000殺敵: ^0088FF" + $place_kill_point[(@num)] + "^000000死亡數: ^0000FF" + $place_die_point[@num] + "^000000  ";
    mes "//-------------------------------//";
    }
    close;
    end;
    }
    //--------------------------------//
    //----------編排公式---------//
    //--------------------------------//
    function script newplacings {
    mes "按下一頁,進行編排";
    next;
    set @num,16;
    check_place:
    set @num,@num-1;
    if (killmanname$==$place_name$[(@num)]) {
    if (killpoint>=$place_kill_point[(@num)]) {
    if (@num==1) {
    if (diepoint<=$place_die_point[(@num)]) {
    mes "第一名先生/小姐,您好!您尚未超越自己噢";
    close;
    end;
    }
    set $place_name$[1],killmanname$;
    set $place_kill_point[1],#killpoint;
    set $place_die_point[1],#diepoint;
    set @new,1;
    goto over_place;
    }
    set @ber,@num-1;
    if (killpoint<$place_kill_point[(@ber)]) {
    set $place_kill_point[(@ber+1)],killpoint;
    set $place_die_point[(@ber+1)],diepoint;
    set @new,1;
    }
    if (killpoint==$place_kill_point[(@ber)] && diepoint>=$place_die_point[(@ber)]) {
    set $place_kill_point[(@ber+1)],killpoint;
    set $place_die_point[(@ber+1)],diepoint;
    set @new,1;
    }
    for(set @ber,@num-1;@ber@ber!=0;set @ber,@ber-1) {
    if (killpoint==$place_kill_point[(@ber)] && diepoint<$place_die_point[(@ber)]) {
    set $place_name$[(@ber+1)],$place_name$[(@ber)];
    set $place_kill_point[(@ber+1)],$place_kill_point[(@ber)];
    set $place_die_point[(@ber+1)],$place_die_point[(@ber)];
    set $place_name$[(@ber)],killmanname$;
    set $place_kill_point[(@ber)],killpoint;
    set $place_die_point[(@ber)],diepoint;
    set @new,1;
    }
    if (killpoint>$place_kill_point[(@ber)]) {
    set $place_name$[(@ber+1)],$place_name$[(@ber)];
    set $place_kill_point[(@ber+1)],$place_kill_point[(@ber)];
    set $place_die_point[(@ber+1)],$place_die_point[(@ber)];
    set $place_name$[(@ber)],killmanname$;
    set $place_kill_point[(@ber)],killpoint;
    set $place_die_point[(@ber)],diepoint;
    set @new,1;
    }
    }
    goto over_place;
    }
    }
    if (@num==1) {
    goto run_place;
    }
    goto check_place;
    run_place:
    for(set @num,15;@num@num!=0;set @num,@num-1) {
    if (killpoint==$place_kill_point[(@num)] && diepoint<$place_die_point[(@num)]) {
    set $place_name$[(@num+1)],$place_name$[(@num)];
    set $place_name$[(@num)],killmanname$;
    set $place_kill_point[(@num+1)],$place_kill_point[(@num)];
    set $place_kill_point[(@num)],killpoint;
    set $place_die_point[(@num+1)],$place_die_point[(@num)];
    set $place_die_point[(@num)],diepoint;
    set @new,1;
    }
    if (killpoint>$place_kill_point[(@num)]) {
    set $place_name$[(@num+1)],$place_name$[(@num)];
    set $place_name$[(@num)],killmanname$;
    set $place_kill_point[(@num+1)],$place_kill_point[(@num)];
    set $place_kill_point[(@num)],killpoint;
    set $place_die_point[(@num+1)],$place_die_point[(@num)];
    set $place_die_point[(@num)],diepoint;
    set @new,1;
    }
    }
    over_place:
    for(set @number,1;@number<16;set @number,@number+1) {
    if (killmanname$==$place_name$[(@number)] && @new==1) {
    announce $place_name$[(@number)] + "晉升為,第" + @number + "名,殺敵:" + $place_kill_point[(@number)] + "死亡數:" + $place_die_point[(@number)] + " . ",15,0x000000;
    }
    }
    mes "編排完畢!!您可以看一下新的殺人排名";
    close;
    end;
    }
    //-------------------------------//
    //------被殺點增加---------//
    //-------------------------------//
    prontera.gat,0,0,0 script OnPCDieEvent -1,{
    callfunc "adddiepointsystem";
    }
    function script adddiepointsystem {
    set killmanname$,strcharinfo(0);
    set diepoint,diepoint+1;
    dispbottom "【逼機系統】死亡次數:" + diepoint;
    end;
    }
    //-------------------------------//
    //------殺人點增加---------//
    //-------------------------------//
    prontera.gat,0,0,0 script OnPCKillEvent -1,{
    callfunc "addkillpointsystem";
    }
    function script addkillpointsystem {
    set killmanname$,strcharinfo(0);
    set killpoint,killpoint+1;
    dispbottom "【逼機系統】殺敵次數:" + killpoint;
    end;
    }

    該用戶從未簽到

    發表於 2008-5-16 23:11:11 | 顯示全部樓層
    現在很多地方滴這種腳本都不能使用

    通常能使用滴都是有些GM自己改滴˙ˇ˙

    我也在煩惱這個捏 :tk_23
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2019-8-18 04:57 PM
  • 簽到天數: 2148 天

    連續簽到: 1 天

    [LV.Master]伴壇終老

    發表於 2008-5-16 23:17:21 | 顯示全部樓層
    腳 本 區 有 人 問 了
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2008-5-26 00:12:23 | 顯示全部樓層
    痾= ="

    我想請問一下

    1. 你是 那個NPC 沒有出現?

    A:  請注意NPC  script PVP排行榜
             中間空白的距離  請參照其他NPC 有出現的NPC 複製 貼上


    2.你是 排行榜 有出現  卻不能計算˙˙ "?

      A:   請將 殺人  上方的座標 更換成   - script OnPCKillEvent -1,{
      A2: 請將 殺人  上方的座標 更換成  - script OnPCDieEvent -1,{



    3.要是都不行的話  請注意觀看您的語法 和  大小寫˙ ˙"

    [ 本帖最後由 zxcbcvasd 於 2008-5-26 12:16 AM 編輯 ]
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2025-7-4 02:41 PM , Processed in 0.073193 second(s), 20 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表