Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Part of HTML missing
#1
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
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#2
Thank you, dear ItsModders, for such a fast and thoughtful help!
I fixed that myself, just tried another method of getting HTML. For some reason everything that had to do with webclients and webrequests ignored some parts of code. However, when I tried more simple way (just make a small not visible webbrowser, navigate it to page and then just read the browser code) - it worked.
THE THREAD IS ANNOUNCED CLOSED.
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#3
Inside your closed topic:
@surtek can help you with that, he have tried so many things on Battlelog.
Reply

#4
(08-02-2013, 10:59)TheRaZ Wrote: Inside your closed topic:
@surtek can help you with that, he have tried so many things on Battlelog.

Yes, but he is on vacation (hence no active moderators btw)
And also I solved it Tongue
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#5
(08-02-2013, 10:24)Arteq Wrote: Thank you, dear ItsModders, for such a fast and thoughtful help!
I fixed that myself, just tried another method of getting HTML. For some reason everything that had to do with webclients and webrequests ignored some parts of code. However, when I tried more simple way (just make a small not visible webbrowser, navigate it to page and then just read the browser code) - it worked.
THE THREAD IS ANNOUNCED CLOSED.

You can't expect someone with expertise on this subject to reply within 12 hours on a mostly dead forum. The sarcasm makes you look like a total retard right now.
[Image: MaEIQ.png]
Reply

#6
(08-02-2013, 17:51)Pozzuh Wrote:
(08-02-2013, 10:24)Arteq Wrote: Thank you, dear ItsModders, for such a fast and thoughtful help!
I fixed that myself, just tried another method of getting HTML. For some reason everything that had to do with webclients and webrequests ignored some parts of code. However, when I tried more simple way (just make a small not visible webbrowser, navigate it to page and then just read the browser code) - it worked.
THE THREAD IS ANNOUNCED CLOSED.

You can't expect someone with expertise on this subject to reply within 12 hours on a mostly dead forum. The sarcasm makes you look like a total retard right now.

Well I wanted a fast answer because I knew I could solve it myself in next 24 hours, I just wanted to get the solution asap. Also I don't have any alternatives to itsmods - tell me where to go? I have no clue, maybe you do.
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#7
Stackoverflow?
[Image: MaEIQ.png]
Reply

#8
(08-02-2013, 18:28)Pozzuh Wrote: Stackoverflow?

it takes long time for someone to answer your question
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#9
(08-02-2013, 20:22)Arteq Wrote:
(08-02-2013, 18:28)Pozzuh Wrote: Stackoverflow?

it takes long time for someone to answer your question

Nope....i get answers in 15mins>

Sent from my E16i using Tapatalk 2
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Sad www.itsmods.com/forum/Thread-Ultimate-Mossy-v9.html download file, how the install? Selo1234 2 3,070 08-13-2012, 15:36
Last Post: SuperNovaAO
  Missing Case Statement Xzite 5 3,691 05-05-2012, 17:06
Last Post: Rendflex
  [Tutorial] Basics of C++ - Part 1 aosma8 12 67,391 01-25-2012, 12:20
Last Post: aosma8
  quantum levitation part 2 Pozzuh 1 1,824 10-26-2011, 22:27
Last Post: 4FunPlayin
  [Tutorial] Basic MW2 Memory Hacking: Part 2 Yamato 2 5,144 10-10-2011, 12:37
Last Post: marsjee
  Aosma8's Fans Attention (aosma8 irl: part 4) 4FunPlayin 1 1,956 09-13-2011, 12:55
Last Post: aosma8
  Aosma8 irl part 3: singing friday 4FunPlayin 8 4,710 08-31-2011, 00:06
Last Post: aosma8
  [Tutorial] Basic MW2 Memory Hacking: Part 1 Yamato 2 5,230 08-19-2011, 19:18
Last Post: d0h!
  COD: Black Ops The Hidden Perks Part 2 JariZ 9 10,830 08-09-2011, 10:17
Last Post: JariZ
  [Request] Can someone explain missing assets? koil 3 2,789 07-25-2011, 11:11
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.