PDA

View Full Version : [TLBB] Code php



vinhthamthao
04-05-15, 08:55 PM
Chào Mọi Người . . Mọi Người giúp mình cái vụ code php xem số lần chuyển sinh, với ạ. Mình xem được số lần Chuyển sinh của nhân vật chính xác. ạ . Mong Được Giúp Đỡ Cảm Ơn !!!!! [-O<[-O<[-O<[-O<[-O<

Dark.Hades
04-05-15, 10:59 PM
Bạn đọc tên column của cái chuyển sinh đây mình nhích cho

vinhthamthao
04-05-15, 11:42 PM
Bạn đọc tên column của cái chuyển sinh đây mình nhích cho



Ở SQL => t_char => mdata cái mã như ở dưới .
1E000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 10400000000000000000000000000000000400000000000000 00000000000000000800000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000089020000890200 007F0200004D020000840300006B020000F4010000B4000000 F4010000F4010000F401000098020000890200000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 0000000063ED46550000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000F40100000000000000000000000000 00000000000000000000000000B16C47551602000016000000 29000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 0000000000000000000000000000113B000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000


làm sao để đọc được xem ạ

vinhthamthao
05-05-15, 06:56 AM
Ai giúp đỡ với ^:)^^:)^^:)^^:)^^:)^^:)^^:)^^:)^^:)^^:)^^:)^

huuduyen_05
05-05-15, 07:18 AM
Mỗi biến trong mdata được lưu trong 16 bit dữ liệu, để tính được giá trị của biến thứ x thì bạn tính giá trị của 16 bit thứ x.

Tức là vị trí bắt đầu của bit cần tính là = 16*x (x là vị trí cần tính)
vị trí cuối của bit cần tính là 16*x +16

Hình như đã lâu rồi mình đã có share hàm tính số lần chuyển sinh. Bạn thử tìm kiếm lại. (lúc đó bản cũ, mdata chỉ chứa 1 biến trong 8 bit)

vinhthamthao
05-05-15, 11:01 AM
Mỗi biến trong mdata được lưu trong 16 bit dữ liệu, để tính được giá trị của biến thứ x thì bạn tính giá trị của 16 bit thứ x.

Tức là vị trí bắt đầu của bit cần tính là = 16*x (x là vị trí cần tính)
vị trí cuối của bit cần tính là 16*x +16

Hình như đã lâu rồi mình đã có share hàm tính số lần chuyển sinh. Bạn thử tìm kiếm lại. (lúc đó bản cũ, mdata chỉ chứa 1 biến trong 8 bit)

Mình cũng đã tìm . nhưng thấy nhiều link bị diel rồi . nên mới lên đây Hỏi . Mong được giúp đỡ mà :-s

HuyKhang
05-05-15, 11:53 AM
Có thể viết thêm 1 hàm mới cũng được mà.
Đặt tên nó là "số lần chuyển sinh" chẳng hạn.Rồi làm sao cho nó đồng bộ được với MySQL là được
Chúc thành công !

vinhthamthao
06-05-15, 07:07 AM
Có thể viết thêm 1 hàm mới cũng được mà.
Đặt tên nó là "số lần chuyển sinh" chẳng hạn.Rồi làm sao cho nó đồng bộ được với MySQL là được
Chúc thành công !

Bác Huy . cho mình xem lại 3 cái ảnh với

. Nếu như Bảo mật vậy inbox . cho mình xem lại . Cảm Ơn