Results 1 to 5 of 5

Thread: Exporting / importing Hashes

  1. #1

    Default Exporting / importing Hashes

    Heyo,

    I'm trying to figure out a way to export some of my sbounty settings so another character can use them. I pulled a portion of the code below.

    I believe the settings are stored in CharSettings[:locations] but not entirely sure. Any help would be greatly appreciated.

    Thank you!

    Code:
    get_bounty_location = proc {
        location = target = nil
    
        # remove search only locations for hunting areas
        locations = CharSettings[:locations].dup
        if is_bounty.call ['task_skin', 'task_heirloom', 'task_dangerous', 'task_cull', 'task_rescue']
            locations.delete_if { |name, data| data[:enable_search_only] }
        end

  2. #2

    Default

    Can you look at your sbounty settings in lich with just ;settings list?

    If so, copy the text, and add/change the same setting on the second character.

  3. #3

    Default

    Quote Originally Posted by DaCapn View Post
    Can you look at your sbounty settings in lich with just ;settings list?

    If so, copy the text, and add/change the same setting on the second character.
    Nope unfortunately.

  4. #4
    Join Date
    Jun 2003
    Location
    Peyton Place
    Posts
    5,197

    Default

    man I so read the topic as importing hashish....
    Khaladon starts to turn the crystal knob, but stops with a frightened look on his face. He begins shaking uncontrollably and flies across the room, as though by some invisible force.

    **SPLAT!!** Khaladon careens off the far wall, slides down the smooth wood panelling and collapses into a quivering heap on the floor, with only his dignity bruised.

  5. #5

    Default

    Quote Originally Posted by Ardwen View Post
    man I so read the topic as importing hashish....
    LOL, so did I! I'm kind of bummed now.

Similar Threads

  1. Exporting/Importing arrays in XML files
    By Talonhawke in forum The Lich Project
    Replies: 0
    Last Post: 04-01-2013, 05:38 PM
  2. Arrays and Hashes
    By Saurven in forum The Lich Project
    Replies: 0
    Last Post: 02-05-2012, 02:20 PM
  3. Exporting scripts from Stormfront
    By AestheticDeath in forum General Gemstone
    Replies: 2
    Last Post: 10-15-2006, 02:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •