Jump to content

astralprojection

Members
  • Content Count

    333
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by astralprojection

  1. What does it do? - It triggers the npc when you spend or receive #CASHPOINTS. I thought it would be useful on making script like Cash Spending Event or track cash movement of the player.
  2. good job samsudin you are awesome!!!! i hope you will continue to support and develop this add-ons!!
  3. will this support, existing registered players? how to update existing account?
  4. 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 ); }
  5. thanks for sharing your awesome job. can you fix that crash when map is not found in the map_desc.txt?
  6. i set my mapflag to "nowarp", to prevent these skills to be use I miss you Mom, Day I miss you. Come to me honey. These are the wedding/family skills to summon. but my problem now, is warpparty is also affected. Is there any workaround on this?
  7. you should also consider your electricity supply to keep it online, see to it that you can keep the server running in the event of power interruption.
  8. http://mydomain.com/?module=chargen&action=avatar&request=<charname> will display generated avatar of that char, but how to generate a custom avatar? like issue "name", "level", "job", "top","mid" etc.??? It will be useful to display player avatar at ranking.
  9. 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.
  10. Does this mean RSX will repawn from between 10min to 125min? ein_dun02,0,0,0,0 boss_monster RSX-0806 1623,1,7500000,600000,0
  11. i just noticed that 2 weeks no commits made. Very busy with their personal life i guess
  12. good job!!!! nxt challenge is to get verified at paymentwall.
  13. 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: }
  14. @channel setopt <channelname> MessageDelay <seconds 1 -10>
  15. I am using the latest git, is this normal? . Players from official server complaints that this should not be the behavior of Asura. I already submitted to bug tracker but no response until now.
  16. 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"
  17. yes it reloads all NPC, possible reason is that npc you are trying to modify has errors or not loaded properly.
  18. 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
×
×
  • Create New...

Important Information

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