Jump to content

AnnieRuru

Script Developers
  • Content Count

    1677
  • Joined

  • Last visited

  • Days Won

    245

Reputation Activity

  1. Upvote
    AnnieRuru got a reaction from Mumbles in Item Script Request   
    why use OnPCLoginEvent / OnPCLogoutEvent ?
    update item_db_re setscript = 'if ( readparam(bStr) >= 90 ) { bonus bAllStats,1; bonus bMaxHPrate,1; bonus bMaxSPrate,1; bonus bStr, getrefine(); }',equip_script = 'if ( readparam(bStr) >= 90 ) { ModExp = ModDrop = 110; }',unequip_script = 'if ( readparam(bStr) >= 90 ) { ModExp = ModDrop = 100; }'where id = 1201;
  2. Upvote
    AnnieRuru got a reaction from Adam in (Guild) Antagonism System   
    isn't the plugin is just below the code ?
    and there is no need to read the sql table, its not like this stuff is run when the player is offline
    to actually hit the player, both the source and target has to be online, so just use guild->check_alliance with enemy flag to read them
     
    make the script shorter a bit
    src/map/battle.c | 6 ++++++ 1 file changed, 6 insertions(+)diff --git a/src/map/battle.c b/src/map/battle.cindex 24f39a3..52b24ec 100644--- a/src/map/battle.c+++ b/src/map/battle.c@@ -6020,6 +6020,12 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f if( (s_bl = battle->get_master(src)) == NULL ) s_bl = src; + if ( s_bl->type == BL_PC && t_bl->type == BL_PC ) {+ TBL_PC *sd = BL_CAST( BL_PC, s_bl );+ if ( guild->check_alliance( sd->status.guild_id, ((TBL_PC*)t_bl)->status.guild_id, 1 ) && !map->list[sd->bl.m].flag.town && !map->list[sd->bl.m].flag.nowarpto )+ return 1;+ }+ if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOB http://upaste.me/28fd11097df8e9a10 
     
    you know ... I start to think that lilith's faction system can actually be release entirely with plugins ..
  3. Upvote
    AnnieRuru reacted to KeyWorld in Hercules WPE Free - June 14th Patch   
    If guys search for a "not broken" client, check the list behind (each encryption tested 10 000 000 times), seems like Gravity doesn't even take time to find correct keys :
     
    20110817 - PASSED 20110824 - FAILED x32 20110831 - PASSED 20110906 - PASSED 20111005 - FAILED x29 20111012 - FAILED x32 20111021 - PASSED 20111025 - PASSED 20111102 - FAILED x31 20111109 - FAILED x16 20111122 - FAILED x16 20111207 - FAILED x31 20111214 - FAILED x32 20111220 - FAILED x16 20111228 - FAILED x7 20120104 - PASSED 20120111 - PASSED 20120120 - PASSED 20120202 - PASSED 20120207 - PASSED 20120214 - FAILED x31 20120229 - PASSED 20120307 - FAILED x31 20120314 - PASSED 20120321 - PASSED 20120328 - FAILED x32 20120404 - PASSED 20120410 - FAILED x32 20120418 - FAILED x15 20120424 - FAILED x11 20120509 - PASSED 20120515 - PASSED 20120525 - FAILED x16 20120605 - PASSED 20120612 - FAILED x14 20120618 - PASSED 20120702 - PASSED 20120716 - PASSED 20130320 - FAILED x32 20130514 - PASSED 20130522 - PASSED 20130529 - FAILED x30 20130605 - PASSED 20130612 - PASSED 20130618 - PASSED 20130626 - FAILED x11 20130703 - FAILED x32 20130807 - FAILED x4 20131218 - FAILED x31 20131223 - FAILED x14 20131230 - PASSED
  4. Upvote
    AnnieRuru got a reaction from WalkingBad in Custom Headgear (H) which gives SL_Spirit   
    https://github.com/rathena/rathena/blob/master/db/const.txt#L1304
    rathena's SC_SPIRIT in hercules is SC_SOULLINK
    https://github.com/HerculesWS/Hercules/blob/master/db/const.txt#L876
    you'll get stoned if used your script
    and also, that's outdated technique
     
    http://upaste.me/f02211100e4c8f24d
  5. Upvote
    AnnieRuru got a reaction from Adam in Custom Headgear (H) which gives SL_Spirit   
    https://github.com/rathena/rathena/blob/master/db/const.txt#L1304
    rathena's SC_SPIRIT in hercules is SC_SOULLINK
    https://github.com/HerculesWS/Hercules/blob/master/db/const.txt#L876
    you'll get stoned if used your script
    and also, that's outdated technique
     
    http://upaste.me/f02211100e4c8f24d
  6. Upvote
    AnnieRuru got a reaction from evilpuncker in Suggestion for restricted equipment (making a new conf for it)   
    actually I'm thinking of writing both ... with this one
    http://herc.ws/board/topic/4412-map-zone-dbconf-allows-to-restrict-an-item-type/
    then only pull request
  7. Upvote
    AnnieRuru got a reaction from Helena in command option/settings manager?   
    http://rathena.org/board/topic/92360-utility-onpclogin-gm-settings/?p=243632
  8. Upvote
    AnnieRuru got a reaction from Helena in Annie's mvp room. Disable spawn?   
    http://upaste.me/3e1211085057a4cc8#
     
    there is 1 reason that I don't want to make this into script release section
    because I want to turn this into instance script =/
    then there is theoretically not limit to the number of rooms that players can rent
  9. Like
    AnnieRuru got a reaction from Vietlubu in Fight Your Clone   
    some people are using the one inside bug tracker ... no ...
    that is actually just a sample script
    and this is the one that is fully capable of using in live server
     
    Download: 2.0
    script
    plugin
     
     
    ohh ... original topic
    http://rathena.org/board/topic/72691-evil-clone-on-map-enter/
     
     
     
  10. Upvote
    AnnieRuru got a reaction from karazu in Fight Your Clone   
    some people are using the one inside bug tracker ... no ...
    that is actually just a sample script
    and this is the one that is fully capable of using in live server
     
    Download: 2.0
    script
    plugin
     
     
    ohh ... original topic
    http://rathena.org/board/topic/72691-evil-clone-on-map-enter/
     
     
     
  11. Upvote
    AnnieRuru reacted to Dastgir in [AtCommand] autoatk   
    You should really consider updating your Hercules.
  12. Upvote
    AnnieRuru got a reaction from Begin in noitem plugin   
    Download: 1.9
    plugin
     
    tested with
    prontera mapflag noitem 0,4,5 prontera mapflag noitem IT_HEALING, IT_WEAPON, IT_ARMOR disable player from using healing items, and preventing equip weapon and armor.
    .
    prontera mapflag noitem Poring_Card prontera mapflag noitem 4001 disable player from using Poring Card
     
     
    Credit to original author -> https://rathena.org/board/topic/59578-mapflags-noitem-and-noskill2/
    Wynn_
     
  13. Upvote
    AnnieRuru reacted to Samuel in HPM Pre-Hook allows to not returning to original function   
    HAHAHA, yeah i know that feeling, that's why i'm reading ind's plugins as plugin document hahaha
  14. Upvote
    AnnieRuru reacted to Samuel in HPM Pre-Hook allows to not returning to original function   
    hmm, i think you can use HookStop() command
  15. Upvote
    AnnieRuru got a reaction from Helena in Annie's mvp room. Disable spawn?   
    http://rathena.org/board/topic/72376-mvp-summon-script/?p=245270
    I actually release 1.4b in rathena that works in hercules
    .
    .
    set .@menu[1], 1; // Turn Group 1 summons On/Off -> MVP set .@menu[2], 1; // Turn Group 2 summons On/Off -> mini bossyou just have to set these as 0
  16. Upvote
    AnnieRuru got a reaction from Fizi in noitem plugin   
    Download: 1.9
    plugin
     
    tested with
    prontera mapflag noitem 0,4,5 prontera mapflag noitem IT_HEALING, IT_WEAPON, IT_ARMOR disable player from using healing items, and preventing equip weapon and armor.
    .
    prontera mapflag noitem Poring_Card prontera mapflag noitem 4001 disable player from using Poring Card
     
     
    Credit to original author -> https://rathena.org/board/topic/59578-mapflags-noitem-and-noskill2/
    Wynn_
     
  17. Upvote
    AnnieRuru got a reaction from Legend in noitem plugin   
    Download: 1.9
    plugin
     
    tested with
    prontera mapflag noitem 0,4,5 prontera mapflag noitem IT_HEALING, IT_WEAPON, IT_ARMOR disable player from using healing items, and preventing equip weapon and armor.
    .
    prontera mapflag noitem Poring_Card prontera mapflag noitem 4001 disable player from using Poring Card
     
     
    Credit to original author -> https://rathena.org/board/topic/59578-mapflags-noitem-and-noskill2/
    Wynn_
     
  18. Upvote
    AnnieRuru got a reaction from JulioCF in Official banker?   
    this patch so banking can only use in town mapflag
     
     
    src/map/clif.c | 4 ++++ 1 file changed, 4 insertions(+)diff --git a/src/map/clif.c b/src/map/clif.cindex c61a725..1934bbb 100644--- a/src/map/clif.c+++ b/src/map/clif.c@@ -17950,6 +17950,10 @@ void clif_parse_BankWithdraw(int fd, struct map_session_data* sd) { void clif_parse_BankCheck(int fd, struct map_session_data* sd) {    struct packet_banking_check p; +  if ( !map->list[sd->bl.m].flag.town ) {+    clif->colormes(fd,COLOR_RED,msg_txt(1483));+    return;+  }    if( !battle_config.feature_banking ) {      clif->colormes(fd,COLOR_RED,msg_txt(1483));      return;  
    but for the plugin ... eh ... use a trick
    http://upaste.me/5f1d11081bf7e165e
  19. Upvote
    AnnieRuru got a reaction from Hadeszeus in getmemberaid checkmes   
    I think not, might be a bug ... I not sure, though it works in my test server
     
    what's the line on 18555 and 18577 ?
     
    btw, if it falls on line uint16 m;
    I've fixed it int16 m; ages ago
  20. Upvote
    AnnieRuru got a reaction from Easycore in noitem plugin   
    Download: 1.9
    plugin
     
    tested with
    prontera mapflag noitem 0,4,5 prontera mapflag noitem IT_HEALING, IT_WEAPON, IT_ARMOR disable player from using healing items, and preventing equip weapon and armor.
    .
    prontera mapflag noitem Poring_Card prontera mapflag noitem 4001 disable player from using Poring Card
     
     
    Credit to original author -> https://rathena.org/board/topic/59578-mapflags-noitem-and-noskill2/
    Wynn_
     
  21. Upvote
    AnnieRuru got a reaction from caspe in Suggestion for restricted equipment (making a new conf for it)   
    http://upaste.me/f94d11052d9751e97
    this one should go inside SVN
    EDIT: suddenly I feel this one can be improve ....
     
    ok this one better
    http://upaste.me/d2ac11053eed06c03
  22. Upvote
    AnnieRuru reacted to evilpuncker in help on this script   
    add Runstone_Pertz into map_zone_db and disable it for this map
  23. Upvote
    AnnieRuru got a reaction from leloush in about statusicon (weapon enchant)   
    actually just change this line
    https://github.com/HerculesWS/Hercules/blob/master/src/map/status.c#L391
    set_sc( ITEM_ENCHANTARMS , SC_ENCHANTARMS , SI_PROPERTYFIRE , SCB_ATK_ELE );the SI_BLANK into SI_*** something elsethen it will show the icon
    however, I don't know which icon will suit for this one ...
    you can try find those SI_*** inside status.h
  24. Upvote
    AnnieRuru got a reaction from evilpuncker in getmemberaid checkmes   
    have to add another script command *checkmes to check the player is having a npc dialog or not
  25. Upvote
    AnnieRuru got a reaction from leloush in [how to make this work]   
    - script kjdfkjsdfhks -1,{OnInit: monster "guild_vs2", 0,0, "--ja--", 1002, 100, strnpcinfo(0)+"::Onaaa"; .itemid = 501; end;Onaaa: monster "guild_vs2", 0,0, "--ja--", 1002, 1, strnpcinfo(0)+"::Onaaa"; if ( !getcharid(1) ) { getitem .itemid, 1; } else { .@killer = getcharid(3); getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == "guild_vs2" ) { .@count++; } } } if ( .@count < 4 ) .@itemget = 1; else if ( .@count < 8 ) .@itemget = 2; else if ( .@count < 12 ) .@itemget = 3; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( .@killer == getcharid(3) ) { getitem .itemid, 10; } else if ( strcharinfo(3) == "guild_vs2" && checkidle() < 10 ) { // must not idle more than 10 seconds getitem .itemid, .@itemget; } } } } end;}..
    the rest is impossible
    .
    .
    currently there is only 1 player can attach to the scriptthere is no way to get 2 players trigger the kills
    its either the one who landed last hit ... or the one dealt the most damage,
    depends on mob_npc_event_type in confbattlemonster.conf
     
    and very exploitable script =/
×
×
  • Create New...

Important Information

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