Jump to content

jaBote

Community Contributors
  • Content Count

    2037
  • Joined

  • Last visited

  • Days Won

    43

Reputation Activity

  1. Upvote
    jaBote got a reaction from Tragedy in ¡Bienvenidos a la sección en español de Hercules!   
    Sí, la verdad es que es una buena idea ir haciendo guías o posteando parte de nuestro conocimiento general y lo tengo en plan, aunque ahora mismo tengo más asuntos en mano de los que puedo manejar. Lo que no podemos hacer es entrar a cualquier comunidad hispana de RO y empezar a robar guías a menos que sean de nuestra autoría, por mucho que las más conocidas no me hagan especial gracia.
     
    No hace falta escribir guías de algo muy específico aún, aunque sería buena idea comenzar a escribir guías de carácter básico o incluso traducir parte de la documentación de Hercules y postearlo como guía. No debo imponer ninguna limitación a esto aún.
     
     
     
    ¡Muchas gracias por el recibimiento! Pero creo que Wolf no hace uso de GTranslate. Más que nada porque ha cometido un error ortográfico muy común que GTranslate no habría hecho.
  2. Upvote
    jaBote reacted to Hideki 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
    jaBote got a reaction from Hideki 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!
  4. Upvote
    jaBote got a reaction from nyxfatalis in rA compatible with Hercules?   
    As long as I know, now that I've just checked the doc/script_commands.txt of both emulators, you can use almost all script commands present in rAthena in Hercules with identical behavior. But there are some script commands that Hercules doesn't have yet such as sit; stand; delequip; morphembryo; checkhomcall; and a script command that has a distinct name such as consumeitem (rA) --> itemeffect (Herc).
     
    However, I'd say script compatibility is 95+% because they're either quite new commands or haven't been extensively used in scripts -I've never seen any of the rAthena "exclusive" commands in use on a public released script yet-.
     
    Hope I helped you.
     
    P.S.: Hey Ind, i still don't know the reason of maintaining the get_revision() command. I think it should be changed to get_hash() or do something about its behavior since in rAthena it returned an integer value. Well, I think this one hasn't ever been used for a serious script so never mind. And the charisupper doc example has a mistake too I think. And there is the suggestion of merging those script commands for increased rAthena-Hercules compatibility.
  5. Upvote
    jaBote reacted to Senos in ¡Bienvenidos a la sección en español de Hercules!   
    Buena suerte con tu comunidad!
  6. Upvote
    jaBote got a reaction from Tragedy 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!
  7. Upvote
    jaBote got a reaction from Igniz 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!
  8. Upvote
    jaBote got a reaction from JulioCF 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!
  9. Upvote
    jaBote got a reaction from Judas in 3CeAm to Hercules   
    I'm on my cellphone right now and if nobody else helps you by the time I
    get home I'll do. Could you please post here your /sql-files/main.sql
    and your /sql-files/log.sql to make the support faster?


    Remember first thing you have to do is backup your database then update
    it to the latest revision you can get from 3CeAM and post those sql
    files.


    Chances are your custom source code modifications won't be compatible
    with Hercules, so it's preferable to backup your emulator too just in
    case.


    Thanks in advance.
    _________________


    EDITED: Well, here you are. I haven't tested it since I don't have a 3CeAM but this seems correct and working. Remember to backup your database (and your emulator if you want) before doing ANYTHING (you use this at your own risk).:

    This is the code you have to run in your main database (usually called `ragnarok`) in paste version: (removed, wrong SQL patch)

    And this is what you have to run in your logs database, usually called `log`: (removed, wrong SQL patch)

    After that a fresh copy of Hercules configured and compiled should work like if you've been in Hercules all your life long.
  10. Upvote
    jaBote got a reaction from icabit in rA compatible with Hercules?   
    As long as I know, now that I've just checked the doc/script_commands.txt of both emulators, you can use almost all script commands present in rAthena in Hercules with identical behavior. But there are some script commands that Hercules doesn't have yet such as sit; stand; delequip; morphembryo; checkhomcall; and a script command that has a distinct name such as consumeitem (rA) --> itemeffect (Herc).
     
    However, I'd say script compatibility is 95+% because they're either quite new commands or haven't been extensively used in scripts -I've never seen any of the rAthena "exclusive" commands in use on a public released script yet-.
     
    Hope I helped you.
     
    P.S.: Hey Ind, i still don't know the reason of maintaining the get_revision() command. I think it should be changed to get_hash() or do something about its behavior since in rAthena it returned an integer value. Well, I think this one hasn't ever been used for a serious script so never mind. And the charisupper doc example has a mistake too I think. And there is the suggestion of merging those script commands for increased rAthena-Hercules compatibility.
  11. Upvote
    jaBote reacted to Ind in Hercules Renewal: Phase Two   
    Hercules Renewal: Phase Two
    Hello~! - What?!
    "but phase one isn't complete yet!"its alright, we have been able to manage parallel projects and goals, we surely can take care of this one too and effort required on this one is pretty much less than on phase one "So whats this phase two about?"one of my favorite things: user friendliness Goal: user-friendliness
    This aims at rewriting all of our server-client packet building, making it much more user friendly to modify and add new ones. We'll be starting with map server <- -> client (clif.c) and then will move to char server <- -> client and later login server <- -> client Before
    void clif_authok(struct map_session_data *sd) { #if PACKETVER < 20080102     const int cmd = 0x73; #else     const int cmd = 0x2eb; #endif     int fd = sd->fd;     WFIFOHEAD(fd,packet_len(cmd));     WFIFOW(fd, 0) = cmd;     WFIFOL(fd, 2) = gettick();     WFIFOPOS(fd, 6, sd->bl.x, sd->bl.y, sd->ud.dir);     WFIFOB(fd, 9) = 5; // ignored     WFIFOB(fd,10) = 5; // ignored #if PACKETVER >= 20080102     WFIFOW(fd,11) = sd->user_font; #endif     WFIFOSET(fd,packet_len(cmd)); } After
    void clif_authok(struct map_session_data *sd) {     struct packet_authok pack;          pack.PacketType = authokType;     pack.startTime = gettick();     pack.PosDir[0] = sd->bl.x;     pack.PosDir[1] = sd->bl.y;     pack.PosDir[2] = sd->ud.dir;     pack.xSize = 5; //not used     pack.ySize = 5; //not used #if PACKETVER >= 20080102     pack.font = sd->user_font; #endif          clif->send(pack,sd->fd,blabla,SELF); } Special Thanks
    To Yommy for bringing this up!
  12. Upvote
    jaBote got a reaction from chir0n in How to compile Hercules in CentOS5   
    I've edited right now my previous post so you can see if you still have problems with your SQL.
     
    If you need to run all three simultaneously try to use this statement in the console, in your directory:
     
    ./login-server && ./map-server && ./char-server If it gives you any permissions errors just run:
     
    chmod u+x ./login-server && chmod u+x ./map-server && chmod u+x ./char-server  
     
    Now I'll get to go, seriously, sorry. I'll help you further later whenever I can come back, which is usually tomorrow
  13. Upvote
    jaBote got a reaction from chir0n in How to compile Hercules in CentOS5   
    We should make a basic guide on how to setup and configure a Hercules server Ind.
     
    I'll write it myself if I have enough time, but I don't have it right now.
     
    Editing right now to explain chir0n what to do.
    _____________________________
     
    You'll need to open PhpMyAdmin (you can usually open it pointing your browser to http://<your server's IP>/phpmyadmin, no need to open it via console), login with your MySQL root user and password (not system root user and password, MySQL root user and password are what you have defined installing MySQL) and then make 2 databases on it, one called "ragnarok2 and another called "log".
     
    If you don't have PhpMyAdmin installed you can use yum install phpmyadmin.
     
    Then open the databases and execute the content of (your hercules download)/sql-files/main.sql on "ragnarok" database and (your hercules download)/sql-files/logs.sql on "log" database.
     
    Now open the `login` table on `ragnarok` database and look the S-sex account. Change its username and password for anything you fancy but remember it for awhile. Those credentials are the same you MUST put on (your hercules download)/conf/char-server.conf and (your hercules download)/conf/map-server.conf because leaving these as s1 and p1 are a major security issue. You no longer need to remember it providing all those credentials match.
     
    Then go back to PhpMyAdmin make a new user for the server (privileges section of PhpMyAdmin). Call it ragnarok if you want and make it only from the localhost host (select host: Local). Put a password for that user and remember it for another while. Grant the user SELECT, INSERT, UPDATE and DELETE privileges (it's preferred to let it only table privileges as granting global privileges is less secure, but that's not a quite serious security issue). After that you're done with sql, but configure (your hercules download)/conf/inter-server.conf below and give that file what it requires on credentials and database name OF THE SQL USER the server will use. Now you're good to go on the server.
     
     
     
    Sorry for explaining myself frankly bad, but I'm in a hurry right now but stopped to explain you. If you have further questions try to solve them using the Judas' Bible ( http://supportmii.com/ro1/JudasBible.pdf ) or don't hesitate asking again here and we'll try to respond whenever we can. Also hadn't time to check if my English is proper so sorry again for any mistakes.
  14. Upvote
    jaBote got a reaction from chir0n in How to compile Hercules in CentOS5   
    You haven't make installed in your server. You need to install some libraries even before trying to compile.
     
    Try to run this on your server to install the missing libraries (yum install means to get the packages and install them):
    yum install gcc make mysql mysql-devel mysql-server pcre-devel git zlib-devel  
    Then, if you want, you can also run this for extended ease of use of your server
    yum -y install dos2unix gdb nano screen unzip wget zip  
    You can now "make" (compile) Hercules on your server without any problems, except if you have edited the source and introduced an error.
  15. Upvote
    jaBote got a reaction from mybitch in rAthena to Hercules   
    I think there should not be any problem changing to Hercules. I haven't done it yet myself, but it seems that on the SQL files you only need to run this on the ragnarok database:
    ---- Table structure for table `sql_updates`--CREATE TABLE IF NOT EXISTS `sql_updates` ( `timestamp` int(11) unsigned NOT NULL, `ignored` enum('Yes','No') NOT NULL DEFAULT 'No', PRIMARY KEY (`timestamp`)) ENGINE=MyISAM;-- Existent updates to enterINSERT INTO `sql_updates` (`timestamp`) VALUES (1360858500);INSERT INTO `sql_updates` (`timestamp`) VALUES (1360951560);INSERT INTO `sql_updates` (`timestamp`) VALUES (1362445531);INSERT INTO `sql_updates` (`timestamp`) VALUES (1362528000);INSERT INTO `sql_updates` (`timestamp`) VALUES (1362794218);INSERT INTO `sql_updates` (`timestamp`) VALUES (1364409316);---- Table differences for table `char`-- ALTER TABLE `char` CHANGE `moves` `slotchange` SMALLINT( 3 ) UNSIGNED NOT NULL DEFAULT '0' And you now have Hercules databases.
     
    For switching SVN I don't have a clue, but I think you should keep a backup of the last rAthena you used in case you want to undo all changes so I'd make a new folder for that.
×
×
  • Create New...

Important Information

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