Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


SWF Update help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Sat Feb 16, 2008 9:29 pm    Post subject: SWF Update help Reply with quote

Vb6:

I need help, say dragonfable was http://dragonfable.battleon.com/game/gamefiles/core.swf?strFileName=game6_08.swf
and it updated to game6_10.swf, i want the shockwaveflash component to update with all users with the trainer

_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Feb 17, 2008 6:58 am    Post subject: Reply with quote

Just make an input box so people can put their own version in if it's updated
_________________
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sun Feb 17, 2008 8:06 am    Post subject: Reply with quote

I'm also interested in this.
How can i make an auto updater?.
Can't u just get the swf url from the website or something?
u could use inet to get the source right?

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
i__h4x
Grandmaster Cheater Supreme
Reputation: 0

Joined: 09 Jun 2007
Posts: 1005
Location: i__<3's__wpe

PostPosted: Sun Feb 17, 2008 9:38 am    Post subject: Reply with quote

Dim source As String = ""
wb.Navigate("http://dragonfable.battleon.com/game/")
MsgBox(wb.IsBusy)
source = wb.DocumentText
Dim startpos As Integer = InStr(source, "FLASHVARS=" & ControlChars.Quote & "strFileName") + 22
If startpos = 0 Or source = "" Then Exit Sub
source = source.Remove(0, startpos)
Dim endpos As Integer = InStr(source, "bgcolor=" & ControlChars.Quote & "#530000") - 3
source = source.Remove(endpos, source.Length - endpos)
MsgBox("http://dragonfable.battleon.com/game/gamefiles/core.swf?strFileName=" & source)


Done in .net, but shouldnt be hard to change.
You just need a web browser control in order to view the source, then this chops out the relevant bit. Its not well coded, i was in a rush, but there you go, it should do the trick

_________________
Mes'a back!
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sun Feb 17, 2008 9:57 am    Post subject: Reply with quote

i__h4x wrote:
Dim source As String = ""
wb.Navigate("http://dragonfable.battleon.com/game/")
MsgBox(wb.IsBusy)
source = wb.DocumentText
Dim startpos As Integer = InStr(source, "FLASHVARS=" & ControlChars.Quote & "strFileName") + 22
If startpos = 0 Or source = "" Then Exit Sub
source = source.Remove(0, startpos)
Dim endpos As Integer = InStr(source, "bgcolor=" & ControlChars.Quote & "#530000") - 3
source = source.Remove(endpos, source.Length - endpos)
MsgBox("http://dragonfable.battleon.com/game/gamefiles/core.swf?strFileName=" & source)


Done in .net, but shouldnt be hard to change.
You just need a web browser control in order to view the source, then this chops out the relevant bit. Its not well coded, i was in a rush, but there you go, it should do the trick

Thanks.
Code:
Sorry, but you will have to wait 43108 seconds before you can give rep

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Sun Feb 17, 2008 1:13 pm    Post subject: Reply with quote

i__h4x wrote:
Dim source As String = ""
wb.Navigate("http://dragonfable.battleon.com/game/")
MsgBox(wb.IsBusy)
source = wb.DocumentText
Dim startpos As Integer = InStr(source, "FLASHVARS=" & ControlChars.Quote & "strFileName") + 22
If startpos = 0 Or source = "" Then Exit Sub
source = source.Remove(0, startpos)
Dim endpos As Integer = InStr(source, "bgcolor=" & ControlChars.Quote & "#530000") - 3
source = source.Remove(endpos, source.Length - endpos)
MsgBox("http://dragonfable.battleon.com/game/gamefiles/core.swf?strFileName=" & source)


Done in .net, but shouldnt be hard to change.
You just need a web browser control in order to view the source, then this chops out the relevant bit. Its not well coded, i was in a rush, but there you go, it should do the trick


Gah, doesn't work tried all i can to change it, you should put it in ur swfloader so nobody gets problems

_________________
Back to top
View user's profile Send private message
i__h4x
Grandmaster Cheater Supreme
Reputation: 0

Joined: 09 Jun 2007
Posts: 1005
Location: i__<3's__wpe

PostPosted: Sun Feb 17, 2008 2:25 pm    Post subject: Reply with quote

What is the dll for the web browser control?
_________________
Mes'a back!
Back to top
View user's profile Send private message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Sun Feb 17, 2008 2:27 pm    Post subject: Reply with quote

microsoft internet controls 6.0 (its an .ocx)
_________________
Back to top
View user's profile Send private message
i__h4x
Grandmaster Cheater Supreme
Reputation: 0

Joined: 09 Jun 2007
Posts: 1005
Location: i__<3's__wpe

PostPosted: Sun Feb 17, 2008 2:54 pm    Post subject: Reply with quote

Private Sub CommandButton1_Click()
Dim source As String
source = Inet1.OpenURL("http://dragonfable.battleon.com/game/")
Dim startpos As Long
startpos = InStr(source, "FLASHVARS=" & Chr(34) & "strFileName") + 23
Dim endpos As Integer
endpos = InStr(source, "bgcolor=" & Chr(34) & "#530000") - 3
source = Mid(source, startpos, endpos - startpos + 1)
MsgBox (source)
End Sub

Microsoft Internet Transfer Control
MSINET.OCX

_________________
Mes'a back!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites