Jump to content

x13th

Members
  • Content Count

    78
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by x13th

  1. x13th

    Slave / Master ID

    Solved. Made my own master / slave code.
  2. try *summon("Monster name", <monster id>{, <Time Out>{, "event label"}})
  3. Hi @Dastgir, that's not what i'm looking. The mob is summoned through monster() script with Fake name.For example monster "new_1-1",50,106,"test",PORING,1; I want to get the name "test" of the poring killed. I don't think it's currently possible currently, what you could do is, explicitly mention the Label name in monster command, so you would know, that if that label is executed, the monster name is "test" or whatever you have set. Thank you for your suggestion but it's not possible in the script i'm doing. Thank you for your help
  4. Hi @Dastgir, that's not what i'm looking. The mob is summoned through monster() script with Fake name. For example monster "new_1-1",50,106,"test",PORING,1; I want to get the name "test" of the poring killed.
  5. How can we get monster display name when triggered OnNPCKillEvent? Is there a way?
  6. You can search here http://herc.ws/wiki/
  7. I've been searching through the src and can't find the code on how can a summoned slave stay when the master log out. I have specific mob id and create an object is_f_slave and can be call through md ( e.g. md->is_f_slave , for checking purpose ) So how can I prevent this slave to stay put?
  8. x13th

    ATK Formula

    I don't know if this the right one but worth trying battle.c /*========================================== * Check damage trough status. * ATK may be MISS, BLOCKED FAIL, reduce, increase, end status... * After this we apply bg/gvg reduction *------------------------------------------*/ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damage *d,int64 damage,uint16 skill_id,uint16 skill_lv)
  9. x13th

    Fake NPC Name

    Great, i was reading script_commands.txt and didnt notice that. Thank you.
  10. Try using npc without sprite, the default is poring. Its not the real solution but it will do try 4_M_ILYA
  11. x13th

    Fake NPC Name

    Is it possible to build a fake npc name script command? Like fakenpcname("NPC#1","NPC_F_N"); eventually the NPC#1 name will change to NPC_F_N.
  12. x13th

    Bug difence

    Baka ginagamit mong item_db is for renewal pero naka pre-renewal ka.
  13. x13th

    [Question] Plugin

    Gonna read your codes. Thank you!
  14. That's weird. Your passwords might not be in md5, and you might not be able to login. The only problem I see.... About topic owner problem, slowed mysql can cause this, because everything saves in mysql and mysql hanging could result in freezing the client. My password is set to md5. Idk whats happening either. Anyway its already solved.
  15. Hi. I've been playing around the src and just realized there's a Plugin function. My question is, when should be use this? Does this apply when adding new skill, calculating damage, etc?
  16. Hi. What's now working? Is it the increment of "ataq" or your printf? I suggest to change printf to sprintf char output_message[128]; sprintf(output_message, "basic hit number: %d",ataq); clif->messagecolor_self(sd->fd, COLOR_DEFAULT, output_message); And can you please explain more. Edit: ataq++ won't really work because you're just simply adding + 1 with your declared ataq integer. Instead, try using the val1 or any value of sc->data[YOUR_SC_SKILL] that you're not using. Sample if(t_bl->type==BL_MOB){ sc->data[YOUR_SC_SKILL]->val1 = sc->data[YOUR_SC_SKILL]->val1 + 1; sprintf(output_message, "basic hit number: %d",sc->data[YOUR_SC_SKILL]->val1); clif->messagecolor_self(sd->fd, COLOR_DEFAULT, output_message); }
  17. I experienced the same 2 days ago. I fixed mine by setting the md5 to false. I don't know why is that happening, strange.
  18. You just need to add your custom item.
  19. I'm planning to release this add on for free. Leave a comment Thanks.
  20. How to make the critical damage on emperium to 2?
  21. And I want all these groups to be recognized by everyone through giving them different player name colors. So the idea is like the GM's yellow name in-game. When they do chats, they're displayed in yellow font color and their name when hovered in-game is in yellow. I want these to be applied in different groups as well. I'm not sure if this is the right section to seek help (could be a client/source-related edit orsomething) Thanks in advance. PS: I already saw an old server who did it, and they're using eAthena. I think it could also be implemented here in Hercules since it's much much more flexible.
×
×
  • Create New...

Important Information

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