Jump to content

iubantot

Members
  • Content Count

    10
  • Joined

  • Last visited

Posts posted by iubantot


  1. On 12/27/2015 at 9:34 AM, AnnieRuru said:

    nonono ... don't worry
    this plugin DOES NOT DUP ITEM, trust me :P

    Download: 1.3
    plugin

    tested with

    { Id: 909 AegisName: "Jellopy" Name: "Jellopy" Buy: 6 Weight: 10 BuyingStore: true Charm: true // Charm_Stack: true Script: <" bonus bStr, 10000; "> },

    
    {
    	Id: 909
    	AegisName: "Jellopy"
    	Name: "Jellopy"
    	Buy: 6
    	Weight: 10
    	BuyingStore: true
    	Charm: true
    //	Charm_Stack: true
    	Script: <" bonus bStr, 10000; ">
    },

    just having Jellopy inside inventory will get bonus
    Remember: it has to use IT_ETC type item, which has been default to type 3 if you didn't specify
    and also "Charm: true" flag

    if added the "Charm_Stack: true" flag, the charms will stack
    - if the flag is false (default), having 10 same charms will give bonus 10 times, because they are separate items
    - if the flag is true, having 10 same charms will only give bonus once, because they are stack together

     

    version 1.3 onwards, added nocharms mapflag
    http://herc.ws/board/topic/15219-modification-to-noitem-plugin/
    to disable charms bonuses given in certain maps

    prontera mapflag nocharms

    
    prontera	mapflag	nocharms

    disable all charms from taking effect on the map

    prontera mapflag nocharms 909 prontera mapflag nocharms Jellopy

    
    prontera	mapflag	nocharms	909
    prontera	mapflag	nocharms	Jellopy

    disable only this 'Jellopy' charm from giving bonus
     

     


    credit to digitalhamster
    in case you guys forgotten, I fixed digitalhamster's patch on eathena forum 4 years ago

    and if you like this plugin, remember to also reprep_up.pngup Dastgir's post in this topic
    because I copy paste most of his stuffs

     

      Reveal hidden contents

    1.0 - plugin
    - use the Charm: true flag, credit to Dastgir
    - use a player variable trick to prevent duplicate the item
    --- because if run status_calc_pc before the memset into NULL, the item data is not clear, thus can duplicate items

    1.1 - plugin
    - added Charm_Stack: true flag, credit to Litro and Kong for the idea
    - however it always run the status_calc_pc even if the player still having the item in the inventory

    1.2 - plugin
    - fix the errors only

    1.3 - plugin
    - update to latest revision
    - add nochams mapflag to deny giving item bonus

    Is it possible to add a status icon when a certain charm is present in your inventory?


  2. 23 minutes ago, Myriad said:

    that error comes because you didn't make plugins either lol my bad. if you are using a plugin, you need to make plugins as well. so actually the order should be like this.

     

    
    make clean
    ./configure
    make sql plugins
    make plugin.mapcache
    

     

    So I think the mapcache has successfully compiled but now im getting this error. and i think it because the other maps are not included in the `herc/data` that i made earlier.

    Do i need to put all maps on it? or do i need to import my grf file on my vm just to compile mapcache?

     

    Capture.PNG


  3. 2 hours ago, Myriad said:

    Check this out: 

     

    So im encountering this error here

    Capture.PNG.aaeffc5ba7cfafc28aceb8a0ccb55544.PNG

     

    what i did is .

     

    herc/src/plugins/makefile.in

    ################  PLUGIN CONFIGURATION  ##############################
    #                                                                    #
    # When you add a plugin, add its name here:                          #
    # Example: if you have a plugin named my_cool_plugin.c and another   #
    # one named my_second_plugin.c, add them to the list like this:      #
    #                                                                    #
    # MYPLUGINS = my_cool_plugin my_second_plugin                        #
    #                                                                    #
    # This is only needed if you want to build your plugin through       #
    #   'make plugins' or 'make all'. If you don't add it to this list,  #
    #   you will still be able to build your plugin through              #
    #   'make plugin.my_plugin'                                          #
    #                                                                    #
    # Note: DO NOT include the .c extension!!!                           #
    
    MYPLUGINS = ExtendedVending mapcache

    herc/conf/plugins.conf

    plugins_list: [
    	/* Enable HPMHooking when plugins in use rely on Hooking */
    	"HPMHooking",
    	//"db2sql",
    	//"sample",
    	"ExtendedVending",
    	"mapcache",
    ]

    I also added a data folder on my herc folder.

    ` herc/data/ ` which contains the maps as said on the guide.


  4. So i am from rAthena and completely new on Herc. And im having troubles understanding how to properly add a new map. may i request for a step by step guide? ive searched every where on this forums but i cant seem to make it work. i tried using `make tools` but ./mapcache is not found in my directory.

×
×
  • Create New...

Important Information

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