Chickz Posted June 22, 2012 Posted June 22, 2012 this is my script http://pastebin.com/F7p0HF70 is there possible if guild castle owner will have extra buffs like assumptio? my server is eathena Quote
plankt Posted June 22, 2012 Posted June 22, 2012 *getguildmasterid(<guild id>) - This function will return the character ID number of the guild master of the guild specified by the ID. *getcharid(<type>); - This function will return an unique ID of the invoking character; 0 for character id and 2 for guild id When combined: if(getcharid(0) == getguildmasterid(getcharid(2)){ // Give guildmaster buffs here } Quote
Chickz Posted June 22, 2012 Author Posted June 22, 2012 (edited) CMIIW this script will working if i put the guild id but it doesn't automatically change if the owner guild castle change, and thee effect just for guild leader isn't it? if it possible, can u make that npc will give assumptio to all member of guild that own castle? set .@ownerguild; if ( getcastledata( "all*castle or gvg map", ".@ownerguild") i think it's gonna be something like this.. sorry for my bad english >_< Edited June 22, 2012 by Chickz Quote
Yanji Posted June 23, 2012 Posted June 23, 2012 (edited) You put '.gat' at the end of the mapname. You don't add that, just the name of the map you'd use to @warp to it ingame. Like, 'prontera', 'izlude', etc. prontera,150,184,5<TAB>script<TAB>Healer#h1-1::Healer<TAB>834,{ PS: I'm pretty sure 'Assumptio' is disabled by default in WoE. You'll have to edit the SRC code to change it I believe. Edited June 23, 2012 by Yanji Quote
HD Scripts Posted June 23, 2012 Posted June 23, 2012 try this http://pastebin.com/raw.php?i=bi3GKvMB Quote
Chickz Posted June 23, 2012 Author Posted June 23, 2012 http://pastebin.com/yNtqzh7L may it suppose to be like this right? so only member of guild that own castle will be able to get assumptio then how if there's more 1 castle open? e.g : prtg_cas01 & prtg_cas02 if (getcastledata( "NAMEOFCASTLE","NAMEOFCASTLE", 1) != getcharid(2)) end; is it like this? CMIIW Thanks Before ^^ Quote
HD Scripts Posted June 23, 2012 Posted June 23, 2012 this is correct for your buff http://pastebin.com/raw.php?i=Pm5MFY6L Quote
Sharpienero Posted June 23, 2012 Posted June 23, 2012 You put '.gat' at the end of the mapname. You don't add that, just the name of the map you'd use to @warp to it ingame. Like, 'prontera', 'izlude', etc. prontera,150,184,5<TAB>script<TAB>Healer#h1-1::Healer<TAB>834,{ PS: I'm pretty sure 'Assumptio' is disabled by default in WoE. You'll have to edit the SRC code to change it I believe. You don't have to put .gat. I seriously hate it when people put .gat at the end of the mapname in the header, it looks so ugly. Quote
HD Scripts Posted June 23, 2012 Posted June 23, 2012 for add more castle, use the same if( eg: && getcastledata( "NAMEOFCASTLE2", 1) != getcharid(2) Quote
Chickz Posted June 23, 2012 Author Posted June 23, 2012 i think it'll work smoothly... I'm not test it yet... thank you hurican dooders ^^ @yanji that's not the point for my question... but thanks for comment ^^ Quote
Question
Chickz
this is my script
http://pastebin.com/F7p0HF70
is there possible if guild castle owner will have extra buffs like assumptio?
my server is eathena
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.