Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some bugs #80

Merged
merged 2 commits into from
Jul 8, 2022
Merged

Fix some bugs #80

merged 2 commits into from
Jul 8, 2022

Conversation

Asayu233
Copy link
Contributor

@Asayu233 Asayu233 commented Jul 7, 2022

  1. 修复旧版给予角色命令生成错误角色ID的问题。
  2. 修复在生成实体中,当实体列表为动物时,切换语言后列表不会刷新的问题。
  3. 修复启动工具时若为旧版命令,圣遗物给予的等级提示错误的问题。
  4. 旧版命令中,给予所有角色的按钮将会置灰。

ListGameItems.BeginUpdate();
ListEntity.Items.Clear();
ListEntity.Items.AddRange(rb.Tag as string[]);
ListGameItems.EndUpdate();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emm 貌似应该是 ListEntity.BeginUpdate()/EndUpdate()
我以前复制粘贴写错了,后面多处也是一样的问题。这个是为了防止闪烁的,其实加不加都可以,因为数据都是一次性添加的。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

阿巴阿巴阿巴

@jie65535 jie65535 merged commit 9e69037 into jie65535:main Jul 8, 2022
@Asayu233 Asayu233 deleted the debug branch July 8, 2022 14:03
@dshang123
Copy link

如何修改聖遺物 找不到代碼

@jie65535
Copy link
Owner

如何修改聖遺物 找不到代碼

本工具只是生成GC指令,指令中只包含獲得聖遺物的命令,並沒有修改的命令。
你可以具體描述你的需求嗎

@dshang123
Copy link

如何修改聖遺物 找不到代碼

本工具只是生成GC指令,指令中只包含獲得聖遺物的命令,並沒有修改的命令。 你可以具體描述你的需求嗎

不是可以生成改了數據的聖遺物嗎

@jie65535
Copy link
Owner

不是可以生成改了數據的聖遺物嗎

是的,可以,在聖遺物的界面,下方可以編輯聖遺物的詞條,我覺得使用起來應該沒有難度,你認為哪裡有問題?

@jie65535
Copy link
Owner

問題就是我怎樣都改不到

我不理解,什麼意思?生成的命令無法執行?還是執行後沒有反應?

@jie65535
Copy link
Owner

一開始是物品ic不符 現在直接error

你可以截圖嗎?另外請你提供一下遊戲服務器的版本號。

@jie65535
Copy link
Owner

你的截圖沒有上傳完成,請重新上傳。另外本工具與mojo無關,使用的是open-command插件。

@jie65535
Copy link
Owner

image

我不知道你為什麼會生成這麼奇怪的聖遺物id,我測試並沒有這樣的數字,你是否自己修改了其中的內容?你說的斷開是什麼意思

@jie65535
Copy link
Owner

這樣是哪樣?你沒有發送任何示例。

@jie65535
Copy link
Owner

你使用的應該是舊版本的伺服器,你需要在首頁取消勾選>=1.2.2的選項,這樣就可以生成舊版本的命令了。

@dshang123
Copy link

你使用的應該是舊版本的伺服器,你需要在首頁取消勾選>=1.2.2的選項,這樣就可以生成舊版本的命令了。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants