Jump to content

Bloquear venda, trade e drop Item_db.txt


Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  02/26/15
  • Last Seen:  

Pessoal, boa tarde.

 

Estou com a seguinte dificuldade preciso bloquear certos id's de itens para não poder ser dropavel ou negociavel. Sendo assim, alguem sabe como fazer?

lembrando que meu emulador e mais novo é só possui os arquivos item_db.conf e item_group.conf.

{
	Id: 11552
	AegisName: "Tick_Vip"
	Name: "Tick Vip"
	Type: 0
	Buy: 1000
	Weight: 0
	View: 1335
	Script: <"callfunc("AddVipTick",getcharid(3),1,1);">
},

Deve ficar assim .:

Type..

Trade:{

xxx : true

xxx : false

yyy: true

www: false

}

 

Porém, não sei esses comandos , ou syntax pra fazer no arquivo item_group.conf .

Vlw pessoal !

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   13
  • Joined:  02/16/12
  • Last Seen:  

Exemplo:

 

Id: 671
    AegisName: "Gold_Coin"
    Name: "Gold Roulette Coin"
    Type: 2
    Buy: 0
    Weight: 0
    Upper: 63
    Trade: {
        nodrop: true
        notrade: true
        noselltonpc: true
        nocart: true
        nostorage: true
        nogstorage: true
        nomail: true
        noauction: true
    }

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  02/26/15
  • Last Seen:  

Ou vLw ! mesmo funcionou, pegando o embalo aqui você consegue identificar pq meu item não deleta?

{
	Id: 11553
	AegisName: "Turmalina_Paraiba"
	Name: "Turmalina Paraíba"
	Type: 11
	Trade:{
		override: 99
		nodrop: true
		notrade: true
		partneroverride: true
		noselltonpc: true
		nocart: true
		nostorage: true
		nogstorage: true
		nomail: true
		noauction: true
	}
	Buy: 300
	Weight: 0
	View: 1336
	Script: <"	
	query_sql "SELECT `Vip` FROM `login` WHERE `account_id`='"+getcharid(3)+"'",@Vip;	
	if(@Vip<=0){delitem 11553,1,getcharid(3);}else{warp "vip",65,45;};	
	">
},
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...