Page 2 of 4 FirstFirst 1234 LastLast
Results 26 to 50 of 95

Thread: grats' stats dev and variable requests

  1. #26
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by Justin View Post
    Currently testing this out, so far it's worked flawless for me, nice work grats
    thx m8




    added dynamic sigs (two example) and how to do script stuff on second post
    Justin has a commit setup where it reads the error codes sent back and resets the values or continues to add to if needed..
    @Flight & Justin maybe can get together and do a good one in the object oriented like the mayor posted SRL6 style.. that takes the error 255 and continues to roll over until it gets a 42 as it commits every 5 mins (justins works well).. I haven't done pascal or simba coding in years so not that gud.

    THX IN ADVANCE

    edited first post too.
    some stuff isn't added on the site, and some stuff will come as more is requested.. but it's basically in "beta" now meaning everything works that is done, and stuff is being tested and added still.. though I think stuff will always get added & upgraded
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  2. #27
    Join Date
    Aug 2007
    Posts
    527
    Mentioned
    20 Post(s)
    Quoted
    262 Post(s)

    Default

    Looks good! I'll play around with it, and may use it in my scripts!

    Could you add, FISH_TYPE (cooked) and FISH_TYPE (caught) vars? Thanks!

  3. #28
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by ineedbot View Post
    Looks good! I'll play around with it, and may use it in my scripts!

    Could you add, FISH_TYPE (cooked) and FISH_TYPE (caught) vars? Thanks!
    yep
    can you give me an accurate list of all the fish needed?

    added
    trout,salmon,lobster,tuna,monkfish,swordfish,shark

    idk any others lmk
    Last edited by grats; 02-22-2015 at 07:32 PM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  4. #29
    Join Date
    Aug 2007
    Posts
    527
    Mentioned
    20 Post(s)
    Quoted
    262 Post(s)

    Default

    shrimp, anchovies, pike, cod, sardine, herring, mackerel, bass, and more other ones, the others are really never caught though.

    Oh.. can u reset my Loads Done variable on my chopper script? It messed up somehow..

  5. #30
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by ineedbot View Post
    shrimp, anchovies, pike, cod, sardine, herring, mackerel, bass, and more other ones, the others are really never caught though.

    Oh.. can u reset my Loads Done variable on my chopper script? It messed up somehow..
    lol yea
    what messed up
    oh I see
    is it this?
    http://i.imgur.com/Gi5uHsE.jpg

    each load is counting up 1 then 2 then 3 instead of resetting to 1 each time?


    I just wiped out all that data from your script id 6


    what you'll want to do is reset that value each time stats is committed

    so if 1 load is done in the 5 mins then you say 1 load
    then if 2 are done that's 2 loads
    then if 1 is done again you say 1

    then the graph etc will total that to 4 automatically, as well as your script totals will have that.
    Last edited by grats; 02-22-2015 at 08:27 PM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  6. #31
    Join Date
    Aug 2007
    Posts
    527
    Mentioned
    20 Post(s)
    Quoted
    262 Post(s)

    Default

    Quote Originally Posted by grats View Post
    lol yea
    what messed up
    oh I see
    is it this?
    http://i.imgur.com/Gi5uHsE.jpg

    each load is counting up 1 then 2 then 3 instead of resetting to 1 each time?


    I just wiped out all that data from your script id 6


    what you'll want to do is reset that value each time stats is committed

    so if 1 load is done in the 5 mins then you say 1 load
    then if 2 are done that's 2 loads
    then if 1 is done again you say 1

    then the graph etc will total that to 4 automatically, as well as your script totals will have that.
    alright thanks, still getting the hang of it. oh and could you add a Nests var?

  7. #32
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by ineedbot View Post
    alright thanks, still getting the hang of it.
    Yea no problem
    I'm not gonna reset anymore though should be able to figure it out, that was a little one.. only things I'll really reset if someone accidentally puts in like 1 billion loads done or w/e lol
    then I'll update it to 1 or w/e it was supposed to be, not really going to delete any other datas
    if it happens again lmk I'll just update them all to 1 or whatever instead, so at least all your other stuff is there still

    for your specific script you can see some stuff:

    here is you click "variables" on top tab and go to your script, this is your chopper for example

    http://stats.grats.pw/variable.php?sid=6

    and you can mouseover any graph to see the actual numbers.. also click the variables on off on the graph itself to display, this shows better for the actual variable page itself as gold (profited) is extremely huge, but click its name once & it is toggled off and you can see the other vars nicely
    but those are for all scripts combined
    so I have the specific scripts under it
    Last edited by grats; 02-22-2015 at 09:04 PM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  8. #33
    Join Date
    Jun 2013
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    What exactly do those variables do when you are scripting? I really dont exactly know what Im doing.

  9. #34
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by SirPrize View Post
    What exactly do those variables do when you are scripting? I really dont exactly know what Im doing.
    keeps track of data from everyone using your scripts etc
    main stuff is it logs the time and the exp gained etc

    and as a stats user you'll be able to see all the scripts you've used and see which ones you ran for how long and what amount of exp total and all that stuff.. basically data.
    as a script creator you can see all the people who use your scripts (on stats) and your totals for everything etc

    it's nice to see when you got scripts out for months & months you know they're used.. people usually make scripts just to have a challenge & give to the community & it's nice to see how much they're used
    Last edited by grats; 02-22-2015 at 11:51 PM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  10. #35
    Join Date
    Jun 2013
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by grats View Post
    keeps track of data from everyone using your scripts etc
    main stuff is it logs the time and the exp gained etc

    and as a stats user you'll be able to see all the scripts you've used and see which ones you ran for how long and what amount of exp total and all that stuff.. basically data.
    as a script creator you can see all the people who use your scripts (on stats) and your totals for everything etc

    it's nice to see when you got scripts out for months & months you know they're used.. people usually make scripts just to have a challenge & give to the community & it's nice to see how much they're used
    Oh okay thats actually pretty cool Thanks for explaining.

  11. #36
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Stats beta looking really nice, thanks for all the testing from
    @ineedbot @Flight @Justin @hoodz and even @Hawker who has been the only one that went on there by himself to setup a script and never even asked me for anything

    && especially flight for adding the stats into aerolib etc

    variables page looks very fancy once you turn off gold (profited) and start going down the list lol
    http://stats.grats.pw/variable.php
    I hope to see some more vars get up there in the high so it looks as nice as these low amount vars, graph wise..:
    http://i.imgur.com/S5G0kDG.jpg


    and thanks again to ineedbot for having a script that had so many variables it actually found an error in stats that was fixed :P
    http://stats.grats.pw/variable.php?sid=7
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  12. #37
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,333
    Mentioned
    266 Post(s)
    Quoted
    1398 Post(s)

    Default

    Looking really good, I'm happy to see more people using this.

    Current project:
    [AIO Fisher]

  13. #38
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    added some horrible line graph

    http://stats.grats.pw/commit.php

    uses my new cache table so page generation time down to like 20ms on that page, going to start caching others.. by my maths pages might take around 1 second to generate after the year ends so that's too slow for me.


    next have to add
    -user pages that show vars they added to && total commit time && scripts ran && commit time per script
    I think that's it?
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  14. #39
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,746
    Mentioned
    193 Post(s)
    Quoted
    1466 Post(s)

    Default

    Quote Originally Posted by grats View Post
    next have to add
    -user pages that show vars they added to && total commit time && scripts ran && commit time per script
    I think that's it?
    sounds great grats, great work

  15. #40
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,333
    Mentioned
    266 Post(s)
    Quoted
    1398 Post(s)

    Default

    That's a neat graph. So the current record now is 129 in an hour?

    Current project:
    [AIO Fisher]

  16. #41
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    sounds great grats, great work
    thanks

    Quote Originally Posted by Flight View Post
    That's a neat graph. So the current record now is 129 in an hour?
    yea so that is the highest value currently

    basically every hour on the hour it queries every value greater than (value being "time of the commit") the last time it queried lets say being 9AM for me (it's 9:03 currently) it did "get all times greater than 8AM" and then threw them into the pile. this is why the times on the commit aren't "exact" every time.. because the time shown is the "last query of that hour"
    if that makes sense

    was also talking to myself

    so on the graph every time is basically hour:00:00 <- hour:minutes:seconds however I think it's cooler to have the last query in that hour there instead
    this means if we had like a commit per second, it'd be hour:00:00 everytime.. but since we don't, they're all off by seconds, even minutes some places I see
    there will never be a query after the hour.. assuming the commits are every exact second the actual last time would be something like hour:59:59 being 1 second before the hour... similar to how military time changes to 00:00:00 (midnight) from 23:59:59 and we never see "24"
    only once is it "after the hour" I think && that's cuz I was making the script and didn't see the time and had to manually enter it cuz script wasn't done LOL



    this page also greatly differs from the "front page" where it says
    There have been 108 commits by stats users in the past hour.

    because the front page does the same query, however it's from the current time to an hour ago.. so instead of being on the hour everytime the front page can be 9:30 - 10:30 (assuming the exact time is 10:30

    all times are in epoch on my server
    http://en.wikipedia.org/wiki/Unix_time

    http://www.epochconverter.com/
    I do convert times to the yyyy-mm-dd hh:mm:ss format
    however remember it is all in GMT time so GMT+0 always
    Last edited by grats; 03-01-2015 at 04:15 PM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  17. #42
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,333
    Mentioned
    266 Post(s)
    Quoted
    1398 Post(s)

    Default

    I have some for you to add if you don't mind.

    • Air runes (Crafted)
    • Water runes (Crafted)
    • Earth runes (Crafted)
    • Fire runes (Crafted)
    • Mind runes (Crafted)
    • Body runes (Crafted)
    • Cosmic runes (Crafted)
    • Chaos runes (Crafted)
    • Astral runes (Crafted)
    • Law runes (Crafted)
    • Death runes (Crafted)


    Please and thank you!

    Current project:
    [AIO Fisher]

  18. #43
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I have some for you to add if you don't mind.

    • Air runes (Crafted)
    • Water runes (Crafted)
    • Earth runes (Crafted)
    • Fire runes (Crafted)
    • Mind runes (Crafted)
    • Body runes (Crafted)
    • Cosmic runes (Crafted)
    • Chaos runes (Crafted)
    • Astral runes (Crafted)
    • Law runes (Crafted)
    • Death runes (Crafted)


    Please and thank you!
    All of them but astral runes are already there (Just incase he doesn't check and accidentally adds them twice )
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  19. #44
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,333
    Mentioned
    266 Post(s)
    Quoted
    1398 Post(s)

    Default

    Quote Originally Posted by Hawker View Post
    All of them but astral runes are already there (Just incase he doesn't check and accidentally adds them twice )
    Ah geez I over-looked them it seems... Alright forget that request. Thanks Hawker.

    Current project:
    [AIO Fisher]

  20. #45
    Join Date
    Aug 2007
    Posts
    527
    Mentioned
    20 Post(s)
    Quoted
    262 Post(s)

    Default

    Hey grats, could you add Gold(spent), for firemaking, or 'buyable' skills. Also could you add teak logs chopped and burnt, as well as for mahogany and arctic pine logs. Oh and finally could you add mined granite (500g, 2kg, 5kg).

    Maybe even breaks taken, break time, and number of times responded to a player.

    Thanks!

  21. #46
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by ineedbot View Post
    Hey grats, could you add Gold(spent), for firemaking, or 'buyable' skills. Also could you add teak logs chopped and burnt, as well as for mahogany and arctic pine logs. Oh and finally could you add mined granite (500g, 2kg, 5kg).

    Maybe even breaks taken, break time, and number of times responded to a player.

    Thanks!
    Quote Originally Posted by Flight View Post
    Ah geez I over-looked them it seems... Alright forget that request. Thanks Hawker.
    Quote Originally Posted by Hawker View Post
    All of them but astral runes are already there (Just incase he doesn't check and accidentally adds them twice )
    shiit guys quote me so I notice or else I don't notice anyone posted rofl
    or mention or pm or skype or anything, either way.. just so I get notification

    Thanks to @Richard we got a sweet new "commits over time" page:
    http://stats.grats.pw/test.php
    vs the old:
    http://stats.grats.pw/commit.php

    notice the huge loading speed difference, looks wise not too much difference.. his is a bit taller since it doesn't have the smaller graph under it to select a time span.. instead you highlight the area you want to zoom, everything works way quicker

    it'll change from test.php to commit.php in 12-24 hours, making sure my timed updates work well and cache correctly... then the test.php will 404 ;P




    adding to vars list:
    Astral Runes (Crafted) wtf did I really just forget ONE rune?

    Teak Logs (Chopped)
    Teak Logs (Burned)
    Mahogany Logs (Chopped)
    Mahogany Logs (Burned)
    Arctic Pine Logs (Chopped)
    Arctic Pine Logs (Burned)

    Gold (Spent)


    and I don't understand the granite one
    Granite (Mined) ??
    is it different what is 2kg? different granites have different weights?
    Do I do:
    Granite 2kg (Mined)
    Granite 5kg (Mined)
    ?



    and do you guys think your scripts dev is good, anything else to make it easier?
    The vars are in alphabetical order, is that all you really need?
    Last edited by grats; 06-14-2015 at 08:36 AM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  22. #47
    Join Date
    Apr 2015
    Location
    FireFox
    Posts
    528
    Mentioned
    10 Post(s)
    Quoted
    227 Post(s)

    Default

    Quote Originally Posted by grats View Post
    shiit guys quote me so I notice or else I don't notice anyone posted rofl
    or mention or pm or skype or anything, either way.. just so I get notification

    Thanks to @Richard we got a sweet new "commits over time" page:
    http://stats.grats.pw/test.php
    vs the old:
    http://stats.grats.pw/commit.php

    notice the huge loading speed difference, looks wise not too much difference.. his is a bit taller since it doesn't have the smaller graph under it to select a time span.. instead you highlight the area you want to zoom, everything works way quicker

    it'll change from test.php to commit.php in 12-24 hours, making sure my timed updates work well and cache correctly... then the test.php will 404 ;P




    adding to vars list:
    Astral Runes (Crafted) wtf did I really just forget ONE rune?

    Teak Logs (Chopped)
    Teak Logs (Burned)
    Mahogany Logs (Chopped)
    Mahogany Logs (Burned)
    Arctic Pine Logs (Chopped)
    Arctic Pine Logs (Burned)

    Gold (Spent)


    and I don't understand the granite one
    Granite (Mined) ??
    is it different what is 2kg? different granites have different weights?
    Do I do:
    Granite 2kg (Mined)
    Granite 5kg (Mined)
    ?



    and do you guys think your scripts dev is good, anything else to make it easier?
    The vars are in alphabetical order, is that all you really need?
    I'm just trying to setup my first script with your site now.

    I'd allow users to delete scripts first off, this can be really handy if a user no longer wants the script to be on there or was just using it as a test. Also I'd add in logs fletched.

    Seems good so far.
    Scripting with ogLib

  23. #48
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by srlMW View Post
    I'm just trying to setup my first script with your site now.

    I'd allow users to delete scripts first off, this can be really handy if a user no longer wants the script to be on there or was just using it as a test. Also I'd add in logs fletched.

    Seems good so far.
    Won't ever have the option to delete scripts, that's a lot of data that would just randomly vanish, all those commits, all of those user stats etc need somewhere to "point" to which is that script ID, so that always has to exist otherwise all the data along with it goes away

    maybe a "hide" button for a script in the users dev.. or an order so they can drop it to the bottom of their scripts and never look at it again

    lmk if you see anything that isn't easy to figure out though... ideally stats should be "easy" to use, not another learning curve thing
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  24. #49
    Join Date
    Apr 2015
    Location
    FireFox
    Posts
    528
    Mentioned
    10 Post(s)
    Quoted
    227 Post(s)

    Default

    Quote Originally Posted by grats View Post
    Won't ever have the option to delete scripts, that's a lot of data that would just randomly vanish, all those commits, all of those user stats etc need somewhere to "point" to which is that script ID, so that always has to exist otherwise all the data along with it goes away

    maybe a "hide" button for a script in the users dev.. or an order so they can drop it to the bottom of their scripts and never look at it again

    lmk if you see anything that isn't easy to figure out though... ideally stats should be "easy" to use, not another learning curve thing
    Hide would probably be the second best option and I'll definitely make sure I do.
    Scripting with ogLib

  25. #50
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,717
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by srlMW View Post
    Hide would probably be the second best option and I'll definitely make sure I do.
    I can rename your KKK script to something else if you have a plan in the future, too.. if you want. Instead of making a new one rofl
    assuming that that's you... Just looked at the scripts in the database lol.
    Ordered a small SSD, curious to see the db query improvements, not even going to cache the rest of the site yet.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

Page 2 of 4 FirstFirst 1234 LastLast

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
  •