Jump to content

Relman

Members
  • Content Count

    13
  • Joined

  • Last visited

Posts posted by Relman


  1.  
    Hello, after looking on the forum, I did not really find a tropic to help me in my quest. I explain, Basic Body relocation 
    does not dodge any attack, then under the players request, I changed to conf / battle / battle.conf:
    Quote

    // Should the target be able of dodging damage by snapping away to the edge of the screen?
    // Official behavior is "no"
    snap_dodge: no

     

    in

    Quote

    // Should the target be able of dodging damage by snapping away to the edge of the screen?
    // Official behavior is "no"
    snap_dodge: true

     

    After that, body relocation Dodge all skill but not Asura strike, could anybody help me solve this problem?
    
    I thank you in advance.

  2. hi ! i have a problem with my Hunting Mission, my problem is :
    When i killed a mob, my mission is always a 0/100, help me plz !

     

    Quote

    //===== Hercules Script ======================================
    //= Hunting Missions
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.4b
    //===== Description: =========================================
    //= Random hunting missions.
    //= Rewards are based on quest difficulty.
    //===== Additional Comments: =================================
    //= 1.0 Initial script.
    //= 1.1 Small improvements and fixes.
    //= 1.2 Added party support and replaced blacklists with an
    //=     SQL query, both thanks to AnnieRuru.
    //= 1.3 Re-added a blacklist adapted for the SQL query.
    //= 1.3a Added mission reset options.
    //= 1.4 Fix ranking table using new SQL database [ossi0110]
    //= 1.4a Fix a bug when a character has deleted, that account
    //=     can't do mission. [AnnieRuru]
    //= 1.4b Update to follow author's method on fixing
    //=     character deletion bug [AnnieRuru]
    //============================================================

    prontera,165,158,6    script    Hunting Missions    4_F_EDEN_MASTER,{
    function Chk; function Cm;
        mes "[Hunting Missions]";
        mes "Hello, "+strcharinfo(PC_NAME)+"!";
        if (!#Mission_Delay) {
            next;
            mes "[Hunting Missions]";
            mes "I can't find any records...";
            mes "You must be new here!";
            emotion e_omg;
            next;
            callsub Mission_Info;
            emotion e_go;
            set #Mission_Delay,1;
            close;
        }
        mes rand(2)?"Working hard, as always...":"Not slacking, I hope...";
        mes "Is there anything I can help";
        mes "you with?";
        mes " ";
        mes "^777777~ You've completed ^0055FF"+Mission_Total+"^777777 mission"+((Mission_Total == 1)?"":"s")+". ~^000000";
        next;
        switch(select(((!Mission0)?" ~ New Mission::":": ~ Mission Status: ~ Abandon Mission")+": ~ Information: ~ View Top Hunters: ~ ^777777Cancel^000000")) {
        case 1:
            mes "[Hunting Missions]";
            if ( #Mission_Count ) {
                mes "You've started a mission";
                mes "on another character.";
                if ( !@hm_char_del_check ) {
                    if ( !query_sql( "SELECT 1 FROM `char_reg_num_db` WHERE `key` = 'Mission0' AND `char_id` IN ( SELECT `char_id` FROM `char` WHERE `account_id` = "+ getcharid(CHAR_ID_ACCOUNT) +" )", .@dummy ) ) {
                        next;
                        mes "[Hunting Missions]";
                        mes "I can't seem to find any records";
                        mes "for that character, though...";
                        mes "One moment, please.";
                        emotion e_hmm;
                        set #Mission_Count, 0;
                    }
                    set @hm_char_del_check, 1;
                }
                close;
            }
            if (#Mission_Delay > gettimetick(2) && .Delay) {
                set .@i, #Mission_Delay-gettimetick(2);
                if (.@i > 3600) set .@j$, (.@i/3600)+" hour"+(((.@i/3600) == 1)?"":"s");
                else if (.@i > 60) set .@j$, (.@i/60)+" minute"+(((.@i/60) == 1)?"":"s");
                else set .@j$, (.@i)+" second"+((.@i == 1)?"":"s");
                mes "I'm afraid you'll have to wait "+.@j$+" before taking another mission.";
                close;
            }
            mes "You must hunt:";
            query_sql("SELECT ID FROM `mob_db` WHERE left(Sprite, 4) != 'meta' AND left(Sprite, 2) != 'E_' AND ~Mode & 32 AND EXP > 0 AND MVP1id = 0 AND DropCardid > 4000 AND DropCardid < 5000 AND ID < 2000 AND instr('"+.Blacklist$+"',ID) = 0 ORDER BY rand() LIMIT "+.Quests, .@mob);
            for (set .@i,0; .@i<.Quests; set .@i,.@i+1) {
                setd "Mission"+.@i, .@mob[.@i];
                setd "Mission"+.@i +"_",0;
            }
            set #Mission_Count, rand(.Count[0],.Count[1]);
            callsub Mission_Status;
            next;
            mes "[Hunting Missions]";
            mes "Report back when";
            mes "you've finished.";
            mes "Good luck!";
            close;
        case 2:
            mes "[Hunting Missions]";
            mes "Mission status:";
            callsub Mission_Status;
            close;
        case 3:
            mes "[Hunting Missions]";
            mes "Do you really want to";
            mes "abandon your mission?";
            if (.Reset < 0 && .Delay)
                mes "Your delay time will not be reset.";
            else if (.Reset > 0)
                mes "It will cost "+Cm(.Reset)+" Zeny.";
            next;
            switch(select(" ~ Abandon...", " ~ ^777777Cancel^000000")) {
            case 1:
                if (.Reset > 0) {
                    if (Zeny < .Reset) {
                        mes "[Hunting Missions]";
                        mes "You don't have enough";
                        mes "Zeny to drop this mission.";
                        emotion e_sry;
                        close;
                    }
                    Zeny -= .Reset;
                    emotion e_cash;
                }
                mes "[Hunting Missions]";
                mes "Alright, I've dropped";
                mes "your current mission.";
                specialeffect(EF_STORMKICK4, AREA, playerattached());
                for(set .@i,0; .@i<.Quests; set .@i,.@i+1) {
                    setd "Mission"+.@i,0;
                    setd "Mission"+.@i+"_",0;
                }
                set #Mission_Count,0;
                if (.Reset < 0 && .Delay) set #Mission_Delay, gettimetick(2)+(.Delay*3600);
                close;
            case 2:
                mes "[Hunting Missions]";
                mes "I knew you were kidding!";
                mes "Keep up the good work.";
                emotion e_heh;
                close;
            }
        case 4:
            callsub Mission_Info;
            close;
        case 5:
            mes "[Hunting Missions]";
            mes "The top hunters are:";
            query_sql("SELECT char_id AS id, (SELECT `name` FROM `char` WHERE char_id = id),`value` FROM `char_reg_num_db` WHERE `key` = 'Mission_Total' ORDER BY `value` DESC LIMIT 5",.@id,.@name$,.@val);
            for(set .@i,0; .@i<5; set .@i,.@i+1)
                mes "  [Rank "+(.@i+1)+"]  "+((.@name$[.@i] == "")?"^777777none":"^0055FF"+.@name$[.@i]+"^000000 : ^FF0000"+.@val[.@i]+" pt.")+"^000000";
            close;
        case 6:
            mes "[Hunting Missions]";
            mes "Nothing? Okay...";
            emotion e_hmm;
            close;
        }

    Mission_Status:
        set @f,0;
        deletearray .@j[0], getarraysize(.@j);
        for(set .@i,0; .@i<.Quests; set .@i,.@i+1) {
            set .@j[.@i], getd("Mission"+.@i);
            set .@j[.Quests], .@j[.Quests]+strmobinfo(3,.@j[.@i]);
            set .@j[.Quests+1], .@j[.Quests+1]+(strmobinfo(6,.@j[.@i])/(getbattleflag("base_exp_rate")/100)*.Modifier[0]);
            set .@j[.Quests+2], .@j[.Quests+2]+(strmobinfo(7,.@j[.@i])/(getbattleflag("job_exp_rate")/100)*.Modifier[1]);
            mes " > "+Chk(getd("Mission"+.@i+"_"),#Mission_Count)+strmobinfo(1,.@j[.@i])+" ("+getd("Mission"+.@i+"_")+"/"+#Mission_Count+")^000000";
        }

        // Reward formulas:
        set .@Mission_Points, 3+(.@j[.Quests]/.Quests/6);
        set .@Base_Exp, #Mission_Count*.@j[.Quests+1]/5;
        set .@Job_Exp, #Mission_Count*.@j[.Quests+2]/5;
        set .@zeny, #Mission_Count*.Quests*.@j[.@i]*.Modifier[2];

        next;
        mes "[Hunting Missions]";
    mes "Mithril coin : 7";
        mes "Mission rewards:";
        mes " > Mission Points: ^0055FF"+.@Mission_Points+"^000000";
        mes " > Base Experience: ^0055FF"+Cm(.@Base_Exp)+"^000000";
        mes " > Job Experience: ^0055FF"+Cm(.@Job_Exp)+"^000000";
        mes " > Zeny: ^0055FF"+Cm(.@zeny)+"^000000";
        if (@f) { set @f,0; return; }
        next;
        mes "[Hunting Missions]";
        mes "Oh, you're done!";
        mes "Good work.";
        mes "Here's your reward.";
        emotion e_no1;
        specialeffect(EF_ANGEL, AREA, playerattached());
        specialeffect(EF_TRUESIGHT, AREA, playerattached());
        set #Mission_Points, #Mission_Points+.@Mission_Points;
        set BaseExp, BaseExp+.@Base_Exp;
        set JobExp, JobExp+.@Job_Exp;
        Zeny += .@zeny;
        for(set .@i,0; .@i<.Quests; set .@i,.@i+1) {
            setd "Mission"+.@i,0;
            setd "Mission"+.@i+"_",0;
        }
        set #Mission_Count,0;
        if (.Delay) set #Mission_Delay, gettimetick(2)+(.Delay*3600);
        set Mission_Total, Mission_Total+1;
        if (Mission_Total == 1) query_sql("INSERT INTO `char_reg_num_db` (`char_id`,`key`,`index`,`value`) VALUES ("+getcharid(CHAR_ID_CHAR)+",'Mission_Total','0',1)");
        else query_sql("UPDATE `char_reg_num_db` SET `value` = "+Mission_Total+" WHERE `char_id` = "+getcharid(CHAR_ID_CHAR)+" AND `key` = 'Mission_Total'");
        close;

    Mission_Info:
        mes "[Hunting Missions]";
        mes "If you so choose, I can assign";
        mes "you a random hunting quest.";
        mes "Some are easier than others, but";
        mes "the rewards increase with difficulty.";
        next;
        mes "[Hunting Missions]";
        mes "Missions points are shared";
        mes "amongst all your characters.";
        if (.Delay) mes "Delay time is, too.";
        mes "You can't take missions on";
        mes "multiple characters at once.";
        next;
        mes "[Hunting Missions]";
        mes "You can start a quest";
        if (.Delay) mes "every "+((.Delay == 1)?"hour.":.Delay+" hours.");
        else mes "whenever you want.";
        mes "That's everything~";
        return;

    function Chk {
        if (getarg(0) < getarg(1)) { set @f,1; return "^FF0000"; }
        else return "^00FF00"; }

    function Cm {
        set .@str$, getarg(0);
        for(set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3)
            set .@str$, insertchar(.@str$,",",.@i);
        return .@str$; }

    OnBuyItem:
        set @cost,0;
        for(set .@i,0; .@i<getarraysize(@bought_nameid); set .@i,.@i+1)
            for(set .@j,0; .@j<getarraysize(.Shop); set .@j,.@j+2)
                if (@bought_nameid[.@i] == .Shop[.@j]) {
                    set @cost, @cost+(.Shop[.@j+1]*@bought_quantity[.@i]);
                    break;
                }
        mes "[Hunting Missions]";
        if (@cost > #Mission_Points) mes "You don't have enough Mission Points.";
        else {
            for(set .@i,0; .@i<getarraysize(@bought_nameid); set .@i,.@i+1) {
                getitem @bought_nameid[.@i], @bought_quantity[.@i];
                dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+".";
            }
            set #Mission_Points, #Mission_Points-@cost;
            mes "Deal completed.";
            emotion e_cash;
        }
        set @cost,0;
        deletearray @bought_nameid[0], getarraysize(@bought_nameid);
        deletearray @bought_quantity[0], getarraysize(@bought_quantity);
        close;

    OnNPCKillEvent:
        if (!getcharid(CHAR_ID_PARTY) || !.Party) {
            if (!#Mission_Count || !Mission0) end;
            for (set .@i, 0; .@i<.Quests; set .@i,.@i+1) {
                if (strmobinfo(1,killedrid) == strmobinfo(1,getd("Mission"+.@i))) {
                    if (getd("Mission"+.@i+"_") < #Mission_Count) {
                        dispbottom "[Hunting Mission] Killed "+(set(getd("Mission"+.@i+"_"),getd("Mission"+.@i+"_")+1))+" of "+#Mission_Count+" "+strmobinfo(1,killedrid)+".";
                        end;
                    }
                }
            }
        } else if (.Party) {
            set .@mob, killedrid;
            getmapxy(.@map1$, .@x1, .@y1, UNITTYPE_PC);
            getpartymember getcharid(CHAR_ID_PARTY),1;
            getpartymember getcharid(CHAR_ID_PARTY),2;
            for(set .@i,0; .@i<$@partymembercount; set .@i,.@i+1) {
                if (isloggedin($@partymemberaid[.@i], $@partymembercid[.@i])) {
                    attachrid $@partymemberaid[.@i];
                    if (#Mission_Count && Mission0 && Hp > 0) {
                        getmapxy(.@map2$, .@x2, .@y2, UNITTYPE_PC);
                        if ((.@map1$ == .@map2$ || .Party == 1) && (distance(.@x1,.@y1,.@x2,.@y2) <= 30 || .Party < 3)) {
                            for(set .@j,0; .@j<.Quests; set .@j,.@j+1) {
                                if (strmobinfo(1,.@mob) == strmobinfo(1,getd("Mission"+.@j))) {
                                    if (getd("Mission"+.@j+"_") < #Mission_Count) {
                                        dispbottom "[Hunting Mission] Killed "+(set(getd("Mission"+.@j+"_"),getd("Mission"+.@j+"_")+1))+" of "+#Mission_Count+" "+strmobinfo(1,.@mob)+".";
                                        break;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        end;

    OnInit:
        set .Delay,12;        // Quest delay, in hours (0 to disable).
        set .Quests,1;        // Number of subquests per mission (increases rewards).
        set .Party,3;        // Party options: 0 (exclude party kills), 1 (include party kills), 2 (same map only), 3 (screen area only)
        set .Reset,-1;        // Reset options: -1 (abandoning mission sets delay time), 0 (no delay time), [Zeny] (cost to abandon mission, no delay time)
        setarray .Count[0],    // Min and max monsters per subquest (increases rewards).
            100,100;
        setarray .Modifier[0],    // Multipliers for Base Exp, Job Exp, and Zeny rewards.
            getbattleflag("base_exp_rate")/100,getbattleflag("job_exp_rate")/100,60;
        setarray .Shop[0],    // Reward items: <ID>,<point cost> (about 10~20 points per hunt).
            512,1,513,1,514,1,538,5,539,5,558,10,561,10;
        set .Blacklist$,    // Blacklisted mob IDs.
            "1062,1088,1183,1186,1200,1212,1220,1221,1234,1235,"+
            "1244,1245,1250,1268,1290,1293,1294,1296,1298,1299,"+
            "1300,1301,1303,1304,1305,1306,1308,1309,1311,1313,"+
            "1515,1588,1618,1676,1677,1678,1679,1796,1797,1974,"+
            "1975,1976,1977,1978,1979";

        npcshopdelitem "mission_shop",512;
        for(set .@i,0; .@i<getarraysize(.Shop); set .@i,.@i+2)
            npcshopadditem "mission_shop", .Shop[.@i], .Shop[.@i+1];
        end;
    }
    - shop mission_shop FAKE_NPC,512:-1

     


  3. Bonjour, J'ai un script que vous connaissez avec des sounds qui se jouent en PVP en rapport avec le nombres de kill ( Double kill, Triple kill, etc... )
    Ce que je veux, c'est installer un système de reward par palier exemple :

    Double kill = 5 Elunium

    Triple kill = 5 Oridecon

    Etc.....

     

    Voila mon Script :

     

    Quote

    -    script    DOTAPVP    -1,{
    OnInit:
    // Config
        set .sound, 1; // soundeffect : 0 - disable, 1 - play soundeffect to all players on map, 2 - play soundeffect to an area around the killer, 3 - play soundeffect to killer only
        set .ownage, 2; // ownage announcement : 0 - disable, 1 - party owns, 2 - guild owns
        set .announce, 1; // make announce to : 0 - global, 1 - map
        set .announcemap, 0; // announce the map name in the announcement ? : 0 - off, 1 - on

        set .announcekill, 1; // announce who pawn who's head : 0 - off, 1- on
        set .msg_die, 0; // show message who kill you when die : 0 - off, 1- on
        set .msg_kill, 0; // show message you kill who when killed someone : 0 - off, 1- on

        set .gmnokill, 0; // GMs are not suppose to kill players. A GM with <this number> level or higher will do nothing. IF set to 60, GM60 and above kill any player will not get anything : 0 - off
        set .doublekill, 2;
        set .triplekill, 3;
        set .killingspree, 4;
        set .dominating, 5;
        set .megakill, 6;
        set .unstoppable, 7;
        set .wickedsick, 8;
        set .monsterkill, 9;
        set .godlike, 10;
        set .holyshit, 11;
        set .continue, 1; // after beyond-godlike, every <this number> kills will make announcement again

        set .owned, 5; // how many times the party/guild has to kill to announce ownage
        set .owncontinue, 1; // after ownage, every <this number> party/guild cumulative kills will make ownage announce again

        setarray .maptrigger$, // only these maps will trigger this script
            "all", // comment this line to only trigger this script on these listed maps
            "guild_vs1",
            "guild_vs2",
            "guild_vs3",
            "guild_vs4",
            "guild_vs5";

        // anti-sit-killer system
        // a player must kill another player with this minimum <this number> level to get the announcement and in the ladder.
        // Otherwise only have streak ended announcement and killed player's streak reset.
        // Its possible for a level 1 novice to kill a level 55 player and he/she will still get in the ladder
        // but a level 55 kill a level 1 player will get nothing
        // 0 - off this system ( default is 55, pk setting )
        set .lvltokill, 0;

        // when a player kill another same player <this number> times in a row, the player is warp back to save point.
        // and the player's streak and ownage count will deduct accordingly
        // 0 - off this system
        set .counttopunish, 6;

        // minimum level range to kill another player
        // eg. when set to 20, player level 99 needs to kill another player with minimum level of 79 to get announcement and increase the kill rank.
        // but a player with base level 50 kills a level 99 will also get the announcement
        // higher base level cannot kill lower level, but lower level can kill higher level
        // 0 - off this system
        set .minlvlrange, 10;

    // Config ends ------------------------------------------------------------------------------------------

    //    to prevent bug happen
        if ( .ownage < 0 || .ownage > 2 ) set .ownage, 0;
        if ( .announce < 0 || .announce > 1 ) set .announce,0;
        if ( .continue < 1 ) set .continue, 1;
        if ( .owncontinue < 1 ) set .owncontinue, 1;
        if ( .gmnokill <= 0 ) set .gmnokill, 100;
        if ( .lvltokill <= 1 ) set .lvltokill, 0;
        if ( .counttopunish <= 1 ) set .counttopunish, 0;
        set .maptriggersize, getarraysize(.maptrigger$);
        end;

    //    script start
    OnPCKillEvent:
        if ( getgmlevel() >= .gmnokill ) end;
        getmapxy .@map$, .@x, .@y, 0;
        if ( .maptrigger$ != "all" ) {
            for ( set .@i, 0; .@i < .maptriggersize; set .@i, .@i +1 ) {
                if ( .@map$ == .maptrigger$[.@i] ) break;
            }
            if ( .@i == .maptriggersize ) end;
        }
        attachrid killedrid;
            if ( killerrid != getcharid(3) && ( .msg_die || .msg_kill ) ) {
                if ( .msg_die ) message strcharinfo(0),"You have been killed by "+ rid2name(killerrid);
                if ( .msg_kill ) message rid2name(killerrid),"You just killed "+ strcharinfo(0);
            }
            if ( @PlayersKilledStreak >= .holyshit )
                set .@streakname$,"Beyond Godlike";
            else if ( @PlayersKilledStreak >= .godlike )
                set .@streakname$,"Godlike";
            else if ( @PlayersKilledStreak >= .monsterkill )
                set .@streakname$,"Monster Kill";
            else if ( @PlayersKilledStreak >= .wickedsick )
                set .@streakname$,"Wicked Sick";
            else if ( @PlayersKilledStreak >= .unstoppable )
                set .@streakname$,"Unstoppable";
            else if ( @PlayersKilledStreak >= .megakill )
                set .@streakname$,"Mega-kill";
            else if ( @PlayersKilledStreak >= .dominating )
                set .@streakname$,"Dominating";
            else if ( @PlayersKilledStreak >= .killingspree )
                set .@streakname$,"Killing Spree";
            else if ( @PlayersKilledStreak >= .doublekill )
                set .@streakname$,"Double Kill";
            else if ( @PlayersKilledStreak >= .triplekill )
                set .@streakname$,"Triple Kill";


        if ( @PlayersKilledStreak >= .killingspree && killerrid == getcharid(3) )
            announce strcharinfo(0) +" A fini "+( (Sex)?"him":"her" )+" own "+ .@streakname$ +"["+ @PlayersKilledStreak +"] streak "+( (.announcemap)?("at "+ .@map$):""),16|.announce;
        else if ( @PlayersKilledStreak >= .killingspree )
            announce rid2name(killerrid) +" A fini "+ strcharinfo(0) +"'s "+ .@streakname$ +"["+ @PlayersKilledStreak +"] streak "+( (.announcemap)?("at "+ .@map$):""),16|.announce;
        else if ( .announcekill && killerrid != getcharid(3) )
            announce rid2name(killerrid) +" à eu la tête de "+ strcharinfo(0) +" "+( (.announcemap)?("at "+ .@map$):""),16|.announce;
        set @PlayersKilledStreak,0;
        set @dota_multikills,0;
        if ( .ownage && getcharid(.ownage) ) {
            setd ".dotaown_"+ getcharid(.ownage), 0;
            set .@killedgroup, getcharid(.ownage);
        }
        if ( killerrid == getcharid(3) || BaseLevel < .lvltokill ) end;
        if ( .minlvlrange ) set .@killedlvl, BaseLevel;
        attachrid killerrid;
        if ( .minlvlrange && .@killedlvl + .minlvlrange < BaseLevel ) end;
        if ( .counttopunish ) {
            if ( @sitkillminute != gettime(2) ) {
                deletearray @sitkillid, 128;
                deletearray @sitkilltimes, 128;
                set @sitkillminute, gettime(2);
            }
            set .@sitkillsize, getarraysize(@sitkillid);
            for ( set .@i,0; .@i < .@sitkillsize; set .@i, .@i +1 ) {
                if ( @sitkillid[.@i] != killedrid ) continue;
                else {
                    set @sitkilltimes[.@i], @sitkilltimes[.@i] +1 ;
                    if ( @sitkilltimes[.@i] >= .counttopunish ) {
                        warp "SavePoint",0,0;
                        announce strcharinfo(0) +" , Stop killing "+ rid2name(killedrid) + " !!!",0;
                        debugmes strcharinfo(0) +" is sit-killing "+ rid2name(killedrid) +" for "+ @sitkilltimes[.@i] + " times";
                        logmes "is sit-killing "+ rid2name(killedrid) +" for "+ @sitkilltimes[.@i] +" times";
                        set @PlayersKilledStreak, @PlayersKilledStreak +1 - .counttopunish;
                        set PlayersKilled, PlayersKilled +1 - .counttopunish;
                        if ( .ownage && getcharid(.ownage) )
                            setd ".dotaown_"+ getcharid(.ownage), getd(".dotaown_"+ getcharid(.ownage) ) +1 - .counttopunish;
                        end;
                    }
                    break;
                }
            }
            if ( .@i == .@sitkillsize ) {
                set @sitkillid[.@i], killedrid;
                set @sitkilltimes[.@i], 1;
            }
        }
        set @PlayersKilledStreak, @PlayersKilledStreak + 1;
        set PlayersKilled, PlayersKilled + 1;
            if ( @PlayersKilledStreak == .killingspree )
                setarray .@streakname$,"killingspree.wav","is on a KILLING SPREE","!";
            else if ( @PlayersKilledStreak == .dominating )
                setarray .@streakname$,"dominating.wav","is DOMINATING","!";
    else if ( @PlayersKilledStreak == .doublekill )
                setarray .@streakname$,"doublekill.wav","Réalise un Double Kill","!";
    else if ( @PlayersKilledStreak == .triplekill )
                setarray .@streakname$,"triplekill.wav","Réalise un Triple Kill","!";
            else if ( @PlayersKilledStreak == .megakill )
                setarray .@streakname$,"humiliation.wav","à fait un MEGA KILL","!";
            else if ( @PlayersKilledStreak == .unstoppable )
                setarray .@streakname$,"unstoppable.wav","est UNSTOPPABLE","!!";
            else if ( @PlayersKilledStreak == .wickedsick )
                setarray .@streakname$,"wickedsick.wav","réalise un WICKED SICK","!!";
            else if ( @PlayersKilledStreak == .monsterkill )
                setarray .@streakname$,"monsterkill.wav","à fait un MONSTER KILL","!!";
            else if ( @PlayersKilledStreak == .godlike )
                setarray .@streakname$,"godlike.wav","is GODLIKE","!!!";
            else if ( @PlayersKilledStreak >= .holyshit && ( (@PlayersKilledStreak - .holyshit) % .continue == 0 ) )
                setarray .@streakname$,"godlike2.wav","Réalise un FUCKING GODLIKE",". Quelqu'un pour "+( (Sex)?"LE":"LA" ) +" TUER !!!!!!!";
        if ( .@streakname$[1] != "" ) {
            announce strcharinfo(0) +" "+ .@streakname$[1] +"["+ @PlayersKilledStreak +"] "+( (.announcemap)?("at "+ .@map$):"") + .@streakname$[2],16|.announce;
            if ( .sound == 1 ) soundeffectall .@streakname$[0],0,.@map$;
            else if ( .sound == 2 ) soundeffectall .@streakname$[0],0;
            else if ( .sound == 3 ) soundeffect .@streakname$[0],0;
        }
        set @dota_multikills, @dota_multikills + 1;
        deltimer "DOTAPVP::OnStreakReset";
        addtimer 18000,"DOTAPVP::OnStreakReset";
        if ( .ownage ) {
            set .@sideid, getcharid(.ownage);
            if ( .@sideid != .@killedgroup ) setd ".dotaown_"+ .@sideid, getd(".dotaown_"+ .@sideid ) + 1;
        }
        set .@dota_multikills, @dota_multikills;
        set .@origin, getcharid(3);
        sleep 1500;
        if ( .@sideid && .ownage && .@sideid != .@killedgroup && getd(".dotaown_"+ .@sideid) >= .owned && ( ( getd(".dotaown_"+ .@sideid) - .owned ) % .owncontinue == 0 ) )
        sleep 1250;
        if ( !attachrid(.@origin) ) end;
            OnWhisperGlobal:
        dispbottom "Votre séquence actuelle: "+ @PlayersKilledStreak;
        dispbottom "Vos Kills totaux          : "+ PlayersKilled;
        if ( .ownage && getcharid(.ownage) )
            dispbottom "Kills "+( (.ownage ==1)?"party":"guild" )+" Mort        : "+ getd(".dotaown_"+ getcharid(.ownage) );
        end;
    OnStreakReset:
        set @dota_multikills, 0;
        end;
    }

     

    J'ai essayé en Rajoutant  : getitem 985,5; ici :

    mais ca ne me fais carrément plus marcher le script.

    une idée ?

    Quote

    else if ( @PlayersKilledStreak == .doublekill )
                setarray .@streakname$,"doublekill.wav","Réalise un Double Kill","!";

    getitem 985,5;
    else if ( @PlayersKilledStreak == .triplekill )

     

     


  4. Ah ok désolés...

    Alors voilà mon problème, j'ai installer le Ceres CP sur mon serveur dédié Ubuntu Kimsufi, il à un problème, il m'affiche le Login Statut en OFF alors qu'il est ON ( je peux me connecter au serveur. )

    A chaque fois que je clique sur un lien du CP pour changer de page, une erreur s'affiche dans mon server Hercule

    ( [Info]: Closed connection from 'xx.xx.xx.xx'. )

    merci de votre réponse :)


  5. Hi ! So to start, know that my English is null...

    I have a problème, i installing my Control Panel ( Ceres CP ) on my server uBuntu Kimsufi, but i have a problème, the control panel it shows me > MAP ON / CHAR ON / and Login OFF, but

    I can connect in the server, all time i click in new page on my CP i have an error 
    on Herc ( [Info]: Closed connection from 'xx.xx.xx.xx'. )

    Thanks for your support ! :D

    
     

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.