PDA

View Full Version : [KT] AE giúp mình cách nhận đồ ở túi tân thủ xong khóa luôn với.



kanhtien
16-06-12, 08:10 AM
AE giúp mình cách nhận đồ ở túi tân thủ xong.Như nhận đồ 4% 10x chẳng hạn thì làm thế nào.
Ai giúp với.thank all

vipbk
16-06-12, 09:49 AM
xem gmcard và bài viết này:
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

kanhtien
16-06-12, 11:08 AM
AI giúp với đoạn code mình thế này lam sao để nhận item khóa:

{"<color=red>Đồ hỗ trợ<color>",self.TrangBi,self},

tbGift.tbSetItem = {
{{2,6,161,10},{2,6,171,10},{2,6,181,10},{2,6,191,1 0},{2,6,201,10},{2,6,161,10},{2,6,171,10},{2,6,181 ,10},{2,6,191,10},{2,6,251,10},},--phu
{{2,7,312,10},{2,7,332,10},{2,7,352,10},{2,7,372,1 0},{2,7,492,10},{2,7,322,10},{2,7,342,10},{2,7,362 ,10},{2,7,382,10},{2,7,402,10},},--giay
{{2,10,628,10},{2,10,332,10},{2,10,652,10},{2,10,3 72,10},{2,10,392,10},{2,10,322,10},{2,10,342,10},{ 2,10,362,10},{2,10,382,10},{2,10,502,10},},--bao tay
{{2,5,160,10},{2,5,170,10},{2,5,180,10},{2,5,190,1 0},{2,5,200,10},{2,5,160,10},{2,5,170,10},{2,5,180 ,10},{2,5,190,10},{2,5,200,10},},--lien
{{2,11,310,10},{2,11,330,10},{2,11,350,10},{2,11,3 70,10},{2,11,390,10},{2,11,320,10},{2,11,340,10},{ 2,11,360,10},{2,11,380,10},{2,11,400,10},},--ngoc boi
{{2,4,160,10},{2,4,170,10},{2,4,180,10},{2,4,190,1 0},{2,4,250,10},{2,4,160,10},{2,4,170,10},{2,4,180 ,10},{2,11,190,10},{2,4,200,10},},--gioi chi
{{2,8,310,10},{2,8,330,10},{2,8,350,10},{2,8,470,1 0},{2,8,390,10},{2,8,320,10},{2,8,340,10},{2,8,360 ,10},{2,8,380,10},{2,8,400,10},},--dai
{{2,3,612,10},{2,3,652,10},{2,3,692,10},{2,3,732,1 0},{2,3,772,10},{2,3,622,10},{2,3,662,10},{2,3,702 ,10},{2,3,742,10},{2,3,802,10},},--ao
{{2,9,610,10},{2,9,650,10},{2,9,690,10},{2,9,730,1 0},{2,9,770,10},{2,9,620,10},{2,9,660,10},{2,9,700 ,10},{2,9,760,10},{2,9,800,10},},--mu
{{2,1,551,10},{2,1,591,10},{2,1,611,10},{2,1,651,1 0},{2,1,691,10},{2,1,551,10},{2,1,591,10},{2,1,611 ,10},{2,1,651,10},{2,1,691,10},},
{{2,1,561,10},{2,1,601,10},{2,1,621,10},{2,1,661,1 0},{2,1,701,10},{2,1,561,10},{2,1,601,10},{2,1,621 ,10},{2,1,661,10},{2,1,701,10},},
{{2,1,571,10},{2,1,981,10},{2,1,631,10},{2,1,671,1 0},{2,1,711,10},{2,1,571,10},{2,1,981,10},{2,1,631 ,10},{2,1,671,10},{2,1,711,10},},
{{2,1,581,10},{2,2,100,10},{2,1,641,10},{2,1,681,1 0},{2,1,721,10},{2,1,581,10},{2,2,100,10},{2,1,641 ,10},{2,1,681,10},{2,1,721,10},},
{{2,1,1172,10},{2,2,90,10},{2,1,811,10},{2,1,851,1 0},{2,1,891,10},{2,1,1172,10},{2,2,90,10},{2,1,811 ,10},{2,1,851,10},{2,1,891,10},},
{{2,1,1145,10},{2,1,911,10},{2,1,1183,10},{2,1,120 8,10},{2,1,1211,10},{2,1,1145,10},{2,1,911,10},{2, 1,1183,10},{2,1,1208,10},{2,1,1211,10},},
}
-------------------------------
function tbGift:TrangBi(nFlag, nSeries)

if not nFlag then
local szMsg = "Nhận trang bị hệ nào?";
local tbOpt =
{
{"Hệ Kim",self.TrangBi,self,1,1},
{"Hệ Mộc",self.TrangBi,self,1,2},
{"Hệ Thủy",self.TrangBi,self,1,3},
{"Hệ Hỏa",self.TrangBi,self,1,4},
{"Hệ Thổ",self.TrangBi,self,1,5},
}
Dialog:Say(szMsg,tbOpt);
elseif nFlag == 1 then
local szMsg = "Nam hay nữ?";
local tbOpt =
{
{"Nam",self.TrangBi,self,2,nSeries},
{"Nữ",self.TrangBi,self,2,nSeries+5},
}
Dialog:Say(szMsg,tbOpt);
else
local tbItems = self.tbSetItem;
for i = 1, 15 do
me.AddStackItem(unpack(tbItems[i][nSeries],self.tbItemInfo));
end
end

end

kanhtien
16-06-12, 12:31 PM
Ai giúp mình với.mình sẽ hậu tạ.

vipbk
16-06-12, 01:06 PM
đặt code vào thẻ SPOILER nha bạn

kanhtien
16-06-12, 01:30 PM
tbGift.tbSetItem = {
{{2,6,161,10},{2,6,171,10},{2,6,181,10},{2,6,191,1 0},{2,6,201,10},{2,6,161,10},{2,6,171,10},{2,6,181 ,10},{2,6,191,10},{2,6,251,10},},--phu
{{2,7,312,10},{2,7,332,10},{2,7,352,10},{2,7,372,1 0},{2,7,492,10},{2,7,322,10},{2,7,342,10},{2,7,362 ,10},{2,7,382,10},{2,7,402,10},},--giay
{{2,10,628,10},{2,10,332,10},{2,10,652,10},{2,10,3 72,10},{2,10,392,10},{2,10,322,10},{2,10,342,10},{ 2,10,362,10},{2,10,382,10},{2,10,502,10},},--bao tay
{{2,5,160,10},{2,5,170,10},{2,5,180,10},{2,5,190,1 0},{2,5,200,10},{2,5,160,10},{2,5,170,10},{2,5,180 ,10},{2,5,190,10},{2,5,200,10},},--lien
{{2,11,310,10},{2,11,330,10},{2,11,350,10},{2,11,3 70,10},{2,11,390,10},{2,11,320,10},{2,11,340,10},{ 2,11,360,10},{2,11,380,10},{2,11,400,10},},--ngoc boi
{{2,4,160,10},{2,4,170,10},{2,4,180,10},{2,4,190,1 0},{2,4,250,10},{2,4,160,10},{2,4,170,10},{2,4,180 ,10},{2,11,190,10},{2,4,200,10},},--gioi chi
{{2,8,310,10},{2,8,330,10},{2,8,350,10},{2,8,470,1 0},{2,8,390,10},{2,8,320,10},{2,8,340,10},{2,8,360 ,10},{2,8,380,10},{2,8,400,10},},--dai
{{2,3,612,10},{2,3,652,10},{2,3,692,10},{2,3,732,1 0},{2,3,772,10},{2,3,622,10},{2,3,662,10},{2,3,702 ,10},{2,3,742,10},{2,3,802,10},},--ao
{{2,9,610,10},{2,9,650,10},{2,9,690,10},{2,9,730,1 0},{2,9,770,10},{2,9,620,10},{2,9,660,10},{2,9,700 ,10},{2,9,760,10},{2,9,800,10},},--mu
{{2,1,551,10},{2,1,591,10},{2,1,611,10},{2,1,651,1 0},{2,1,691,10},{2,1,551,10},{2,1,591,10},{2,1,611 ,10},{2,1,651,10},{2,1,691,10},},
{{2,1,561,10},{2,1,601,10},{2,1,621,10},{2,1,661,1 0},{2,1,701,10},{2,1,561,10},{2,1,601,10},{2,1,621 ,10},{2,1,661,10},{2,1,701,10},},
{{2,1,571,10},{2,1,981,10},{2,1,631,10},{2,1,671,1 0},{2,1,711,10},{2,1,571,10},{2,1,981,10},{2,1,631 ,10},{2,1,671,10},{2,1,711,10},},
{{2,1,581,10},{2,2,100,10},{2,1,641,10},{2,1,681,1 0},{2,1,721,10},{2,1,581,10},{2,2,100,10},{2,1,641 ,10},{2,1,681,10},{2,1,721,10},},
{{2,1,1172,10},{2,2,90,10},{2,1,811,10},{2,1,851,1 0},{2,1,891,10},{2,1,1172,10},{2,2,90,10},{2,1,811 ,10},{2,1,851,10},{2,1,891,10},},
{{2,1,1145,10},{2,1,911,10},{2,1,1183,10},{2,1,120 8,10},{2,1,1211,10},{2,1,1145,10},{2,1,911,10},{2, 1,1183,10},{2,1,1208,10},{2,1,1211,10},},
}
-------------------------------
function tbGift:TrangBi(nFlag, nSeries)

