[闲聊] 20230604修改事项

楼主: laechan (挥泪斩马云)   2023-06-04 03:40:24
一、更动 ob routine 的判断
原本它是去抓底下的字串做分隔判断
Sun Jun 4 03:31:48 2023
但是因为 Jun 跟 4 隔了太多空格,导致它在判断上出了
问题,已更正:
int t=time();
mixed tmps=explode(substr(ctime(t)," "," ")," ");
string s=tmps[1]+" "+substr(tmps[2]," ","");
========== 程式执行区 ==========
Jun 4
========== 程式执行区 ==========
我刚试的结果应该是 ok 了。
> ob routine
ob routine: 请再按一次唷~
> ob routine
ob routine
小贩: 今日给你的物品搜集任务如下
╔═══════╦═══════╦═══════╗
║ 哀唱草 ║ 腐臭花 ║ 鳞片 ║
╠═══════╬═══════╬═══════╣
║ 15 / 98 ║ 15 / 0 ║ 15 / 0 ║
╚═══════╩═══════╩═══════╝
所需的哀唱草已经凑齐了。
所需的腐臭花还差 15 朵!
所需的鳞片还差 15 块!
ob routine finish1: 兑换 1 挪布币.
ob routine finish2: 兑换 50 点声望.
ob routine finish3: 兑换 1000 点学点.
另外,这个应该有机会改版,特殊搜集任务之类的,
或者一样是 ob routine 但是是找别只 npc,获得别
种报酬之类的。
(或者看 justin 有无兴趣新增)
二、神秘商店下架八识琼铃封包
/u/l/laechan/skycastle/room/street/nobu1.c 不备份更新

Links booklink

Contact Us: admin [ a t ] ucptt.com