Facebook Twitter gPlus rss LinkedIn
  • Board index
  • FAQ
  • Register
  • Login
  • BACK TO HUBLIST
FORUM.DCHUBLIST.ORG
Hublist support board for Direct Connect.

ADC regserver - duplicates.

Regarding dchublist.org service only!

Moderators: Derek, The Crow

Post a reply
2 posts • Page 1 of 1
  • Reply with quote

ADC regserver - duplicates.

by akruk » Sun May 31, 2026 4:11 pm

Adding /kp to hostname (latest eney)
using same database table was a bad idea.

1.Now we have lua-regserver parsing hub's hostname without kp(as is should) and dumping json.

2.Script gets that json on timer and does checks then injects data to db.

2.Pinger pings provided host and adds kp(changing host table in db). (eney release feature)

3.Scripts gets json after some time and injects hub again as host seems different (no keypring lool).

Fix:
Approach one: Split hostname table into 2 hostname and kp (edit scripts).

Approach two (best): Have a regserver get kp and have it attached to hostname in json. Zero coding on hublist side.

Approach three: Delete json file right after parsing.Easiest.

If someone has a better idea post. And pls fix this.
W A R N I N G !
My sense of humor may hurt your feelings.
User avatar
akruk
 
Posts: 18
Joined: Tue Oct 30, 2018 6:16 pm
  • Private message

  • Reply with quote

Re: ADC regserver - duplicates.

by Derek » Sun May 31, 2026 7:03 pm

Confirmed.
It will take time to figure out efficient solution.
Temp fix - delete the json after parsing.

Script should have a better host check simple if exist - dont insert.
I will take care of this sometime.
User avatar
Derek
 
Posts: 41
Joined: Mon Mar 28, 2016 1:44 pm
  • Private message


Post a reply
2 posts • Page 1 of 1

Return to ASK YOUR QUESTIONS, POST BUG REPORTS HERE!

  • Board index
  • The team • Delete all board cookies • All times are UTC - 5 hours

Preset Styles

Select variation:

Main Menu

User Menu

  • FAQ
  • Members
  • Register
  • Login

Login

Who is online

Users browsing this forum: No registered users and 0 guests

Our Team:

ADMIN AKRUK DEREK ESENTIAL
THE CROW DELION CYBERGHOST404
 

HTTPS://DCHUBLIST.ORG
© 2020 MULTIPROTOCOL DC HUBLIST
 
admin@dchublist.org
 

View new posts

  • Re: ADC regserver - duplicates. by Derek
  • Re: ADC regserver geolocation data partially missing in db. by Derek
  • ADC regserver - duplicates. by akruk
  • ADC regserver geolocation data partially missing in db. by akruk
  • ADC hublist registration server. by Admin
  • Re: Plans for ADC Regserver? by Aybo
  • LUADCH NG by Boro
  • Re: Plans for ADC Regserver? by Boro
Reset
  • HUBLIST HOME
  • HUB LIST
  • HUB STATS
  • NEW HUBS