Jump to content

Vykimo

Members
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Vykimo

  1. Nice idea !

    I have some remarks :

    - First, you should look into autotrade in order to be able to close your client with autopilot still on. I think you just have to remove connection link with client (sd->fd = 0) or maybe just a bit more...

    - Currently it's only a matter of rules right? Like homunculus. No "real" AI is involved into your system (machine learning etc), isn't it?

    - Then you should better propose a .diff or a patch in your git (instead of a whole emulator)

  2. Here is my solution.

    In your function :

    		if (pc_cant_act(sd))
    			break;
    
    		if(sd->state.arealoot == 1 && map_foreachinallrange(skill_greed, &sd->bl, 5, BL_ITEM, &sd->bl) == 0)
    			return;
    		else if (!pc_takeitem(sd, fitem))
    			break;

    In pc.cpp

    Change this :

    	if (!check_distance_bl(&fitem->bl, &sd->bl, 2) && sd->ud.skill_id!=BS_GREED)
    		return false;	// Distance is too far

    to this :

    	if (sd->state.arealoot == 0 && (!check_distance_bl(&fitem->bl, &sd->bl, 2) && sd->ud.skill_id!=BS_GREED))
    		return false;	// Distance is too far

     

    • Upvote 1
    • MVP 1
  3. @restock everywhere from your storage


    One version of @restock. Create a list of items to restock automatically from your storage. Available everywhere

    Usage

    • @restock <itemid> <itemid> ... : add items to restock list
    • @restock off : disable restocking

    Config :

    1. Consume 1 coin if non VIP Player, but you can disable it.
    2. You can set maps where restocking isn't allowed.

    • Submitter
    • Submitted
      11/12/2018
    • Category
    • Video
    • Content Author
      Vykimo

     

    • Love 1
  4. Snatch Modification


    SRC Modification of skill "RG_INTIMIDATE, Snatch".
    Teleport the player near a mob with the same id or near a monster with the same race present on the current map (if none, on random location).

    That's only a patch to apply on your rathena folder.

    Don't forget to thumbs up me if you like my content~


    • Submitter
    • Submitted
      11/13/2018
    • Category
    • Video
      https://www.youtube.com/watch?v=z6P1T_Cf6ZU
    • Content Author
      Vykimo

     

    • Upvote 1
    • Love 2
  5. Partial answer :

    Go in skill.cpp, search for : 

    	if( sd && src != bl && damage > 0 && ( dmg.flag&BF_WEAPON ||
    		(dmg.flag&BF_MISC && (skill_id == RA_CLUSTERBOMB || skill_id == RA_FIRINGTRAP || skill_id == RA_ICEBOUNDTRAP)) ) )
    	{

    replace by this

    	if( sd && src != bl && damage > 0 && ( dmg.flag&BF_WEAPON || dmg.flag&BF_MISC || dmg.flag&BF_MAGIC ) )
    	{

     

    This answer could partially answer your problem, but i'm not sure it would be enough..

    • Upvote 1
×
×
  • Create New...