Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - 2b2ttianxiu

#31
log: Fix gbk and utf-8 string encoding.
log: Version up to v1.0.1
#32
There is a new remote control plugin

Source Code:
https://github.com/tianxiu2b2t/VCMPAPISocket

Descripton:
  Using curl and easywsclient to handle the communication between the server and the client can provide developers with more development space, such as connecting to a Python-controlled server, transmitting player content, and so on.
This is a sample script(attachment): https://github.com/tianxiu2b2t/VCMPAPISocket/releases/v1.0.0

server.cfg:

vcmp_url https://xxxxxx.com:8192
vcmp_id (vcmp_id, you can generate a string for it)
vcmp_secret (vcmp_secret, you can generate a string for it)
vcmp_debug (vcmp_id, you can generate a string for it)

tip: WebSocket must not tls/ssl connection
Because easywsclient not support tls/ssl.

#33
Do u have discord? give me ur discord.
#34
I want to make a websocket to connect my master server

But I build has some error
about LNK2001 curl
#35
I tried download client version, but server responsed me:
If you found this url on the VC:MP forum as an alternative if the update server is down you should enter this URL in your VC:MP browser.<br/><br/>If you're here because you want to download the latest update when your browser fails to download it. See below!<br/>Version <a href="/files/build62A35348.7z">04rel006</a>: Latest version is 62A35348 compiled on 2022-06-10 04:06:20<br/>Version <a href="/files/build5B2FAF0E.7z">04rel005</a>: Latest version is 5B2FAF0E compiled on 2018-06-24 04:06:47<br/>Version <a href="/files/build5B2D7C82.7z">04rel004</a>: Latest version is 5B2D7C82 compiled on 2018-06-23 12:06:47<br/>Version <a href="/files/build571C093D.7z">04rel003</a>: Latest version is 571C093D compiled on 2016-04-24 01:04:46<br/>Version <a href="/files/build55986E38.7z">04rel002</a>: Latest version is 55986E38 compiled on 2015-07-05 01:07:37<br/>Version <a href="/files/build55986E30.7z">04rel001</a>: Latest version is 55986E30 compiled on 2015-07-05 01:07:37<br/>Version <a href="/files/build5432F2AD.7z">04rel000</a>: Latest version is 5432F2AD compiled on 2014-10-06 09:10:51<br/>Version <a href="/files/build5400CA70.7z">04pb402</a>: Latest version is 5400CA70 compiled on 2014-08-29 08:08:46<br/>Version <a href="/files/build53D23BCE.7z">04pb400</a>: Latest version is 53D23BCE compiled on 2014-07-25 01:07:13<br/>
What the hell this content?
#36
maybe launcher question. You can redownload and resetup it
#37
file
#38
I check the (Socket).SetConnFunc("xxx")

But it first call and second or more didn't call this function.

So I fixed it

(PS: The ping is magic. It somethings lower 200ms, somethings higher than 200ms or more! example: 673ms)
(I use python to test and my website can feel it lag(somethings).)
(I don't know why, maybe first author write code for bugs.)
(It only works on 32bits application)
#39
I have question. Do you change your content?

if maybe
please take your code to me
i need check it
#40
i mean use socket client to send a fake packet
#41
I want to make a fake client join the server make some bot to listen chat words.
like samp's bots.
#42
when newX, newY or newZ == 0, bool is false and the vehicle can move. but is so less problem
#43
in onPlayerRequestClass function.
use player.Spawn() thats all right, but u must create ur own select settings.
#44
u can try use me reload script code(not raw reload)
#45
Snippet Showroom / Re: A utils code
Sep 17, 2023, 06:54 PM
Quote from: PSL on Jul 02, 2023, 10:53 AMThanks for sharing some useful code, but
This is my code
    local arr=[1,6,2,78,123,1,23,2,5];
    local arr2=sort(arr);
    for(local i=0;i<arr2.len();i++) print(arr2[i]);

In the sort function, an error occurred on this line:
foreach (v in arr) if (!IsNum(v)) number = false
error is: AN ERROR HAS OCCURED [parameter 1 has an invalid type 'integer' ; expected: 'string']
old code, outdated, new utils code will be release