Forum

> > CS2D > Scripts > Reqhttp have a big Bug!!
Forums overviewCS2D overview Scripts overviewLog in to reply

English Reqhttp have a big Bug!!

3 replies
To the start Previous 1 Next To the start

old Reqhttp have a big Bug!!

TobyInChina
User Off Offline

Quote
If Reqhttp is used too many times, it will always fail.
Like This:

If Reqhttp gets the data successful,
It returns |CNBS公告|
if fail ,It returns ‘连接CNBS服务器网络错误’

Look My Log:
01/10/18 22:59:28 连接CNBS服务器网络错误
01/10/18 23:00:28 连接CNBS服务器网络错误
01/10/18 23:01:28 连接CNBS服务器网络错误
01/10/18 23:02:28 连接CNBS服务器网络错误
01/10/18 23:03:28 连接CNBS服务器网络错误
01/10/18 23:04:28 连接CNBS服务器网络错误
01/10/18 23:10:51 |CNBS公告|CNBS系统正在监视您的行为,请勿作弊!
01/10/18 23:11:45 连接CNBS服务器网络错误
01/10/18 23:12:44 连接CNBS服务器网络错误
01/10/18 23:13:44 连接CNBS服务器网络错误
01/10/18 23:14:44 连接CNBS服务器网络错误
01/10/18 23:15:44 连接CNBS服务器网络错误
01/10/18 23:16:44 连接CNBS服务器网络错误
01/10/18 23:17:44 连接CNBS服务器网络错误
01/10/18 23:18:44 连接CNBS服务器网络错误
01/10/18 23:19:44 连接CNBS服务器网络错误
01/10/18 23:20:44 连接CNBS服务器网络错误
01/10/18 23:21:44 连接CNBS服务器网络错误

Always Fail ,Why?It really a big bug.

old Re: Reqhttp have a big Bug!!

Starkkz
Moderator Off Offline

Quote
@user TobyInChina: Unlike UDP, TCP protocol does a 3-way handshake. Which means the connecting process is slower.

CS2D's Reqhttp uses TCP sockets for that, and you're using it the wrong way.

old Re: Reqhttp have a big Bug!!

SQ
Moderator Off Offline

Quote
Also there is a limit of bandwidth using Lua sockets. Doing this many requests it just breaks.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview