Add CObjectIndex lookups over the cache templates
Built at login and world bootstrap after the three parsers load (Task 0.1): - lookup(id) across ITEM, then DEED, then RUNE - race (MonsterType) -> creation race rune ids, male and female - ClassType -> class rune id, DisciplineType -> discipline rune id - SBStringHash(rune_sub_type) token -> runes - skill and power name <-> SBStringHash token, from every template field that names one No consumers yet; no values change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cb427de440
commit
d9d1c41d9e
3 files changed
+243
No files matched your search
@@ -21,6 +21,7 @@ import engine.net.client.ClientConnection;
|
||||
import engine.net.client.ClientConnectionManager;
|
||||
import engine.net.client.msg.login.*;
|
||||
import engine.objects.*;
|
||||
import engine.parsers.cache.CObjectIndex;
|
||||
import engine.parsers.cache.DeedParser;
|
||||
import engine.parsers.cache.ItemParser;
|
||||
import engine.parsers.cache.RuneParser;
|
||||
@@ -314,6 +315,9 @@ public class LoginServer {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Logger.info("Indexing Cache Templates");
|
||||
CObjectIndex.build();
|
||||
|
||||
Logger.info("Initializing Network");
|
||||
Network.init();
|
||||
|
||||
|
||||
Reference in new issue
Block a user