PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: dragos_sto on 27 May, 2005, 01:08:30

Title: other littel error solve
Post by: dragos_sto on 27 May, 2005, 01:08:30
i hope to not be other error
line
local s,e,userIP,r = string.find(data, "$Search%s+([^$]*):([^$]+)")
change whit
local s,e,userIP,r = string.find(data, "$Search%s+([^$]*):(.*)")
reason :
when some users CONNECT WHIT STRONG DC++ hub return the message "msg"  if the settings are correctly
Title:
Post by: TTB on 27 May, 2005, 02:11:43
??
Title:
Post by: bastya_elvtars on 27 May, 2005, 02:16:29
QuoteOriginally posted by TTB
??

Same here.
Title:
Post by: dragos_sto on 27 May, 2005, 08:16:01
ttb , i dont know why when a strongdc++ client , zdc++  .
when make a search, the line code local s,e,userIP,r = string.find(data, "$Search%s+([^$]*):([^$]+)") should be return the ip of user ,
but i dont know why , from strongdc client  dont work
and de userIP it something like this  10.48.11.245:2000 F?T?0?9?TTH
I dont understand why dont separate  the userIP from rest of the data based on letter " : "


any suggestions
Title:
Post by: dragos_sto on 27 May, 2005, 08:20:00
ops i make an big mistake , this Thread shol be here (http://board.univ-angers.fr//thread.php?threadid=4496&boardid=26&styleid=1&sid=815d651aca5f8a082bc9b729d0706e90)
this Thread it close