• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Read CipSoft .sec (map - sector) files

TibiCAM

Advanced OT User
Joined
Feb 3, 2020
Messages
138
Reaction score
198
Hi,

How do I get the X,Y,Z positions from the .sec files?
It seems to be something like 32x the file name, but not exactly 32.

Example:
Filename: 1020-0996-09.sec
Start position: 1020, 996, 9

Example tile:
14-12: Refresh, Content={429, 2320, 3411}

So this should be X+14, Y+12 - which translates to: 1034, 1008, 9
But the coordinates on map should be: 32654, 31884, 9

So how do we convert 1034, 1008, 9 to 32654, 31884, 9?
If I divide 32654 with 1034, I get: ‭31.58027079303675‬

But that doesn't seem correct. I can't just do * ‭31.58027079303675‬ on all tiles
Post automatically merged:

Resolved it!
Seems you take the filename *32, then just add the +X and +Y to the result.
So don't add the +X and +Y before multiplying it.
 
Last edited:
Back
Top