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

#1
maybe launcher question. You can redownload and resetup it
#3
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)
#4
I have question. Do you change your content?

if maybe
please take your code to me
i need check it
#5
i mean use socket client to send a fake packet
#6
I want to make a fake client join the server make some bot to listen chat words.
like samp's bots.
#7
when newX, newY or newZ == 0, bool is false and the vehicle can move. but is so less problem
#8
in onPlayerRequestClass function.
use player.Spawn() thats all right, but u must create ur own select settings.
#9
u can try use me reload script code(not raw reload)
#10
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
#11
a custom load and execute commad function, likely minecraft command system.
#12
can share stream code?

#13
Quote from: Mohamed Boubekri on Aug 14, 2023, 11:24 AM
Quote from: 2b2ttianxiu on Feb 01, 2023, 08:00 AMfunction errorHandling(err) {
 local stackInfos = getstackinfos(2);
 if (stackInfos) {
  local locals = "";
  foreach (index, value in stackInfos.locals) {
                locals = locals + "[" + index + ": " + type(value) + "] " + value + "\n";
        }
 local callStacks = "";
 local level = 2;
 do {
  callStacks += "*FUNCTION [" + stackInfos.func + "()] " + stackInfos.src + " line [" + stackInfos.line + "]\n";
  level++;
 } while ((stackInfos = getstackinfos(level)));
 local errorMsg = "AN ERROR HAS OCCURRED [" + err + "]\n";
 errorMsg += "\nCALLSTACK\n";
 errorMsg += callStacks;
 errorMsg += "\nLOCALS\n";
 errorMsg += locals;
        foreach (i, msg in split(errorMsg, "\n")) print(msg)
        }
}
seterrorhandler(errorHandling);[/quote]

Hey @2b2ttianxiu, how i can use that function ? i don't understand where do i will place it, or how i will mention it.

Put it in main script
#14
Support / Vehicle Health
Aug 12, 2023, 11:53 AM
I want to make the vehicle lost a litte hp, but set after, client maybe different and then same.
I tryed the use vehicle.Health but. it handle onVehicleHealthChange again.
#15
bad CNNative