GRAVED | Tools & Userscripts | TORN

GRAVED

​

    • Father [2131687]
    • Role: Civilian
    • Level: 81
    • Posts: 1,349
    • Karma: 4,730
    • Last Action: 8 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 06:09:14 - 01/02/20 (6 years ago)
    |
    Last replied 11:51:14 - 05/02/22 (4 years ago)

    GRAVED

     
    Last edited by Father on 07:07:19 - 22/03/25 (1 year ago)
    • colaman32 [2091413]
    • Role: Wiki Contributor
    • Level: 100
    • Posts: 477
    • Karma: 1,733
    • Last Action: 43 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:50:10 - 01/02/20 (6 years ago)
    Post link copied to clipboard Copy post link
    working perfectly, just what I wanted in my life <3
    • Helcostr [1934501]
    • Role: Wiki Editor
    • Level: 15
    • Posts: 3,101
    • Karma: 2,213
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 18:31:45 - 01/02/20 (6 years ago)
    Post link copied to clipboard Copy post link
    Without commas and the dollar sign? :3 <3

    ;)


    "$123,456.789".replace(/[^0-9.]/g, "");


    just in case ;)
    • Father [2131687]
    • Role: Civilian
    • Level: 81
    • Posts: 1,349
    • Karma: 4,730
    • Last Action: 8 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 23:25:05 - 01/02/20 (6 years ago)
    Post link copied to clipboard Copy post link

    Helcostr [1934501]

    Without commas and the dollar sign? :3 <3 ;) [code] "$123,456.789".replace(/[^0-9.]/g, ""); [/code] just in case ;)
    I didn't use Apps script code for that part, I just put good ole fashioned forumulae.
    • Helcostr [1934501]
    • Role: Wiki Editor
    • Level: 15
    • Posts: 3,101
    • Karma: 2,213
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 05:29:22 - 02/02/20 (6 years ago)
    Post link copied to clipboard Copy post link

    Helcostr [1934501]

    Without commas and the dollar sign? :3 <3 ;) [code] "$123,456.789".replace(/[^0-9.]/g, ""); [/code] just in case ;)

    Father [2131687]

    I didn't use Apps script code for that part, I just put good ole fashioned forumulae.
    shouldn't the spreadsheet parse it properly still? as long as your commas aren't periods?
    • vvqqdd1 [2418480]
    • Role: Civilian
    • Level: 30
    • Posts: 329
    • Karma: 36
    • Last Action: 6 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 07:05:03 - 29/03/20 (6 years ago)
    Post link copied to clipboard Copy post link
    it works, thx
    • RyuFive [1635537]
    • Role: Reporter
    • Level: 100
    • Posts: 1,821
    • Karma: 2,089
    • Last Action: 8 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 09:33:31 - 29/03/20 (6 years ago)
    Post link copied to clipboard Copy post link
    or be like me, my spouse can have whatever i have anytime :p
    • Aejhlu [2317576]
    • Role: Civilian
    • Level: 100
    • Posts: 336
    • Karma: 285
    • Last Action: 13 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:45:23 - 12/05/20 (6 years ago)
    Post link copied to clipboard Copy post link
    Omg been searching forever for a script like this


     

    • Fogest [2254826]
    • Role: Civilian
    • Level: 100
    • Posts: 600
    • Karma: 927
    • Last Action: 7 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:43:49 - 27/05/20 (6 years ago)
    Post link copied to clipboard Copy post link
    Is there any way my and my torn spouses balances can be shown in the vault itself via the script instead of having to check the overview of the spreadsheet?

    nuke

    • colaman32 [2091413]
    • Role: Wiki Contributor
    • Level: 100
    • Posts: 477
    • Karma: 1,733
    • Last Action: 43 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:25:04 - 10/06/21 (5 years ago)
    Post link copied to clipboard Copy post link
    It broke for me yesterday, user ID and nickname were returning undefined.

    Fixed it by changing line 42/43 from:

    var user_id = $("script[src*='js/chat/chat']").attr("uid");
    var username = $("script[src*='js/chat/chat']").attr("name");


    to

    var user_id = $("script[src*='builds/chats/chat']").attr("uid");
    var username = $("script[src*='builds/chats/chat']").attr("name");
    • colaman32 [2091413]
    • Role: Wiki Contributor
    • Level: 100
    • Posts: 477
    • Karma: 1,733
    • Last Action: 43 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 09:08:53 - 13/07/21 (5 years ago)
    Post link copied to clipboard Copy post link
    Broke again, same fix as before:


    Fixed it by changing line 42/43 from:

    var user_id = $("script[src*='builds/chats/chat']").attr("uid");
    var username = $("script[src*='builds/chats/chat']").attr("name");


    to

    var user_id = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("uid");
    var username = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("name");
    • colaman32 [2091413]
    • Role: Wiki Contributor
    • Level: 100
    • Posts: 477
    • Karma: 1,733
    • Last Action: 43 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 07:11:16 - 20/10/21 (5 years ago)
    Post link copied to clipboard Copy post link
    Broken, fix below:

    Fixed it by changing line 42/43 from:

    var user_id = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("uid");
    var username = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("name");


    to

    var user_id = $("script[src*='builds/chat/59d9fe8550eafcf95e9afe31b4e9d42e/chats").attr("uid");
    var username = $("script[src*='builds/chat/59d9fe8550eafcf95e9afe31b4e9d42e/chats").attr("name");
    • BritishBenji [2257611]
    • Role: Civilian
    • Level: 99
    • Posts: 1,063
    • Karma: 1,593
    • Last Action: 4 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:38:06 - 31/01/22 (4 years ago)
    Post link copied to clipboard Copy post link
    Is this project still kept up to date? Can't seem to get it working
    • Solor [2476035]
    • Role: Civilian
    • Level: 100
    • Posts: 630
    • Karma: 1,766
    • Last Action: 2 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 11:51:14 - 05/02/22 (4 years ago)
    Post link copied to clipboard Copy post link

    BritishBenji [2257611]

    Is this project still kept up to date? Can't seem to get it working
    It works as long as ched doesn't mess the code up
    Last edited by Solor on 09:19:11 - 23/03/22 (4 years ago)

Reply
Thread Title: