搜尋

霍格華茲的傳承

返回清單
切換到指定樓層
通知這文章過時或找檔案 發表主題

霍格華茲的傳承 CEl論壇的指令碼更新了1.1版本,支援將資料庫dump到本地,可以修改後直接替換

[複製連結]
1
yk81078 ( Lv.70 熾天使 ) 發表於 2023-2-12 23:26:30 | 只看該作者 |只看大圖 回覆獎勵 |升序瀏覽 |閱讀模式
如題,我不知道Epic版本和steam版本是否有哪裡不同,作者發上來的版本特徵碼每次都是不對勁的,我修復好了。
解鎖咒語,修改天賦點等對於存檔應該無影響,因為是通過sql語句去執行的。測試提前解鎖不可饒恕咒後也能正確走完原本的學習流程。
關於dump的資料庫怎麼用,我等下貼個圖文上來。
貼點程式碼上來,大家看清楚以後自取:
  1. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Graphorn_Byproduct';
  2. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Thestral_Byproduct';
  3. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Phoenix_Byproduct';
  4. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Kneazle_Byproduct';
  5. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Mooncalf_Byproduct';
  6. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Puffskein_Byproduct';
  7. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Toad_Byproduct';
  8. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Diricawl_Byproduct';
  9. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Hippogriff_Byproduct';
  10. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Jobberknoll_Byproduct';
  11. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Fwooper_Byproduct';
  12. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Unicorn_Byproduct';
  13. UPDATE InventoryDynamic SET Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND  ItemID = 'Niffler_Byproduct';
複製代碼
  1. UPDATE InventoryDynamic SET  Count = 99999, Stolen = 0, UniqueItem = 0, KeepOnReset = 0 WHERE CharacterID = 'Player0' AND HolderID = 'ResourceInventory' AND SlotNumber = 0 AND ItemID = 'Knuts';
複製代碼
解鎖咒語用這個:
  1. INSERT OR REPLACE INTO LocksDynamic SELECT Lock, 0 FROM SpellKnowledge where Lock is not null;
複製代碼
天賦點修改用這個:
  1. UPDATE MiscDataDynamic SET DataValue = 50 Where DataOwner = "Player0" and DataName = "PerkPoints"
複製代碼
修改以後手動保存以後讀檔,執行任何sql語句後都需要S/L才能生效。
資料庫的用法:
1.附加處理程序以後,點enable,然後:

i1VOPks.jpg


在你的桌面上會生成一個game.db的資料庫檔案,用可視化軟體打開以後就可以修改了,比如,我要修改當前的金幣:
S1iEo8i.jpg



oaUkN5F.jpg

比如我改改成5個9:
kLwlNah.jpg


別忘了同時修改"UpdateTime",在ce那個表裡,連按兩下以後就能複製了
保存以後點下面那個"Replace Memory Save-Game SQLite Database with Edited Database"


測了半小時發現直接編輯還沒有寫sql語句省事,大家把資料庫可視化作為參考,然後根據自己的需求直接在ct表裡執行sql語句就行了。替換資料庫有點奇奇怪怪的問題。

PS:CT表只能初始化一次,多次初始化一定會失敗,所以如果你不小心關掉了CE再想使用必須要重新上遊戲



所有站內附件皆會附上安全掃描報告
請會員查看純淨度百分比後判斷使用



相關檔案須知:
取得檔案前,請先詳細閱讀文章內容
避免不必要錯誤與誤會發生。
也可多參考文章討論樓層內容
了解附件檔案相關討論資訊。









大家正在看啥


收藏收藏 分享文章到FB上分享
回覆 使用道具 檢舉
複製專屬你的推廣連結:發至FB與各論壇宣傳:累積點數換GP商品 & 藍鑽
每五點閱率就可以兌換藍鑽積分或遊戲點卡 夢遊推廣文章換GP商品

你需要登入後才可以回覆 登入 | 加入會員

本版積分規則

Copyright (C) 2010-2020 夢遊電玩論壇

廣告合作:請直接聯繫我們,並附上您預刊登位置的預算。  

快速回覆 返回頂端 返回清單