Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 4 comments
Open

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

GoogleCodeExporter opened this issue Mar 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 31 Oct 2008 at 3:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant