Forums
Teamfair Developer for all Hobby coders. :: Forums :: Programming and Protocol :: Protocol Talk :: NMDC Protocol
 
<< Previous thread | Next thread >>
Hublist Pinger
Go to page       >>  
Moderators: NeiSep, Lumbo, b_w_johan, Rajeev
Author Post
b_w_johan
Fri Aug 04 2006, 12:23PM

Registered Member #7
Joined: Fri Jul 08 2005, 03:31PM
Posts: 154
pinger makes socket connection to hubsoft address wich should be in the database.

hub: $Lock (lock) PK=(hubname)|
ping: $Supports BotINFO|
ping: $Key (generated key matching lock)|
ping: $ValidateNick {Hublispinger}|
hub: $HubName (some name)|
hub: (MOTD/uptime)
ping: $BotINFO (botname - website - hublistname - whatever data you want don't know if there is a max)
hub: $HubINFO (NAME)$(address)$(description)$(maxusers)$(i thought sharesize)$(slots)$(max hubs)$(hubname)$(email hubowner)|


well thats all folks.
b_w_johan

-- edited, its not Info but INFO :)

[ Edited Sat Jan 27 2007, 11:19PM ]
Back to top
NeiSep
Fri Aug 04 2006, 01:07PM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
im unsure how YnHub react on that $Supports BotINFO.
i know that YnHub and PtokaX doesn't react the same at all totaly different on pinger login.
There should be a normal protocol for the pinger to access a hub a STANDARD thats what i mean.
Back to top
b_w_johan
Fri Aug 04 2006, 01:55PM

Registered Member #7
Joined: Fri Jul 08 2005, 03:31PM
Posts: 154
it is standart, if you don't send $Support BotINFO youre not able to login ..

but i think i know what you meen
ptokax uses QuickList so login procedure goes little different and this pinger is ran by me and no problems yet with ynhub..
Back to top
NeiSep
Fri Aug 04 2006, 07:24PM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
i don't think that is standard but hmm...
Back to top
aleksone
Wed Jan 24 2007, 07:21PM
Registered Member #98
Joined: Thu Dec 07 2006, 09:58PM
Posts: 12
pinger makes socket connection to hubsoft address wich should be in the database.

hub: $Lock (lock) PK=(hubname)|
ping: $Supports Botinfo|
ping: $Key (generated key matching lock)|
ping: $ValidateNick {Hublispinger}|
hub: $HubName (some name)|
hub: (MOTD/uptime)
ping: $BotInfo (botname - website - hublistname - whatever data you want don't know if there is a max)
hub: $Hubinfo (NAME)$(address)$(description)$(maxusers)$(i thought sharesize)$(slots)$(max hubs)$(hubname)$(email hubowner)|


well thats all folks.
b_w_johan



Thath dose not work i get from ynhub onli a line wiht $Suports in it.
Back to top
NeiSep
Thu Jan 25 2007, 09:29AM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
what do you get then or what happens ?
Back to top
aleksone
Thu Jan 25 2007, 01:03PM
Registered Member #98
Joined: Thu Dec 07 2006, 09:58PM
Posts: 12
If InStr(DataLock, "$Lock") Then
Pinger.Send("$Supports Botinfo|")
Pinger.Send("$Key " & Lock2Key(DataLock))
Pinger.Send("$ValidateNick " & pnick.Text)

End If
If InStr(DataLock, "$HubName") Then

Pinger.Send("$BotInfo " & pnick.Text & " AksHublist")
End If
If InStr(DataLock, "$HubINFO") Then



and i don't get respons from the hub with $HubName just an $Supports NoHello NoGetINFO UserIP2 BotInfo Feed MCTo |


[ Edited Thu Jan 25 2007, 01:09PM ]
Back to top
NeiSep
Thu Jan 25 2007, 07:03PM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
oa hmm i think this area is b_w_johan he knows that todo i gone see if i can get in contact with him and see if he can help you.
by the way test serveral ways flip eveything and so on.
Back to top
aleksone
Thu Jan 25 2007, 10:12PM
Registered Member #98
Joined: Thu Dec 07 2006, 09:58PM
Posts: 12
i realy don't know whats wrong but i tink when i send the $Supports command the hub sends "$Supports NoHello NoGetINFO UserIP2 BotInfo Feed MCTo |" and i send the key and it stops i don't know but maybe this is the way the pinger should work

H->C $Lock
C->H $Key
C->H $ValidateNick
H->C $HubName
C->H $Supports BotINFO
H->C $Supports (things the hub supports)
C->H $BotINFO
H->C $HubINFO

this way it may work I tink i didn't try thath yet but i will

[ Edited Thu Jan 25 2007, 10:13PM ]
Back to top
b_w_johan
Sat Jan 27 2007, 11:13PM

Registered Member #7
Joined: Fri Jul 08 2005, 03:31PM
Posts: 154
aleksone wrote ...


If InStr(DataLock, "$HubName") Then

Pinger.Send("$BotInfo " & pnick.Text & " AksHublist")
End If
If InStr(DataLock, "$HubINFO") Then




2 errors here as i see now,

you don't react on $Hubname, but on $Hello

and its not BotInfo
but BotINFO

:)

now im gonna read rest of discussion

ok looks like this is the problem, its not solved as far as i can read and NeiSep didn't notice it :P

-- not that i think its not importand, but im gonna remoe some part of the i can program in this language :P keep the opics clean :)

[ Edited Sat Jan 27 2007, 11:14PM ]
Back to top
Go to page       >>   

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
This site is powered by e107, which is released under the terms of the GNU GPL License.