Jump to content

Easycore

Members
  • Posts

    220
  • Joined

  • Days Won

    33

Posts posted by Easycore

  1. 7 hours ago, Functor said:

    Send me link to the lite patch and account for testing. I'll check it when I have free time.

    Can't send you lite-patch and account since I'm doing this in local server.

    Diff:
    https://pastebin.com/iiWBy1dw

    PatchList:
     

    Spoiler

    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    28 Increase Headgear ViewID
    33 Always Call SelectKoreaClientInfo() (Recommended)
    34 Enable /showname (Recommended)
    36 Read msgstringtable.txt (Recommended)
    37 Read questid2display.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    40 Restore Login Window (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    53 Use Ascii on All LangTypes (Recommended)
    61 Disable Packet Encryption
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    73 Remove Hourly Announce (Recommended)
    84 Remove Serial Display (Recommended)
    90 Enable DNS Support (Recommended)
    97 Cancel to Login Window (Recommended)
    208 Restore Cash Shop Icon
    213 Disable Help Message on Login (Recommended)
    230 Always load Korea ExternalSettings lua file

     

    2017-10-25eRagexeRE.rar

  2. Hey guys,

    I'm trying to make compatible guilds and clans together.

    I managed to do it by server-side through a small SRC modification, but there are some client limitances:

    1.- Cannot create guild through ALT+G and /guild "<Name>":
    3SCcLYN.png

    Only can create through @guild command.

    2.- Cannot send guild invitation:
    pisgrG9.png

    It doesn't send any packet if you're in guild and clan at same time, only can invite through /guildinvite "Name".

    Everything else works well, you can interact with guild and clan members.

    SkbnQOP.png

     

    @Functor can you help me with this? <3

    Note: Tested on 2017-10-25eRagexeRE.

  3. 1FYjKRW.png


     

    Description:

    Character Voice System is a custom feature that allows player to make voices when using skills or when dying.

    Features:

    • Three voice types
    • Easy to add new voice types
    • @vlisten command for turn ON/OFF listening to players voices.
    • Works through permanent player variable
    • Configurable delay for not spamming voices
    • Enable/Disable voice system through Battle Config.
     
    How it work?
     
    This system work through a permanent player variable called "VTYPE", so you must set this variable for change voices.
     
    VTYPE: 0 | Voice Type 1 (Default)
    VTYPE: 1 | Voice Type 2
    VTYPE: 2 | Voice Type 3
    etc...
     
    Note: this system only include 3 voice types, if you want more voices, add by yourself.
     
    Adding new voices:
     
    For adding new voices you must to follow a structure in your .wav files.
     
    <M/F>_skill_<VTYPE>_1.wav
    <M/F>_skill_<VTYPE>_2.wav
    <M/F>_skill_<VTYPE>_3.wav
    <M/F>_nodamage_<VTYPE>.wav
    <M/F>_die_<VTYPE>.wav

    Example:

    Adding voice type 5.
     
    // For Male
    M_skill_5_1.wav
    M_skill_5_2.wav
    M_skill_5_3.wav
    M_nodamage_5.wav
    M_die_5.wav

     

    // For Female
    F_skill_5_1.wav
    F_skill_5_2.wav
    F_skill_5_3.wav
    F_nodamage_5.wav
    F_die_5.wav
     
     
    If you're interested in this, feel free to contact me by PM or Discord: Easycore#3412
     
    • Upvote 1
    • Like 1
  4. 6 minutes ago, Giant Whisper said:

    ahora si me deja ir al dungeon, pero tambien al que no hace la quest

    Perdón, me equivoqué en el signo, en realidad es:
     

    if (KielHyreQuest > 36) {

     

  5. 3 hours ago, Giant Whisper said:

    Gracias por responder Easycore, sigue pasando lo mismo (no has hecho la quest)

    Reemplaza:
     

    if ((KielHyreQuest >= 38) && (KielHyreQuest < 106)) {
    Por:
    
    
    if (KielHyreQuest < 36) {

     

  6. Añade un else posterior al último "}"

    if ((KielHyreQuest >= 38) && (KielHyreQuest < 106)) {
    
    next;
    menu     "Level 1 [^00bb000z^000000]",dkieldun1,
         "Level 2 [^00bb002000z^000000]",dkieldun2,
        "Back",Dungeon;
    } else
    mes "no has hecho la quest";
    close;

     

  7. [Guide] Adding custom Random Options

    Introduction:

    In this guide I will introduce you how to implement custom Random Options.

    I will use as an example the bonus "bAddEff".

    7nP3ugI.png

    --------------------------------------------------------------------

    - Server-Side -

    First of all we will add our custom option to item_randomopt_db (db\import\item_randomopt_db.txt)

    When opening this file will appear:

    // Items Random Option Database    
    //
    // Structure of Database:
    // ID,{ Bonus Script }

    So we add this:

    RDMOPT_WEAPON_FREEZE,{ bonus2 bAddEff,Eff_Freeze,getrandomoptinfo(ROA_VALUE)*100; }

    In this case getrandomoptinfo(ROA_VALUE) is multiplied by 100, because 100 means 1% in bAddEff.

    Also, we need to add the constant, opening db\const.txt.

    Find:

    "//RDMOPT_ATTR_TOLERACE_ALL    193"

    And add below:

    RDMOPT_WEAPON_FREEZE	194

    Server side is finished~

    --------------------------------------------------------------------

    - Client-Side -

    For display our custom options we must adding to enumvar.lub and addrandomoptionnametable.lub, located in (luafiles514\lua files\datainfo\)

    Editing enumvar.lub:

    Find:

    ATTR_TOLERACE_ALL = { 193, 10 },

    And add:

    WEAPON_FREEZE = {194, 0},

    *The first number must be same that added in const.txt*

     

    Editing addrandomoptionnametable.lub:

    Find:

    [EnumVAR.MDAMAGE_SIZE_LARGE_USER[1]] = "Magical resistance Large size monster +%d%%",

    And add:

    [EnumVAR.WEAPON_FREEZE[1]] = "Freeze an enemy when attacking +%d%%",

    %d% is equal to ROA_VALUE.

    --------------------------------------------------------------------

    After completing all of the above your Random Option is ready to use.

    Remember that there is documentation of how to add random options to items and a sample npc.

    If you have doubts, write on the comments.

    • Upvote 4
    • MVP 1
  8. Hola, el script si da los puntos correspondientes (#RPs en este caso).

    Para comprobarlo puedes utilizar el comando @set #RPs dentro del juego.De todos modos te dejo una versión un poco más limpia del script:

    Spoiler


    
    geffen,130,69,1	script	Ragnarok#2	-1,{
    OnInit:
    OnClock0135:
    OnClock0235:
    OnClock0335:
    OnClock0435:
    OnClock0535:
    OnClock0635:
    OnClock0735:
    OnClock0835:
    OnClock0935:
    OnClock1035:
    OnClock1135:
    OnClock1235:
    OnClock1335:
    OnClock1435:
    OnClock1535:
    OnClock1635:
    OnClock1735:
    OnClock1835:
    OnClock1935:
    OnClock2035:
    OnClock2135:
    OnClock2235:
    OnClock2335:
    OnClock0035:
    	killmonster "jawaii","All"; //Elimina todos los mobs sobrantes en el mapa
    	
    	announce "Se ha iniciado una Invasion en la Ciudad de Jawaii !!!!",bc_all;
    	set $Monsters_2,32;
    	monster "jawaii",0,0,"Amon Ra",1511,1,"Ragnarok#2::OnMyMobDead"; // 1
    	monster "jawaii",0,0,"Atroce",1785,1,"Ragnarok#2::OnMyMobDead"; // 2
    	monster "jawaii",0,0,"White Lady",1630,1,"Ragnarok#2::OnMyMobDead";// 3
    	monster "jawaii",0,0,"Baphomet",1039,1,"Ragnarok#2::OnMyMobDead";// 4
    	monster "jawaii",0,0,"Dark Lord",1272,1,"Ragnarok#2::OnMyMobDead";// 5
    	monster "jawaii",0,0,"Detardeurus",1719,1,"Ragnarok#2::OnMyMobDead";// 6
    	monster "jawaii",0,0,"Doppelganger",1046,1,"Ragnarok#2::OnMyMobDead";// 7
    	monster "jawaii",0,0,"Dracula",1389,1,"Ragnarok#2::OnMyMobDead";// 8
    	monster "jawaii",0,0,"Drake",1112,1,"Ragnarok#2::OnMyMobDead";// 9
    	monster "jawaii",0,0,"Eddga",1115,1,"Ragnarok#2::OnMyMobDead";// 10
    	monster "jawaii",0,0,"Evil Snake Lord",1418,1,"Ragnarok#2::OnMyMobDead";// 11
    	monster "jawaii",0,0,"Garm",1252,1,"Ragnarok#2::OnMyMobDead";// 12
    	monster "jawaii",0,0,"Turtle General",1312,1,"Ragnarok#2::OnMyMobDead";// 13
    	monster "jawaii",0,0,"Golden Thief Bug",1086,1,"Ragnarok#2::OnMyMobDead";// 14
    	monster "jawaii",0,0,"Gopinich",1885,1,"Ragnarok#2::OnMyMobDead";// 15
    	monster "jawaii",0,0,",Incantation Samurai",1492,1,"Ragnarok#2::OnMyMobDead";// 16
    	monster "jawaii",0,0,"Stormy Knight",1251,1,"Ragnarok#2::OnMyMobDead";// 17
    	monster "jawaii",0,0,"Amon Ra",1511,1,"Ragnarok#2::OnMyMobDead";// 18
    	monster "jawaii",0,0,"Lady Tanee",1688,1,"Ragnarok#2::OnMyMobDead";// 19
    	monster "jawaii",0,0,"Lord of Death",1373,1,"Ragnarok#2::OnMyMobDead";// 20
    	monster "jawaii",0,0,"Maya",1147,1,"Ragnarok#2::OnMyMobDead";// 21
    	monster "jawaii",0,0,"Mistress",1059,1,"Ragnarok#2::OnMyMobDead";// 22
    	monster "jawaii",0,0,"Moonlight Flower",1150,1,"Ragnarok#2::OnMyMobDead";// 23
    	monster "jawaii",0,0,"Orc Hero",1087,1,"Ragnarok#2::OnMyMobDead";// 24
    	monster "jawaii",0,0,"Orc Lord",1190,1,"Ragnarok#2::OnMyMobDead";// 25
    	monster "jawaii",0,0,"Osiris",1038,1,"Ragnarok#2::OnMyMobDead";// 26
    	monster "jawaii",0,0,"Pharaoh",1157,1,"Ragnarok#2::OnMyMobDead";// 27
    	monster "jawaii",0,0,"Phreeoni",1159,1,"Ragnarok#2::OnMyMobDead";// 28
    	monster "jawaii",0,0,"RSX-0806",1623,1,"Ragnarok#2::OnMyMobDead";// 29
    	monster "jawaii",0,0,"Tao Gunka",1583,1,"Ragnarok#2::OnMyMobDead";// 30
    	monster "jawaii",0,0,"Turtle General",1312,1,"Ragnarok#2::OnMyMobDead";// 31
    	monster "jawaii",0,0,"Vesper",1685,1,"Ragnarok#2::OnMyMobDead";// 32
    	end;
    
    OnMyMobDead:
    	#RPs++;
    	$Monsters_2--;
    	if ($Monsters_2 != 0)
    	announce "Quedan "+$Monsters_2+" monstruos en Jawaii.",bc_all;
    	else
    	announce "Felicidades " + strcharinfo(0) + " que mato al ultimo invasor que quedaba",bc_all,"008800";	
    	end;
    }


     

    Respecto al NPC que cambie los items por puntos, hay un npc que puede hacerlo, está ubicado en "npc\custom\quests\quest_shop.txt"

  9. El efecto de la Eddga Card te otorga Endure en nivel 10

    sc_start4 <effect type>,<ticks>,<value 1>,<value 2>,<value 3>,<value 4>{,<target ID number>};

    Value 1 corresponde al nivel de la habilidad, ahora si deseas añadir la habilidad en sí, lo correcto sería añadir lo siguiente:

    skill "SM_ENDURE",10;

     

  10. Primero descarga la versión traducida del Iteminfo.lua desde aquí:
    https://github.com/zackdreaver/ROenglishRE/tree/master/System

    Básicamente tienes dos opciones a la hora de editar el archivo, la primera opción es editarlo manualmente con el bloc de notas y/o Notepad++.

    La segunda opción es usar el Server Database Editor.De todos modos la estructura es algo simple a la hora de editar.

    Spoiler


    
    [5632] = { // ID del ITEM
    		unidentifiedDisplayName = "Hat", //Nombre del item cuando no está identificado
    		unidentifiedResourceName = "ĸ", //Nombre de los archivos (texture y sprite) cuando no está identificado
    		unidentifiedDescriptionName = { "Unknown Item, can be identified by using a Magnifier." }, //Descripción del item sin identificar
    		identifiedDisplayName = "Vanilmirth Hat", //Nombre del item al estar identificado
    		identifiedResourceName = "�ٴҹ̸�������", //Nombre de los archivos (texture y sprite) cuando está identificado
    		identifiedDescriptionName = { //Descripción del item cuando está identificado.
    			"A cold, soft hat that is shaped like a Vanilmirs.",
    			"------------------------",
    			"MDEF +5",
    			"------------------------",
    			"Has a certain chance of auto-casting a Level 1 Bolt skill with each melee attack.",
    			"------------------------",
    			"^FF0000Unrefineable^000000",
    			"^663399Indestructible^000000",
    			"------------------------",
    			"Class:^6666CC Headgear^000000",
    			"Defense:^0000FF 0^000000",
    			"Location:^6666CC Upper^000000",
    			"Weight:^006600 100^000000",
    			"Level Requirement:^006600 30^000000",
    			"Jobs:^6666CC All classes^000000"
    		},
    		slotCount = 0, //Cantidad de slot que posee el item
    		ClassNum = 317 // View ID del item (Para mas informacion click aquí)
    	}, //Final


     

    Recuerda que Iteminfo.lua es usado posterior a clientes 2013.

  11. Hello rAthena,

    I'm trying to attach mercenaries to bl, specifically in clif_specialeffect.

    This is for a skill, I tried the following:

    case SM_ENDURE:
    		clif_skill_nodamage(src,bl,skill_id,skill_lv,
    			sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv)));
    		if(sd->status.mer_id != 0){
    			struct mercenary_data *md;
    			struct map_session_data *sd = md->master;
    			clif_specialeffect(&md->bl, 244, AREA);
    		}
    		break;

    But this generate map-crash. If someone knows about the subject, and can help me, I would greatly appreciate it.

    Regards~

×
×
  • Create New...