Jump to content

Emistry

Support Leaders
  • Content Count

    526
  • Joined

  • Days Won

    21

Everything posted by Emistry

  1. get a supercomputer run 10,000 openkore bot ...and set each bot to act as much as human xD-
  2. Haha Jman, seem like we both have some similarities once awhile ... I am also using a same template for some random stuffs of RO ... EDIT 1: back to topic, it seem that HercAdminTool are capable to edit/adjust the group ID and permission, is that custom source mod for server too ? updating in the HercAdminTool will also update the content inside the conf/group.conf ? or it only adjust the permission solely in the HercAdminTool ? EDIT 2: ops... seem like only for HercAdminTool xD
  3. if you're using Notepad++ ... it's also possible .. just that kinda troublesome. turn on the Macro Recording, then type in the template of the itemInfo.lua . and stop the macro once you done, and repeat it as many time as you want. but too bad it repeat type out the same thing only, it wont generate any other things for you.
  4. thank for the tips =D
  5. oh I see. thx for the guide. normally where would the file stored? would it still work if I type the command while the map-server is still running ?
  6. erm, I need some help regarding the GDB. http://herc.ws/wiki/index.php?title=GDB#Using_gdb_with_Hercules I have read the guide here many times, yet I still cant make it work. I am not sure which steps I have missing, or did wrongly. My steps to use GDB : navigate to the Hercules trunk folder type this command ulimit -u unlimited./athena-start restart // startup server Wait until the crash happened, then type this command gdb map-server map-server.core // assume it's map-server crashed. I get this output once I enter the command above. then I type the command and it show "No Stack" Can you guys correct me ? I also did compile the server using this commands before I start using the GDB. ./configure --enable-debug=gdb --disable-ltomake cleanmake sql and lastly, if the GDB ever success to record the dump, where can I find the dump file that contain the crash information ??
  7. Emistry

    FCP NPC Script

    SC_PROTECTWEAPON 72SC_PROTECTSHIELD 73SC_PROTECTARMOR 74SC_PROTECTHELM 75 https://github.com/HerculesWS/Hercules/blob/master/db/const.txt
  8. ya ... xD thx for the info anyway
  9. // Will disabled consumables (disabled by map_zone_db.conf) be consumed when trying to use them?// 1 (official): yes// 0: noitem_restricted_consumption_type: 1// Unequip the equipments that has disabled by map_zone_db.conf ?// 0 : disabled equipments and cards are nullify (official)// 1 : disabled equipments are unequip, disabled cards are nullify// 2 : disabled equipments are nullify, disabled cards will caused the equipment to unequip// 3 : disabled equipments are unequip, disabled cards will caused the equipment to unequip (1+2)unequip_restricted_equipment: 0 https://github.com/HerculesWS/Hercules/blob/master/conf/battle/items.conf
  10. they wont be able to use it.
  11. nope.. when i store the char name, it show gibberish text in sql char table. probably because the table isnt set with proper encoding type i guess. not yet try item_db.conf but i think should be work fine too
  12. owh thx for the hints =D So it;s not hexed in client. no wonder I cant find it
  13. Just some trick ... I just realize that it's actually possible to use Chinese encoding in Hercules. Previously I think only Sear Emulator can do it, and I am wrong xD The problem : just that the database become messy and unreadable due to table encoding type not compatible. Offtopic : Does anyone know how to replace the "Triple" or "Quadraple" keyword when compound same item into card slots ?
  14. https://github.com/rathena/rathena/commit/2cee5b6 seem nice, cover npc/homunculus/pet/monsters too.
  15. I believe these 2 commands is a must for Hercules in the near future, at least some similar script command need to be developed and added into the Hercules emulator. This is because I have seen official server to released some contents that might required the uses of these script command. For example: Faceworm Nest Memorial Dungeon Toy Factory Memorial Dungeon etc. There 2 quests I noticed that it required the script to be able to alter the data of the summoned monsters. for the Toy Factory, I not sure it can be category into the same script command or not, but it's also part of "alter monster data" i guess. previously, the setmodata / getmobdata is implemented through the MobController script, but the MobController script so these setmobdata/getmobdaat was never officially added into the script. I think it's time for Hercules to add these script commands. * I know rAmod/eAmod have a script command for monster that work quite similar for setmobdata() but they dont have getmobdata() I believe. So, but I think setmobdata / getmobdata would be better than having a custom monster script command to spawn a monster that have altered information. Extra : http://ea.dj-yhn.com/index.php?c=setmobdata http://ea.dj-yhn.com/index.php?c=getmobdata
  16. I can try show an example later when I get back to home. example : as you can see from the picture, most of these quest npc are written in a way like this, so that the NPC can tell which monsters they are going to hunt and how many. and they are hardcoded into the npc script. official server doesnt have any changes for the quest, so there isnt any major issue about it. but what if the private server plan to adjust the quest ?? then they have to manually adjust all the related NPC script due to the content are mostly hardcoded into the script itself. if we can add a script command to retrieve the quest information, things could be done easily, even the script could be much more simpler or shorter at certain cases ( *custom script mostly* ) some part may probably look simpler and nicer I guess. current script example : switch(select("Hunt Dark Frame:Hunt Evil Druid:Hunt Wraith:Hunt Raydric Archer")) { case 1: callsub L_Quest,10110,.@str1$+"Hunt 10 Dark Frames.",.@str2$; case 2: callsub L_Quest,10111,.@str1$+"Hunt 10 Evil Druids.",.@str2$; case 3: callsub L_Quest,10112,.@str1$+"Hunt 10 Wraiths.",.@str2$; case 4: callsub L_Quest,10113,.@str1$+"Hunt 10 Raydric Archers.",.@str2$; } if we have getquestinfo( <quest id>,<param> ) , assume param 1 = quest title. setarray .@quest_id, 10110, 10111, 10112, 101103; .@quest_id_size = getarraysize( .@quest_id ); for ( .@i = 0; .@i < .@quest_id_size; .@i++ ) { .@quest_menu$ = .@quest_menu$ + getquestinfo( .@quest_id[.@i],1 ) + ":"; } .@i = select( .@quest_menu$ ) - 1; callsub L_Quest,.@quest_id[.@i],.@str1$+"Hunt "+getquestinfo( .@quest_id[.@i],1 ),.@str2$; we could write it this way, where we only need to provide the quest id. it reduced the redundancy for certain part of the script.
  17. Owh I see, so the topic is there. I remember this has been discussed before but I unable to locate the topic . Thx EDIT : ... seem like it's possible.
  18. is it possible to have a command to reload mapcache ? perhap a new atcommand or maybe a console command ? i think it's useful since it can reload the mapcache.dat without need to restart the server reload all the mapcache.dat , conf/maps.conf , db/map_index.txt
  19. quest_db: (// Quest Database///****************************************************************************** ************* Entry structure ************************************************ ******************************************************************************{ Id: Quest ID [int] Name: Quest Name [string] TimeLimit: Time Limit (seconds) [int, optional] Targets: ( [array, optional] { MobId: Mob ID [int] Count: [int] }, ... (can repeated up to MAX_QUEST_OBJECTIVES times) ) Drops: ( { ItemId: Item ID to drop [int] Rate: Drop rate [int] MobId: Mob ID to match [int, optional] }, ... (can be repeated) )}, since the quest structure has been updated. Is it possible Hercules implement a script command to retrieve the information based on quest id ? it seem like useful for script that link to the quests. You dont need to hardcore what monster/item are going to hunt in the script. getquestinfo( <param> ); 1 - quest ID 2 - quest Name 3 - time limit 4 - array of targets (mob id + count) 5 - array of drops (item id + count)
  20. this is great =) how about adding feature like sending @commands from HAT to ingame ?? or sending linux commnad to server like putty ??
  21. @Malufett how does you adjust the color to blue ??
  22. /omg .... should be "his" ... /sob or you refer to "Euphy" or maybe "AnnieRuru" ?? >.<
  23. Cleaning up all Kafra outfits...Polishing Baphomet's Scepter... <3 ...
  24. you can write it this way. http://upaste.me/r/1d42df
  25. it has been fixed. http://herc.ws/board/tracker/issue-8469-issue417-refine-weapon-may-caused-server-to-crash/
×
×
  • Create New...

Important Information

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