Jump to content

jaBote

Community Contributors
  • Content Count

    2037
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by jaBote

  1. It seems it's been fixed as of now: https://github.com/HerculesWS/Hercules/commit/f8f073bc7ebd1bc5cf19e8ea9b72a54bba7fab8b
  2. Hi. Could you please file a bug report on our bug tracker? This way, devs will read and fix it way quicker on bug reports than here in the forums. Thanks a lot!
  3. I haven't used that yet, but I suppose you just change them in server side, then with the diff program you use you'll put the client side keys. You can be prompted somewhere for them or whatever, don't know myself ATM and don't have any means of testing it. Sorry.
  4. For some clients, it's necessary to customize your own packet keys in order to get that to work since WPE would send the same keys as the official, known packets, so you'll need a diff with an available option to change the packets. Then, in your server side, go to src/map/packets.h and find your packet ver. If your packetver is 20120410, then search this: #if PACKETVER >= 20120410packetKeys(0x01581359,0x452D6FFA,0x6AFB6E2E); /* Thanks to Shakto */#endif and change the packets to te value you want. Note that you'll have to use the same packets in the client AND in the server, otherwise you won't be capable of using that client.
  5. Yeah. Any server package that installs MySQL for you is viable, even if you install MySQL alone (but you'll prefer to also have a home web test server with databases if you want to learn something around that). There are quite a lot home server packages and you can choose whatever you want: XAMPP, WampServer, AppServ (the one I prefer to use myself, but it's abandoned as of now), EasyPHP, etcetera. Tip: Actually WAMP is an acronym: it stants for Windows, Apache, MySQL, PHP
  6. Think of it as if you only need two parts: server-side and client-side. For server-side, Patskie's guide sums it up pretty well, step by step and stating everything you need (I've read it again and I don't miss anything at the moment). For the client-side, you need an official kRO installation (sorry I forgot it) and a custom client made to connect to your server. You can also use the one stated in Judas' topic if you want. Just extract the official client, then unzip the small client package overwriting existing files when prompted (just as if you just tried to install a common RO private server). Once both server-side and client-side are OK, you can connect and log in to your home server without problems. You'll need some more configurations in order to let other people to connect to your server, though.
  7. Hi. Hercules is a full server package but it relies on third party software such as MySQL or a hexed Korean client (and, of course, the tools for getting and compiling it and so). So, provided you have an Hercules copy, a MySQL server set where you want to host your RO (for simplicity reasons, you can run the SQL server wherever you want) and a client (I reccommend Judas' small client package on the client releases section since it works just out of the box and you won't need to perform some weird tricks for novices on the source). About setting up Hercules, most of the old guides there are can still help you if you take care with some file renames, but you can use Patskie's guide if you want (if you use Judas' small client package you can skip step 13 since that client is already 20120418). Hope this can help you! P.S.: Moving to General Server Support section since I feel it fits way better there.
  8. La validez de esta guía sigue vigente a día de hoy aunque el tiempo pase. Me permito añadir una pequeña pregunta que puede tornarse frecuente: P: Si subo una copia de Hercules ya descargada desde Windows (o Mac) a un servidor bajo un sistema operativo GNU/Linux, al intentar configurarlo usando ./configure recibo un error. ¿A qué se debe? R: Si el problema es tal como se describe a continuación: -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory se debe a que has subido una versión de Hercules con todos los saltos de línea en formato DOS (el de Windows). Puedes arreglarlo simplemente ejecutando los siguientes comandos (recuerda que para los sistemas basados en Red Hat como CentOS o Fedora hay que cambiar apt-get por yum): apt-get install dos2unixdos2unix -f ./configure Esto cambiará los saltos de línea del archivo a modo UNIX y podrás seguir con la configuración y compilación sin problemas. No se nos ha presentado ningún otro error hasta el momento.
  9. If the original formula is (10+3*SkillLV)% (source: the client), then: val2 is the % of damage reflected; val1 is the skill level of the skill; So you can change the formula to your likings by using a fixed value plus the reflect % bonus with skill levels.
  10. Translating'em since I've a bit of free time: IDCHECKBOX_HELDEVICE, "Activa o desactiva la aceleración de gráficos por hardware.nnUtiliza esta opción solo si tienes problemas con tu tarjeta gráfica. Si está activado, el cliente no utilizará la tarjeta gráfica para renderizar gráficos.nNota: Esta opción NO se recomienda para los usuarios de sistemas de bajas o medias capacidades." IDINFOICON_VIDEO_MIRRORDRIVER, "Aviso: Se ha detectado un controlador espejo (mirror driver).nnNo se puede detectar tu tarjeta gráfica si tienes un controlador espejo activo. Esto puede ocurrir a causa de una sesión activa de VNC, software de control remoto o malware." TEXT_DLG_HELDEVICE, "Desactivar aceleración de gráficos por hardware" As I told you, a bit unsure on the mirror drivers one, but the others are good enough.
  11. To the best of my knowledge, eAthena doesn't support any of the newest clients...
  12. jaBote

    R> Full Debuff

    As doc/script_commands.txt says: 'sc_end' will remove a specified status effect. If SC_All is used (-1), it will do a complete removal of all statuses (although permanent ones will re-apply). So I think it ends it but then it's reapplied.
  13. jaBote

    Baaxal al habla:

    ¡Hola! Encantado, soy jaBote. De momento estoy haciendo guías que siguen muy detalladamente cada paso de cómo montar un servidor (mientras lo monto yo personalmente), aunque no están todas acabadas y por ello hay algún que otro salto. Tras hacer todas las guías necesarias tenía pensado montar una especie de macro guía de cómo hacer un servidor, simplemente enlazando cada paso grande hacia su respectiva guía. De momento no tengo tiempo para hacer muchas más guías porque le estoy dando un repasito a la documentación oficial de Hercules y otros asuntos personales más que me quitan tiempo, aunque a cada guía que hago le adjunto una sección de FAQs en la primera respuesta. No sé si te refieres a eso pero, ¿no las has visto? Cualquier otro problema que te surja y sea capaz de solucionar, simplemente coméntame. ¡Un saludo!
  14. Sadly, no. Since rAthena started it'd become a burden to still keep txt servers because almost nobody used it and was quite hard to maintain it. Since Hercules is a fork of rAthena we've also kept that feature outboth for our developers comfort and (believe it or not) ease of use for final users
  15. Please stop bumping so often. Avoid bumping more than once a day, and your bump is pointless since your topic is currently leading this board. Right now I'm not in my pc so I can't develop anything. Maybe a scripter will help you whenever he reads this topic, but remember devs are all around the world so maybe the one that will help you is sleeping at the moment. Anyways, keep in mind that what you posted isn't a full script. It's just a snippet of a script so if you try to load that you'll surely get an error. I'll try to help you when I'm back home, if any other scripter hasn't done that yet.
  16. I'm on my cellphone right now so I can't give a detailed reply to this. Maybe use detachrid then loop around all party members attaching an independent timer to them by attachrid and detachrid? Remember RID is account ID. Or I think you could attach'em a timer by using optional parameters of the timer functions. Or make the timer run in the npc then when it times out or whatever, do what you want to the party.
  17. Hi. In case that crash isn't caused by a custom source edit, could you please open an issue on our Bug Tracker so that devs are aware of this? Our devs use the Bug Tracker more often than this forum for fixing official emulator bugs, since it's quite easier for them to track them and hunt them down. I believe that if it's not due to a modification, it's surely a problem related to the Hercules Core, so maybe you'll get better help there.
  18. AFAIK, since late 2012 clients the mail feature was ditched from official clients.
  19. It wasn't for you, it was just for those who just posted an URL without a valid reason why the host is good as you asked. Topic closed to avoid SPAM.
  20. To keep this topic away from pointless SPAM and since ayennnnnnn asked for reasons, any post in which a reason is not stated will be removed from now on. This will also be applied to past posts if they aren't edited so that they state a good reason within the next 24h. Sorry, but we need to keep things tidy here.
  21. Just make an NPC to do this: - script autolvlup -1,{OnPCLoginEvent: if ( (BaseLevel == JobLevel == 1) && !newReward) { // Assume new character set newReward,1; atcommand "@lvup 9"; // 1 + 9 = 10; } end;} P.S.: Right now I'm unsure if this piece will work: BaseLevel == JobLevel == 1 If it doesn't, please change it to: BaseLevel == 1 && JobLevel == 1 But remember to keep that inside the parentheses.
  22. Starting items: conf/char-server.conf: line 97 // Starting items for new characters// Format is: id1,qt1,idn,qtnstart_items: 1201,1,2301,1 If I remember well, you can add up to 64 items in this format, more will crash your server. Setting players level to ten, I recommend you to auto issue an @lvup by script then setting a variable for making people not level up twice.
  23. Well, since he's new on it I think we should explain some things before giving him the solution, isn't it? First of all you know what's an array and possibly miss a bit of how setarray works, but I'd advice you to fill up the arrays on their first position. The first position of an array is number 0, then number 1, 2, 3, etcetera. Why positions start on 0? I don't know very well; Why start setting on position 0? It's a mere convention and you can perfectly start setting at position 1. It could also simplify some calculations/processing later. That setarray literally said: start setting the array $@monsteridweak at index 1 (second position, remember first one is 0) with the values: 1301 for index 1,1297 for index 2,1403 for index 3, etcetera. Then, let's go to the summoning part: you tried to summon this piece of code: monster "this",0,0,"--ja--",$@monsteridweak[1],100,strnpcinfo(3)+"::OnWave1"; which I think you know what it literally means, but let's go to the monster ID variable you passed. You're trying to summon the content of $@monsteridweak at index 1, which is just ID# 1301 and just summons that mob, and that's your issue. What to do to solve this? Just passing the $@monsteridweak variable? Wrong (that'll only summon the monster at position 0 if possible). You need a new tool for it, that's looping on the array till all desired monsters are summoned. How do you get the size of an array? With getarraysize, that gets all set positions except trailing zeros or empty strings (which by default mean unset variable), but getarraysize counts leading zeros or empty strings. You are already familiar with loops so, as examples: // Supposing empty arrays before setting. !!Position 0 is the first position of an array!!setarray .@myArray1[0],5,4,3,2,1; // myArray1 = 5,4,3,2,1 at positions 0,1,2,3,4 respectivelygetarraysize(.@myArray1); // Returns 5// Correct loop around .@myArray1for (set .@i, 0; .@i < getarraysize(.@myArray1); set .@i, .@i + 1) { // i varies from 0 to 4 whatever with .@myArray[i];}setarray .@myArray2[1],5,4,3,2,1; // myArray2 = 0,5,4,3,2,1 at positions 0,1,2,3,4,5 respectivelygetarraysize (.@myArray2); // Returns 6// Correct loop around .@myArray2for (set .@i, 1; .@i <= getarraysize(.@myArray1); set .@i, .@i + 1) { // i varies from 1 to 5, position 0 is skipped whatever with .@myArray[i];} Since Via and others have already caught me up you have now a correct solution at the moment depending on what you want, but hope that this explanation has given you a bit of more insight if possible! P.S.: 31 filled up positions on the array... Multiplying by 100... You sure you want to summon 3100 monsters on the same map at once? O.O
  24. Change this: OnTimer60000:set @minute, @minute + 1;//Check for 1 Minuteif(@minute == 60){ set @minute,0; set .@point_amt, 10; //Points to get every hour (default: 10) set #KAFRAPOINTS, #KAFRAPOINTS + .@point_amt; dispbottom "You received "+.@point_amt+" Kafrapoints by staying ingame for 1 hour"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; set @consecutive_hour, @consecutive_hour + 1; }//Check for 12 hours consecutive if(@consecutive_hour == 12) { set @consecutive_hour,0; set .@cpoint_amt, 50; //Points to get for 12 Consecutive hours (default: 50) set #KAFRAPOINTS, #KAFRAPOINTS + .@cpoint_amt; dispbottom "You receive "+.@cpoint_amt+" Kafrapoints in playing for 12 consecutive hours"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; }stopnpctimer;initnpctimer;end; For this: OnTimer60000:set @minute, @minute + 1;//Check for 1 Minuteif(@minute == 10){ set @minute,0; set .@point_amt, 10; //Points to get every 10 mins (default: 10) set #KAFRAPOINTS, #KAFRAPOINTS + .@point_amt; dispbottom "You received "+.@point_amt+" Kafrapoints by staying ingame for 10 minutes"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; set @consecutive_10min, @consecutive_10min + 1; }//Check for 12 hours consecutive if(@consecutive_10min == 6) { set @consecutive_10min,0; set .@cpoint_amt, 50; //Points to get for 12 Consecutive hours (default: 50) set #KAFRAPOINTS, #KAFRAPOINTS + .@cpoint_amt; dispbottom "You receive "+.@cpoint_amt+" Kafrapoints in playing for 1 consecutive hour"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; }stopnpctimer;initnpctimer;end; Please review by yourself the changes I've made to properly understand what's happening there and you'll learn a cool bit of the basics of scripting.
×
×
  • Create New...

Important Information

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