Jump to content

Daraen

Members
  • Content Count

    134
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Daraen


  1. I would like to understand for the openmail script command not works

     

    prontera,156,182,4	script	MailBox	2_POSTBOX,{
    	mes("Close this window to open your mail inbox.");
    	close2();
    	openmail();
    	end;
    }

    Nothing happens after closing the window.


  2. conf / map / battle / monster.conf on line 194

    // Display some mob info next to their name? (Note 3)
    // (does not works on guardian or Emperium)
    // 1: Display mob HP (Hp / MaxHp format)
    // 2: Display mob HP (Percent of full life format)
    // 4: Display mob's level
    show_mob_info: 0

    Keep in mind that this will be for the whole server and therefore for all the monsters ^^ '

    Edit: It looks like the conf is not working.
    It says

    Quote

    (does not works on guardian or Emperium)

    but I do have the HP displayed. Can be created as a correction subject for Hercules developers


  3. 47 minutes ago, Battosai said:

    does anyone how to add soul link screen or can i give me a link thanks

    Add this on your scroll item script

     

    Spoiler

    Script: <"
            if(BaseJob==Job_Alchemist) {skilleffect "SL_ALCHEMIST",0; sc_start4 SC_SPIRIT,350000,5,445,0,0;}
            else if(BaseJob==Job_Monk) {skilleffect "SL_MONK",0; sc_start4 SC_SPIRIT,350000,5,447,0,0; }
            else if(BaseJob==Job_Star_Gladiator) {skilleffect "SL_STAR",0; sc_start4 SC_SPIRIT,350000,5,448,0,0; }
            else if(BaseJob==Job_Sage) {skilleffect "SL_SAGE",0; sc_start4 SC_SPIRIT,350000,5,449,0,0; }
            else if(BaseJob==Job_SuperNovice) {skilleffect "SL_SUPERNOVICE",0; sc_start4 SC_SPIRIT,350000,5,451,0,0;}
            else if(BaseJob==Job_Knight) {skilleffect "SL_KNIGHT",0; sc_start4 SC_SPIRIT,350000,5,452,0,0;}
            else if(BaseJob==Job_Wizard) {skilleffect "SL_WIZARD",0; sc_start4 SC_SPIRIT,350000,5,453,0,0;}
            else if(BaseJob==Job_Priest) {skilleffect "SL_PRIEST",0; sc_start4 SC_SPIRIT,350000,5,454,0,0;}
            else if(BaseJob==Job_Bard) {skilleffect "SL_BARDDANCER",0; sc_start4 SC_SPIRIT,350000,5,455,0,0;}
            else if(BaseJob==Job_Dancer) {skilleffect "SL_BARDDANCER",0; sc_start4 SC_SPIRIT,350000,5,455,0,0;}
            else if(BaseJob==Job_Rogue) {skilleffect "SL_ROGUE",0; sc_start4 SC_SPIRIT,350000,5,456,0,0;}
            else if(BaseJob==Job_Assassin) {skilleffect "SL_ASSASIN",0; sc_start4 SC_SPIRIT,350000,5,457,0,0;}
            else if(BaseJob==Job_Blacksmith) {skilleffect "SL_BLACKSMITH",0; sc_start4 SC_SPIRIT,350000,5,458,0,0;}
            else if(BaseJob==Job_Hunter) {skilleffect "SL_HUNTER",0; sc_start4 SC_SPIRIT,350000,5,460,0,0;}
            else if(BaseJob==Job_Soul_Linker) {skilleffect "SL_SOULLINKER",0; sc_start4 SC_SPIRIT,350000,5,461,0,0;}
        ">

     


  4. 9 hours ago, Kuroyama said:

    image.png.2cc62dddbc7434724d2e7442be8fca61.png

    It seems to me that you cannot use empty parentheses as your mistake indicates.
    Instead of the first parethesis, the script expects a ";" thus ignoring the rest of your line.

    So try without the parentheses.
    I don't have gepard so can't try your script.


  5. On 10/21/2020 at 2:55 AM, fiction said:

    i think this one is more complete, https://rathena.org/board/files/file/3445-punching-bag-with-dps-counter/

     

    need to be convert to herc

    Spoiler

    //===== rAthena Script =============================================
    //= Punching Bag NPC
    //===== By: ========================================================
    //= Secretdataz
    //===== Current Version: ===========================================
    //= 0.2
    //===== Changelog: =================================================
    //= 0.1 Initial commit
    //= 0.2 Add MD_KNOCKBACK_IMMUNE
    //===== Compatible With: ===========================================
    //= rAthena Project
    //===== Additional Comments: =======================================
    //= When duplicating this NPC. Only use NUMBER after the # [secret]
    //==================================================================
    prontera,224,79,0    script    PunchingBag#0    HIDDEN_NPC,{
        end;
        
    OnMyMobDead:
    OnInit:
        killmonster("prontera",strnpcinfo(NPC_NAME)+"::OnMyMobDead");
        getmapxy(.map$,.mapx,.mapy,UNITTYPE_NPC,strnpcinfo(NPC_NAME));
        .mobid = monster(strnpcinfo(NPC_MAP),.mapx,.mapy,"Punching Bag",1905,1,strnpcinfo(NPC_NAME)+"::OnMyMobDead");
        .@dupid = atoi(strnpcinfo(NPC_NAME_HIDDEN));
        .gid[.@dupid] = .mobid;
        setunitdata(.gid[.@dupid],UDT_MODE,UDT_MODE|0x00020|0x08000); // Set MD_STATUS_IMMUNE (0x4000000) because EDP/burn/%MHP based status can skew the DPS counter so much.
        setunitdata(.gid[.@dupid],UDT_MAXHP,99999999);
        setunitdata(.gid[.@dupid],UDT_HP,99999999);
        .mhp[.@dupid] = getunitdata(.gid[.@dupid],UDT_MAXHP);
        initnpctimer();
        end;
        
    OnTimer5000:
        .@dupid = atoi(strnpcinfo(NPC_NAME_HIDDEN));
        if(getunittype(.gid[.@dupid]) == 3){
            .@mhp = getunitdata(.gid[.@dupid],UDT_HP);
            .@diff = (.mhp[.@dupid] - .@mhp);
            if(.@diff > 0){
                npctalk "J'ai pris " + (.@diff/5) + " de DPS en 5 secondes.";
                setunitdata(.gid[.@dupid],UDT_HP,.mhp[.@dupid]);
                specialeffect EF_HEAL;
            }
        }
        initnpctimer;
        end;

    }

    prontera,216,79,0    duplicate(PunchingBag#0)    PunchingBag#1    HIDDEN_NPC
    prontera,224,70,0    duplicate(PunchingBag#0)    PunchingBag#2    HIDDEN_NPC
    prontera,216,58,0    duplicate(PunchingBag#0)    PunchingBag#3    HIDDEN_NPC
    prontera,224,58,0    duplicate(PunchingBag#0)    PunchingBag#4    HIDDEN_NPC
    prontera,216,46,0    duplicate(PunchingBag#0)    PunchingBag#5    HIDDEN_NPC
    prontera,224,46,0    duplicate(PunchingBag#0)    PunchingBag#6    HIDDEN_NPC

    prontera,252,80,0    duplicate(PunchingBag#0)    PunchingBag#7    HIDDEN_NPC
    prontera,260,80,0    duplicate(PunchingBag#0)    PunchingBag#8    HIDDEN_NPC
    prontera,252,70,0    duplicate(PunchingBag#0)    PunchingBag#9    HIDDEN_NPC
    prontera,260,70,0    duplicate(PunchingBag#0)    PunchingBag#10    HIDDEN_NPC
    prontera,252,58,0    duplicate(PunchingBag#0)    PunchingBag#11    HIDDEN_NPC
    prontera,260,58,0    duplicate(PunchingBag#0)    PunchingBag#12    HIDDEN_NPC
    prontera,252,46,0    duplicate(PunchingBag#0)    PunchingBag#13    HIDDEN_NPC
    prontera,260,46,0    duplicate(PunchingBag#0)    PunchingBag#14    HIDDEN_NPC
     

    Doing it like this, they work perfectly.

     


  6. Hello @Battosai
    I found this top mvp ranking from this link.

    Keep in mind that the wainting room doesn't update on its own, I just added it so you don't have to.
    Also keep in mind that the script is not up to date and only replaces the top # 1 value.
    So you have to do it by yourself.
    Also note that the variables are temporary and therefore that each time the server is restarted, the ranking is reset.

    //= ===== Hercules Script ======================================
    //= MvP Rank Improved v1.0
    //= ===== Hercules Script ======================================
    //= This Rank will count every MvP you kill,
    //= to be more clear, will count every mob
    //= defined inside the array ".mobid[0]",
    //= so, if you add the poring ID will count in the rank
    //= you can modify and ad miniBoss because this array
    //= only have all MvPs, that's the idea, only MvPs...
    //= ============================================================
    // --- Re-coded by Cookie ---
    // ===== Functions =====
    function	script	mvp_rank	{    
    			set @mvptotal, getarg(0);    
    			set @nomb$, getarg(1);    
    			for (set .@c, 0; .@c < $@top; set .@c, .@c + 1) {        
    			if (@mvptotal >= getd("$topmvp" +.@c)) {            
    			if (strcharinfo(0) == getd("$topmvp" +.@c +"$")) {                
    			setd "$topmvp" +.@c, @mvptotal;                
    			setd "$topmvp" +.@c +"$", @nomb$;                
    			return;            
    		} else {                
    			if (getd("$topmvp" +(.@c + 1) +"$") == "") {                    
    			setd "$topmvp" +.@c, @mvptotal;                    
    			setd "$topmvp" +.@c +"$", @nomb$;                    
    			return;                
    		} else {                    
    			setd "$topmvp" +(.@c + 1), getd("$topmvp" +.@c);                    
    			setd "$topmvp" +(.@c + 1) +"$", getd("$topmvp"+.@c+"$");                    
    			setd "$topmvp" +.@c, @mvptotal;                    
    			setd "$topmvp" +.@c +"$", @nomb$;                    
    			return;	}            
    		}        
    	 }    
       }	
    			return;
    }
    
    function	script	mvp_rank_date	{	
    			return gettime(7) + "-" + gettime(6) + "-" + gettime(5) + " " + gettime(3) + ":" + gettime(2) + ":" + gettime(1);	
    			}
    
    // ===== Script ======
    -	script	Rank MvP	-1,{
    OnInit: // Set npc-specific variables        
    		setarray .mobid[0],1511,1647,1785,1630,1399,1039,1874,2068,1272,1719,1046,1389,1112,1115,1957,1418,1871,1252,1885,1768,1086,1688,1646,1373,1147,1059,1150,1956,2022,1087,1190,1038,1157,1159,1502,1623,1650,1583,1708,1312,1751,1685,1648,1917,1658,2238,1832,1492,1734,1251,1779,2156,2087; // MvP Ids        
    		set .a, 1; // Broadcast who killed the MvP and wich MvP and wick Map [0 Off - 1 On]        
    		set $@top, 5; // Max. Top Rank (Hihgly recommended between 5~10, more maybe bug the server (limited variables)        
    		end;	
    
    OnNPCKillEvent: // Script execution        
    		for (set .@c, 0; .@c < getarraysize(.mobid); 
    		set .@c, .@c + 1)        {        	
    		if (killedrid == .mobid[.@c]) {        		
    		set .@s, 1; // If a MvP			
    		}		
    	}        
    		if (!.@s) // Indicates if not a MVP; if so, end script execution.        	
    		end;        
    		if (.a) // If announcement is toggled, execute broadcast.			
    		//announce "[MVP System] " +strcharinfo(0) +" has killed a MVP [ " +getmonsterinfo(killedrid,0) +" ]",0,0xFFFFFF;					
    		// Check if MVP rank date perma-var is same as char var; if not, rank was reset and therefore the character var MvP should be		
    		if (mvp_rank_date$ != $mvp_rank_date$)		{			
    		set mvp_rank_date$, $mvp_rank_date$;			
    		set MvP, 0;		
    	}        
    		set MvP, MvP + 1;        
    		callfunc ("mvp_rank",MvP,strcharinfo(0));        
    		end;
    	}
    
    prontera,156,181,4	script	MVP Ranking Board	857,{	    
    		
    		function	checkPerm;    // Check GM level;    
    		if (checkPerm()) {    	
    		set .@sel, select ("Show Ranking:^FF0000Reset MVP Ranking^000000");        
    		if (.@sel == 2) { // Reset Ranking        	
    		mes .npcname$;            
    		mes "Are you sure you would like to reset the MVP Ranking?";            
    		next;            
    		set .@confirm, select ("Confirm:Cancel");            
    		if (.@confirm == 1)	{            	
    		for (set .@i, 0; .@i < $@top; set .@i, .@i + 1) {                	
    		setd "$topmvp" +.@i, 0;                    
    		setd "$topmvp" +.@i +"$", "";
    	}				
    		set $mvp_rank_date$, callfunc("mvp_rank_date");                
    		mes .npcname$;                
    		mes "The Ranking has been reset.";                
    		close;                
    		end; 
    	} else {				
    		close;				
    		end; 
    		}        
    	}    
    }	
    		mes .npcname$;	
    		for (set .@c, 0; .@c < $@top; set .@c, .@c + 1)	{		
    		mes "#^FF0000" +(.@c + 1) +"^000000 [ ^0000FF" +getd("$topmvp" +.@c +"$") +"^000000 ] with ^FF0000" +getd("$topmvp" +.@c) +"^000000 MvP killed.";	}	
    		close;    
    		end;        
    
    // =========================    // ===== Configuration =====    // =========================    
    OnInit:
    	set .npcname$, "[ MvP Rankings ]";    	
    	setarray .gm_perm[0],99; // Set all of the GMs that can access this		
    	if ($mvp_rank_date$ == "") {			
    	set $mvp_rank_date$, callfunc("mvp_rank_date");
    	}
    	//waitingroom "Top Hunter ["+getd("$topmvp" +.@c +"$") +"]",0;
    	end;        
    
    function	checkPerm	{    	
    	for (set .@i, 0; .@i < getarraysize(.gm_perm); set .@i, .@i + 1) {        	
    	if (getgmlevel() >= .gm_perm[.@i]) // Change this to >= or == dependent on if you're specifically wanting to set individual GM levels (==) or hierarchy (>=)            	
    	return 1;
    	}        
    	return 0;
    	}
    }

     


  7. The command to change group_id is @adjgroup <group_id> use @ if you want it on yourself.

    Use #adjgroup to use it on a player! example: #adjgroup <char name> <parameters>.

     

    Regarding the script item, I haven't tested but don't forget to add it in "OnEquipScript:" this will allow the player to switch to group_id 10 as soon as he equips the object. If he disconnects, the player will revert to the default value defined in the sql.

     

    However, if the hat is still equipped when reconnecting, the group id will go back to 10 ( Thesis to be checked because it is not an OnPCLoginEvent : ).

    To switch back to group_id 0 when unequipping the object, use the same functions as in "OnEquipScript:" in an "OnUnequipScript:" and set the value to 0


  8. 6 hours ago, RimuraGanos said:

    Does this offline server have star emperor and soul reaper jobs with their skills fully working ? Cause I want to test them. And is this offline server still downloadable ? Or is the project dead here too ?

    I am currently using this client with all of its sql and src features! I use the pre-renewal mechanics however star emperor and soul reaper not seem to be implanted.
    The project remains downloadable ^^

     

    Changes your job.
    ----- Novice / 1st Class -----
       0 Novice              1 Swordman            2 Magician            3 Archer
       4 Acolyte              5 Merchant               6 Thief
    ----- 2nd Class -----
       7 Knight               8 Priest                     9 Wizard               10 Blacksmith
      11 Hunter           12 Assassin            14 Crusader          15 Monk
      16 Sage              17 Rogue                 18 Alchemist         19 Bard
      20 Dancer
    ----- High Novice / High 1st Class -----
    4001 Novice High     4002 Swordman High    4003 Magician High    4004 Archer High
    4005 Acolyte High     4006 Merchant High       4007 Thief High
    ----- Transcendent 2nd Class -----
    4008 Lord Knight      4009 High Priest             4010 High Wizard      4011 Whitesmith
    4012 Sniper               4013 Assassin Cross   4015 Paladin              4016 Champion
    4017 Professor         4018 Stalker                    4019 Creator               4020 Clown
    4021 Gypsy
    ----- 3rd Class (Regular) -----
    4054 Rune Knight    4055 Warlock                 4056 Ranger            4057 Arch Bishop
    4058 Mechanic         4059 Guillotine Cross  4066 Royal Guard   4067 Sorcerer
    4068 Minstrel            4069 Wanderer              4070 Sura                 4071 Genetic
    4072 Shadow Chaser
    ----- 3rd Class (Transcendent) -----
    4060 Rune Knight    4061 Warlock                 4062 Ranger             4063 Arch Bishop
    4064 Mechanic         4065 Guillotine Cross  4073 Royal Guard    4074 Sorcerer
    4075 Minstrel            4076 Wanderer              4077 Sura                  4078 Genetic
    4079 Shadow Chaser
    ----- Expanded Class -----
         23 Super Novice      24 Gunslinger              25 Ninja                 4045 Super Baby
    4046 Taekwon           4047 Star Gladiator     4049 Soul Linker            4050 Gangsi
    4051 Death Knight    4052 Dark Collector    4190 Ex. Super Novice  4191 Ex. Super Baby
    4211 Kagerou            4212 Oboro            4215 Rebellion            4218 Summoner
    ----- Baby Novice And Baby 1st Class -----
    4023 Baby Novice      4024 Baby Swordman    4025 Baby Magician   4026 Baby Archer
    4027 Baby Acolyte      4028 Baby Merchant       4029 Baby Thief
    ---- Baby 2nd Class ----
    4030 Baby Knight     4031 Baby Priest         4032 Baby Wizard         4033 Baby Blacksmith
    4034 Baby Hunter    4035 Baby Assassin   4037 Baby Crusader    4038 Baby Monk
    4039 Baby Sage       4040 Baby Rogue        4041 Baby Alchemist   4042 Baby Bard
    4043 Baby Dancer
    ---- Baby 3rd Class ----
    4096 Baby Rune Knight  4097 Baby Warlock     4098 Baby Ranger           4099 Baby Arch Bis
    hop
    4100 Baby Mechanic       4101 Baby Glt. Cross  4102 Baby Royal Guard  4103 Baby Sorcerer
    4104 Baby Minstrel          4105 Baby Wanderer   4106 Baby Sura             4107 Baby Genetic
    4108 Baby Shadow Chaser
    ---- Modes And Others ----
     22 Wedding            26 Christmas          27 Summer           4048 Star Gladiator (Union)

     


  9. 23 hours ago, 4144 said:

    this errors show what you have wrong or outdated many files in data or/and grf

     

     

    44 minutes ago, AnnieRuru said:

    my test server, from the screenshot provided still follow this topic

     

    https://rathena.org/board/topic/106413-kro-full-client-2020-04-09-includes-bgm-rsu/

    so I downloaded kro 20200409

    20200205 hexed client from nemo <-- PACKETVER

     

    client translation use all 3

    zackdreaver, Asheraf, chris

    work.png.15e391a800136771722d67283b334e7e.png

     

    work, thank's you all


  10. 6 hours ago, AnnieRuru said:

    20200205 client

    screen2020Hercules022.jpg

    nothing, gravity just put it there

    this feature isn't available on 20190530, but appear on 20200205
    so its somewhere between these date

     

    why gibberish word ? I guess I have outdated translation file

    Tanks for answer! 
    Where can i find client 20200225? I have client 2018 actually . Did i look for a lot of time last night without finding. CAN You guide me ?

    For translation, you can found here https://github.com/llchrisll/ROenglishRE/blob/master/Renewal/System/mapInfo_true_EN.lub

×
×
  • Create New...

Important Information

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