Home
Services
Tools
rA Service
rA Store
Contact Me
Item Name: Guild House System
Type: rA Script
Price: 50$
How To Get:
Contact me
.
Requirment : https://rathena.org/board/files/file/3782-duplicatecreate-and-duplicateremove-command/ there is level for each guild house the guild members can level up their house using quests the admin can add npcs in the guild house using the guild house level TOO LONG TO DISCRIPE CONTACT ME IF YOU ARE INTERSTED this is the default config , read it , it will give you some idea about the system OnInit: .MinGuildLevel = 20;//The Guild must be this level or above to get a house .LeaderLevel = 90;//The Guild Leader must be this level or above to get a house .First_Time_Zeny = 100;//Zeny Required to get a Guild House. //Items Required to get a Guild House. ,<Item ID>,<Count>,<Item ID>,<Count> setarray .First_Time_Requirment,502,10,504,5,505,1; bindatcmd("gogl",strnpcinfo(3) + "::OnMove"); //the default x,y to where the player teleport to when using @gogl command and the save point. .entry_x = 100; .entry_y = 100; //default map , where the players would be kicked out to , etc. .default_map$ = "prontera"; .default_x = 156; .default_y = 191; .RankLimit = 25;//don't put a limitless rank, the max limit should be 50 at the most, Default 25. //put this false if you want to create the npcs your self!. //if you created the npcs your self you need to duplucate the npcs andname them the same name with extra #<number> //the number start from 0 and you need to create as many as the map counts you add , or you will get an error!. .NPC_AutoGenerate = true; //the guild max level is the size of this array!. setarray .ExpTable[1], 50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500, 525, 550, 575, 600, 625, 650, 675, 700, 725, 750, 775, 800, 825, 850, 875, 900, 925, 950, 975, 1000, 1025, 1050, 1075, 1100, 1125, 1150, 1175, 1200, 1225, 1250, 1275, 1300, 1325, 1350, 1375, 1400, 1425, 4150, 1475, 1500, 1525, 1550, 1575, 1600, 1625, 1650; //the avalible guild houses count is the size of this array!. //All the maps must be the same build (Copy of the original!). setarray .MapNames$,"pvp_n_1-5","pvp_n_2-5","pvp_n_3-5","pvp_n_4-5","pvp_n_5-5","pvp_n_6-5","pvp_n_7-5","pvp_n_8-5"; //AddGuildQuest(<ID>,<"name">,<Level>,<Guild House Exp>,<Item ID>,<Count>,<Item ID>,<Count>,<Item ID>,<Count>); .G_ResetEveryDay = true;//Default: true, Those Quests Reset Everyday at 00:00 server time!. .G_ShowOldQuests = true;//Default: false, Only Quests with the same guild house level will show up to the player!. //The player need to diliver the items to the npc to get guild house EXP. AddGuildQuest(1,"Get Some items1",1,10,503,20,504,10); AddGuildQuest(2,"Get Some items2",3,11,503,20,504,10); AddGuildQuest(3,"Get Some items3",7,12,503,20,504,10); AddGuildQuest(4,"Get Some items4",10,13,503,20,504,10); //AddPlayerQuest(<ID>,<"name">,<Level>,<Guild House Exp>,<Item ID>,<Count>,<Item ID>,<Count>,<Item ID>,<Count>); .ResetEveryDay = true;//Default: true, Those Quests Reset Everyday at 00:00 server time!. .ShowOldQuests = false;//Default: false, Only Quests with the same guild house level will show up to the player!. //The player need to diliver the items to the npc to get guild house EXP. AddPlayerQuest(1,"Get Some items1",1,150,503,20,504,10); AddPlayerQuest(2,"Get Some items2",2,11,503,20,504,10); AddPlayerQuest(3,"Get Some items3",7,12,503,20,504,10); AddPlayerQuest(4,"Get Some items4",10,13,503,20,504,10); AddPlayerQuest(5,"Get Some items5",5,13,503,20,504,10); //AddHuntingQuest(<ID>,<"name">,<Level>,<Guild House Exp>,<Item ID>,<Count>,<Item ID>,<Count>,<Item ID>,<Count>); .H_ResetEveryDay = true;//Default: true, Those Quests Reset Everyday at 00:00 server time!. .H_ShowOldQuests = false;//Default: false, Only Quests with the same guild house level will show up to the player!. AddHuntingQuest(1,"Kill 5 Poring",1,13,1002,5); AddHuntingQuest(2,"Kill 2 Hornet",1,13,1004,2); //AddNpc(<Level>,<"NPC_INDENTFIRE">,<"NPC NAME">,<x>,<y>,<NPC LOOK>,<Direction>); AddNpc(2,"GHS_WARPER","Warper",102,105,444,0); AddNpc(1,"GHS_HEALER","Healer",98,105,444,0); AddNpc(1,"GHS_PLAYER_QUEST","Player Quests",95,105,444,0); AddNpc(1,"GHS_GUILD_QUEST","Guild Quests",92,105,444,0); AddNpc(1,"GHS_PLAYER_HUNT","Hunting Quests",92,100,444,0); AddNpc(1,"GHS_EXP_RANK","Exp Rank",89,105,444,0); AddNpc(1,"GHS_KAFRA","Kafra",96,100,444,0); .db_name$ = "guild_houses"; .db_name_log$ = "guild_houses_exp_log"; query_sql("CREATE TABLE IF NOT EXISTS `" + .db_name$ + "` (`id` int(11) NOT NULL auto_increment,`guild_id` VARCHAR(50) NOT NULL,`name` varchar(24) NOT NULL default '',`level` INT(11) NOT NULL,`exp` INT(11) NOT NULL,`map` varchar(24) NOT NULL default '',PRIMARY KEY (`id`)) ENGINE=MyISAM;"); query_sql("CREATE TABLE IF NOT EXISTS `" + .db_name_log$ + "` (`id` int(11) NOT NULL auto_increment,`guild_id` VARCHAR(50) NOT NULL,`char_id` INT(11) NOT NULL,`name` varchar(24) NOT NULL default '',`exp` INT(11) NOT NULL,PRIMARY KEY (`id`)) ENGINE=MyISAM;"); initnpctimer; Initialize();//Don't remove this!. end;
❮
❯