Jump to content

astralprojection

Members
  • Content Count

    333
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by astralprojection


  1. here:

     

    //===== Hercules Plugin ======================================
    //= King of Emperium Hill
    //===== By: ==================================================
    //= AnnieRuru
    //===== Current Version: =====================================
    //= 1.1
    //===== Compatible With: ===================================== 
    //= Hercules 2015-12-19
    //===== Description: =========================================
    //= stop guild owner from hitting the emperium over and over
    //===== Topic ================================================
    //= http://herc.ws/board/topic/4495-king-of-emperium-hill/
    //===== Additional Comments: =================================  
    //= finally a plugin for this popular script
    //============================================================
    
    #include "common/hercules.h"
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include "map/pc.h"
    #include "map/mob.h"
    #include "map/battle.h"
    #include "map/mapreg.h"
    #include "common/memmgr.h"
    #include "plugins/HPMHooking.h"
    #include "../common/HPMDataCheck.h" // should always be the last file included! (if you don't make it last, it'll intentionally break compile time)
    
    
    
    HPExport struct hplugin_info pinfo = {
    	"koe",
    	SERVER_TYPE_MAP,
    	"1.1",
    	HPM_VERSION,
    };
    
    int battle_check_target_post( int retVal, struct block_list *src, struct block_list *target, int *flag ) {
    	if ( retVal == 1 ) {
    		struct block_list *s_bl = src;
    		if( (s_bl = battle->get_master(src)) == NULL )
    			s_bl = src;
    		if ( s_bl->type == BL_PC && target->type == BL_MOB ) {
    			TBL_PC *sd = BL_CAST( BL_PC, s_bl );
    			TBL_MOB *md = BL_CAST( BL_MOB, target );
    			if ( ( md->class_ == MOBID_EMPELIUM && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
    				( sd->status.guild_id == mapreg->readreg( script->add_str("$koegid") ) || battle->get_current_skill(src) > 0 ) )
    				return 0;
    		}
    	}
    	return retVal;
    }
    
    HPExport void plugin_init (void) {
    	addHookPost( battle, check_target, battle_check_target_post );
    }
    

  2. Hermode Cap [1]   [Upper Head]   Item ID# 5481 (Hermose_Cap)
        Script: <"
            bonus bAspdRate,10;
            bonus bBaseAtk,-20;
            bonus bMatkRate,-10;
        ">
    

    I notice that when having negative value on bBaseAtk, it did not reduce atk, but if positive, it adds to atk at status window. I think it should reduce.  

     

    You can try adding bonus bBaseAtk,-20; to any items you have if you don't have 5481 in your client data for testing purposes.

     

     

  3. That point was made w.r.t this page: https://www.paymentwall.com/en/faq/payment-verification/196

    It probably seems it is talking about the one who is paying Edit:

    They list this as well:

    There is a $100 minimum payout threshold. Once the $100 threshold is met, we will automatically send you the payout as long as all compliance documents are uploaded and approved.

    We send out payouts as we collect your revenues from our payment partners. It would depend on the payment method utilized by the users and release time of our payment partners which usually vary between 30 to 60 days. To view your payout schedule, please click here

    The payout can also be put on hold for a specific amount of time if we see that you have stopped processing payments. This is to cover any possible chargebacks the users may file. Once the prescriptive period is over, we will pay you your remaining balance minus any refunds or chargebacks

    Reference: https://www.paymentwall.com/en/faq/payouts/194

    So 30-60 days is hell lot, and 100$ minimum for payout..

    thanks for this very info :)


  4.  

    getting this

      parse_callfunc: not enough arguments, expected ','
        44:         {
        45:                 if( Event_Win_IDs[ .@i ] != 0 )
        46:                 {
    *   47:                         getitem return_Event_Prize( Event_Win_IDs[.@i] ), return_Event_Amount( Event_Win_IDs[.@i] );
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        48:                         deletearray Event_Win_IDs[.@i], 1;
        49:                 }
        50:         }
    
     

  5. to make it work to latest update of herc just add  #include "common/sql.h"

     

    #include "common/hercules.h"
    #include "map/pc.h"
    #include "map/map.h"
    #include "map/intif.h"
    #include "login/login.h"
    #include "common/timer.h"
    #include "common/strlib.h"
    #include "common/memmgr.h"
    #include "common/nullpo.h"
    + #include "common/sql.h"
    #include "common/HPMDataCheck.h"

  6. I had been looking to convert this time stamp to string format like

       
    set .@unban_time,1460968293;
    mes .@unban_time     //  but at string format below like
     
    gettimestr("%Y-%m-%d %H:%M:%S",21) so that i can export to sql query.
     
    Can you help?
     
    Thank you :D
     
     

  7. 1. Kaalaman kng ano2x ang nasa EP8.1.  Mag basa sa mga web references

    - maps

    - mob

    - items

    - quest

    - features

    2. buksan at tangalin ang hindi nararapat sa EP8.1 sa mga sumusunod na mga configuration files. 

    - npc/scripts.conf

    - npc/scripts_jobs.conf

    - npc/scripts_monsters.conf

    - npc/scripts_warps.conf

    - npc/scripts_woe.conf

    - npc/pre-re/scripts.conf

    - npc/pre-re/scripts_jobs.conf

    - npc/pre-re/scripts_main.conf

    - npc/pre-re/scripts_monsters.conf

    - npc/pre-re/scripts_warps.conf

×
×
  • Create New...

Important Information

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