Jump to content

Utility: Pack Guild pt_BR


Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   1
  • Joined:  03/24/13
  • Last Seen:  

File Name: Pack Guild pt_BR

File Submitter: Envolvents

File Submitted: 03 Dec 2013

File Category: Utilities

Content Author: Envolvents


Hi, providing again one of my toys i've ever used, script language in portuguese brazil, translate for your language.
configuration:

// ======================================================// Mapa onde o NPC ficaráprontera,150,150,3	script	Pack Guild	404,{// = Configuraçao:// = Titulo do NPC	set .npc$,"^9EB449[ PACK GUILD ]^000000";// = Máximo de Peso para receber o Pack Guild	set .@max,70;// = Itens dados separados por Vírgulas "," Ex: 607,608;	setarray .@packitem[0],607,608,609,610,611,612,613,614,615,616,617,618,619,620;	setarray .@qtd[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1;// = Checando Guild	query_sql "SELECT `char_id`,`guild_id` FROM `guild_pack_take` WHERE `char_id` = '"+getcharid(0)+"'",.@RID,.@GIDT;	query_sql "SELECT `guild_id`,`name`,`master`,`permissao`,`qtd_itens` FROM `guild_pack` WHERE `guild_id` = '"+getcharid(2)+"'",.GIDC,.NAMEC$,.MASTERC$,.PERMC,.QTD2;// = Condições	if(getgmlevel() > 90) goto L_GM;                                    // Nível para GM/ADM	if(agitcheck()) goto L_WOE;                                         // Checando de a WOE no momento	if(!getcharid(2)) goto NOGUILD;                                     // Se sem guild	if(!.PERMC) goto NO_PERM;                                           // Se não permitido pelo adm	if((.PERMC == 1) && (.MASTERC$ != strcharinfo(0))) goto NO_PERM2;   // Se permitido pelo ADM	if(.MASTERC$ == strcharinfo(0)) goto MENU_MASTER;                   // Se for o Dono da guild passa para o Menu Master// = Fim da Configuraçao, nao meixa na configuraçao abaixo!// ======================================================  


Table SQL:

CREATE TABLE IF NOT EXISTS `guild_pack`(`guild_id` int(11) NOT NULL DEFAULT '0',`name` VARCHAR(32) NOT NULL,`master` VARCHAR(32) NOT NULL,`qtd_membros` int(11) NOT NULL DEFAULT '0',`permissao` int(11) NOT NULL DEFAULT '0',`qtd_itens` int(11) NOT NULL DEFAULT '0')CREATE TABLE IF NOT EXISTS `guild_pack_take`(`guild_id` int(11) NOT NULL DEFAULT '0',`char_id` int(11) NOT NULL DEFAULT '0')


enjoy babys. :)



Click here to download this file

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...