Comments (6)
测试结果
根据你描述的问题,我做了一下测试,目前看来确实有点奇怪~
测试步骤
- 导入全新的英文 mob_db_re 库
- 启动服务端,进入游戏
- 使用 @mobinfo 1002 查看波利的名字,全英文
- 修改数据库中 1002 魔物的 iName 和 jName(都测试一下)
- 游戏里 @reloadmobdb
- 重新使用 @mobinfo 1002 查看,里面返回结果有变化
- 此时观察附近的魔物魔物,名字没变化
第 7 步这里是符合预期的,因为客户端对已经出现的 bl 对象,有缓存它的名称
- 用 @monster 1002 召唤一个魔物,名字有变化,已经是最新的魔物名
第 8 步的结果说明此时服务端其实可以拿到最新的魔物名称
- 然后用 @reloadscript 干掉所有魔物,此时观察被重新刷出来的魔物,名字还是 Poring
第 9 步的结果不符合预期,按道理应该已经变成新的魔物名称才对
问题分级
低优先,应该是什么地方有缓存,回头看下~
from pandas.
进一步测试发现,无论是否为 SQL 的 mob_db 数据,都存在一样的问题~
from pandas.
哪就和数据读取没关系,应该问题在缓存上
from pandas.
确认不是问题~ 其实在第 8 步就已经证明没问题了。
第 9 步名字不一致,是因为野外的魔物名称是由刷怪脚本控制的。
prt_fild08(南门)的波利刷怪脚本在 npc/re/mobs/fields/prontera.txt 第 92 行
里面强制指定了召唤出来的 1002 魔物的名字为 Poring,所以程序表现是正确的~
from pandas.
我也是太久没看这块,愣掉了,一下没反应过来。啧啧啧~
from pandas.
这个先关闭了~ 有问题再聊~
from pandas.
Related Issues (20)
- 寵物光圈無法出現 HOT 2
- NPC點了就消失 HOT 7
- instancevar 系列指令在副本實例不存在時將導致地圖伺服器崩潰 HOT 1
- 疾風緩存未記錄 ap giveap 等參數 HOT 1
- 運行繁體中文翻譯腳本後,db大量報錯 HOT 3
- Implement Macro Detection Client Interface + Add support for loading captcha images HOT 2
- 希望能扩展CALLSHOP功能 HOT 1
- RELOAD DB的时候,会卡顿几秒 HOT 6
- [Expand/Implement] rentitem/rentitembound 支持多个物品租赁/支持物品绑定租赁
- [Implement] getrandomoptgroup 词条获得
- [Implement] 常见的数组(堆栈)方法
- [Expand] strnpcinfo 支持指定Npc Id HOT 4
- [Expand] convertpcinfo支持离线玩家查询
- [Implement] IgnoreRentWhenConsume 新增物品Flags
- [Implement] 使用DelayConsume类道具时获得所使用道具所在的背包序号
- Failed to open curl lib from binary, use libcurl.so instead HOT 5
- 希望能保持自動點擊必要技能傳統 HOT 3
- 重現RACN的allow_switch_weapon_when_damage
- 当前版本无法按照使用手册於 Ubuntu 22.04 (Linux) 系统编译熊猫模拟器自带的 Boost Libraries
- Ubuntu 22.04 无法按照官方文件之编译方法生成 makefile 文件 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandas.