Load rune bases from all non-RACE runes, dropping static_rune_runebase reads

The 315 static_rune_runebase rows are exactly the non-RACE runes, so the loader
selects by rune_type. Removes the server type/subtype columns (no live reader),
the runereq/overwrite path, the GET_RUNEBASE cache-miss query, the runebase
attribute handler, the racerune/baseclassrune loaders and the 111111 checks.
No value changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-22 12:36:34 -04:00
1 parent 13e02707eb
commit 64a86152d3
8 files changed
+8 -367

No files matched your search

-14
View File
@@ -10,7 +10,6 @@
package engine.objects;
import engine.gameManager.DbManager;
import engine.net.ByteBufferWriter;
import org.pmw.tinylog.Logger;
import java.sql.ResultSet;
@@ -71,19 +70,6 @@ public class NPCRune extends AbstractGameObject {
}
}
public static void serializeForClientMsg(NPCRune npcRune, ByteBufferWriter writer) {
if (npcRune.runeBase != null) {
writer.putInt(npcRune.runeBase.getType());
writer.putInt(0);
writer.putInt(npcRune.runeBase.getObjectUUID());
writer.putInt(npcRune.getObjectType().ordinal());
writer.putInt(npcRune.getObjectUUID());
} else {
for (int i = 0; i < 5; i++)
writer.putInt(0);
}
}
/*
* Getters
*/