Jump to content

AnnieRuru

Script Developers
  • Content Count

    1677
  • Joined

  • Last visited

  • Days Won

    245

Reputation Activity

  1. Upvote
    AnnieRuru got a reaction from evilpuncker in RIP rAthena?   
    this kind of topic always show up time to time ...
    http://herc.ws/board/topic/6817-
    http://herc.ws/board/topic/7933-
     
    btw they are up back
  2. Upvote
    AnnieRuru reacted to cumbe11 in @partybuff / @spb   
  3. Upvote
    AnnieRuru reacted to Dastgir in @partybuff / @spb   
    void clif_party_info -> memcpy(WBUFP(buf,28+c*46+4), m->name, NAME_LENGTH);  Just modify m->name before using memcpy.. and that will show change in party window.
     

    Edit: In chat log, they will have normal name, just party window will be edited.
  4. Upvote
    AnnieRuru got a reaction from Legend in @partybuff / @spb   
    even if this is possible, there is a client restriction which disallow to display player name longer than 23 characters ...
    and the color has to be client reverse engineer ...
     
    means, no, this also has to do client side modification
     
    but if not display in the Alt+Z, but with a message command
    then this can even done with scripting alone, with getstatus script command
     
     
    -  script  jsfkjsdf  FAKE_NPC,{OnInit:  bindatcmd "psc", strnpcinfo(0)+"::Onaaa";  end;Onaaa:  .@pid = getcharid(1);  if ( !.@pid ) {    dispbottom "you don't have a party to use this command";    end;  }  getpartymember .@pid, 1;  getpartymember .@pid, 2;  .@origin = getcharid(3);  for ( .@i = 0; .@i < $@partymembercount; ++.@i ) {    if ( isloggedin( $@partymemberaid[.@i] , $@partymembercid[.@i] ) ) {      attachrid $@partymemberaid[.@i];      .@buff$ = "";      if ( getstatus(SC_BLESSING) ) .@buff$ += "B";      if ( getstatus(SC_INC_AGI) ) .@buff$ += "A";      if ( getstatus(SC_PROTECTWEAPON) && getstatus(SC_PROTECTSHIELD) && getstatus(SC_PROTECTARMOR) && getstatus(SC_PROTECTHELM) ) .@buff$ += "F";      if ( getstatus(SC_SOULLINK) ) .@buff$ += "S";      if ( getstatus(SC_DEVOTION) ) .@buff$ += "+";      .@display$[.@c++] = "["+ .@buff$ +"] "+ strcharinfo(0);    }  }  attachrid .@origin;  for ( .@i = 0; .@i < .@c; ++.@i )    dispbottom .@display$[.@i];  end;}
  5. Upvote
    AnnieRuru got a reaction from Legend in Vendor Control (rewrite)   
    I think I'm going to start a "New Script Festival" LOL
     
    I have so many scripts in my hard-disk ...
    so I just have to post them 1 at a time ... everyday ! -> keep my fan base happy
  6. Upvote
    AnnieRuru got a reaction from skuray in Vendor Control (rewrite)   
    me start to love rewrite Emistry's script .... hehehe
    sure he don't mind
     
    Download: 2.1
    script & plugin
    plugin is meant for players can vend on top of npc
     
    look for the original topic here for description
    https://rathena.org/board/topic/84828-utility-vendor-control/
    ... but download the script here .. hahaha
     
     
  7. Upvote
    AnnieRuru reacted to Samuel in Equip card on Equip   
    @@badneko
     
    You can use this updated one: link
     
    I have updated the said plugins to work for latest Hercules revision and added a new feature
  8. Upvote
    AnnieRuru got a reaction from Dark8008 in Bug Npc Soul   
    @@Zhao Chow
    no idea what you are doing, but I test it with my own healer script
     
    @@Dark8008
    on rathena everything works perfectly fine
     
    but on hercules, dancer and clown doesn't give certain skill when using @allskill
    and ... seems to affect my own when I did "please don't forget me"
     
    if you are using rathena then you shouldn't have any problem with that script
  9. Upvote
    AnnieRuru got a reaction from Dark8008 in Bug Npc Soul   
    have you try dancer ? that job is much more messed up
    bard skill went to misc tab ? this is seriously an issue
    but when I test it, it work correctly o.o
     
    I also confuse by the bug itself already
  10. Upvote
    AnnieRuru got a reaction from MikZ in CRITICAL DAMAGE MAKES DROP ITEM 2x ~ 3x. BUG or What?   
    https://github.com/HerculesWS/Hercules/blob/master/conf/battle/monster.conf#L199
    depends on the setting, the patch will be different
    its already inside your server
     
    and you still didn't tell what will happen like I said before
     
    oh, post in wrong section, no wonder you misunderstand what I'm saying
    move to source request
     
     
    EDIT for below,
    nvm, I think he don't understand what 'patch' means anyway
  11. Upvote
    AnnieRuru got a reaction from Legend in plugin for id not active be @afk player   
    yes, I suddenly want to give you a rep for saying it
     
    although the idea on the topic title might not be very interesting,
    but if there is a plugin to allow to login an offline character, this can do a lot of interesting stuffs
    for example, everyday at 8PM login a [GM] character and say 'Hello' to the surrounding area without players knowing it is a bot
    which was actually done by a plugin
    or just login some offline characters in the pvp room through atcommand to test what happens when there are a lot players ... etc etc
    .
    .
    I don't think its that hardif Ind's patch can login autotrade players when server start up, then this shouldn't be a much problem
    but Ind's one can login the player until the real player login, but mine only login for about 0.1 sec and it immediately logout
    there is some check that I missed ...
  12. Upvote
    AnnieRuru reacted to minx123 in plugin for id not active be @afk player   
    @@Aeromesi
    it not sure if that plugin would be a paid. i just want to know if it is possible to do that function
     
    @@AnnieRuru
    thank you for yoyr concern about this topic.
    i just thinking before. if they can do @afk and @autotrade why not make some plugin to player not online to be afk player.
    it is really hard to make if auto online same like autotrade?
     
     
    if( sd->state.standalone ) { clif->pLoadEndAck(0,sd);// pc->autotrade_populate(sd); <-- comment this line pc->autotrade_start(sd); } it clash with the autotrade maybe.
     
     
    *if someone would have share some idea to help @@AnnieRuru it will more appreciate.
  13. Upvote
    AnnieRuru reacted to KeyWorld in Hercules WPE Free - June 14th Patch   
    I wrote this online web service, if it can help : http://www.robrowser.com/prototype/packet-keys/
    It's a tool to list the current brokens keys (and the working one), there is also a form to help generate new keys.
     
    All the tests are executed 100'000 times (it's enough and avoid to freeze your browser for a while since all tests are done client-side).
     
    Have fun~
  14. Upvote
    AnnieRuru got a reaction from Dark8008 in Bug Npc Soul   
    I tested the whitesmith got Full Adrenaline Rush

    but dancer and clown ... really not working
    if this is really hercules bug then has to post it up
    because I tested on rathena it works, but hercules don't
  15. Upvote
    AnnieRuru got a reaction from Legend in plugin for id not active be @afk player   
    autotraders can login itself when server starts, so this should be possible too
    https://github.com/HerculesWS/Hercules/commit/b79a9d7efa9213e3c791ec356bf21b712878d1aa
    however I'm unable to reproduce it, dunno what's the problem
     
     
    btw please stop the word about 'paid request' stuff ... if they want to pay they would have post in job available area
  16. Like
    AnnieRuru got a reaction from Samuel in Samuel's Script Collections   
    bitshifting << or >> is only use when you want to squeeze all numeric information into 1 single variable 
    signed int is initialize as -2^31 ~ 2^31-1
    so it can save 31 bits
     
    so let's say I want to save player's base level, job level, and job ID in 1 single variable
    assume that max base level is 255, max job level is 120, max job ID is Job_Rebellion(4215)
    make baselevel use 8 bits = 2^8 (256)
    make joblevel use 7 bits = 2^7 (128)
    make job ID use 13 bits = 2^13 (8192)
    total used = 28 bits, still has some space
     
    and the script looks like this
    prontera,155,185,5 script kdsfksdf 1_F_MARIA,{ // save the data as .@data = BaseLevel << 0 | JobLevel << 8 | Class << (8+7); dispbottom "data = "+ .@data; // retrieve the data as dispbottom "baselevel = "+( ( .@data >> 0 ) & ( ( 1 << 8 ) -1 ) ); dispbottom "joblevel = "+( ( .@data >> 8 ) & ( ( 1 << 7 ) -1 ) ); dispbottom "job ID = "+( ( .@data >> (8+7) ) & ( ( 1 << 13 ) -1 ) ); end;}.yeah this stuff is totally useless since we know how to use query_sql
    its better to save all these stuff into sql table, because sql has better readability, and website also can list them etc.
  17. Upvote
    AnnieRuru got a reaction from humble in delete item even char is offline   
    better I write out the script to prove which method usable
    just do the talking doesn't go everywhere
     

    prontera,155,185,5 script kjsdfsjdf 1_F_MARIA,{.@nb = query_sql( "select name, killcount from pvpladder order by killcount desc limit 3", .@name$, .@kill );for ( .@i = 0; .@i < .@nb; ++.@i )mes ( .@i +1 )+". "+ .@name$[.@i] +" -> "+ .@kill[.@i];close;OnPCKillEvent:query_sql "insert into pvpladder values ( "+ getcharid(0) +", '"+ escape_sql( strcharinfo(0) ) +"', "+ getcharid(3) +", 1 ) on duplicate key update killcount = killcount +1";query_sql "select name, aid, cid from pvpladder order by killcount desc", .@name$, .@aid, .@cid;if ( $pvptopcid == .@cid ) end;announce .@name$ +" is top 1", bc_all;if ( isloggedin( $pvptopaid, $pvptopcid ) ) {.@origin = getcharid(3);attachrid $pvptopaid;if ( .@count = countitem(1201) )delitem 1201, .@count;attachrid .@origin;}elsequery_sql "delete from inventory where nameid = 1201 and char_id = "+ $pvptopcid;$pvptopaid = .@aid;$pvptopcid = .@cid;if ( checkweight(1201,1) )getitembound 1201, 1, 4;end;}prontera mapflag pvp
    if use an item, if the player failed the checkweight, and didn't use the checkweight script command
    the item may drop on the floor
    but hmm ... we can't attack at 90% weight anyway so I think this shouldn't be a problem
    .
    .

    prontera,155,185,5 script kjsdfsjdf 1_F_MARIA,{.@nb = query_sql( "select name, killcount from pvpladder order by killcount desc limit 3", .@name$, .@kill );for ( .@i = 0; .@i < .@nb; ++.@i )mes ( .@i +1 )+". "+ .@name$[.@i] +" -> "+ .@kill[.@i];close;OnPCKillEvent:query_sql "insert into pvpladder values ( "+ getcharid(0) +", '"+ escape_sql( strcharinfo(0) ) +"', "+ getcharid(3) +", 1 ) on duplicate key update killcount = killcount +1";query_sql "select name, aid, cid from pvpladder order by killcount desc", .@name$, .@aid, .@cid;if ( $pvptopcid == .@cid ) end;announce .@name$ +" is top 1", bc_all;$pvptopcid = .@cid;end;OnPCStatCalcEvent:if ( $pvptopcid == getcharid(0) )bonus bStr, 100;end;}prontera mapflag pvp hmm ... now I wish the stat_recalc command works
    because the stats doesn't update on killing other player
    unequip command might work but hercules still doesn't have equip2 script command
     
    EDIT: hell yeah the codebox broken again
  18. Upvote
    AnnieRuru got a reaction from humble in delete item even char is offline   
    I hope I didn't this time
    most people would have thought that item bonuses can only gain through equipments, (official)
    but there are custom mods like OnPCStatCalcEvent and Charms can also give item bonuses
     
    if wanna change sprite, there are always setaura custom mod, or just use changelook script command
     
    so I wouldn't think inside the box, always think outside the box !
  19. Upvote
    AnnieRuru got a reaction from humble in delete item even char is offline   
    ahhhh ... now I understand
    then there is no need an item
    just use OnPCStatCalcEvent will do
    prontera,155,185,5 script sdkjfhdsfs 1_F_MARIA,{ input $pvpwinner; // debug close;OnPCStatCalcEvent: if ( getcharid(3) == $pvpwinner ) { bonus bStr, 1000; } end;}whoever wins the top ladder, gains bonus +1000 str
  20. Upvote
    AnnieRuru got a reaction from humble in delete item even char is offline   
    you can always send a mail to the offline player
    however you mean ... the item is bound ?
    seems like hercules still doesn't support get bounded item from mail
  21. Upvote
    AnnieRuru got a reaction from cumbe11 in Event 1x1...   
    of course nothing happens, you should join the waitingroom to start the event
    when both sides join the waitingroom, and when the waitingroom is full, it will automatically start
     
    and seriously you never play battleground before ?
     
    ... or maybe the battleground that you played are all custom made
  22. Upvote
    AnnieRuru got a reaction from Mikhail von Hohenheim in Q>is it possible to get the monster skill?   
    yup tested the above post works
    I thought has to use OnPCUseSkillEvent and unitskilluseid ... I guess no need
    note that some skill has to fill out dataluafiles514lua filesskillinfozskillinfolist.lub for client not throw error
  23. Upvote
    AnnieRuru reacted to evilpuncker in IN NEED of HELP translation (Soul Blaker's Script)   
    soon I'll post it for u
     
    edit:
    sorry for the delay, and sorry for not translating everything, my mouse is just broke so I can't barely select any text with precision :/
     
    http://upaste.me/39e6221505fe02b59
  24. Upvote
    AnnieRuru got a reaction from Nebraskka in OnPCUseSkillEvent   
    After so many years of hearing rumor of this modification,
    finally today is the day I can release this to public
     
    Download : 1.5
    plugin
     
    original topic from eathena
     
     
  25. Upvote
    AnnieRuru reacted to Emistry in [Help] Monster Kill   
    you can use another variable to store the total extra status point given.
     
    when reset npc do a status reset, just add the total extra status point given.
     
    resetstatus;StatusPoint += EXTRA_STATUS_POINTS;end;
×
×
  • Create New...

Important Information

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