NosCoreIO / NosCore

NosCore is a Nostale emulator in c# (.Net 8) using DotNetty / Entity Framework / WebAPI / Autofac / Mapster / Serilog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement ItemInstance deeplink

erwan-joly opened this issue · comments

Implement ItemInstance deeplink in chat.

Description of deeplink packets

Packet from client

Item deeplink:
guri 4 3 0 999 inventory_id slot_id {Some^cool^stuff}

Example for regular speaker message:
guri 4 3 0 0 message

Packet from server

For regular items from general and etc. inventory:
sayitem 1 user_id 17 <SPEAKER>[Username]:{Some^cool^stuff} IconInfo item_vnum

For equipment:
sayitem 1 user_id 17 <SPEAKER>[Username]:{Some^cool^equip} e_info with regular e_info packet params

For SP:
sayitem 1 user_id 17 <SPEAKER>[Username]:{Some^cool^SP} slinfo with regular slinfo params

Some additional examples

sayitem 1 user_id 17 <SPEAKER>[Username]:{Blue^Magician^Specialist^Card} slinfo 0 913 14 99 50 9 0 0 0 0 0 0 0 3 2 17 1 1 0 5991794 934.935.936.937.938.939.940.941.942.943 101044 365 0 0 0 0 13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

image

sayitem 1 user_id 17 <SPEAKER>[Username]:{Red^Sage^Wand} e_info 5 268 0 0 0 45 202 251 70 0 0 0 100 32130 -1 0 0 0

image

sayitem 1 user_id 17 <SPEAKER>[Username]:{Ancelloan's^Blessing} IconInfo 1286

image

seems like they replaced ^ by |