User talk:Haliphax: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
Line 40: Line 40:
After I use the bookmarklet I am redirected from http://udwitness.oddnetwork.org/submit.php to http://udwitness.oddnetwork.org/index.php, and no where is the link to the uploaded screen-shot displayed. Would it be possible to display a link the screen-shot?--[[User:Thekooks|Kooks]] 15:03, 28 November 2009 (UTC)  
After I use the bookmarklet I am redirected from http://udwitness.oddnetwork.org/submit.php to http://udwitness.oddnetwork.org/index.php, and no where is the link to the uploaded screen-shot displayed. Would it be possible to display a link the screen-shot?--[[User:Thekooks|Kooks]] 15:03, 28 November 2009 (UTC)  
:Hi, sorry to bother you again. It seems that UDWitness is not working for me. After I click on the UDWitness bookmarklet I am redirected to http://udwitness.oddnetwork.org/index.php. However if I check the archive I find that a screenshot was created. Example: http://udwitness.oddnetwork.org/reports/2009/12/udw-20091205-123626-46c6d098802ebe07491babe6332933c7-pk4lyf.html  
:Hi, sorry to bother you again. It seems that UDWitness is not working for me. After I click on the UDWitness bookmarklet I am redirected to http://udwitness.oddnetwork.org/index.php. However if I check the archive I find that a screenshot was created. Example: http://udwitness.oddnetwork.org/reports/2009/12/udw-20091205-123626-46c6d098802ebe07491babe6332933c7-pk4lyf.html  
If it helps, this is what Live HTTP Headers is giving me when I use the bookmarklet.
If it helps, this is what Live HTTP Headers is giving me when I use the bookmarklet.  
<pre>http://udwitness.oddnetwork.org/submit.php
:<pre>- Removed -</pre>
 
POST /submit.php HTTP/1.1
Host: udwitness.oddnetwork.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://urbandead.com/map.cgi
Cookie: __utma=238372932.2116301830.1260038770.1260038770.1260038770.1; __utmb=238372932.3.10.1260038770; __utmc=238372932; __utmz=238372932.1260038770.1.1.utmcsr=urbandead.com|utmccn=(referral)|utmcmd=referral|utmcct=/map.cgi
Content-Type: application/x-www-form-urlencoded
Content-Length: 4727
private=1&screenshot=%3Ctable+width%3D%22100%25%22%3E%3Ctbody%3E%3Ctr%3E%3Ctd+class%3D%22cp%22%3E%3Ctable+class%3D%22c%22+cellspacing%3D%220%22%3E%0D%0A%3Ctbody%3E%3Ctr%3E%3Ctd+colspan%3D%223%22+class%3D%22sb%22%3EPegton%3C%2Ftd%3E%3C%2Ftr%3E%0D%0A%3Ctr%3E%3Ctd+class%3D%22b+c33%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2286-53%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22md%22+value%3D%22Somerville%0D%0ABoulevard%22+type%3D%22submit%22%3E%3C%2Fform%3E%3Cbr%3E%3Cspan+class%3D%22fz%22%3E21+%0D%0Azombies%3C%2Fspan%3E%3C%2Ftd%3E%3Ctd+class%3D%22b+c0%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2287-53%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22md%22+value%3D%22Hubbard%0D%0AAvenue%22+type%3D%22submit%22%3E%3C%2Fform%3E%3C%2Ftd%3E%3Ctd+class%3D%22b+c0%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2288-53%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22md%22+value%3D%22Edmondson%0D%0ASquare%22+type%3D%22submit%22%3E%3C%2Fform%3E%3C%2Ftd%3E%3C%2Ftr%3E%0D%0A%3Ctr%3E%3Ctd+class%3D%22b+c1%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2286-54%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22md%22+value%3D%22Pattin+Square%22+type%3D%22submit%22%3E%3C%2Fform%3E%3Cbr%3E%3Cspan+class%3D%22fz%22%3E2+%0D%0Azombies%3C%2Fspan%3E%3C%2Ftd%3E%3Ctd+class%3D%22b+c9+l%22%3E%3Cinput+class%3D%22mr%22+value%3D%22St+Matthew%27s%0D%0AHospital%22+type%3D%22submit%22%3E%3Cbr%3E%3Cspan+class%3D%22fz%22%3E1+%0D%0Azombie%3C%2Fspan%3E%3C%2Ftd%3E%3Ctd+class%3D%22b+c2%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2288-54%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22mr%22+value%3D%22the+Burrell%0D%0ABuilding%22+type%3D%22submit%22%3E%3C%2Fform%3E%3Cbr%3E%3Cspan+class%3D%22fz%22%3E1+%0D%0Azombie%3C%2Fspan%3E%3C%2Ftd%3E%3C%2Ftr%3E%0D%0A%3Ctr%3E%3Ctd+class%3D%22b+c9%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2286-55%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22mr%22+value%3D%22St+Siricius%27s%0D%0AHospital%22+type%3D%22submit%22%3E%3C%2Fform%3E%3Cbr%3E%3Cspan+class%3D%22fz%22%3E8+%0D%0Azombies%3C%2Fspan%3E%3C%2Ftd%3E%3Ctd+class%3D%22b+c35%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2287-55%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22mr%22+value%3D%22Norton%0D%0ASquare%0D%0ARailway%0D%0AStation%22+type%3D%22submit%22%3E%3C%2Fform%3E%3Cbr%3E%3Cspan+class%3D%22fz%22%3E3+%0D%0Azombies%3C%2Fspan%3E%3C%2Ftd%3E%3Ctd+class%3D%22b+c27%22%3E%3Cform+action%3D%22map.cgi%22+method%3D%22post%22%3E%0D%0A%3Cinput+name%3D%22v%22+value%3D%2288-55%22+type%3D%22hidden%22%3E%3Cinput+class%3D%22mr%22+value%3D%22Club+Aldrich%22+type%3D%22submit%22%3E%3C%2Fform%3E%3C%2Ftd%3E%3C%2Ftr%3E%0D%0A%3C%2Ftbody%3E%3C%2Ftable%3E%0D%0A%3Cp+class%3D%22gt%22%3EYou+are+%3Ca+href%3D%22profile.cgi%3Fid%3D770276%22%3E%3Cb%3Epk4lyf%3C%2Fb%3E%3C%2Fa%3E+and+you+are+%3Cb%3Edead%3C%2Fb%3E.+You+have+%3Cb%3E0%3C%2Fb%3E+Hit+Points+and+%3Cb%3E7261%3C%2Fb%3E+Experience+Points.+You+have+%3Cb%3E50%3C%2Fb%3E+Action+Points+remaining.%3C%2Fp%3E%3Cp%3E%0D%0A%3Ca+href%3D%22skills.cgi%22+class%3D%22y%22%3EBuy+skills%3C%2Fa%3E%0D%0A%3Ca+href%3D%22contacts.cgi%22+class%3D%22y%22%3EContacts%3C%2Fa%3E%0D%0A%3Ca+href%3D%22profile.cgi%3Fmode%3Dedit%26id%3D770276%22+class%3D%22y%22%3ESettings%3C%2Fa%3E%0D%0A%3Ca+href%3D%22map.cgi%3Flogout%22+class%3D%22y%22%3ELog+out%3C%2Fa%3E%0D%0A%3C%2Fp%3E%0D%0A%3Cp%3E%0D%0A%3Ca+href%3D%22news.html%22+class%3D%22y%22%3ENews%3C%2Fa%3E%0D%0A%3Ca+href%3D%22faq.html%22+class%3D%22y%22%3EFAQ%3C%2Fa%3E%0D%0A%3Ca+href%3D%22http%3A%2F%2Fwiki.urbandead.com%22+class%3D%22y%22%3EWiki%3C%2Fa%3E%0D%0A%3Ca+href%3D%22donate.html%22+class%3D%22y%22%3EDonate%3C%2Fa%3E%0D%0A%3C%2Fp%3E%0D%0A%3C%2Ftd%3E%0D%0A%3Ctd+class%3D%22gp%22%3E%0D%0A%3Cdiv+class%3D%22gt%22%3EYou+are+lying+outside+%3Cb%3ESt+Matthew%27s+Hospital%3C%2Fb%3E%2C+a+four-storey+metal-and-glass+building+surrounded+by+burnt-out+cars.+The+building%27s+doors+have+been+left+wide+open%2C+and+you+can+see+that+the+interior+of+the+building+has+been+ruined.%3Cbr%3E%3Cbr%3EThere+is+another+zombie+here.%3Cbr%3E%3Cbr%3EThere+are+five+dead+bodies+here.+One+of+them+smells+strange.%3C%2Fdiv%3E%3Cp%3E%3Cb%3EYou+are+dead.%3C%2Fb%3E%3C%2Fp%3E%0D%0A%3Cp%3EPossible+actions%3A%3C%2Fp%3E%0D%0A%3Cform+action%3D%22map.cgi%3Frise%22+method%3D%22post%22+class%3D%22a%22%3E%3Cinput+class%3D%22m%22+value%3D%22Stand+up%22+type%3D%22submit%22%3E+%0D%0A+%28this+costs+6AP%29%3C%2Fform%3E%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftbody%3E%3C%2Ftable%3E%0D%0A
HTTP/1.x 302 Found
Transfer-Encoding: chunked
X-Powered-By: PHP/5.2.6-1+lenny3
Location: index.php
Content-Type: text/html
Date: Sat, 05 Dec 2009 18:50:08 GMT
Server: lighttpd/1.4.19
----------------------------------------------------------
http://udwitness.oddnetwork.org/index.php
 
GET /index.php HTTP/1.1
Host: udwitness.oddnetwork.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://urbandead.com/map.cgi
Cookie: __utma=238372932.2116301830.1260038770.1260038770.1260038770.1; __utmb=238372932.3.10.1260038770; __utmc=238372932; __utmz=238372932.1260038770.1.1.utmcsr=urbandead.com|utmccn=(referral)|utmcmd=referral|utmcct=/map.cgi
 
HTTP/1.x 200 OK
Transfer-Encoding: chunked
X-Powered-By: PHP/5.2.6-1+lenny3
Content-Type: text/html
Date: Sat, 05 Dec 2009 18:50:08 GMT
Server: lighttpd/1.4.19
</pre>


Thanks.--[[User:Thekooks|Kooks]] 18:45, 5 December 2009 (UTC)
Thanks.--[[User:Thekooks|Kooks]] 18:45, 5 December 2009 (UTC)
::Hi, I'm glad I wasn't going crazy. I'm sorry to say I have another request :) . I have made a Greasemonkey script which allows users to automatically generate PK Reports (for the Rouges Gallery), as part of the GM script I wish to add a feature that will take an UDWitness of the PK automatically using GM_xmlhttprequest, and add the UDWitness to the PK Report. Unfortunately Greasemonkey will not allow referrer information to be added within GM_xmlhttprequest, and so obviously any request to your server fails to create a screenshot. I understand that there is a good reason for this, however I'm hoping we can work something out. Perhaps if I append something like 'pkreport=true' as part of the data sent within the POST request, the script could allow reports without header information. I don't think it would cause any security concern as any hacker could easily fake the referrer field anyway. Thanks again. --[[User:Thekooks|Kooks]] 14:26, 13 December 2009 (UTC)


=== UDRecon ===
=== UDRecon ===

Revision as of 14:26, 13 December 2009

Please try to post in the appropriate (sub)section if at all possible.

Scripts

CHUD

UDBrain Frame Fix

UDInventory

Problem with UDinventory

It's not compatible with the profile viewer script. Just thought I'd let you know about that, in case you're interested in trying to make it compatible. Either way, great script. --dgw 16:23, 4 March 2009 (UTC)

UDMapSlice

Tidy UDTool

UD Profile Expander

Services

Note: If you are reporting a bug with one of the web services, please let me know what other UD-related mods you are using! Chances are, one of them is preventing the script from behaving normally.

UDWitness

Private records?

Yo, Haliphax. Thank you for UDW, best screenshot service for UD. We can haz private repository? --Sophie ◆◆◆ CAPD 19:43, 22 September 2009 (BST)

  • Feature added! -   HaliphaxTCS 17:05, 3 October 2009 (BST)
    Yay! Now to get it accepted by the gallery! :D Btw, I hadn't seen your notice asking for support for that, I was just miffed at the inconvenience and posted in BS... and now I think you didn't know either I was asking them the very same thing. Synchronicity, heh. --Sophie ◆◆◆ CAPD 19:36, 3 October 2009 (BST)

Boring codemonkey talk

Hey :) Just read your comment in the UDwitness talk page, re: long names. So that's a hash then, heh, I thought it was random noise to make filenames hard to guess. So it serves another purpose? From the size must be an MD5, but can't imagine what of.

Iwitness uses date, location, and 9 seemingly random chars, but date and location can be obtained from the page itself so it seems redundant to me. I like dumbwit's approach: UNIX timestamp plus 3 random digits (millisecs?). Short and sweet. Maybe I'd have hex-coded the 32-bit timestamp and a 32-bit random. That's 16 chars (e.g. "4ACD71F809B399A0.html"), increases monotonically so it sorts correctly, and would be a bugger to guess.

Er... just out-loud thinking here, I hope you don't mind :") --Sophie ◆◆◆ CAPD 10:35, 8 October 2009 (BST)

  • Yeah, it's a salted MD5 hash of the page contents. I suppose I could shorten it using something more like CRC, but I'll most likely just wind up putting a hand-holding bit.ly link with each submission on the "submission accepted" page. I'm more worried about "verifying" the contents of the page than the time of submission. Anyway, I'll think it over. (And I don't mind the thinking out loud at all--I appreciate the comments!) -   HaliphaxTCS 03:59, 12 October 2009 (BST)

Link truncated

Hey! Was just trying out UDWitness again, and noticed a slight bug with the record link when submitting a report from my character Rite Rev'd Revenant. I was able to copy-paste the link fine, but the URL in the <a> tag was truncated at the apostrophe. Might want to escape 'em via HTML entities? Just thought you'd like to know. :) ᚱᛁᚹᛖᚾ 14:04, 21 October 2009 (BST)

  • Would've worked fine, but I was using a single apostrophe as the href delimiter. I was unaware that apostrophes were allowed in character names, so not only have I fixed a bug in the UDWitness code (which I was drinking waaaay too much coffee when I wrote :D), but I've also learned something new about the game! Huzzah! Anyhow, the change has been implemented. Thanks for your report! -   HaliphaxTCS 14:55, 23 October 2009 (BST)

Redirected

After I use the bookmarklet I am redirected from http://udwitness.oddnetwork.org/submit.php to http://udwitness.oddnetwork.org/index.php, and no where is the link to the uploaded screen-shot displayed. Would it be possible to display a link the screen-shot?--Kooks 15:03, 28 November 2009 (UTC)

Hi, sorry to bother you again. It seems that UDWitness is not working for me. After I click on the UDWitness bookmarklet I am redirected to http://udwitness.oddnetwork.org/index.php. However if I check the archive I find that a screenshot was created. Example: http://udwitness.oddnetwork.org/reports/2009/12/udw-20091205-123626-46c6d098802ebe07491babe6332933c7-pk4lyf.html

If it helps, this is what Live HTTP Headers is giving me when I use the bookmarklet.

- Removed -

Thanks.--Kooks 18:45, 5 December 2009 (UTC)

Hi, I'm glad I wasn't going crazy. I'm sorry to say I have another request :) . I have made a Greasemonkey script which allows users to automatically generate PK Reports (for the Rouges Gallery), as part of the GM script I wish to add a feature that will take an UDWitness of the PK automatically using GM_xmlhttprequest, and add the UDWitness to the PK Report. Unfortunately Greasemonkey will not allow referrer information to be added within GM_xmlhttprequest, and so obviously any request to your server fails to create a screenshot. I understand that there is a good reason for this, however I'm hoping we can work something out. Perhaps if I append something like 'pkreport=true' as part of the data sent within the POST request, the script could allow reports without header information. I don't think it would cause any security concern as any hacker could easily fake the referrer field anyway. Thanks again. --Kooks 14:26, 13 December 2009 (UTC)

UDRecon

Misc.

Hi Haliphax. You posted on my talk page. I answered you, but I guess you didn't watch my talk-page. So just take a look. You can delete this message, if you want to lateron. Cheers --Cliff Runner 20:10, 20 July 2009 (BST)

I've replied on your talk page. Thanks for the input! :) --  HaliphaxTCS 21:25, 20 July 2009 (BST)

Welcome to the FoD!

Hey there boyd, figured I'd greet yah on here too. If you need help pimping out your wiki just ask away. I know you probably don't being the big computer guy you are, but it's always nice to offer :). Again, welcome to the FoD and I look forward to working with you. -- Denver  5MoC 22:05, 21 May 2009 (BST)