if not nFlag then
local szMsg = "Nhận trang bị hệ nào?";
local tbOpt =
{
{"Hệ Kim",self.TrangBi,self,1,1},
{"Hệ Mộc",self.TrangBi,self,1,2},
{"Hệ Thủy",self.TrangBi,self,1,3},
{"Hệ Hỏa",self.TrangBi,self,1,4},
{"Hệ Thổ",self.TrangBi,self,1,5},
}
Dialog:Say(szMsg,tbOpt);
elseif nFlag == 1 then
local szMsg = "Nam hay nữ?";
local tbOpt =
{
{"Nam",self.TrangBi,self,2,nSeries},
{"Nữ",self.TrangBi,self,2,nSeries+5},
}
Dialog:Say(szMsg,tbOpt);
else
local tbItems = self.tbSetItem;
for i = 1, 15 do
me.AddItem(unpack(tbItems[i][nSeries]));
end
end

end

Bạn co yahoo ko giúp minh cái.

Sesshomaru
16-06-12, 01:56 PM
để lại yahoo cho ng khác được hậu tạ chứ=))

me.AddItem(unpack(tbItems[i][nSeries])).Bind(1);

Thẻ mobi 200k=))

kanhtien
16-06-12, 03:54 PM
để lại yahoo cho ng khác được hậu tạ chứ=))

me.AddItem(unpack(tbItems[i][nSeries])).Bind(1);

Thẻ mobi 200k=))
Em làm được trước khi bac share.Dù sao cững cám ơn ba c .giúp e cái hàm chỉ nhan 1 lan.e hau ta ba c 1 cai the mobi 50k e
sinh vien ngheo.
yahoo em la:motthoinhuthe90

Sesshomaru
16-06-12, 04:05 PM
Em làm được trước khi bac share.Dù sao cững cám ơn ba c .giúp e cái hàm chỉ nhan 1 lan.e hau ta ba c 1 cai the mobi 50k e
sinh vien ngheo.
yahoo em la:motthoinhuthe90
mở private mà còn nghèo:-ss
settask cho nó thôi.:))TÌm hiểu thêm về SetTask đi sẽ có thú vị đấy

kanhtien
16-06-12, 05:23 PM
cai gi ma free bac .bac giup e cai.loay hoay mai.

Lần sau viết tiếng Việt có dấu nha bạn

kanhtien
17-06-12, 11:34 AM
Bác chỉ em nhận item 1 lần được không.Thank