Jump to content

Hideki

Members
  • Content Count

    15
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Hideki got a reaction from tedexx in bg_consume mapflag, "Battleground's items" that can only be used in BG   
    This source modification adds a new mapflag: bg_consume, and adds an NPC (Telma) 
    that sells consumable items which can only be used on maps with the 'bg_consume' mapflag.
     

    download and apply this diff patch: battlegroud.diff

    create a char named "Battleground"
    First you should check if that name exists:- delete their char, then create a new one
     use a different name use the existing char (WARNING: if they rename the char named "Battleground", it will rename the "Battleground's items" too! If they delete the char named "Battleground", they will become "Unknown's item".)


    When you are ready to create the char named "Battleground", use this SQL query:
     
    SQL INSERT INTO `char` (`name`) VALUES ('Battleground'); make note of the char_id (of the char named "Battleground")
    SQL SELECT char_id FROM `char` WHERE `name`='Battleground'; Write this down somewhere or remember it for the next steps.
      edit source
    - open /src/map/battleground.h
    CODE #define BG_CHARID 165100 // char named "Battleground"
    #define BG_TRADE 91 // trade mask of BG consumables - set BG_CHARID to the char_id from step #3
    - set BG_TRADE to the trade mask (trade restrictions) you want for Battleground's consumables
    (trade bits are the same as /db/item_trade.txt)
    CODE // Trading mask values:
    // 1: Item can't be dropped
    // 2: Item can't be traded (nor vended)
    // 4: Wedded partner can override restriction 2.
    // 8: Item can't be sold to npcs
    // 16: Item can't be placed in the cart
    // 32: Item can't be placed in the storage
    // 64: Item can't be placed in the guild storage

    If you want BG potions to be ranked (ranked Condensed White Potions, ranked Blue Potions, etc.), 
    open /src/map/pc.c and uncomment this:
    CODE // else if(BG_CHARID == char_id)
    // return 5; edit NPC script (Telma)
    - open /npc/battleground/bg_supplier.txt
    CODE set .@BG_CHARID, 165100; // character named "Battleground" - (line 43) set .@BG_CHARID to the char_id from step #3
    - (lines 25-39) edit the menu/prices to your liking
    - (line 88) add the 'bg_consume' mapflag to any other maps you want to allow "Battleground's consumables" to be used on
      Save and close all files. Recompile.


     
     
     
    Compatible Hercules/rAthena/eAthena
     
     
    credits:
    The original idea is from someone else, I'm just not sure who. It started in 2009 when a player showed us screenshots (from another server) of the Telma NPC and asked if we could implement something similar--Battleground's consumables that could only be used in BG. Based on the screenshots, I came up with this. Since then, several people have asked about it on eAthena but I was too lazy to update it so I just linked them to our old SVN/Trac. Finally I updated it, and here it is!

    Thanks again to whoever came up with the idea!
  2. Upvote
    Hideki got a reaction from milk in bg_consume mapflag, "Battleground's items" that can only be used in BG   
    This source modification adds a new mapflag: bg_consume, and adds an NPC (Telma) 
    that sells consumable items which can only be used on maps with the 'bg_consume' mapflag.
     

    download and apply this diff patch: battlegroud.diff

    create a char named "Battleground"
    First you should check if that name exists:- delete their char, then create a new one
     use a different name use the existing char (WARNING: if they rename the char named "Battleground", it will rename the "Battleground's items" too! If they delete the char named "Battleground", they will become "Unknown's item".)


    When you are ready to create the char named "Battleground", use this SQL query:
     
    SQL INSERT INTO `char` (`name`) VALUES ('Battleground'); make note of the char_id (of the char named "Battleground")
    SQL SELECT char_id FROM `char` WHERE `name`='Battleground'; Write this down somewhere or remember it for the next steps.
      edit source
    - open /src/map/battleground.h
    CODE #define BG_CHARID 165100 // char named "Battleground"
    #define BG_TRADE 91 // trade mask of BG consumables - set BG_CHARID to the char_id from step #3
    - set BG_TRADE to the trade mask (trade restrictions) you want for Battleground's consumables
    (trade bits are the same as /db/item_trade.txt)
    CODE // Trading mask values:
    // 1: Item can't be dropped
    // 2: Item can't be traded (nor vended)
    // 4: Wedded partner can override restriction 2.
    // 8: Item can't be sold to npcs
    // 16: Item can't be placed in the cart
    // 32: Item can't be placed in the storage
    // 64: Item can't be placed in the guild storage

    If you want BG potions to be ranked (ranked Condensed White Potions, ranked Blue Potions, etc.), 
    open /src/map/pc.c and uncomment this:
    CODE // else if(BG_CHARID == char_id)
    // return 5; edit NPC script (Telma)
    - open /npc/battleground/bg_supplier.txt
    CODE set .@BG_CHARID, 165100; // character named "Battleground" - (line 43) set .@BG_CHARID to the char_id from step #3
    - (lines 25-39) edit the menu/prices to your liking
    - (line 88) add the 'bg_consume' mapflag to any other maps you want to allow "Battleground's consumables" to be used on
      Save and close all files. Recompile.


     
     
     
    Compatible Hercules/rAthena/eAthena
     
     
    credits:
    The original idea is from someone else, I'm just not sure who. It started in 2009 when a player showed us screenshots (from another server) of the Telma NPC and asked if we could implement something similar--Battleground's consumables that could only be used in BG. Based on the screenshots, I came up with this. Since then, several people have asked about it on eAthena but I was too lazy to update it so I just linked them to our old SVN/Trac. Finally I updated it, and here it is!

    Thanks again to whoever came up with the idea!
  3. Upvote
    Hideki got a reaction from Only4fun in bg_consume mapflag, "Battleground's items" that can only be used in BG   
    This source modification adds a new mapflag: bg_consume, and adds an NPC (Telma) 
    that sells consumable items which can only be used on maps with the 'bg_consume' mapflag.
     

    download and apply this diff patch: battlegroud.diff

    create a char named "Battleground"
    First you should check if that name exists:- delete their char, then create a new one
     use a different name use the existing char (WARNING: if they rename the char named "Battleground", it will rename the "Battleground's items" too! If they delete the char named "Battleground", they will become "Unknown's item".)


    When you are ready to create the char named "Battleground", use this SQL query:
     
    SQL INSERT INTO `char` (`name`) VALUES ('Battleground'); make note of the char_id (of the char named "Battleground")
    SQL SELECT char_id FROM `char` WHERE `name`='Battleground'; Write this down somewhere or remember it for the next steps.
      edit source
    - open /src/map/battleground.h
    CODE #define BG_CHARID 165100 // char named "Battleground"
    #define BG_TRADE 91 // trade mask of BG consumables - set BG_CHARID to the char_id from step #3
    - set BG_TRADE to the trade mask (trade restrictions) you want for Battleground's consumables
    (trade bits are the same as /db/item_trade.txt)
    CODE // Trading mask values:
    // 1: Item can't be dropped
    // 2: Item can't be traded (nor vended)
    // 4: Wedded partner can override restriction 2.
    // 8: Item can't be sold to npcs
    // 16: Item can't be placed in the cart
    // 32: Item can't be placed in the storage
    // 64: Item can't be placed in the guild storage

    If you want BG potions to be ranked (ranked Condensed White Potions, ranked Blue Potions, etc.), 
    open /src/map/pc.c and uncomment this:
    CODE // else if(BG_CHARID == char_id)
    // return 5; edit NPC script (Telma)
    - open /npc/battleground/bg_supplier.txt
    CODE set .@BG_CHARID, 165100; // character named "Battleground" - (line 43) set .@BG_CHARID to the char_id from step #3
    - (lines 25-39) edit the menu/prices to your liking
    - (line 88) add the 'bg_consume' mapflag to any other maps you want to allow "Battleground's consumables" to be used on
      Save and close all files. Recompile.


     
     
     
    Compatible Hercules/rAthena/eAthena
     
     
    credits:
    The original idea is from someone else, I'm just not sure who. It started in 2009 when a player showed us screenshots (from another server) of the Telma NPC and asked if we could implement something similar--Battleground's consumables that could only be used in BG. Based on the screenshots, I came up with this. Since then, several people have asked about it on eAthena but I was too lazy to update it so I just linked them to our old SVN/Trac. Finally I updated it, and here it is!

    Thanks again to whoever came up with the idea!
  4. Upvote
    Hideki reacted to Senos in Ayuda con restricciones en NPC   
    Prueba este: 
    mes "["+strnpcinfo(1)+"]"; mes "Olá "+strcharinfo(0)+", estás indo para batalha?"; select ("Claro que si!:Que es esto?:Fin de la conversacion"); next; mes "["+strnpcinfo(1)+"]"; if (@menu == 1) { setarray .jobs, 0, 0, 0, 0, 0; // Jobs prohibido. set .level, 99; // Level necesario. for (set @i, 0; @i < getarraysize(.jobs); set @i, @i+1) { if (Class == .jobs[@i]) { mes "Usted no tiene Job requisitado."; close; } else { if (BaseLevel != .level) { mes "Usted no tiene level suficiente."; close; } mes "¡Buena suerte!"; close2; warp "tontera",666,666; end; } } } if (@menu == 2) { mes "Es una arena de batalha!"; close; } if (@menu == 3) close;  
    Creado por mí, configurar:
    setarray .jobs, 0, 0, 0, 0, 0; // Jobs prohibido. set .level, 99; // Level necesario.  

  5. Upvote
    Hideki reacted to keough in [Showcase] Royale Town   
    Hello Hercules, i think i was the first one who will post a map showcase here in this thread! so yeah!   I would like to show you my latest map creation Royale Town! it is a wonderful and a beautiful map i've done with so much effort to it!   Just rate em up and comment! thank you!   Video of the Map   Screenshots in-game             Hope you like it!
  6. Upvote
    Hideki reacted to keough in [Showcase] Prontera 2 from RO2 - Fully Reworked   
    Well then, hmm.. its been so long long time since i post my latest map here.. and now i have to show you something that i have been working these past few days..
     
    and its already done! xD the prontera map that i have made last year was enhance more, since i have played RO2 and check the every corner of Prontera 2 map and apply it in RO1, Well similarity at its best! xD
     
    I have nothing more to say So here is some map Screenshots and Video. Hope you like it guys!! C&C are accepted
     
    Video of the map - its a bit laggy coz i'm running some applications while taking the video xD sorry for that 

     
    This vid is only 9 mins xD! false 10 mins the rest of 1 minute is black
     
    Screenshots in Brow

     

     

     

     

     

     

     

     

     
     
    In-game Screenshots
     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     
    Thats all! Thank you! 
  7. Upvote
    Hideki reacted to Jguy in rAthena devs/staff/members on Hercules   
    Hello,
     
    While we do not mind that rAthena developers, staff members and regular members register an account, post or send PM's on our forums, we do not take kindly to 'rAthena is better because x y and z' posts, or anything promoting rAthena as a superior emulator because of such and such. There is no such post on rAthena made by a Hercules staff member about Hercules and we intend to keep it that way, we would appreciate the same respect.
     
    Those who do not follow this simple clause listed above will have their post(s) deleted and/or hidden from view. Repeat offenders will be suspended from our forum with no further warnings or post manipulation.
     
    We do not appreciate, nor welcome drama here. While criticism is welcome in the form of 'why doesn't Hercules have such and such a feature', drama and belittling a project (hercules or not) will not be tolerated. This is a collaboration, not a drama infested 12 year old's contest.
     
    Thank you.
  8. Upvote
    Hideki reacted to Dastgir in Special Shop   
    File Name: Special Shop
    File Submitter: Dastgir
    File Submitted: 15 May 2013
    File Category: Source Modifications

    As Per This Topic: http://herc.ws/board/topic/3204-special-shop/#entry21298
    Example of usage:

    For using ItemID x for buying Items
    <map name>,<x>,<y>,<facing> itemshop <npc name> <spriteid>,<item_id><itemid>:<amount>,.....
    This shop will use item id mentioned in the NPC.

    For Using Variable for buying items
     
     
     
    <map name>,<x>,<y>,<facing> pointshop <npc name> <spriteid>,"<variable_name>":"<variable_description>",<itemid>:<amount>,.....  

    Variable_Name will be deducted from your variable,and it will show variable_description when click npc.

    Please See ScreenShot for More information.


    NOTE:
    Please Do Not Share without Credit.Please Do not Share this as Paid Service.

    Click here to download this file
     
  9. Upvote
    Hideki reacted to jaBote in Emperium Breaker Room   
    As I said before you can make a map clone to host this system or use another pre-existing maps. If I remember well (I'm on cellphone right now) ordeal_1-1 could be a nice choice.
     
    Just remember to move all the NPCs and change the coordinates they all work on, especially the emperium spawn map and coordinates!
  10. Upvote
    Hideki reacted to jaBote in Holy Light Edit   
    Hi.
     
    For the element, this is rather a /db/{re or pre-re}/skill_db.txt issue (just change the one your server uses). Check the heading of the file:
    //id,range,hit,inf,element,nk,splash,max,list_num,castcancel,cast_defence_rate,inf2,maxcount,skill_type,blow_count,name,description// 01 ID// 02 range (combo skills do not check for range when used,// if range is < 5, the skill is considered melee-range)// 03 hit (8- repeated hitting, 6- single-hit)// 04 inf (0- passive, 1- enemy, 2- place, 4- self, 16- friend, 32- trap)// 05 element (0 - neutral, 1 - water, 2 - earth, 3 - fire, 4 - wind, 5 - poison,// 6 - holy, 7 - dark, 8 - ghost, 9 - undead, -1 - use weapon element// -2 - use endowed element, -3 - use random element.)// 06 nk (skill damage properties):// [...]  
    As you can see, you can just use -3 for the Holy Light skill element. Go to line 202 and change this:
    156,9,6,1,6,0,0,1,1,yes,0,0x1,0,magic,0, AL_HOLYLIGHT,Holy Light for this:
    156,9,6,1,-3,0,0,1,1,yes,0,0x1,0,magic,0, AL_HOLYLIGHT,Holy Light  
    For the MATK change it's a bit trickier for me since I'm not good at source, but I've taken the time to investigate and I'm almost sure you'll have to go to /src/map/battle.c and find line 3779 (some tabulation spaces removed to improve readability):
    case AL_HOLYLIGHT: skillratio += 25; if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_PRIEST) skillratio *= 5; //Does 5x damage include bonuses from other skills? break; That skillratio += 25 makes the damage to be 125% MATK (default 100% + 25%), so you'll have to change that line. You can either choose to substract 75% (so 25% remains) or to divide it by 4 (100 / 4 = 25). I've decided to divide it by 4. That line should remain like this:
    skillratio /= 4; // LINE MODIFIED, Holy Light does now 25% MATK damage  
    And there you go. Hope I helped though I'm not sure on the source code part.
  11. Upvote
    Hideki reacted to Judas in KRO 2013 Client Release   
    This topic is mainly for organizing 2013 client releases and helpful tools that are needed (Let me know if you run into any problems):
     
    2013 Undiffed/Unpacked Client - provided by k3dt
     
    Weediff Patcher - You will be using the plain diff option (Not the auto generated one)
     
    Latest Clientside - provided by michieru & dastgirpojee
     
    RoCred - provided by Ai4rei (A launcher used to start the client, since some people have trouble with restore login window)
     
    Plain diff to be used on Weediff Patcher - provided by MStream (Ignore crc check errors)
  12. Upvote
    Hideki reacted to Emistry in Can I request Script custom drop when monster kill   
    like this ?
    OnNPCKIllEvent:if( strcharinfo(3) == "prontera" && killedrid == 1002 ){    getitem 501,1;}end;
  13. Upvote
    Hideki reacted to Angel in [Material] Cliente Renewall de M45T3R v1.3 +543 paletas universales   
    Se agradece viejo, buen aporte ;D
  14. Upvote
    Hideki got a reaction from Senos in [Material] Cliente Renewall de M45T3R v1.3 +543 paletas universales   
    [Material] Cliente Renewall de M45T3R v1.3
    Realizado por: M45T3R y su gata.
    Edición: M45T3R y Nya Hetfield.
    Publicado y Adaptado: Hideki

    Contiene:
    99 Hairstyles que pronto serán re-alineados y aumentados a 102 u mas.. sugerencias de ellos son aceptadas. Contiene alrededor de 43 customs (alas) con descripciones interesantes xP  Msgstringtable traducido hasta el sistema de Navegación (no 100% correcto) Custom Mob exclusivo "Ryko" (MVP) Sprite por mi, diseño de la carta por Victor(Ryko) 100% compatible con Kagerou/Oboro. Bio Lab F5 (lhz_dun5) Nueva Interfaz de Quests contiene traducciones hechas por mi, después continuare con el sistema de navegación. Skin COMPLETAMENTE EN ESPAÑOL! hecha por mi, tomando idea de un skin que vi en Akay RO. Reparaciones Hexadecimales  Party Chat es azul enves de naranja Paletas universales (543)



    Hace un rato hice un cliente para un server que iba a abrir.. pero es tan estable.. almenos es de los mas estables.. que decidí compartirlo xP esta desencriptado.. lee el data folder y el EXE esta configurado para leer DATA.INI

    Version 2 (reparada)

    pueden modificar el titulo con PSPad o algun otro programa hexadecimal.. buscando la palabra Ragnarok Network es la mas cercana, notaran el titulo.. los customs enves de ir en los archivos de texto basicos van ahora en el folder System/ItemInfo.lub .. todo lo necesario va incluido ahí para que funcione, lo único necesario es extraer el archivo clientinfo.xml y modificar la IP a tu IP Local.. 127.0.0.1

    Teniendo Hercules actualizad0 de su repositorio
    https://github.com/HerculesWS/Hercules
    lo configuramos para el cliente 2012 06 18

    "src/common/mmo.h" configuren así:
     
    #ifndef PACKETVER   #define PACKETVER 20120618 "ocupar este Packet en el caso de que salga algun tipo de error con el predeterminado"
    después editar en "src/map/packets.h" buscamos esta linea //2012-06-18aRagexeRE
    /*2012-06-18aRagexeRE*/#if PACKETVER >= 20120618 packet(0x01FD,15,clif->pRepairitem,2); packet(0x023B,26,clif->pFriendslistadd,2); packet(0x0361,5,clif->pHommenu,2:4); packet(0x0819,36,clif->pStoragepassword,0); packet(0x0288,-1,clif->pCashshopbuy,4:8); packet(0x0802,26,clif->pPartyinvite2,2); packet(0x022D,19,clif->pWanttoconnection,2:6:10:14:18); packet(0x0369,7,clif->pActionrequest,2:6); packet(0x083C,10,clif->pUseskilltoid,2:4:6); packet(0x0439,8,clif->pUseitem,2:4); packet(0x0281,-1,clif->pItemlistwindowselected,2:4:8); packet(0x0815,-1,clif->pReqopenbuyingstore,2:4:8:9:89); packet(0x0817,2,clif->pReqclosebuyingstore,0); packet(0x0360,6,clif->pReqclickbuyingstore,2); packet(0x0940,-1,clif->pReqtradebuyingstore,2:4:8:12); packet(0x0811,-1,clif->pSearchstoreinfo,2:4:5:9:13:14:15); packet(0x0835,2,clif->pSearchstoreinfonextpage,0); packet(0x0838,12,clif->pSearchstoreinfolistitemclick,2:6:10); packet(0x0437,5,clif->pWalktoxy,2); packet(0x035F,6,clif->pTicksend,2); packet(0x0202,5,clif->pChangedir,2:4); packet(0x07E4,6,clif->pTakeitem,2); packet(0x0362,6,clif->pDropitem,2:4); packet(0x07EC,8,clif->pMovetokafra,2:4); packet(0x0364,8,clif->pMovefromkafra,2:4); packet(0x0438,10,clif->pUseskilltopos,2:4:6:8); packet(0x0366,90,clif->pUseskilltoposinfo,2:4:6:8:10); packet(0x096A,6,clif->pGetcharnamerequest,2); packet(0x0368,6,clif->pSolvecharname,2); packet(0x08E5,41,clif->pBookingregreq,2:4);/*Added to prevent disconnections*/ packet(0x08E6,4); packet(0x08E7,10,clif->pBookingsearchreq,2); packet(0x08E8,-1); packet(0x08E9,2,clif->pBookingdelreq,2); packet(0x08EA,4); packet(0x08EB,39,clif->pBookingupdatereq,2); packet(0x08EC,73); packet(0x08ED,43); packet(0x08EE,6); packet(0x08EF,6,clif->pBookingignorereq,2); packet(0x08F0,6); packet(0x08F1,6,clif->pBookingjoinpartyreq,2); packet(0x08F2,36); packet(0x08F3,-1); packet(0x08F4,6); packet(0x08F5,-1,clif->pBookingsummonmember,2:4); packet(0x08F6,22); packet(0x08F7,3); packet(0x08F8,7); packet(0x08F9,6); packet(0x08FA,6); packet(0x08FB,6,clif->pBookingcanceljoinparty,2); packet(0x0907,5,clif->pMoveitem,2:4); packet(0x0908,5); packet(0x08D7,28,clif->pDull,2:4); /*Added to prevent disconnections*/#endif  
    Después mejorare el Post y haré un cliente mas sencillo de utilizar yo tengo el derecho completo sobre ese instalador debido a que yo lo diseñe.
     
    Favor notificar si sale algún error al compilar ya que aun esta en desarrollo este material.

    SI TIENEN WINDOWS 7, Vista u Otro con problemas de permisos administrativos asegurense de unas cosas:
    1;Ejecutar como administrador
    2;No instalar en "Archivos de Programa"

     
    ::: [Mini FAQ] :::

    - ¿Que son las paletas universales?
    Como las paletas de la mayoría de los sprites son idénticas hay una edición hexadecimal en el cliente que permite compartir una sola paleta de color para todas las clases, reduciendo asi drasticamente el peso y tiempo de descompresión ademas de la fragmentacion de la data

    - ¿Como añado customs?
    En el archivo llamado ItemInfo.lub dentro del folder System, aun asi tienes que configurar los ViewID's

    - ¿Porque el cliente y el post es tan feo?
    Mi gato lo programo, díselo a el.

  15. Upvote
    Hideki reacted to nana in Petición sobre guia como agregar item custom   
    Si es sobre la carpeta System te puede servir ésto:
     
    ve a tu iteminfo.lub dentro de la carpeta system
     
    y encontrarás algo asi
     
     [ID del item] = {
    unidentifiedDisplayName = "Nombre del item NO identificado",
    unidentifiedResourceName = "Nombre de el Sprite usado No identificado(tambien reconoce los archivos act y texture)",
    unidentifiedDescriptionName = {
     "Agregamos una descripción para el objeto NO identificado",
    }
    identifiedDisplayName = "Nombre del item IDENTIFICADO",
    identifiedResourceName = "Nombre del Sprite usado IDENTIFICADO(también reconoce los archivos act y texture)",
    identifiedDescriptionName = {
     "Agregaremos una descripcion",
    }
    slotCount =  Nos indica el numero de Slot siendo estos de 0 a 4,
    ClassNum = Aquí agregaremos la IDVIEW
     
     }
     
    Solo llena los campos con lo que necesitas:
     

     [1134] = {
    unidentifiedDisplayName = "Kiut_Hat",
    unidentifiedResourceName = "Òµså",
    unidentifiedDescriptionName = {
     "Item desconocido, puede ser identificado con [Magnifier].",
    },
    identifiedDisplayName = "Kiut Hat",
    identifiedResourceName = "ÆúeÃÅ",
    identifiedDescriptionName = {
     "Es un hat misterioso que te puede hacer llegar a las nubes.",
     "Clase :^777777 Headgear^000000",
     "Ataque :^777777 3^000000",
     "Peso :^777777 60^000000",
     "Nivel Requerido :^777777 2^000000",
     "Apropiado para :^777777 Novice, Swordman Class, Merchant Class, Thief Class^000000",
    },
    slotCount = 0,
    ClassNum = 2
     },
     
    Saludos!
  16. Upvote
    Hideki got a reaction from jaBote in [Material] Cliente Renewall de M45T3R v1.3 +543 paletas universales   
    [Material] Cliente Renewall de M45T3R v1.3
    Realizado por: M45T3R y su gata.
    Edición: M45T3R y Nya Hetfield.
    Publicado y Adaptado: Hideki

    Contiene:
    99 Hairstyles que pronto serán re-alineados y aumentados a 102 u mas.. sugerencias de ellos son aceptadas. Contiene alrededor de 43 customs (alas) con descripciones interesantes xP  Msgstringtable traducido hasta el sistema de Navegación (no 100% correcto) Custom Mob exclusivo "Ryko" (MVP) Sprite por mi, diseño de la carta por Victor(Ryko) 100% compatible con Kagerou/Oboro. Bio Lab F5 (lhz_dun5) Nueva Interfaz de Quests contiene traducciones hechas por mi, después continuare con el sistema de navegación. Skin COMPLETAMENTE EN ESPAÑOL! hecha por mi, tomando idea de un skin que vi en Akay RO. Reparaciones Hexadecimales  Party Chat es azul enves de naranja Paletas universales (543)



    Hace un rato hice un cliente para un server que iba a abrir.. pero es tan estable.. almenos es de los mas estables.. que decidí compartirlo xP esta desencriptado.. lee el data folder y el EXE esta configurado para leer DATA.INI

    Version 2 (reparada)

    pueden modificar el titulo con PSPad o algun otro programa hexadecimal.. buscando la palabra Ragnarok Network es la mas cercana, notaran el titulo.. los customs enves de ir en los archivos de texto basicos van ahora en el folder System/ItemInfo.lub .. todo lo necesario va incluido ahí para que funcione, lo único necesario es extraer el archivo clientinfo.xml y modificar la IP a tu IP Local.. 127.0.0.1

    Teniendo Hercules actualizad0 de su repositorio
    https://github.com/HerculesWS/Hercules
    lo configuramos para el cliente 2012 06 18

    "src/common/mmo.h" configuren así:
     
    #ifndef PACKETVER   #define PACKETVER 20120618 "ocupar este Packet en el caso de que salga algun tipo de error con el predeterminado"
    después editar en "src/map/packets.h" buscamos esta linea //2012-06-18aRagexeRE
    /*2012-06-18aRagexeRE*/#if PACKETVER >= 20120618 packet(0x01FD,15,clif->pRepairitem,2); packet(0x023B,26,clif->pFriendslistadd,2); packet(0x0361,5,clif->pHommenu,2:4); packet(0x0819,36,clif->pStoragepassword,0); packet(0x0288,-1,clif->pCashshopbuy,4:8); packet(0x0802,26,clif->pPartyinvite2,2); packet(0x022D,19,clif->pWanttoconnection,2:6:10:14:18); packet(0x0369,7,clif->pActionrequest,2:6); packet(0x083C,10,clif->pUseskilltoid,2:4:6); packet(0x0439,8,clif->pUseitem,2:4); packet(0x0281,-1,clif->pItemlistwindowselected,2:4:8); packet(0x0815,-1,clif->pReqopenbuyingstore,2:4:8:9:89); packet(0x0817,2,clif->pReqclosebuyingstore,0); packet(0x0360,6,clif->pReqclickbuyingstore,2); packet(0x0940,-1,clif->pReqtradebuyingstore,2:4:8:12); packet(0x0811,-1,clif->pSearchstoreinfo,2:4:5:9:13:14:15); packet(0x0835,2,clif->pSearchstoreinfonextpage,0); packet(0x0838,12,clif->pSearchstoreinfolistitemclick,2:6:10); packet(0x0437,5,clif->pWalktoxy,2); packet(0x035F,6,clif->pTicksend,2); packet(0x0202,5,clif->pChangedir,2:4); packet(0x07E4,6,clif->pTakeitem,2); packet(0x0362,6,clif->pDropitem,2:4); packet(0x07EC,8,clif->pMovetokafra,2:4); packet(0x0364,8,clif->pMovefromkafra,2:4); packet(0x0438,10,clif->pUseskilltopos,2:4:6:8); packet(0x0366,90,clif->pUseskilltoposinfo,2:4:6:8:10); packet(0x096A,6,clif->pGetcharnamerequest,2); packet(0x0368,6,clif->pSolvecharname,2); packet(0x08E5,41,clif->pBookingregreq,2:4);/*Added to prevent disconnections*/ packet(0x08E6,4); packet(0x08E7,10,clif->pBookingsearchreq,2); packet(0x08E8,-1); packet(0x08E9,2,clif->pBookingdelreq,2); packet(0x08EA,4); packet(0x08EB,39,clif->pBookingupdatereq,2); packet(0x08EC,73); packet(0x08ED,43); packet(0x08EE,6); packet(0x08EF,6,clif->pBookingignorereq,2); packet(0x08F0,6); packet(0x08F1,6,clif->pBookingjoinpartyreq,2); packet(0x08F2,36); packet(0x08F3,-1); packet(0x08F4,6); packet(0x08F5,-1,clif->pBookingsummonmember,2:4); packet(0x08F6,22); packet(0x08F7,3); packet(0x08F8,7); packet(0x08F9,6); packet(0x08FA,6); packet(0x08FB,6,clif->pBookingcanceljoinparty,2); packet(0x0907,5,clif->pMoveitem,2:4); packet(0x0908,5); packet(0x08D7,28,clif->pDull,2:4); /*Added to prevent disconnections*/#endif  
    Después mejorare el Post y haré un cliente mas sencillo de utilizar yo tengo el derecho completo sobre ese instalador debido a que yo lo diseñe.
     
    Favor notificar si sale algún error al compilar ya que aun esta en desarrollo este material.

    SI TIENEN WINDOWS 7, Vista u Otro con problemas de permisos administrativos asegurense de unas cosas:
    1;Ejecutar como administrador
    2;No instalar en "Archivos de Programa"

     
    ::: [Mini FAQ] :::

    - ¿Que son las paletas universales?
    Como las paletas de la mayoría de los sprites son idénticas hay una edición hexadecimal en el cliente que permite compartir una sola paleta de color para todas las clases, reduciendo asi drasticamente el peso y tiempo de descompresión ademas de la fragmentacion de la data

    - ¿Como añado customs?
    En el archivo llamado ItemInfo.lub dentro del folder System, aun asi tienes que configurar los ViewID's

    - ¿Porque el cliente y el post es tan feo?
    Mi gato lo programo, díselo a el.

  17. Upvote
    Hideki reacted to jaBote in Desactivar Renewal (y otras configuraciones "ocultas")   
    Preguntas frecuentes:
    He colocado la sección en otro post para facilitar su búsqueda y escritura.

    Aunque espero que no haya prácticamente ninguna pregunta en esta sección porque me gustaría creer que he sido suficientemente claro, es obvio que las cosas no son así y es normal "atascarse" en alguna parte de la guía, inauguro esta sección. Como es usual en estas secciones de Preguntas y Respuestas, las preguntas las marcaré con una P y las respuestas las marcaré con una R, ambas bien grandes para que se vean en condiciones.

    Lista de preguntas:
     
    Preguntas y respuestas:

    P: ¿Puedo desactivar todas las mecánicas Renewal pero usar NPCs y bases de datos Renewal y viceversa?
    R: Hay un pequeño truco para ello. Siempre se leen las carpetas /db y /npc, y además si Renewal está activo (#define RENEWAL) se leen las carpetas /db/re y /npc/re, en lugar de /db/pre-re y /npc/pre-re; mientras que si no lo está se leen las carpetas con nombre de pre-re en lugar de las re. Si quieres que se lean las otras carpetas que originalmente no correspondería, simplemente puedes intercambiarles el nombre, o intercambiar los valores de la definición #define DBPATH de const.h. Cuidado con la anterior definición porque es algo distinta a las vistas en el post principal de la guía, aunque no deberá daros mucho problema. Eso sí, mucho ojo: el juego no está preparado para trabajar con unas bases de datos y unos NPCs que no les corresponde y puede haber enormes fallos de equilibrio en el servidor.

    P: ¿Por qué al desactivar Renewal sigue habiendo 3rd Jobs?
    R: Al desactivar Renewal solo se desactivan las mecánicas, las bases de datos y los NPCs de Renewal (lo cual incluye las quests de Renewal, a menos que cambies los NPCs como se indica en la pregunta de arriba). De esta forma se hace imposible cambiar a Third Job a menos que se ejecute @job o haya algún NPC custom que cambie el job a uno de los 3rd Jobs. Ten cuidado al usar el NPC jobmaster que viene con Hercules, pues por defecto admite el cambio a 3rd Job:
     
    npc/custom/jobmaster.txt, línea 184 (observad mi comentario)
    OnInit:setarray .Rebirth[0],99,50; // Minimum base level, job level to rebirth OR change to third classsetarray .JobReq[0],10,40; // Minimum job level to turn into 1st class, 2nd classset .ThirdClass,1; // Enable third classes? (1: yes / 0: no) ¡Cambiad esto a 0 si pensáis usarlo y no queréis 3rd Jobs!set .SNovice,45; // Minimum base level to turn into Super Noviceset .LastJob,1; // Enforce linear class changes? (1: yes / 0: no)set .SkillPointCheck,1; // Force player to use up all skill points? (1: yes / 0: no)set .Platinum,1; // Get platinum skills automatically? (1: yes / 0: no)end;  
    P: ¿Por qué tras cambiar una de estas configuraciones no noto ningún cambio?
    R: Ya se ha comentado por lo menos tres veces en la presente guía: para que estos cambios surtan efecto, es obligatorio y necesario recompilar el emulador. De no hacerlo, no habrá ningún cambio en él hasta que se recompile.
  18. Upvote
    Hideki reacted to jaBote in Desactivar Renewal (y otras configuraciones "ocultas")   
    ¡Hola! En esta guía vamos a tratar de forma rápida una pregunta muy frecuente: cómo activar y desactivar Renewal, y ligeramente se tratarán otras configuraciones más o menos igual de "ocultas" que funcionan de forma similar. No se entrará en el detalle de para qué sirve cada configuración: solo se indicará el camino y deberá ser el lector quien se enfrente a ellas, en inglés. Su lectura es recomendada a quien ignore la existencia de estas configuraciones, aunque no pretenda desactivar Renewal.

    Una vez se ha obtenido Hercules y antes de su compilación y puesta en marcha (guía aún en proyecto y redacción), es posible tocar unas configuraciones que no están tan a la vista que las de la carpeta /conf (donde están todas las configuraciones normales) pero que sí afectan al resultado de la compilación (es decir, para alterarlas efectivamente es necesario recompilar el emulador): se trata de la carpeta /src/config.

    ¿Qué hay en la carpeta /src/config que la hace tan importante? Pues, a fecha de publicación de la presente guía, esto:
     

     
    Todos los ficheros de esta carpeta contienen configuraciones importantes, salvo por el momento const.h. Todos siguen una estructura parecida: al abrirlo se ven mucho texto y algunas sentencias que empiezan por #, que de forma sencilla podría decirse que son órdenes para el compilador, que no forman parte del programa final. Nos interesan especialmente los #define (definiciones), pero no debemos tocar nada en las primeras (por el momento 5) líneas, ni el #endif del final al ser definiciones de control imprescindibles.
     
    Centrémonos en el fichero renewal.h, que es el principal de la guía. Este fichero contiene las siguientes definiciones, y cada una de ellas maneja algún tipo de mecánica Renewal (todas juntas para ahorrar espacio):
    #define RENEWAL#define RENEWAL_CAST#define RENEWAL_DROP#define RENEWAL_EXP#define RENEWAL_LVDMG#define RENEWAL_EDP#define RENEWAL_ASPD ¿Cómo desactivarlas? Muy sencillo: se desactivan una a una anteponiendo una doble barra (//) delante de cada definición. A la doble barra, en el lenguaje del código fuente de Hércules © se le llama comentario de línea, y lo que hace el compilador es ignorar todo lo que esté en la misma línea a su derecha. O sea, si queremos eliminar todo rastro de Renewal de nuestro servidor tenemos que comentar (hacer comentario) todos esos #define, de tal forma que queden tal que así:
    //#define RENEWAL//#define RENEWAL_CAST//#define RENEWAL_DROP//#define RENEWAL_EXP//#define RENEWAL_LVDMG//#define RENEWAL_EDP//#define RENEWAL_ASPD Así pues, al (re)compilar nuestro servidor Hercules, éste será totalmente pre-renewal pero dispondrá de todas las características únicas de Hercules.
     
    ¿Hay más que hacer? Pues no con renewal.h, pero sí se recomienda revisar cualquier configuración contenida en esta carpeta. Además del tipo de #define arriba descrito hay otros dos tipos:
    Unos que vienen comentados pero puedes descomentar si quieres: siguen el mismo procedimiento que el ya descrito, pero a la inversa. Unos que van acompañados de un espacio y posteriormente un número (o una constante, que en este caso también actúa como un número): Si te interesa, puedes cambiarle el número con el que vienen acompañados (¡Importante: estos #define no debes comentarlos!). Es posible que te indiquen los valores posibles, como la única configuración actualmente disponible en /classes/general.h o te permitan elegir un valor numérico a tu gusto. Se recomienda no usar 0 salvo que se indique expresamente como valor posible (como el ejemplo anterior en /classes/general.h), porque no significará "ilimitado" como alguien puede estar acostumbrado a que así sea en otras configuraciones, sino que es literalmente 0(*). Ejemplo de este tipo de #define es el ya mencionado en /classes/general.h o este, situado en core.h:/// Max number of items on @autolootid list#define AUTOLOOTITEM_SIZE 10(*) No estoy seguro, pero todo indica a ello. Igualmente no deberíais ni probar a hacerlo, ya que es potencialmente peligroso para el servidor que dicho ajuste no funcione bien.

    Si queréis profundizar más en qué son y para qué sirven estas órdenes que se dan al compilador, estas que empiezan por #, podéis visitar este enlace en la Wikipedia que os proveerá de información completa sobre ello (se recomienda leer como mucho hasta el apartado 3, sin comenzar el 3.1)
     
    Por último, no te olvides de que después de modificar cualquiera estas configuraciones, es necesario (re)compilar el servidor para que los cambios surtan efecto. Eso es todo.
  19. Upvote
    Hideki reacted to jaBote in ¡Bienvenidos a la sección en español de Hercules!   
    ¡Hola a todos! Parece que han aceptado la proposición que hice al Staff de Hercules sobre la creación de esta sección para que podamos disfrutar de soporte en español. Sé que no todos somos muy duchos en la lengua de Shakespeare, por lo que en estos foros podréis preguntar cosas sobre Hercules. Eso sí, en español.
     
    Como muchos de nosotros sabemos, Hercules proviene de Athena (el primer emulador jamás creado de RO, con disculpas de AEGIS, que es el emulador oficial), que es también la raíz de donde provienen todos los demás emuladores actuales de Ragnarok Online. Hercules bebe especialmente de rAthena, pero el emulador ya ha sido intensamente modificado en los pocos meses que tiene de vida. Al parecer en Hercules se ha decidido dejar de lado el típico *Athena que muchos hispanos estamos acostumbrados a tratar, pero no ha sido el primero en hacerlo: con anterioridad han existido y existen emuladores que no tienen Athena en su nombre, como pueden ser Freya, Nezumi o Cronus (actualmente de ellos solo Cronus continúa en desarrollo, aunque está en portugués).
     
    En lo que a mí respecta, no soy especialmente bueno dando soporte en emuladores de esto: empecé a jugar al RO hace relativamente muy poco, mucho menos que el jugador medio de este juego, y he tenido menos tiempo aún para saber qué es lo que hace toda la magia que mueve nuestro mundo virtual, y le da consistencia e integridad sin que apenas nos demos cuenta de ello. Muchos (y me incluyo) no sabemos qué hay "bajo el capó" de nuestros servidores.
     
    Trataré de dar la mejor (y más amplia) ayuda que me sea posible, aunque es obvio que esto no es un foro en que solo yo ayudo: hay campos enteros del soporte a este emulador (y cualquier otro *Athena) que por desgracia aún se me escapan. Yo no sé todo sobre el emulador y podéis estar seguros que también acabaré preguntando bien aquí o en las secciones de soporte en inglés, pero se ha creado esta comunidad en español con un propósito, y es que todos nosotros podamos colaborar con un granito de arena, de tal forma que todos podemos salir enriquecidos compartiendo nuestros conocimientos.
     
    Sin mucho más que decir por el momento, os doy mi más cálida bienvenida a nuestra aún pequeña comunidad en español de Hercules.
     
    ¡Nos leemos!
  20. Upvote
    Hideki got a reaction from jaBote in bg_consume mapflag, "Battleground's items" that can only be used in BG   
    This source modification adds a new mapflag: bg_consume, and adds an NPC (Telma) 
    that sells consumable items which can only be used on maps with the 'bg_consume' mapflag.
     

    download and apply this diff patch: battlegroud.diff

    create a char named "Battleground"
    First you should check if that name exists:- delete their char, then create a new one
     use a different name use the existing char (WARNING: if they rename the char named "Battleground", it will rename the "Battleground's items" too! If they delete the char named "Battleground", they will become "Unknown's item".)


    When you are ready to create the char named "Battleground", use this SQL query:
     
    SQL INSERT INTO `char` (`name`) VALUES ('Battleground'); make note of the char_id (of the char named "Battleground")
    SQL SELECT char_id FROM `char` WHERE `name`='Battleground'; Write this down somewhere or remember it for the next steps.
      edit source
    - open /src/map/battleground.h
    CODE #define BG_CHARID 165100 // char named "Battleground"
    #define BG_TRADE 91 // trade mask of BG consumables - set BG_CHARID to the char_id from step #3
    - set BG_TRADE to the trade mask (trade restrictions) you want for Battleground's consumables
    (trade bits are the same as /db/item_trade.txt)
    CODE // Trading mask values:
    // 1: Item can't be dropped
    // 2: Item can't be traded (nor vended)
    // 4: Wedded partner can override restriction 2.
    // 8: Item can't be sold to npcs
    // 16: Item can't be placed in the cart
    // 32: Item can't be placed in the storage
    // 64: Item can't be placed in the guild storage

    If you want BG potions to be ranked (ranked Condensed White Potions, ranked Blue Potions, etc.), 
    open /src/map/pc.c and uncomment this:
    CODE // else if(BG_CHARID == char_id)
    // return 5; edit NPC script (Telma)
    - open /npc/battleground/bg_supplier.txt
    CODE set .@BG_CHARID, 165100; // character named "Battleground" - (line 43) set .@BG_CHARID to the char_id from step #3
    - (lines 25-39) edit the menu/prices to your liking
    - (line 88) add the 'bg_consume' mapflag to any other maps you want to allow "Battleground's consumables" to be used on
      Save and close all files. Recompile.


     
     
     
    Compatible Hercules/rAthena/eAthena
     
     
    credits:
    The original idea is from someone else, I'm just not sure who. It started in 2009 when a player showed us screenshots (from another server) of the Telma NPC and asked if we could implement something similar--Battleground's consumables that could only be used in BG. Based on the screenshots, I came up with this. Since then, several people have asked about it on eAthena but I was too lazy to update it so I just linked them to our old SVN/Trac. Finally I updated it, and here it is!

    Thanks again to whoever came up with the idea!
×
×
  • Create New...

Important Information

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