![]() |
[SHARE] C5 NPC IDs
Conversion of C4 to C5 NPC IDs
This is per the L2J NPC.sql (rev. 2121) I'm unable to test however as my L2Server.exe crashes when parsing the NPCDATA. If someone would like to share the hex offset and new value to fix this it would be greatly appreciated. Thanks. Вложения из исходного сообщения (сами файлы в копии отсутствуют): npcid c4 to c5 from l2j.rar — 15191 байт |
Use this to change your npc ids (put npcdata.txt to folder with exe)
http://files.filefront.com//;8207172;;/ |
gi :)
I has it it my tool, but i find formula for it. Maybe exist formula for conversion old id to new? It no good create big file with all ids. |
im just wondering though, with changing all the npc ids, wont that screw up alot of other stuff, like AI for example :\
|
Quote:
But if you search for the functions that spawn NPCs in your AI and replace the push_const numbers for the NPCs then you shouldn't have an issue. Regardless, you'll need a l2server.exe that doesn't crash when parsing the new NPCDATA ID range. |
Use this npcdata convertor to c5. Note you must fix 50 ids manually and summons.
Вложения из исходного сообщения (сами файлы в копии отсутствуют): NpcId转换工具.rar — 133322 байт |
Quote:
|
Quote:
|
Quote:
|
Interlude npcdata =)
https://postpacific.loc-online.com/f...ead.php?t=8193 |
thx man very usefull for C5 tests
|
Quote:
Code:
void CNPC::CreatePrivates(WCHAR* privates);Code:
class 1 party_leader_param_warrior : warrior |
Quote:
It's CreateOnePrivate ;) tks |
Quote:
Code:
void CNPC::CreateOnePrivate(int private_class_id, const WCHAR* pszAI, int private_weight_point) |
There may be others, I haven't had a chance to comb through it yet, just got home from work and I'm pretty tired. I need a beer and a bed.
|
You have to edit this npc's id in ai. (i had to :P to get server c5 started with no errors :P)
file contains: c4id c5id Вложения из исходного сообщения (сами файлы в копии отсутствуют): id_ai.txt — 6118 байт |
I only found the following functions to use NPCID:
184811750 func [CreateOnePrivate] 185270503 func [CreateOnePrivateEx] If anyone has seen others, please let me know. Thanks! |
Quote:
My results show approximately 953 instances in the standard C4 AI that need changed. |
Maybe u r right, but i just want to get server started without errors:P (and that npcs id were enught to do that).
|
| All times are GMT. The time now is 14:55. |