Jump to content

Angelmelody

Members
  • Content Count

    772
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Angelmelody

  1. @@AnnieRuru Calculating the unique ID isn't real-time updating into mysql ,it requires waiting server to save , so I think obtaining the unique ID via memory is better than mysql query
  2. @@AnnieRuru LOL, what a coincidence! i didn't know that some of the user here is already requesting. Wow, plugin~ Thank you for this Can i request a mapflag nightmap? Credits: Masao https://www.eathena.ws/board/index.php?act=attach&type=post&id=10131 already exist https://github.com/HerculesWS/Hercules/blob/master/npc/mapflag/night.txt
  3. Hello, I would like to suggest adding this command getequipuniqueid into Herc emulator. Since we had implemented Unique ID system ,but don't have script cmd to get the Unique ID of equipped equipment,so here's hoping that devs can implement this cmd ,thx src - getequipuniqueid doc - getequipuniqueid
  4. why not call a @at char and increase his Max HP for testing?
  5. maybe same as this issue http://herc.ws/board/tracker/issue-8177-some-of-gettimestr-time-format-crash-map-server/
  6. Angelmelody

    AFK Plugins

    add this into the first line of afk.c #include "common/hercules.h"
  7. wow~ nice, but you forgot herc emu dont have OnPCStatCalcEvent
  8. case SC_FREEZE: sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = st->luk*25; tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk break; helllo! thanks for this but i haven't seen any mdef changes does mdef will still affect the freeze chance/freeze duration? sorry , I didn't read the topic well. If you want mdef not affect freeze status you can try to comment out this line 'sc_def = st->mdef*100;' , so it should look like case SC_FREEZE: //sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = st->luk*25; tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk break;
  9. case SC_FREEZE: sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = st->luk*25; tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk break;
  10. Ruru , I recommend you to use this kind of hyperlink which is with a git version ,why so ?it can always keep the correct line after tons of updates https://github.com/HerculesWS/Hercules/blob/bb3afb0/doc/script_commands.txt#L6105
  11. this? skill_db.txt 405,7,6,1,0,0x1,0,1,1,no,0,0,3,magic,0, PF_SPIDERWEB,Fiber Lock
  12. [Warning]: pc_authok: AnnieRuru (AID:2000000) logged in with unknown group id (100)! kicking...nope, the server kick me{ Id: 501 AegisName: "Red_Potion" Name: "Red Potion" Type: 0 Buy: 50 Weight: 70 Trade: { override: 99 nodrop: true notrade: true } Script: <" itemheal rand(45,65),0; ">},weird, I tested my GM99 can drop and trade items, but normal player can't Change gm level to 100 not group, and it will be bypassed. in hercules seems player's group cant be changed to 100 , read the 6th post of this thread I dont have tested before you tell me there are a lot of warnings(lazy XD) but tested now and don't have any warnings,server load item_db.conf successfully
  13. @@Twiggy You can also use Regular Expressions to insert text 'override:99' in item_db.conf F: (Trade: {.*?rn) R: 1ttoverride:99rn F: (Nouse: {.*?rn) R: 1ttoverride:99rn
  14. [Warning]: pc_authok: AnnieRuru (AID:2000000) logged in with unknown group id (100)! kicking...nope, the server kick me{ Id: 501 AegisName: "Red_Potion" Name: "Red Potion" Type: 0 Buy: 50 Weight: 70 Trade: { override: 99 nodrop: true notrade: true } Script: <" itemheal rand(45,65),0; ">},weird, I tested my GM99 can drop and trade items, but normal player can't I think that's normal coz 99 group player can by pass that limitation, if account group cant be changed to 100 and don't wanna edit src, insert all item the limitation with 'override: 99' is needed
  15. An easier method , change your account group from 99 to 100
  16. I covert to hercules http://herc.ws/board/topic/7552-pk-area-error-while-compiling/ maybe some typo http://herc.ws/board/topic/8587-cell-pvp-pk-area-patch/
  17. I recommend you learn Map Zone DB ,its better than running a while loop
  18. Make a suggestion in community suggestion? @@Mysterious is fast on responding those. Yeah, I don't mind looking at community suggestions http://herc.ws/board/topic/7764-gist-bbcode-support/
  19. prontera,140,140,5 script Restock 999,{ change into - script Restok -1,{
  20. you can use charid2rid CMD to check whether the player is online or not if(charid2rid(.@char_id[.@i]))dispbottom "....";
  21. find and add after if (!sd) return 0; if(map_flag_vs(sd->bl.m)) { clif->message(sd->fd, "command cant be used on pvp/gvg/bg maps"); return 0; }
  22. maybe the event 'OnMyModDead' wasn't triggered when the monster died
×
×
  • Create New...

Important Information

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