PDA

View Full Version : [MU] ai bít query + gcoin cho tất cả các tài khoản không nhỉ



010891
02-04-13, 08:36 PM
ai bít query + gcoin cho tất cả các tài khoản không nhỉ chỉ mình với nào .. các bạn

freepro921
02-04-13, 08:38 PM
Đây Nè :

use muonline
update memb_info
set cspoints=10 where cspoints<1

update memb_info
set vpoint=10 where vpoint<1

update memb_info
set gcoin=10 where gcoin<1

update memb_info
set gcoin_km=10 where gcoin_km<1

update character
set PCPoint=10 where PCPoint<1
Click Thanks Hộ Mình Nhé Bạn

hoainam8080
02-04-13, 11:18 PM
Update memb_info set gcoin=gcoin + 10000000000000000000

lequangvu
03-04-13, 07:36 AM
Đây Nè :

use muonline
update memb_info
set cspoints=10 where cspoints<1

update memb_info
set vpoint=10 where vpoint<1

update memb_info
set gcoin=10 where gcoin<1

update memb_info
set gcoin_km=10 where gcoin_km<1

update character
set PCPoint=10 where PCPoint<1

Click Thanks Hộ Mình Nhé Bạn

Của bạn như vậy cũng đúng nhưng cần chỉnh lại chút để câu lệnh đảm bảo an toàn dữ liệu hơn như sau:


use muonline
update memb_info
set cspoints=cspoint+10 where cspoints<1 and memb__id='?????????'

update memb_info
set vpoint=vpoint+10 where vpoint<1 and memb__id='?????????'

update memb_info
set gcoin=gcoin+10 where gcoin<1 and memb__id='?????????'

update memb_info
set gcoin_km=gcoin_km+10 where gcoin_km<1 and memb__id='?????????'

update character
set PCPoint=PCPoint+10 where PCPoint<1 and memb__id='?????????'

Nếu không cần điều kiện gì thì bạn bỏ cái đoạn bắt đầu từ "Where...." trở đi đi là ok :D