Chickz Posted June 22, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Share 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 Link to comment Share on other sites More sharing options...
plankt Posted June 22, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 130 Reputation: 43 Joined: 12/11/11 Last Seen: July 16, 2017 Share 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 Link to comment Share on other sites More sharing options...
Chickz Posted June 22, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
Yanji Posted June 23, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 23 Reputation: 1 Joined: 06/22/12 Last Seen: October 5, 2012 Share 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 Link to comment Share on other sites More sharing options...
HD Scripts Posted June 23, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 21 hours ago Share Posted June 23, 2012 try this http://pastebin.com/raw.php?i=bi3GKvMB Quote Link to comment Share on other sites More sharing options...
Chickz Posted June 23, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
HD Scripts Posted June 23, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 21 hours ago Share Posted June 23, 2012 this is correct for your buff http://pastebin.com/raw.php?i=Pm5MFY6L Quote Link to comment Share on other sites More sharing options...
Sharpienero Posted June 23, 2012 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 386 Reputation: 28 Joined: 01/16/12 Last Seen: January 6, 2023 Share 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 Link to comment Share on other sites More sharing options...
HD Scripts Posted June 23, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: 21 hours ago Share Posted June 23, 2012 for add more castle, use the same if( eg: && getcastledata( "NAMEOFCASTLE2", 1) != getcharid(2) Quote Link to comment Share on other sites More sharing options...
Chickz Posted June 23, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 03/18/12 Last Seen: April 19, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.