CCommand_WorldTeleport
function · unassigned · primitive
- Address
0x404dc0· 570 bytes, up to0x404ff9- Signature
uint32_t __fastcall (const char *name, const char *args)- Meaning
- Sends CMSG_WORLD_TELEPORT for a map, with x, y, z and facing defaulting to the active player's
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- console/commands#world-port-command
- Test
console::worldport_whole_difftest
Finding: World port command in console: commands
worldport <map> [x [y [z [facing]]]] (0x404dc0) does nothing and returns 1 without an active player. It splits its arguments at tabs, line breaks, " and spaces (0x82ecc8, no comma) into tokens of at most 63 bytes. With an empty first token (none, or "") it prints Usage: worldport <continentID> [x y z] [facing] in class 4 and returns 0. The map is the first token read by SStrToUnsigned: text not starting with a digit gives 0, reading stops at the first non-digit, and digits wrap at 32 bits. A map negative as a signed integer, above the highest Map.dbc id or without a row prints Bad world number: and the signed number in class 3, and returns 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 14
- CDataStore::PutUInt32 base
- CDataStore::PutUInt32_3 base
- CDataStore::PutUInt32_2 base
- CDataStore::PutFloat base
- OsGetAsyncTimeMs core
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- NetClient::Send net
- ConsoleWrite console
- ConsoleWriteA console
- SMemAlloc storm
- SStrToFloat storm
- SStrToUnsigned storm
- SStrTokenize storm
Calls and jumps by a bare address, from tables/calls.tsv.