08-01-2013, 21:57
I am making a tool for BF3, long story what it does. For now all I need it to do is just get the URL of battlelog page of server the user is currently playing on. What I did is made a webclient go to users page in origin and there is a line saying "Nukem on BLAH BLAH MAYHEM SERVER"
Gmahn: So I need to get that server link from HTML page
Gmahn: in chrome it is ALWAYS on line 888
[00:38:20] Artem Kuzin: in textbox where I was storing code I found it around 570-580 lines
[00:38:30] Artem Kuzin: and the weirdest thing is that it goes kinda like
[00:38:33] Artem Kuzin: A
B
C
[00:38:37] Artem Kuzin: where B is what I need
[00:38:41] Artem Kuzin: so I found A and C
[00:38:51] Artem Kuzin: and then manually, by line, searched between them
[00:38:54] Artem Kuzin: and there is NOTHING
[00:38:59] Artem Kuzin: it is just
A
C
[00:39:03] Artem Kuzin: without B
[00:39:10] Artem Kuzin: LITERALLY empty space
okay being more specific
[00:42:30] Artem Kuzin: line 584
[00:42:42] Artem Kuzin: is A
[00:42:50] Artem Kuzin: then line 585 is C
[00:43:14] Artem Kuzin: inbetween them there is supposed to be B. and not just one but whole 12 lines are missing
[00:43:27] Artem Kuzin: and that explains why I couldnt do it the automatic way - I couldnt find the line
[00:43:33] Artem Kuzin: simply because IT WAS NOT THERE
[00:43:43] Artem Kuzin: but whyy?
[00:44:01] Artem Kuzin: I can see it if I check source of page manually from my laptop from the same account the app uses
Gmahn: So I need to get that server link from HTML page
Gmahn: in chrome it is ALWAYS on line 888
[00:38:20] Artem Kuzin: in textbox where I was storing code I found it around 570-580 lines
[00:38:30] Artem Kuzin: and the weirdest thing is that it goes kinda like
[00:38:33] Artem Kuzin: A
B
C
[00:38:37] Artem Kuzin: where B is what I need
[00:38:41] Artem Kuzin: so I found A and C
[00:38:51] Artem Kuzin: and then manually, by line, searched between them
[00:38:54] Artem Kuzin: and there is NOTHING
[00:38:59] Artem Kuzin: it is just
A
C
[00:39:03] Artem Kuzin: without B
[00:39:10] Artem Kuzin: LITERALLY empty space
okay being more specific
[00:42:30] Artem Kuzin: line 584
[00:42:42] Artem Kuzin: is A
[00:42:50] Artem Kuzin: then line 585 is C
[00:43:14] Artem Kuzin: inbetween them there is supposed to be B. and not just one but whole 12 lines are missing
[00:43:27] Artem Kuzin: and that explains why I couldnt do it the automatic way - I couldnt find the line
[00:43:33] Artem Kuzin: simply because IT WAS NOT THERE
[00:43:43] Artem Kuzin: but whyy?
[00:44:01] Artem Kuzin: I can see it if I check source of page manually from my laptop from the same account the app uses