Level 120 (L1-L5): AVA2 maps, drops, dungeons, dungeon timer UI
- tools/server/level-120: sbtest install of the 120 exp table and the unsigned exp column. - tools/server/ava2-maps: the 10 AVA2 maps (pack, map data, regen, designed drops) for sbtest; Ava2MapsScript.inc, gr2 texture and mob_proto tests. - tools/server/ava2-dungeons: snow / ship defence / Meley quests ported from AVA2 (make_quests.py + install.sh). - mt_dungeon_timer (DungeonTimerScript.inc): AVA2 dungeon timer in place of the minimap (RefreshDungeonTimer) and the hydra mast HP bar (gethydrahp). - Autohunt skips a target that is hit but takes no damage for 4 s (blocked Meley statues) and keeps it skipped for 60 s; FindCloseTarget now honours the skip list. Meley full run passed on sbtest with the Mac client. Not deployed live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
657e49e52a
commit
a1e7da68a4
@@ -0,0 +1,15 @@
|
||||
// PORT: lists the texture paths named by each Granny model, for staging map/mob packs (tools/server/ava2-maps).
|
||||
// stdin: one model path per line; stdout: "TEX\t<model>\t<texture>" lines, then "OK\t<model>" or "ERR\t<model>\t<why>".
|
||||
#include <gr2/gr2.h>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
int main() {
|
||||
std::string path;
|
||||
while(std::getline(std::cin,path)) {
|
||||
gr2::LoadError e;auto f=gr2::File::load_path(path,&e);
|
||||
if(!f){std::printf("ERR\t%s\t%s %s\n",path.c_str(),e.stage.c_str(),e.message.c_str());continue;}
|
||||
for(auto& m:gr2::dump_materials(*f))for(auto& t:m.all_textures)std::printf("TEX\t%s\t%s\n",path.c_str(),t.c_str());
|
||||
std::printf("OK\t%s\n",path.c_str());std::fflush(stdout);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user