HeavenIsLost / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Difficulties Retrieving the "Killed-by" Info. #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Accessing the i.Death in the Tibia.Website Class
2.
3.

What is the expected output? What do you see instead?

When i try to request the i.Death (After i have ".LookedUp" the player of
course. I only see the Date at which the player died. No information about
who the person died from. I just though when i casted an eye on the source
that maybe it's suppose to retrieve the name of who killed the person as well.

What version of the product are you using? On what operating system?

I just updated the SVN-version and tried it before i decided to write this.
(2.4.0.) [Date: Oct 31] 

OS: Windows XP (SP3) Fully updated.

Please provide any additional information below.

I dont use this code with the proxy or anything like that, the appliction
is only based on The Tibia.Website class and nothing else. 

SVN Source code: 

[CODE]i.Death = Match(html, @"<tr bgcolor=(?:#D4C0A1|#F1E0C6)><td
width=25%>(.*?)?</td><td>((?:Died|Killed) at Level ([^ ]*)|and) by
(?:<[^>]*>)?([^<]*)");[/CODE]

My Code: (Excluding the Lookup Request)
[CODE]
if (i.Death != "")
 {
    txtDeath.Text = i.Death;
 }
else
 {
    txtDeath.Text = "No Recent Deaths!";
 }
[/CODE]

Hope this helps.

Original issue reported on code.google.com by crille_l...@hotmail.com on 31 Oct 2008 at 3:26

GoogleCodeExporter commented 9 years ago
I will take a look at this later.

Original comment by brunodun...@gmail.com on 18 Dec 2008 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by ian320 on 18 Mar 2009 at 7:37

GoogleCodeExporter commented 9 years ago

Original comment by joebingham07@gmail.com on 10 Nov 2009 at 7:03

GoogleCodeExporter commented 9 years ago
Perhaps we should tie up any loose ends with the website reading and leave it as
simplistic as it is? This is not a necessity for TA.

Original comment by ian320 on 10 Nov 2009 at 2:40