Jump to content

jaBote

Community Contributors
  • Content Count

    2037
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by jaBote

  1. This is related to /db/{re or pre-re}/mob_skill_db.txt and /db/mob_skill_db2.txt. I don't get what you want exactly, at first read I thought you didn't want mobs to summon slaves (which could've done by commenting all lines that have @NPC_SUMMONSLAVE and @NPC_CALLSLAVE), but now I think you want something different. For disabling a skill on a mob, you only have to find its ID (on the first column of mob_skill_db.txt) and then comment the instances of the skill you don't want the mob to have.
  2. Well, it's a hotfix and if you're in a pserver open to public this will work for any active users, which is what you want and will do the job if you keep that NPC on the server forever, providing you won't unset that resetted var. The TRUNCATE method works for every character on the server but all used skill points won't be back.
  3. That's just what Gepard said. For some more help about committing you can check this post: http://herc.ws/board/topic/152-obtaining-hercules/?p=1241
  4. He hecho una traduccioncita rápida en tu post del bug para que te entiendan algo mejor, aunque creo que los últimos ragexeRE tienen Cash Shop. Eso sí, no son estables aunque se pueden usar. ------------------------------------------------- Pequeña respuesta de Yommy desde IRC: El mail system fue eliminado de los servidores oficiales (incluso su ventana oficial de mail) hace como un año debido a una cantidad enorme de bugs y exploits que había en él y que parece que no podían solucionar, motivo por el que no funciona el mail en los clientes Ragexe. Y RagexeRE son clientes de servidores de prueba de Gravity que ni siquiera tienen cash shop. Así pues, no parece que haya manera de casar las dos cosas: habrá que escoger entre una u otra.
  5. What you want can only be achieved with source mods, then making some custom script commands, then scripting that. I can try to script that with available script commands as I did before, but result won't be much better because of what I said then: no faction vs faction pvp, no faction guardians, etc. Faction-only maps can still be made with some creative use of the OnPCLoadMapEvent label, but current script engine limitations still apply.
  6. If you set a variable to 0 if it's a number or "" (empty string) it's supposed to be gone for good, so this script command request is already made: Check this piece of text from doc/script_commands.txt
  7. For usable items you can use a map zone restriction: just disable it on the "All" zone and enable it on the Battleground zone. For items used by skills, that's a bit more complicated and maybe you need a source mod. Why you don't check out this source mod? May be useful for what you want: http://herc.ws/board/topic/425-bg-consume-mapflag-battlegrounds-items-that-can-only-be-used-in-bg/
  8. Doing what Thanna said is quite easy and should work. You can also use SVN for getting Hercules, however, SVN support from Git repositories is very limited. You can checkout from this address: http://svn.github.com/HerculesWS/Hercules.git For a bit more of information on how to use TortoiseSVN, please refer to the Obtaining Hercules guide.
  9. It seems fine, but I've never used that script. Best way to find out if that works is trying it out by yourself and seeing if that works.
  10. I've thought about it before and kinda screwed up myself. It'd be quite nice if each plugin used its own function because it would be a mess otherwise, but the answer to that is on Ind's hands ot another one that can understand all the HPM code.
  11. Maybe you should check your clientinfo.xml? Change the servicetipe in your client to korea and check if that works. Sorry for not being very good in ClientSide.
  12. I doubt this modification will be given much support. I don't know source editing, but the auction feature has been deprecated from official servers and it's not present on latest clients because it was almost not used at all, so maybe even the whole feature will be dropped at some time. More info: http://herc.ws/board/topic/414-auction-feature-all-screwed-up/
  13. NOTE!! All used skillpoints WILL be gone if you do that, so you may experience buggyness on your server if you decide to proceed doing this. For truncating the table you should issue the following command on your ragnarok database: TRUNCATE TABLE `skill`; If you don't have enough permissions for doing this, you could issue this command, which is slower but will do the job: DELETE FROM `skill`; Remember that all data will be gone and you can't undo these statements. A backup of the database is highly reccommended before doing this. Hope I helped.
  14. Don't know of an easy way of doing this except for making a NPC: - script resetskill -1,{OnPCLoginEvent: if (!resetted) { resetskill; set resetted, 1; } end;} You could also truncate the skill table, but that won't refund the used skill points to the players.
  15. Don't know if this topic would be better here or in the source forums. What I know for sure is if you find whatever you think is a bug, please try opening an issue in the bugtracker here: http://herc.ws/board/tracker/ This way will make the devs aware of these issues faster than in the forums.
  16. Well, he means using 'mes' commands instead of 'dispbottom', which would make a message window appear.
  17. Pay special attention to these lines: // -----------------------------------------------------------// Points variable -- optional quest requirement.// setarray .Points$[0],"<variable name>","<display name>";// ----------------------------------------------------------- setarray .Points$[0],"#CASHPOINTS","Cash Points"; And also the code in which you add whatever items you want: // -----------------------------------------------------------// Quest items -- do NOT use a reward item more than once!// Add(<shop ID>,<reward ID>,<reward amount>,// <Zeny cost>,<point cost>,// <required item ID>,<required item amount>{,...});// ----------------------------------------------------------- Add(1,5022,1,0,0,7086,1,969,10,999,40,1003,50,984,2); Add(1,5032,1,0,0,1059,250,2221,1,2227,1,7063,600); Add(1,5027,1,0,0,2252,1,1036,400,7001,50,4052,1); Add(1,5045,1,0,0,2252,1,1054,450,943,1200); Add(2,1224,1,0,0,7297,30,969,10,999,50,714,10); Add(2,1225,1,0,0,7292,30,969,10,999,50,714,10); Add(3,531,1,3,0,512,1,713,1); Add(3,532,1,3,0,513,1,713,1); Add(3,533,1,3,0,514,1,713,1); Add(3,534,1,3,0,515,1,713,1);// ----------------------------------------------------------- That's all.
  18. You should make a special userbar for Ind: "Proud to be Hercules". Why not?
  19. ¡Hola! Si quieres, puedes bajar la carpeta Data actualizada que ofrece Alexandria, versión 4.0 (la que es para clientes de 2012 y 2013) en este tema: http://herc.ws/board/topic/901-basic-complete-renewal-data-english-folder/ Con esta Data te será suficiente de momento. Las gracias a Alexandria por este aporte n.n
  20. No puedo mirártelo ahora mismo, pero también cabe la posibilidad de que ese cliente no esté completamente soportado por el emulador y que por tanto algunos sistemas fallen.
  21. For this you should have a lot of care. If you want to wipe all your server data and ONLY leave accounts alive (which is what I think you want), I'd truncate (TRUNCATE TABLE `table_name`) all tables except `login` and (optionally) `mapreg`. Truncating a table means emptying all of its content and setting the auto_increment values to 1. Making backup is highly advised before doing this. Can't tell you right now, I'd better use PHP for this and insert it with 2 queries: one for getting all the account ids and another for inserting a value on the storage table for them. For the warning, it means you're running it as a root superuser in your Linux system and you're advised not to do that ecause consequences may be fatal if someone manages to take over your system via the game, because they're allowed to do anything as root. That's not MySQL related.
  22. Se refiere a esto: http://herc.ws/board/topic/988-atcommanddance/ Como puedes observar a través del código, si especificas algún parámetro entre el 1 y el 9 (ambos inclusive), tu PJ realizará algún efecto visual o sonoro. La decisión del efecto que se realiza aparece en este trozo del código, tomado directamente de ese tema: if ( atoi(message) == 1 ) {clif->specialeffect(&sd->bl, 413, ALL_CLIENT); } else if ( atoi(message) == 2 ) {clif->specialeffect(&sd->bl, 414, ALL_CLIENT); } else if ( atoi(message) == 3 ) {clif->specialeffect(&sd->bl, 415, ALL_CLIENT); } else if ( atoi(message) == 4 ) {clif->specialeffect(&sd->bl, 426, ALL_CLIENT); } else if ( atoi(message) == 5 ) {clif->specialeffect(&sd->bl, 458, ALL_CLIENT); } else if ( atoi(message) == 6 ) {clif->specialeffect(&sd->bl, 466, ALL_CLIENT); } else if ( atoi(message) == 7 ) {clif->specialeffect(&sd->bl, 501, ALL_CLIENT); } else if ( atoi(message) == 8 ) {clif->specialeffect(&sd->bl, 540, ALL_CLIENT); } else if ( atoi(message) == 9 ) {clif->specialeffect(&sd->bl, 550, ALL_CLIENT); } else { clif->message(fd, "usage: @dance 1-9"); } Los efectos que se envían son el valor numérico de tres cifras (en azul claro) que varía con cada número (recuerda, del 1 al 9) que le especifiques. Puedes ver esos efectos en doc/effect_list.txt. Para referencia: Como puedes observar, se trata de un comando bastante simple, con un uso meramente cosmético.
  23. I've also never seen an emulator executing procedures in MySQL. But I'd keep CREATE, DROP and ALTER permissions for source mods and scripts which make use of it if tables don't exist. I've seen quite a lot of scripts auto installing if the table hasn't already been created (CREATE TABLE IF NOT EXISTS). Don't like this behavior, though, but I must admit this is quite comfortable. Possible problems is letting a third-party NPC or source mod dropping your tables (main reason why I don't like it).
  24. You can try this cheap trick: L_EnchantLoc: mes "["+strnpcinfo(1)+"]"; mes "Select an equipment first, then I'll ask you the ^FF0000Enchantment Type^000000, ^FF0000Class Type^000000 (If necessary), ^0000FFSlot Number^000000, and give you the final ^009900Zeny Cost^000000 for my services."; next; setarray .@position$[11], "Costume Low","Costume Mid","Costume Top","Costume Garment"; set .@menu$,""; deletearray .@arr; set .@j, 1; for( set .@i,11; .@i <= 14; set .@i,.@i+1 ) { if(getequipisequiped(.@i) && (.@i != 4) && (.@i != 3)) { set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@arr[.@j], .@i; set .@j, .@j + 1; set .@menu$, .@menu$ + ":"; } } I just changed starting equip position to check (11, EQI_COSTUME_HEAD_LOW) and the condition of the loop for checking from EQI_COSTUME_HEAD_LOW to EQI_COSTUME_GARMENT. I also deleted the condition for catching shields since there'll be no shields while getting these equips.
  25. I haven't messed with costume equipment on scripts yet, but I can't see any reason that prevents this script to work on them. Just see 'getequipid' to get their slot numbers and (using the version with loops) simply check them. You would only have to edit the loop for making it read only the costume items. Since I'm not familiar with costume items, I don't know if enchanting them would have any actual effect other than cosmetic.
×
×
  • Create New...

Important Information

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