Jump to content

meko

Core Developers
  • Content Count

    363
  • Joined

  • Days Won

    46

Posts posted by meko


  1. EDIT: this PR was merged

     

     

    I need someone to test a certain pull request on the official ragnarok client (is it called Gravity?).

     

    See https://github.com/HerculesWS/Hercules/pull/1717

     

    What needs testing: manipulating the vault from script while the bank window is open and checking if it updates the window accordingly.

     

    Thanks for your time


  2. Thankfully I added a new buildin for that: getvariableofpc()

     

    Try this: 

    set(getvariableofpc(<variable>, <account id>), <value>);
    

     

    With your code it would give:

    getpartymember(getcharid(CHAR_ID_PARTY), 2);
    
    for (.@i = 0; .@i < $@partymembercount; ++.@i) {
    	.@acc = $@partymemberaid[.@i];
    
    	if (isloggedin(.@acc) && strcharinfo(PC_MAP, .@acc) == "poring_w03") {
    		set(getvariableofpc(Flower, .@acc), 1);
    	}
    }
    
×
×
  • Create New...

Important Information

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