We have detected that cookies are not enabled on your browser. Please enable cookies to ensure the proper experience.
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Location
    Seattle, WA
    Posts
    7,599

    Get Server Name Programatically?

    I've browsed through the API reference, and didn't see a way to programatically get a string for the server name (like "Elendilmir" for instance), and I was wondering if there is some way to do this in the API?
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

  2. #2
    Join Date
    Jun 2011
    Location
    Lancaster, England
    Posts
    81

    Re: Get Server Name Programatically?

    I am at work and so can't do any work on this - but under the save settings there is something like "Plugins.Datascope.Server" . I wonder if this can be used to return the server name?

  3. #3
    Join Date
    Mar 2007
    Posts
    1,780

    Re: Get Server Name Programatically?

    Quote Originally Posted by Dvarlin View Post
    I am at work and so can't do any work on this - but under the save settings there is something like "Plugins.Datascope.Server" . I wonder if this can be used to return the server name?
    That's only a flag to a native function, so I don't believe so. There is no way to get the server name afaik.

  4. #4
    Join Date
    Dec 2007
    Location
    Seattle, WA
    Posts
    7,599

    Re: Get Server Name Programatically?

    Quote Originally Posted by Dvarlin View Post
    I am at work and so can't do any work on this - but under the save settings there is something like "Plugins.Datascope.Server" . I wonder if this can be used to return the server name?
    Quote Originally Posted by Evendale View Post
    That's only a flag to a native function, so I don't believe so. There is no way to get the server name afaik.
    That's correct. If you have a flag in a table, and save the table, you get an int in the data file.

    And I was figuring that's the case with the server name.... wanted to double-check in case someone knows something I don't. =/
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

 

 

Posting Permissions

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

This form's session has expired. You need to reload the page.

Reload