Forums
Teamfair Developer for all Hobby coders. :: Forums :: Programming and Protocol :: Protocol Talk :: NMDC Protocol
 
<< Previous thread | Next thread >>
Hublist Procedure
Moderators: NeiSep, Lumbo, b_w_johan, Rajeev
Author Post
NeiSep
Sat Dec 24 2005, 02:00PM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
Hub connect to hublist
Hublist sends: $Lock |
Hub answer on the $Lock and send:
$Key ?/%DCN005%/0??U||||||
Then hublist connection closes and registration done.
Back to top
b_w_johan
Sat Dec 24 2005, 05:23PM

Registered Member #7
Joined: Fri Jul 08 2005, 03:31PM
Posts: 154
its more like:
hublist sends: $Lock EXTENDEDPROTOCOLABCABC PK=hublistservername
hubsoft sends: $Key (formula on lock) hubname|hubaddres|hubdiscription|usercount|sharesize|

and then you have to write this to a file:


b_w_Johan's hublist|bwhubreg.no-ip.info:4999|To Register: bwhubreg.no-ip.info|1500|0|

b_w_Johan's hublist|bwhubreg.no-ip.info:4999|To View the NEW hublist change to http://bwhublist.no-ip.info/hublist.conf|1500|0|

(this should be called ****.conf)

or you should save like:

<?xml version="1.0" encoding="windows-1252" ?><Hublist Name="http://bwhublist.no-ip.info/hublist.xml hublist" Address="http://bwhublist.no-ip.info/hublist.xml">     <Hubs>        <Columns>              <Column Name="Name" Type="string" />              <Column Name="Address" Type="string" />              <Column Name="Description" Type="string" />              <Column Name="Users" Type="int" />              <Column Name="Country" Type="string" />              <Column Name="Shared" Type="bytes" />              <Column Name="Status" Type="string" />              <Column Name="Minshare" Type="bytes" />              <Column Name="Minslots" Type="int" />              <Column Name="Maxhubs" Type="int" />              <Column Name="Maxusers" Type="int" />              <Column Name="Reliability" Type="percent" />              <Column Name="Rating" Type="string" />              <Column Name="Port" Type="int" />          </Columns>          <Hub Name="scripters elite" Address="scripters-elite.no-ip.info:4999" Description="scripters only" Users="10" Country="netherlands" Status="Online" Minshare="0" Maxhubs="0" Maxusers="1000" Reliability="99" Rating="*****" Port="4999" />    </Hubs></Hublist>

(saved as ****.xml)
whatever fits you best haha

so enjoy making youre hublistserver
greetings Johan
[ Edited Sat Dec 24 2005, 11:24AM ]
Back to top
b_w_johan
Sat Dec 24 2005, 05:25PM

Registered Member #7
Joined: Fri Jul 08 2005, 03:31PM
Posts: 154
quick note i use the conf only the xml is there but is not auto updated =-p
Back to top
b_w_johan
Sat Dec 24 2005, 05:39PM

Registered Member #7
Joined: Fri Jul 08 2005, 03:31PM
Posts: 154
quick additional note
just add new lines below thisone:
not that you start to make like a complete copy just add new thins below and above
Back to top
NeiSep
Sat Dec 24 2005, 05:47PM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
o didn't see that part lol anyway your list doesn't look to good...
Back to top
b_w_johan
Mon Dec 26 2005, 08:14PM

Registered Member #7
Joined: Fri Jul 08 2005, 03:31PM
Posts: 154
what do you meen neisep ???
what list isn't looking good ?
Back to top
NeiSep
Mon Dec 26 2005, 10:06PM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
this hublist:

http://81.59.77.21/hublist.conf
Back to top
Rajeev
Tue Dec 27 2005, 04:26PM

Registered Member #47
Joined: Sat Dec 24 2005, 01:09AM
Posts: 41
hmm guys..

the lock shouldnt be EXTENDEDPRPTOOCLABCABC n all.. it can be anything u want...

As long as ur XorWith value is same as the other person..

U make a key using the Lock and XorWith value... if the XorWith value is different at both sides then u cant have the same key..

I found out that every hub uses the peer port which si mostly like 3535 and up.. (which changes often..)

So the XorWith value will be as follows:

XorWith := (port + (port shr 8));

My TamilHub List Server works good with every hub :)

And for my TamilHub Server i use 5 as value for XorWith cozz it seems the DC clients uses 5... but i prefer they uuse the peerport too which is easy and can be a standard :)

What else to say.. XML seems ot be a good idea but updating it will be shit if u dont have good control of the XML..

I'll See wher ei can upload ma HubList Server.. ahev to talk to neisep buddy hehe :D
Back to top
NeiSep
Tue Dec 27 2005, 04:40PM

Registered Member #1
Joined: Fri Jun 24 2005, 12:36AM
Posts: 161
well i do not know so much about to make a Lock and Key and i really need to work on that part alot more for sure..
Back to top
 

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.