作者laechan (小太保)
看板mud_sanc
标题[wizs] 玩家的 objs 栏位使用原则
时间Mon Oct 31 20:23:57 2011
请各 wiz 遵守。
一、指令(含 add_action)使用到 objs
请以 ppl->query("objs/"+xx)
ppl->set("objs/"+xx,oo)
ppl->add("objs/"+xx,oo) 三类为主
并务必限定 xx 的种类。 <= 最近必须检查 _drink.c、potion_shop.c
二、请勿 mapping objs=ppl->query("objs")
因为这个栏位是所有指令及物件共通使用的部份
(跟 record_data 一样)
三、凡使用 objs 栏位,keyname 长度必须控制不得过长
select objs from users where level > 0
这个指令可列出线上玩家的 objs 栏位情况,会做定期的
检查。
PS最近就有其它指令会使用到这个栏位。
Laechan
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 122.117.7.33