Return to Unfiction unforum
 a.r.g.b.b 
FAQ FAQ   Search Search 
 
Welcome!
New users, PLEASE read these forum guidelines. New posters, SEARCH before posting and read these rules before posting your killer new campaign. New players may also wish to peruse the ARG Player Tutorial.

All users must abide by the Terms of Service.
Website Restoration Project
This archiving project is a collaboration between Unfiction and Sean Stacey (SpaceBass), Brian Enigma (BrianEnigma), and Laura E. Hall (lehall) with
the Center for Immersive Arts.
Announcements
This is a static snapshot of the
Unfiction forums, as of
July 23, 2017.
This site is intended as an archive to chronicle the history of Alternate Reality Games.
 
The time now is Sat Nov 16, 2024 2:18 pm
All times are UTC - 4 (DST in action)
View posts in this forum since last visit
View unanswered posts in this forum
Calendar
 Forum index » Archive » Archive: General » GAME: Our Colony
update notification
View previous topicView next topic
Page 1 of 3 [34 Posts]   Goto page: 1, 2, 3 Next
Author Message
danielgary
Boot

Joined: 16 Dec 2004
Posts: 15

update notification

if anyone is interested, i wrote a quick program to refresh the website every 15 seconds. if there is a change, it sends a message to my cell phone to alert me. anyone else want an alert sent to an email or anything? if so, give me an email address and I will add yours to the list.


-daniel

PostPosted: Thu May 05, 2005 1:15 pm
 View user's profile
 Back to top 
Hova092
Unfettered


Joined: 14 Apr 2005
Posts: 304
Location: Zanzabar...RAILING UR MOM!

how do we know this is true....u could be scamming...
_________________
www.welovebees.com
The Beekeepers colony- 83774237


PostPosted: Thu May 05, 2005 1:20 pm
 View user's profile Visit poster's website AIM Address MSN Messenger
 Back to top 
danielgary
Boot

Joined: 16 Dec 2004
Posts: 15

haha...i guess thats true. but whatever....well, here, heres proof i guess...


Code:

Private Sub Command1_Click()
WebBrowser1.Navigate (Text1.Text)

End Sub

Private Sub Command2_Click()
Timer1.Enabled = Not Timer1.Enabled

End Sub

Private Sub Form_Load()
oldHTML = "FIRST"
Timer1.Enabled = False
WebBrowser1.Navigate ("http://www.ourcolony.net")

End Sub

Private Sub Timer1_Timer()
oldHTML = WebBrowser1.Document.documentElement.innerHTML

WebBrowser1.Refresh2
Dim newHTML As String
newHTML = WebBrowser1.Document.documentElement.innerHTML
If (oldHTML <> newHTML) Then
    If (Winsock1.State <> 0) Then Winsock1.Close
   
   
    Winsock1.Connect
   
    While Winsock1.State <> 7
    DoEvents
    Wend
    'MsgBox "Winsock: Host(" & Winsock1.RemoteHost & "[" & Winsock1.RemotePort & "])" & vbTab & "Status: " & Winsock1.State
   
    Dim TmpMsg As String
    TmpMsg = TmpMsg & "HELO ourcolony.alertSPLATdc.com" & vbCrLf
    TmpMsg = TmpMsg & "MAIL FROM: ourcolony.alertSPLATdc.com" & vbCrLf
    TmpMsg = TmpMsg & "RCPT TO: EMAILADDY" & vbCrLf
    TmpMsg = TmpMsg & "DATA" & vbCrLf
    TmpMsg = TmpMsg & "Subject: UPDATE!" & vbCrLf
    TmpMsg = TmpMsg & "Ourcolony has been updated" & vbCrLf
    TmpMsg = TmpMsg & "." & vbCrLf
    TmpMsg = TmpMsg & "QUIT"
    Winsock1.SendData TmpMsg
    DoEvents
   
    Winsock1.Close
    '    MsgBox "Trying to send email"
 End If



End Sub



that would be the source for the vb project....

PostPosted: Thu May 05, 2005 1:21 pm
 View user's profile
 Back to top 
Hova092
Unfettered


Joined: 14 Apr 2005
Posts: 304
Location: Zanzabar...RAILING UR MOM!

welll then count me in...i guess...i'll pm u with my email...
_________________
www.welovebees.com
The Beekeepers colony- 83774237


PostPosted: Thu May 05, 2005 1:30 pm
 View user's profile Visit poster's website AIM Address MSN Messenger
 Back to top 
Nola
Unfettered


Joined: 27 Jul 2004
Posts: 675

Good work colonist. How do you figure out there's a change? Just curious.

PostPosted: Thu May 05, 2005 1:42 pm
 View user's profile
 Back to top 
danielgary
Boot

Joined: 16 Dec 2004
Posts: 15

compare the source for the site to the one just previous to the refresh. i was worried about the timer, but it doesnt show up in the source, so it doesnt change.

PostPosted: Thu May 05, 2005 2:29 pm
 View user's profile
 Back to top 
Steve
Boot

Joined: 03 May 2005
Posts: 29

Shouldn't you navigate to the team page, rather than the main page?

PostPosted: Thu May 05, 2005 3:05 pm
 View user's profile
 Back to top 
danielgary
Boot

Joined: 16 Dec 2004
Posts: 15

it does the team page


which was a bit of a problem really, since it uses cookies to stay logged in, so i ended up having to use an internetbrowser control and actually have the page open.


works like a charm. i tested it on some other sites, and i have also checked to make sure that it does indeed send out emails.


oh, and if you were referring to the "WebBrowser1.navigate "http://www.ourcolony.net" line, that is under the Form_Load function, which only gets called when the application begins running. then i navigate to the team page, login, click a button, and wait for an update.

again, if anyone else would like updates, let me know

-daniel

PostPosted: Thu May 05, 2005 3:27 pm
 View user's profile
 Back to top 
Nola
Unfettered


Joined: 27 Jul 2004
Posts: 675

OK, I'm in. You have PM.

PostPosted: Thu May 05, 2005 4:03 pm
 View user's profile
 Back to top 
Steven
Guest


You can subscribe me... steven[dot]cooreman[SPLAT]gmail.com if you like, I can give you an gmail account for your job.

PostPosted: Thu May 05, 2005 4:24 pm
 Back to top 
danielgary
Boot

Joined: 16 Dec 2004
Posts: 15

did anyone recieve a test message? i might be having problems with multiple recipients. please let me know if you DID recieve a test message if you signed up.


thanks,

daniel

PostPosted: Thu May 05, 2005 5:00 pm
 View user's profile
 Back to top 
Nola
Unfettered


Joined: 27 Jul 2004
Posts: 675

I got the test message.

One question: What colony will the updates be based on?

PostPosted: Thu May 05, 2005 5:01 pm
 View user's profile
 Back to top 
danielgary
Boot

Joined: 16 Dec 2004
Posts: 15

they are based on yay...

i suppose if you would like to run one for another team, thats possible too. i could send someone the app

PostPosted: Thu May 05, 2005 5:06 pm
 View user's profile
 Back to top 
danielgary
Boot

Joined: 16 Dec 2004
Posts: 15

im kind of hoping for an update sometime today so i could KNOW it works on the site...

PostPosted: Thu May 05, 2005 5:13 pm
 View user's profile
 Back to top 
Hova092
Unfettered


Joined: 14 Apr 2005
Posts: 304
Location: Zanzabar...RAILING UR MOM!

u got my PM
_________________
www.welovebees.com
The Beekeepers colony- 83774237


PostPosted: Thu May 05, 2005 5:41 pm
 View user's profile Visit poster's website AIM Address MSN Messenger
 Back to top 
Display posts from previous:   Sort by:   
Page 1 of 3 [34 Posts]   Goto page: 1, 2, 3 Next
View previous topicView next topic
 Forum index » Archive » Archive: General » GAME: Our Colony
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
You cannot post calendar events in this forum



Powered by phpBB © 2001, 2005 phpBB Group