The Starport
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord
  • Register
  • Login

Visit entries in character files

Scheduled Pinned Locked Moved Freelancer-related Programming
6 Posts 5 Posters 7.7k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cannon
    wrote on global:last_edited_by,
    #1

    Could any one tell me what the following visit entries from a character file mean. These entries don’t appear to be hashcodes (and seem to be some what smaller than hashcodes). The second number appears to be a visibilty code of some sort.

    If you could shed any light on this, I would appreciate it…

    visit = 0, 1
    visit = 2626, 65
    visit = 2745, 65
    visit = 4169, 65
    visit = 8778, 65
    visit = 12426, 65
    visit = 18578, 65
    visit = 19485, 65
    visit = 21689, 65
    visit = 25320, 65
    visit = 33711, 65
    visit = 34166, 65
    visit = 36813, 65
    visit = 41933, 65
    visit = 42810, 65
    visit = 51614, 65
    visit = 56711, 65
    visit = 58161, 65
    visit = 2161406533, 1
    ..."normal" hashcodes continue from here
    
    
    1 Reply Last reply
    0
  • W Offline
    W Offline
    w0dk4
    wrote on global:last_edited_by,
    #2

    AFAIR most of those are reputations.

    1 Reply Last reply
    0
  • F Offline
    F Offline
    FuryFreelancer
    wrote on global:last_edited_by,
    #3

    They don’t seem to have ‘any’ effect. I toyed with them once…

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on global:last_edited_by,
    #4

    AFAIR most of those are reputations.

    Yep.

    They don’t seem to have ‘any’ effect. I toyed with them once…

    Look:
    1. Without any “visit” entry in mpnewcharacter.fl

    2. With Cannons entries:

    3. With vanilla “visit” entries (from this http://www.freelancercommunity.net/viewtopic.php?t=215)

    1 Reply Last reply
    0
  • C Offline
    C Offline
    Cannon
    wrote on global:last_edited_by,
    #5

    I figured out that some of the visit entries are encoded like this: Hashcode of (<hash code=“” of=“” base=“” in=“” ascii=“” hex=“”>_<room type=“”>), where <room type=“”>can be deck, bar, ship, dealer, cityscape, trader, equipment, deck2

    For example the Li01_01_base has a hashcode of 0XA7303E0D

    Some valid visit entries nicknames for this base are:
    A7303E0D_cityscape
    A7303E0D_bar
    A7303E0D_trader
    A7303E0D_shipdealer
    A7303E0D_equipment

    Converting “A7303E0D_cityscape” into a hashcode gives you 0xBCADD8CD.

    There are still other visit entries I don’t understand. I haven’t figured out how to calculate the reputation hashcodes yet…working on it.</room></room></hash>

    1 Reply Last reply
    0
  • C Offline
    C Offline
    Crazy
    wrote on global:last_edited_by,
    #6

    Well, dunno if this helps but you can get the values with pub::Reputation::GetReputationGroup(…)

    1 Reply Last reply
    0

  • Story Mission level requirement
    C
    CommanderArgelo
    0
    11
    52

  • Crash Offsets
    J
    josbyte
    0
    231
    251.4k

  • Capital ships shield collision detection
    C
    CommanderArgelo
    0
    3
    17

  • Dropping a phantomloot cargo from an NPC
    C
    CommanderArgelo
    0
    5
    26

  • Incorrect Shield Value on HUD
    C
    CommanderArgelo
    0
    4
    19

  • @Adoxa - Wheel Scroll plugin improvements
    AingarA
    Aingar
    0
    3
    20

  • Release: Advanced Renderer v. 1.1 beta 1
    S
    SWAT_OP-R8R
    3
    50
    428

  • German Mod Tutorials? 2024 Mod Tutorial?
    S
    SWAT_OP-R8R
    0
    18
    66
  • First post
    Last post
0
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord