Pink Poogle Toy Forum

The official community of Pink Poogle Toy
Main Site
NeoDex
It is currently Thu Nov 07, 2024 10:34 pm

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 138 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  Next
Author Message
 Post subject:
PostPosted: Fri Jun 02, 2006 9:47 pm 
Newbie
Newbie
User avatar

Posts: 39
Joined: Fri Mar 31, 2006 1:23 pm
Location: Kirkland, WA
Spell Finder program source code (VB6), you need 1 text box, 1 web browser control, and one command button on the form. The text box stores the current spell id:


Private Sub Command1_Click()

Dim PostData As String
Dim Headers As String
Dim blnFound As Boolean
Dim strPageText As String
Dim strURL
Dim SpellArray(20) As String


Dim vPost As Variant
Dim vHeader As Variant
Dim startAt
Dim aByte() As byte

startAt = CLng(Me.Text1.Text)

SpellArray(1) = "A confused-looking Kadoatie appears out of thin air, then suddenly vanishes."
SpellArray(2) = "A horrible stench fills the room, and just as quickly vanishes."
SpellArray(3) = "A loud thumping sound reverberates through the halls."
SpellArray(4) = "A mystical howling echoes in the distance."
SpellArray(5) = "A thick cloud of dust appears from nowhere, sending you into a coughing fit."
SpellArray(6) = "A tiny storm cloud forms in the center of the room and rains for a few seconds."

SpellArray(7) = "It is pitch black. You are likely to be eaten by a Grue."

SpellArray(8 ) = "Lightning bolts shoot out from the walls! You barely avoid being incinerated."

SpellArray(9) = "Suddenly, everything appears upside-down to you."

SpellArray(10) = "The ghost of King Coltzan flies through the room!"
SpellArray(11) = "The lights go out for a moment, then flicker back to life."
SpellArray(12) = "The temperature in the room drops by forty degrees."
SpellArray(13) = "The room shakes, then all goes still."
SpellArray(14) = "The stone beneath your feet turns to mud."

SpellArray(15) = "You grow to ten times of one-tenth your normal size!"
SpellArray(16) = "You suddenly feel very dizzy."
SpellArray(17) = "Your hair catches on fire!"
SpellArray(18 ) = "Your pants disappear! Good thing you're alone."
SpellArray(19) = "Your personal gravity field suddenly reverses, and you find yourself standing on the ceiling for a few seconds, before crashing back to the floor."
SpellArray(20) = "Your skin cycles through a dozen random shades before settling back down to its normal colour."

For i = startAt To 52143

Me.Text1.Text = i

PostData = "goarch=YOUR_DATA_HERE&arcx=YOUR_DATA_HERE&arcy=
YOUR_DATA_HERE&read_book=YOUR_DATA_HERE&spell_id=" & i


' VB creates a Unicode string by default so we need to
' convert it back to Single byte character set.
'PostData = StrConv(PostData, vbFromUnicode)

Headers = "Content-Type: application/x-www-form-urlencoded" & _
vbCrLf & "Referer: http://www.neopets.com/altador/archives.phtml" & _
vbCrLf

vHeader = Headers

ReDim aByte(0) As Byte
PackBytes abyte(), PostData
vPost = abyte


10: Me.WebBrowser1.Navigate "http://www.neopets.com/altador/archives.phtml", 0, "", vPost, vHeader
While Not Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE
DoEvents
Wend

blnFound = False

For j = 1 To 20

If InStr(Me.WebBrowser1.Document.body.innerText, SpellArray(j)) Then

blnFound = True

End If

If Me.WebBrowser1.Document.body.innerText = "" Or InStr(Me.WebBrowser1.Document.body.innerText, "The page cannot be displayed") Then

blnFound = True
GoTo 10

End If

Next j

If blnFound = False Then

MsgBox "Spell ID: " & i

Exit For

End If

Next i

End Sub

Private Sub PackBytes(ByteArray() As Byte, ByVal PostData As String)
Dim iNewBytes As Integer
Dim iCursize As Integer
Dim i As Integer
Dim ch As String


iNewBytes = Len(PostData)
If iNewBytes = 0 Then
Exit Sub
End If
iCursize = UBound(ByteArray) - LBound(ByteArray)
ReDim Preserve ByteArray(iNewBytes + iCursize)
For i = 1 To iNewBytes
ch = Mid(PostData, i, 1)
If ch = Space(1) Then
ch = "+"
End If
ByteArray(i + iCursize - 1) = Asc(ch)
Next
End Sub

SNak Edit: Long Lines stretch the forum! Makes people sad! I italicized the line that was chopped up.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:48 pm 
PPT Student
PPT Student
User avatar

Posts: 261
Joined: Tue Apr 18, 2006 4:39 pm
Location: Riding in the "Heart of Gold"
Gender: Female
hammy1142mek wrote:
I was so sick of guessing rooms I walked away made a cheesecake hoping when I came back someone would have figured out a better way of doing it. And they did. Great job!


I hope you made enough for all of us (or at least for me too) :D

Anyway, thank everyone SOOOOO much. There are a lot of smart people here!!!! I would have been in that stupid archive forever!!!


Do you have your towel?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:48 pm 
Newbie
Newbie

Posts: 8
Joined: Thu Mar 30, 2006 7:09 pm
hammy1142mek wrote:
crashbash wrote:
hammy1142mek wrote:
crashbash wrote:
okay, so here are my co-ords for my sleeper const.

-166, -261
-126, -291
-86, -321
-46, -321
-6, -291
34, -261

so i get 464, 1746 =14,18, but everyone has multiples of 3 so the 14 is wrong, can someone help



its room 14,14 and its nor wrong if your using the write const. try it.


well i just went all through room 14, 14 and got nothing, so does anyone else have any ideas


I just realized your coords are wrong. see they either end with a 6 or a 1 and you have one that ends with a 4


no they're not. the numbers are starting from -166, you add 40, which is -126, and so on. -6 + 40 = 34.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:52 pm 
PPT God
PPT God

Posts: 1117
Joined: Wed Jun 09, 2004 1:11 pm
Location: Bigheadboy89 is I!
Okay so accordingto most of the people who helped me out my room is suppose to be 15, 12.... But I've looked at every book and no luck... Did I do something wrong? Ugh... This is so hard for those of us who are mathematicaly challenged >.<

Once again... My co-ords.

(-137, 28), (-97, -2), (-57, -32), (-17, -32), (23, -2), (63, 28)


President of the Sugarinii/Tasha fan club.
Sugarinii's soulmate... since 1991!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:53 pm 
Newbie
Newbie

Posts: 8
Joined: Thu Mar 30, 2006 7:09 pm
NeoPet_online wrote:
Okay so accordingto most of the people who helped me out my room is suppose to be 15, 12.... But I've looked at every book and no luck... Did I do something wrong? Ugh... This is so hard for those of us who are mathematicaly challenged >.<

Once again... My co-ords.

(-137, 28), (-97, -2), (-57, -32), (-17, -32), (23, -2), (63, 28)


i got 6, 12


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:56 pm 
Newbie
Newbie

Posts: 8
Joined: Thu Mar 16, 2006 11:34 pm
-253,-245
-243,-275
-173,-305
-133,-305
-93,-275
-53,-245

These are my friends coordinates, im not sure how to do the negative #'s, can someone please do the math for me


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:56 pm 
PPT Baby
PPT Baby
User avatar

Posts: 58
Joined: Fri Aug 27, 2004 11:44 am
celebutante wrote:
NeoPet_online wrote:
Okay so accordingto most of the people who helped me out my room is suppose to be 15, 12.... But I've looked at every book and no luck... Did I do something wrong? Ugh... This is so hard for those of us who are mathematicaly challenged >.<

Once again... My co-ords.

(-137, 28), (-97, -2), (-57, -32), (-17, -32), (23, -2), (63, 28)


i got 6, 12


I got 6, 3


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:57 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 213
Joined: Fri Jul 09, 2004 4:32 pm
Location: Connecticut
gsokrispy wrote:
-253,-245
-243,-275
-173,-305
-133,-305
-93,-275
-53,-245

These are my friends coordinates, im not sure how to do the negative #'s, can someone please do the math for me


try room 21,12


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:57 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 138
Joined: Tue Apr 04, 2006 5:02 pm
Location: Columbia, SC
spudge wrote:
Spell Finder program source code (VB6), you need 1 text box, 1 web browser control, and one command button on the form. The text box stores the current spell id:


So...What does it do? And how can we use it?


Image Feel free to take the siggy^


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:58 pm 
PPT Baby
PPT Baby
User avatar

Posts: 70
Joined: Tue Mar 28, 2006 1:34 pm
spudge wrote:
SpellArray(1) = "A confused-looking Kadoatie appears out of thin air, then suddenly vanishes."
SpellArray(2) = "A horrible stench fills the room, and just as quickly vanishes."
SpellArray(3) = "A loud thumping sound reverberates through the halls."
SpellArray(4) = "A mystical howling echoes in the distance."
SpellArray(5) = "A thick cloud of dust appears from nowhere, sending you into a coughing fit."
SpellArray(6) = "A tiny storm cloud forms in the center of the room and rains for a few seconds."

SpellArray(7) = "It is pitch black. You are likely to be eaten by a Grue."

SpellArray(8) = "Lightning bolts shoot out from the walls! You barely avoid being incinerated."

SpellArray(9) = "Suddenly, everything appears upside-down to you."

SpellArray(10) = "The ghost of King Coltzan flies through the room!"
SpellArray(11) = "The lights go out for a moment, then flicker back to life."
SpellArray(12) = "The temperature in the room drops by forty degrees."
SpellArray(13) = "The room shakes, then all goes still."
SpellArray(14) = "The stone beneath your feet turns to mud."

SpellArray(15) = "You grow to ten times of one-tenth your normal size!"
SpellArray(16) = "You suddenly feel very dizzy."
SpellArray(17) = "Your hair catches on fire!"
SpellArray(18) = "Your pants disappear! Good thing you're alone."
SpellArray(19) = "Your personal gravity field suddenly reverses, and you find yourself standing on the ceiling for a few seconds, before crashing back to the floor."
SpellArray(20) = "Your skin cycles through a dozen random shades before settling back down to its normal colour."


I didn't really feel like reading the whole thing, but does this mean that all outcomes for every number are... One of the same 20 lines? We've already gotten?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:59 pm 
PPT God
PPT God

Posts: 1117
Joined: Wed Jun 09, 2004 1:11 pm
Location: Bigheadboy89 is I!
celebutante wrote:
NeoPet_online wrote:
Okay so accordingto most of the people who helped me out my room is suppose to be 15, 12.... But I've looked at every book and no luck... Did I do something wrong? Ugh... This is so hard for those of us who are mathematicaly challenged >.<

Once again... My co-ords.

(-137, 28), (-97, -2), (-57, -32), (-17, -32), (23, -2), (63, 28)


i got 6, 12


I LOVE YOU!!!!!!!!!! MARRY ME!!!!! CELEBUTANTE FOR PREZ!!!!

AHH!! That was the hardest thing I've ever done on Neopets. THANK YOU!

Now off to getting spells!


President of the Sugarinii/Tasha fan club.
Sugarinii's soulmate... since 1991!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 9:59 pm 
PPT Student
PPT Student
User avatar

Posts: 370
Joined: Tue Jun 08, 2004 10:52 am
Location: In a world of my own...
NeoPet_online wrote:
Okay so accordingto most of the people who helped me out my room is suppose to be 15, 12.... But I've looked at every book and no luck... Did I do something wrong? Ugh... This is so hard for those of us who are mathematicaly challenged >.<

Once again... My co-ords.

(-137, 28 ), (-97, -2), (-57, -32), (-17, -32), (23, -2), (63, 28 )

I got 16,7 o_O


Image Set by DM - Thanks :)
If you would like Neopets Premium, PM me.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 10:00 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 213
Joined: Fri Jul 09, 2004 4:32 pm
Location: Connecticut
I don't think the spell book does anything yet. And to answer the other question. Every spell has twenty outcomes.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 10:00 pm 
PPT Toddler
PPT Toddler

Posts: 140
Joined: Tue Sep 20, 2005 2:02 pm
Location: LOST WAGES, NV~~~>Sin City
found my book, it was #28 on my shelves


"Take my love, take my land, take me where I cannot stand. I don't care, I'm still free, you can't take the sky from me."
Premium Invites Available - 11 Remaining


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 10:01 pm 
PPT Toddler
PPT Toddler
User avatar

Posts: 213
Joined: Fri Jul 09, 2004 4:32 pm
Location: Connecticut
StarryEyed502 wrote:
NeoPet_online wrote:
Okay so accordingto most of the people who helped me out my room is suppose to be 15, 12.... But I've looked at every book and no luck... Did I do something wrong? Ugh... This is so hard for those of us who are mathematicaly challenged >.<

Once again... My co-ords.

(-137, 28 ), (-97, -2), (-57, -32), (-17, -32), (23, -2), (63, 28 )

I got 16,7 o_O



I got 6,12


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 138 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 58 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group