Results 1 to 3 of 3

Thread: Post and gather data online

  1. #1
    Join Date
    Jul 2012
    Posts
    279
    Mentioned
    5 Post(s)
    Quoted
    46 Post(s)

    Default Post and gather data online

    Hello (again).

    For my script, I'm trying to come up with a way to share data with other players. I looked around for information and found a few interesting paths to explore, but I'd like to make sure I'm not wasting my time. I'll simply explain what I want to do and how I'm planning to do it.

    I want to:
    1) Post max and min market prices of items with a time mark.
    2) Read from the site to see if any new market price was posted about the particular item the last 30 minutes (or another selected time).
    3) Delete the information when it gets "too old".

    How I plan to do it (I'm basing this solely on http://docs.villavu.com/simba/script...l#posthttppage as I have NO knowledge of how to deal with this or even how to start tackling the issue):
    1) Host a website.
    2) Let the script overwrites data and post new pages in HTML (one page for each item).
    3) Delete the information after x time.
    Note: I don't have a single clue about how to do steps 1 to 3, but I plan on learning.

    So here I am, wondering if that's a viable way to do what I want, wondering if there is another way to do it and wondering if someone can give me cues about how I could realize this.

    Thank you for your time.

  2. #2
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    You might want to consider writing to an INI file instead. Of course, that's assuming you're only using the data for yourself. If you're trying to host the information for other people as well, then your plan sounds plausible

  3. #3
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Runaway View Post
    You might want to consider writing to an INI file instead. Of course, that's assuming you're only using the data for yourself. If you're trying to host the information for other people as well, then your plan sounds plausible
    Couldn't he host the INI file on a website, and let Simba edit it remotely? Then users could download it and use it with his script (assuming you're going to be using this in conjunction with a script).

    How about Dropbox? Just let other users sync with your script's Dropbox account and any changes your Simba makes to the INI file will be reflected across your entire network of users.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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