Results 1 to 11 of 11

Thread: Help with gathering data.

  1. #1
    Join Date
    Feb 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Cool Help with gathering data.

    Hi all!

    I've made a basic script and I would want to know how I would collect data on an item that stacks. Is there a way to see the change of 1 item in a back pack or do I have to do something with DTMs?

    I just want to find the most effect method. Base on this, I can calculate the hourly item and xp rates.

    Cheers, Ecer.

  2. #2
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Ecer View Post
    Hi all!

    I've made a basic script and I would want to know how I would collect data on an item that stacks. Is there a way to see the change of 1 item in a back pack or do I have to do something with DTMs?

    I just want to find the most effect method. Base on this, I can calculate the hourly item and xp rates.

    Cheers, Ecer.
    http://docs.villavu.com/srl-6/backpack.html

    tabBackpack.waitForShift() might be what you're looking for.

  3. #3
    Join Date
    Mar 2013
    Location
    Argentina
    Posts
    758
    Mentioned
    27 Post(s)
    Quoted
    365 Post(s)

    Default

    Quote Originally Posted by Ecer View Post
    Hi all!

    I've made a basic script and I would want to know how I would collect data on an item that stacks. Is there a way to see the change of 1 item in a back pack or do I have to do something with DTMs?

    I just want to find the most effect method. Base on this, I can calculate the hourly item and xp rates.

    Cheers, Ecer.
    Simba Code:
    Variable := getItemAmount(tabBackpack.getSlotBox(1));

    i guess this is what you are looking for? it will tell you how much you have off the item in slot1

  4. #4
    Join Date
    Feb 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Quote Originally Posted by Ross View Post
    http://docs.villavu.com/srl-6/backpack.html

    tabBackpack.waitForShift() might be what you're looking for.
    Awesome! Thanks for your prompt reply.

    I will test methods and see what is suitable for me.

    Cheers! I will post the script up once I finalise it for fail safes too.

  5. #5
    Join Date
    Feb 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Quote Originally Posted by undorak7 View Post
    Simba Code:
    Variable := getItemAmount(tabBackpack.getSlotBox(1));

    i guess this is what you are looking for? it will tell you how much you have off the item in slot1
    Oh awesome! Thank you too for your quick reply! I'm having loads of fun scripting hehe. Even though it was frustrating at times.

  6. #6
    Join Date
    Mar 2013
    Location
    Argentina
    Posts
    758
    Mentioned
    27 Post(s)
    Quoted
    365 Post(s)

    Default

    Quote Originally Posted by Ecer View Post
    Oh awesome! Thank you too for your quick reply! I'm having loads of fun scripting hehe. Even though it was frustrating at times.
    no problem, it does get frustrating at times, but we're here for you! if you have any other question just ask

  7. #7
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by Ecer View Post
    Oh awesome! Thank you too for your quick reply! I'm having loads of fun scripting hehe. Even though it was frustrating at times.
    The frustration is what makes it so satisfying when you manage to write a working script.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  8. #8
    Join Date
    Feb 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Quote Originally Posted by Incurable View Post
    The frustration is what makes it so satisfying when you manage to write a working script.
    Haha yeah, its like when it doesn't work and ill spend too much time scratching my head to figure out i left a ';' or the script not doing what I intended. I see it as a learning experience anyway.

  9. #9
    Join Date
    Jun 2012
    Location
    Howell, Michigan
    Posts
    1,585
    Mentioned
    34 Post(s)
    Quoted
    553 Post(s)

    Default

    Honestly those are probably the best way to do it, what item are you looking to see? It really does depend the item and how the item is changing.

  10. #10
    Join Date
    Feb 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Quote Originally Posted by King View Post
    Honestly those are probably the best way to do it, what item are you looking to see? It really does depend the item and how the item is changing.
    Oh no, I got it working. It's harmonic dust and I've got the itemshift and backpackshifts working fine. Script is messy but I got it working as intended.

    I just have to add more code to improve my knowledge and script even further. SPF, breaks, SPS if fails, DTMs if VOS active. Never done them before so I will have to read more tutorials before I ask for any more help.


    I do have a minor issue with calculating data (item/xp) per hour, but I'm sure I will figure it out. Probably not rounding it off since code doesn't seem to like integers with decimals. Not at home, so can't play with it unfortunately.

    tl;dr: Item shifts working, still working on first script for improvements.

  11. #11
    Join Date
    Jun 2012
    Location
    Howell, Michigan
    Posts
    1,585
    Mentioned
    34 Post(s)
    Quoted
    553 Post(s)

    Default

    Quote Originally Posted by Ecer View Post
    Oh no, I got it working. It's harmonic dust and I've got the itemshift and backpackshifts working fine. Script is messy but I got it working as intended.

    I just have to add more code to improve my knowledge and script even further. SPF, breaks, SPS if fails, DTMs if VOS active. Never done them before so I will have to read more tutorials before I ask for any more help.


    I do have a minor issue with calculating data (item/xp) per hour, but I'm sure I will figure it out. Probably not rounding it off since code doesn't seem to like integers with decimals. Not at home, so can't play with it unfortunately.

    tl;dr: Item shifts working, still working on first script for improvements.
    Glad to hear you got it working, feel free to ask any questions!

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
  •