Page 3 of 4 FirstFirst 1234 LastLast
Results 41 to 60 of 68
  1. #41
    Community Member Captain_Wizbang's Avatar
    Join Date
    Jan 2008
    Posts
    0

    Default

    Quote Originally Posted by Backley View Post
    Any text editor is fine. I use Notepad++, but regular Notepad in Windows is fine.



    Love it! Select all & go, Nice job, thanks a ton
    Any way to enlarge my cursor?

  2. #42
    The Hatchery
    2014 DDO Players Council
    Backley's Avatar
    Join Date
    Sep 2009
    Posts
    172

    Default

    Quote Originally Posted by ferd View Post
    Any way to enlarge my cursor?
    Notepad++ just uses your normal Windows cursors. You can change them system-wide in Control Panel if you want. Could change just the text-selection 'I' cursor if that is the only one you have problems finding on screen.
    Author of Info Blue UI Skin (Really wish Turbine would update the skinning interface and enable all the new UI parts.)
    If you don't have an SSD, you should be using DDOPreload (fixes the slow first login issue)

  3. #43
    Founder
    Join Date
    Feb 2006
    Posts
    1,036

    Default

    loaded grease monkey. installed the two scripts but nothing seems to be happening.

    the pull down menu for the monkey head on the tool bar, when I am in myddo.com/user name, shows that the sort script is active. but it's not showing the hide other servers script. though both will come up if I hit "manage user scripts".

    when I open up the .js script for hide other servers, I must not be reading it correctly, because I don't see anything in there that would actually do anything. appears to be comments on how change the script to determine which servers or character names to exclude but not the actual script to do that

    suggestions, ideas on what step or piece I missed?

  4. #44
    The Hatchery
    2014 DDO Players Council
    Backley's Avatar
    Join Date
    Sep 2009
    Posts
    172

    Default

    Quote Originally Posted by kendo View Post
    loaded grease monkey. installed the two scripts but nothing seems to be happening.

    the pull down menu for the monkey head on the tool bar, when I am in myddo.com/user name, shows that the sort script is active. but it's not showing the hide other servers script. though both will come up if I hit "manage user scripts".

    when I open up the .js script for hide other servers, I must not be reading it correctly, because I don't see anything in there that would actually do anything. appears to be comments on how change the script to determine which servers or character names to exclude but not the actual script to do that

    suggestions, ideas on what step or piece I missed?
    The pull down menu for the monkey head only shows what scripts are running on that page. The hide other server script only runs on the Lottery signup sub-page. On your MyDDO page, click the Enter Lotteries Click Here link to open the Lottery signup sub-page, then check the monkey head pull down menu (it should show both scripts active at that point).

    In the .js script for hide other servers, lines 1-9 should start with // and be comments, and lines 10-20 should be code. Line 10 should say "var rows = document.evaluate(" for instance.
    Author of Info Blue UI Skin (Really wish Turbine would update the skinning interface and enable all the new UI parts.)
    If you don't have an SSD, you should be using DDOPreload (fixes the slow first login issue)

  5. #45
    Community Member
    Join Date
    Aug 2011
    Posts
    623

    Default

    I just wanted to add for any newer people to using scripts that in the original source for the server sort:

    http://userscripts.org/scripts/review/104453

    the source seems to be missing some commas at the end of the lines. This took me quite a while to figure out, and the correct version can be found on post 20 of this very thread:

    http://forums.ddo.com/showpost.php?p...5&postcount=20

    The auto install seems to work okay but not if you copy and past it from the source code ....

  6. #46
    Hero Phoenix-daBard's Avatar
    Join Date
    Dec 2009
    Posts
    1,146

    Default

    For those who use IE, the sort entries script does work with IE9. You just have to turn it into a link that you can bookmark. To add this to IE follow the these steps:

    Click add to favorites in the favorites menu.
    Name it what you want.
    Right click your new favorite and choose properties.
    Paste the line below into the link target.
    Click okay.

    Code:
    javascript:function sortTable(table) {var today = new Date();var maxAge = 22;var rows = Array.prototype.slice.call(table.getElementsByTagName('tr'), 0);for (var i=0, row; row = rows[i]; i++) {if ( row.innerHTML.search('<td class="left right pad"') == -1 ) {rows.splice(i,1);i--;}} rows.sort(function(a,b) { var adate = getRowDate(a); var bdate = getRowDate(b); var aurl = getRowURL(a); var burl = getRowURL(b); var aname = getRowName(a); var bname = getRowName(b); return ((adate != bdate) ? bdate - adate : ((aurl < burl) ? -1 : ((aurl > burl) ? 1 : ((aname < bname) ? -1 : ((aname > bname) ? 1 : 0))))); });while (table.firstChild) { table.removeChild(table.firstChild);} for (var i=0, row; row = rows[i]; i++) { if(getRowAge(row) < maxAge ) { table.appendChild(row); } } function getRowAge(row) { return (today.getTime()/(1000*60*60) + today.getTimezoneOffset()/60 - 5 - getRowDate(row)/(1000*60*60))/24; } function getRowDate(row) { return Date.parse(row.cells[0].getElementsByClassName('lotteryEndDate')[0].innerHTML); } function getRowURL(row) { return row.cells[0].getElementsByTagName('a')[0].getAttribute('href').toLowerCase(); } function getRowName(row) { return row.cells[0].getElementsByTagName('table')[0].nextSibling.nodeValue.toLowerCase(); }}var gradtables = document.getElementsByClassName('gradient_table');for (i = 0; i < gradtables.length; i++) { if ( gradtables[i].getAttribute('id') == 'lotterysignups' ) { sortTable(gradtables[i]) }}
    To use you will have to click the bookmark when you are on your myDDO page but it will sort your entries just fine.

  7. #47

    Question

    I love the lottery sorter!

    Except ... it has stopped working for me. I tried reinstalling it but clicking the Install button on the userscripts page no longer installs the script, instead showing me the script source.

    I tried reinstalling greasemonkey too, I note that a new version of it was posted 2/12 which was about when I noticed that my lottery winners were out of sort. But no help.

    Anyone else having this?

  8. 05-10-2012, 05:06 PM

    Reason
    Dumb user error, self resolved

  9. #48
    The Hatchery Barazon's Avatar
    Join Date
    May 2008
    Posts
    433

    Default

    I'm always able to enter the lotteries just fine from the in-game browser, but not from a standalone browser, with or without these scripts. Using Fireox, the only place I can see any lottery is if I go to a particular character's web page, such as my.ddo.dcom/character/[server]/[charname]. I've never been able to see the lotteries for all characters at once outside of the game.

    Where do you view the lotteries online? Do you have to make all of your characters public for this to work?

  10. #49
    Hero Phoenix-daBard's Avatar
    Join Date
    Dec 2009
    Posts
    1,146

    Default

    Quote Originally Posted by Barazon View Post
    Where do you view the lotteries online? Do you have to make all of your characters public for this to work?
    Click your user name at the top of the my.ddo.com page and you should be able to enter all your characters at once. In your case it would be http://my.ddo.com/Barazon/

  11. #50
    Hatchery Hero BOgre's Avatar
    Join Date
    Jan 2011
    Posts
    807

    Default

    using chrome and Tampermonkey.

    Sort script works great, thanks!!!

    Hide Server script not working, seems to have one red line:

    '//tr/td/a[contains(@href,"/orien/") or contains(@href,"/argonnessen/") or contains(@href,"/ghallanda/") or contains(@href,"/khyber/") or contains(@href,"/sarlona/") or contains(@href,"/wayfinder/")]'

    no idea why. any suggestions?
    Quote Originally Posted by Towrn
    ...when the worst thing that happens when you make a mistake at your job is someone complains on the internet, you probably care a little less!

  12. #51
    Hero Phoenix-daBard's Avatar
    Join Date
    Dec 2009
    Posts
    1,146

    Default

    Quote Originally Posted by BOgre View Post
    using chrome and Tampermonkey.

    Sort script works great, thanks!!!

    Hide Server script not working, seems to have one red line:

    '//tr/td/a[contains(@href,"/orien/") or contains(@href,"/argonnessen/") or contains(@href,"/ghallanda/") or contains(@href,"/khyber/") or contains(@href,"/sarlona/") or contains(@href,"/wayfinder/")]'

    no idea why. any suggestions?
    The only difference between yours and mine is you are missing the comma at the end of the line:
    Code:
    '//tr/td/a[contains(@href,"/orien/") or contains(@href,"/argonnessen/") or contains(@href,"/ghallanda/") or contains(@href,"/khyber/") or contains(@href,"/sarlona/") or contains(@href,"/wayfinder/")]',

  13. #52
    Hatchery Hero BOgre's Avatar
    Join Date
    Jan 2011
    Posts
    807

    Default

    missed the comma during copy/paste. it's there.

    also tried installing direct to chrome (without tampermonkey) and again, sort works, ignore servers doesn't.

    searching in other places leads me to believe it's a 'long line' issue.... also seems Greasemonkey is no longer supported in chrome, due to chrome native .js support... is there still a legacy Greasmonkey version available somewhere that CAN be used in Chrome, and can handle this .js ?
    Quote Originally Posted by Towrn
    ...when the worst thing that happens when you make a mistake at your job is someone complains on the internet, you probably care a little less!

  14. #53
    Hatchery Hero BOgre's Avatar
    Join Date
    Jan 2011
    Posts
    807

    Default

    My mistake. Reading Comprehension fail. I mistakenly thought the hide servers script hid servers from the winners list, instead of the lottery entry box itself. Doi me. Got it figured out now, and I must admit, not entering the lotto on toons/servers I don't currently play makes MUCH more sense than filtering them out after the fact.

    So yeah, all's well and working properly, but note to Chrome users, you don't need greasemonkey. Just download the scripts, open Chrome's 'wrench'->Tools->Extensions, drag-and-drop the scripts onto the Extension page to install.
    Quote Originally Posted by Towrn
    ...when the worst thing that happens when you make a mistake at your job is someone complains on the internet, you probably care a little less!

  15. #54
    Community Member esheep's Avatar
    Join Date
    Dec 2009
    Posts
    241

    Default

    Backley et al,

    Suppose I wanted to hide the lotteries that are not very useful to me? The "Barkskin +3 Lottery!" and the "Sun in a bottle lottery!" are the only examples I have at current.

    I tried to make my own script, but it didn't seem to work...
    Quote Originally Posted by Vargouille View Post
    it will go on and on and on to level 999

  16. #55
    Community Member sdrocky's Avatar
    Join Date
    Jun 2011
    Posts
    477

    Default

    Thankyou thankyou thankyou. This should get made sticky.

  17. #56
    Community Member btolson's Avatar
    Join Date
    Aug 2009
    Posts
    1,291

    Default

    Quote Originally Posted by esheep View Post
    Backley et al,

    Suppose I wanted to hide the lotteries that are not very useful to me? The "Barkskin +3 Lottery!" and the "Sun in a bottle lottery!" are the only examples I have at current.

    I tried to make my own script, but it didn't seem to work...

    Here's a working example for hiding the "New Hair in 2012 Lottery" lottery on all characters (deletes the entire row, not just the character names/check boxes):


    Code:
    var rows = document.evaluate(
    '//td/label[contains(text(),"New Hair") ]',
    	document,
    	null,
    	XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
    	null)
    
    for (i = 0; i < rows.snapshotLength; i++)
    {
    	foo = rows.snapshotItem(i).parentNode.parentNode
    	foo.parentNode.removeChild(foo)
    }

  18. #57
    Hero Phoenix-daBard's Avatar
    Join Date
    Dec 2009
    Posts
    1,146

    Default

    Quote Originally Posted by btolson View Post
    Here's a working example for hiding the "New Hair in 2012 Lottery" lottery on all characters (deletes the entire row, not just the character names/check boxes):


    Code:
    var rows = document.evaluate(
    '//td/label[contains(text(),"New Hair") ]',
    	document,
    	null,
    	XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
    	null)
    
    for (i = 0; i < rows.snapshotLength; i++)
    {
    	foo = rows.snapshotItem(i).parentNode.parentNode
    	foo.parentNode.removeChild(foo)
    }
    Thanks for that! I was just puzzling though it myself to do similar as I don't use hair dyes, bracelets or sun flasks.

  19. #58

    Default

    Looks like the DDO Lottery is working (for me at least) again. I went months without it displaying the lottery. Long bug thread about it that got nowhere a lot of us were posting in... I gave up. But tonight, it started working again, so I reloaded this up and it worked like a charm.

    Nice job!
    Blackmoor Defenders (LVL - 193)
    Ghallanda ...Lhazaar 2006
    Forum-ID u779 : Guild Leader of The Blackmoor Defenders


  20. #59
    Community Member btolson's Avatar
    Join Date
    Aug 2009
    Posts
    1,291

    Default

    An alternate version which only hides every character entry checkbox for undesired lotteries, but leaves the lotto name and prize display intact. Useful if you are afraid of accidentally filtering out something you actually want (in which case, edit or disable the script to enter that lottery), or if you just want to see proof that some lottos are actually running.


    Code:
    var rows = document.evaluate(
    '//td/label['+
    'contains(text(),"New Hair") '+
    'or contains(text(), "Get there faster") '+
    'or contains(text(), "Not really dead") '+
    'or contains(text(), "Barkskin +")'+
    'or contains(text(), "Close Friends")'+
    'or contains(text(), "Sun in a bottle")'+
    ']',
    	document,
    	null,
    	XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
    	null)
    
    for (i = 0; i < rows.snapshotLength; i++)
    {
    	lotto = rows.snapshotItem(i).parentNode.parentNode
    	boxes = document.evaluate(
    		'.//tr/td/a[contains(@href, "/character/")]',
    		lotto,
    		null,
    		XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
    		null)
    		
    	for (j = 0; j < boxes.snapshotLength; j++)
    	{
    		charj = boxes.snapshotItem(j).parentNode.parentNode
    		charj.parentNode.removeChild(charj)
    	}
    }

  21. #60
    Community Member esheep's Avatar
    Join Date
    Dec 2009
    Posts
    241

    Default

    Many thanks!
    Quote Originally Posted by Vargouille View Post
    it will go on and on and on to level 999

Page 3 of 4 FirstFirst 1234 LastLast

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