Discussion board Search: 
Remember me Registration (Optional)
Forums -> General questions -> wipsdk parameters
Reply | New topic

silverhawk_184

Postings: 79
Old member
          
wipsdk parameters 19-06-2008 20:11
hey, can you decypher these parameters from UserPresenceChange for me?

-----------------------------------------------------------------
-----------------------------------------------------------------
in the form of: (parameter number). (value)

1. 8976892
2. 0
3. 446904
4. 0
5. 8963292
6. 3
7. 101 (with other functions)
8. 328056
9. 8947100
10. 0
11. 0
12. 0
13. 31
14. 8960852
15. 0
16. 0
17. 8960928
18. 0
19. 8960752
20. 8960928
21. 0
22. 24
23. 8960752
24. 12
25. 8960752
26. 4201743
27. 8976924
28. 4632272
29. 4661816
30. 0
31. 8961532

(the bold ones seem to be nonconstants)
Reply with quote

kreso

Postings: 1534
Administrator
          
Re: wipsdk parameters 19-06-2008 22:44
How did you get those values? I just tried, I get nice small values 1,5, etc..

Kreso
Reply with quote

silverhawk_184

Postings: 79
Old member
          
Re: wipsdk parameters 20-06-2008 05:43
make sure you set your status to "offline" before running the script

http://www.mediafire.com/?6cuct6ulml2
Code:

#persistent
COM_Init()
wipsdk := COM_CreateObject("Wippien.SDK")
pevent := COM_ConnectObject(wipsdk, "wipsdk_")
COM_Invoke(wipsdk,"myip")
msgbox please make sure you are offline before running the script
msgbox now go back online in order to change the status of all of your contacts
FileDelete wipsdk_output.txt
return

wipsdk_StatusChange(var1,var2,var3,var4,var5,var6,var7,var8,var9,var10,var11,var12,var13,var14,var15,var16,var17,var18,var19,var20,var21,var22,var23,var24,var25,var26,var27,var28,var29,var30,var31)
{
thetext =1.%var1% `n2.%var2% `n3.%var3% `n4.%var4% `n5.%var5% `n6.%var6% `n7.%var7% `n8.%var8% `n9.%var9% `n10.%var10% `n11.%var11% `n12.%var12% `n13.%var13% `n14.%var14% `n15.%var15% `n16.%var16% `n17.%var17% `n18.%var18% `n19.%var19% `n20.%var20% `n21.%var21% `n22.%var22% `n23.%var23% `n24.%var24% `n25.%var25% `n26.%var26% `n27.%var27% `n28.%var28% `n29.%var29% `n30.%var30% `n31.%var31% `n`n`n`n
FileAppend %thetext%, wipsdk_output.txt
SetTimer, displayall, -1000
}

displayall:
run wipsdk_output.txt
exitapp
return



you might need this library in order for it to work. i dont know. http://www.mediafire.com/?2ngyxlxt2sh
just stick it in a new folder named "Lib" (capital "L") that is in the same directory as the exe
Reply with quote

kreso

Postings: 1534
Administrator
          
Re: wipsdk parameters 20-06-2008 09:45
I've never seen code like that, but it doesn't look right. Where do you define event arguments?

Kreso
Reply with quote

silverhawk_184

Postings: 79
Old member
          
Re: wipsdk parameters 24-06-2008 20:23
can you pull and post all the parimeters of a function and post them?
Reply with quote

kreso

Postings: 1534
Administrator
          
Re: wipsdk parameters 24-06-2008 21:50
Sure, here are all of them:

Private Sub WipSDK_AccountCreated(ByVal ErrorText As String)

End Sub

Private Sub WipSDK_AuthRequest(ByVal JID As String)

End Sub

Private Sub WipSDK_Connected()

End Sub

Private Sub WipSDK_Disconnected(ByVal ErrorText As String)

End Sub

Private Sub WipSDK_IncomingMessage(ByVal JID As String, PlainText As String, HtmlText As String)

End Sub

Private Sub WipSDK_MediatorMessage(ByVal JID As String, Text As String)

End Sub

Private Sub WipSDK_StatusChange(ByVal OldStatus As Long, ByVal NewStatus As Long)

End Sub

Private Sub WipSDK_UserPresenceChange(ByVal JID As String, ByVal NewPresence As Long, ByVal OldPresence As Long)

End Sub

Private Sub WipSDK_UserVPNChange(ByVal JID As String, ByVal NewVPNState As Long, ByVal OldVPNState As Long)

End Sub
Reply with quote
 
contact
Kresimir Petric, Croatia
Sjenjak 121 | HR-31000 Osijek


email | support@wippien.com