https://open.mp logo
Join DiscordCommunities
Powered by
# general
  • a

    able-spring-37783

    03/16/2023, 12:08 PM
    @busy-arm-75131 and sampfuncs support this version
  • b

    busy-arm-75131

    03/16/2023, 12:08 PM
    no
  • b

    blue-piano-5315

    03/16/2023, 12:08 PM
    sampfuncs -> hacks probably
  • b

    busy-arm-75131

    03/16/2023, 12:08 PM
    sampfuncs only support R1 iirc
  • b

    blue-piano-5315

    03/16/2023, 12:08 PM
    yes, R1
  • p

    powerful-noon-83514

    03/16/2023, 12:08 PM
    So? Yes, many applications (old ones) use them together. SQL is just another language that helps to communicate/do transactions in relational database. PHP provides an interface to it. Like every other language.
  • p

    prehistoric-airport-78826

    03/16/2023, 12:08 PM
    most probably
  • g

    gentle-london-6993

    03/16/2023, 12:09 PM
    Copy code
    c
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <string.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <netdb.h>
    
    void error(const char *msg) { perror(msg); exit(0); }
    
    int main(int argc,char *argv[]) {
        int portno =        80;
        char *host =        "api.url.com";
        char *message_fmt = "POST /apikey=%s&command=%s HTTP/1.0\r\n\r\n";
    
        struct hostent *server;
        struct sockaddr_in serv_addr;
        int sockfd, bytes, sent, received, total;
        char message[1024],response[4096];
    
        if (argc < 3) { puts("Parameters: <apikey> <command>"); exit(0); }
        sprintf(message,message_fmt,argv[1],argv[2]);
        printf("Request:\n%s\n",message);
        sockfd = socket(AF_INET, SOCK_STREAM, 0);
        if (sockfd < 0) error("ERROR opening socket");
        server = gethostbyname(host);
        if (server == NULL) error("ERROR, no such host");
        memset(&serv_addr, 0, sizeof(serv_addr));
        serv_addr.sin_family = AF_INET;
        serv_addr.sin_port = htons(portno);
        memcpy(&serv_addr.sin_addr.s_addr,server->h_addr,server->h_length);
        if (connect(sockfd,(struct sockaddr *)&serv_addr,sizeof(serv_addr)) < 0)
            error("ERROR connecting");
        total = strlen(message);
        sent = 0;
        do {
            bytes = write(sockfd,message+sent,total-sent);
            if (bytes < 0)
                error("ERROR writing message to socket");
            if (bytes == 0)
                break;
            sent+=bytes;
        } while (sent < total);
        memset(response,0,sizeof(response));
        total = sizeof(response)-1;
        received = 0;
        do {
            bytes = read(sockfd,response+received,total-received);
            if (bytes < 0)
                error("ERROR reading response from socket");
            if (bytes == 0)
                break;
            received+=bytes;
        } while (received < total);
        if (received == total)
            error("ERROR storing complete response from socket");
        close(sockfd);
        printf("Response:\n%s\n",response);
    
        return 0;
    }
  • a

    able-spring-37783

    03/16/2023, 12:09 PM
    I need version support aimbot
  • b

    blue-piano-5315

    03/16/2023, 12:09 PM
    no
  • a

    able-spring-37783

    03/16/2023, 12:09 PM
    R5 support aimbot
  • b

    blue-piano-5315

    03/16/2023, 12:09 PM
    we wont give you support for hacks.
  • a

    able-spring-37783

    03/16/2023, 12:09 PM
    ?
  • p

    prehistoric-airport-78826

    03/16/2023, 12:09 PM
    xdddddddddddddddddddddddddddddddddddddddd
  • g

    gentle-london-6993

    03/16/2023, 12:09 PM
    That's a C HTTP simple post request
  • g

    gentle-london-6993

    03/16/2023, 12:09 PM
    That you can't answer
  • p

    prehistoric-airport-78826

    03/16/2023, 12:09 PM
    if thats how you do a post request
  • b

    busy-arm-75131

    03/16/2023, 12:09 PM
    let me guess, chatGPT?
  • p

    prehistoric-airport-78826

    03/16/2023, 12:09 PM
    you better
  • p

    prehistoric-airport-78826

    03/16/2023, 12:09 PM
    switch jobs my friend
  • p

    prehistoric-airport-78826

    03/16/2023, 12:09 PM
    go collect oranges in the trees
  • p

    prehistoric-airport-78826

    03/16/2023, 12:10 PM
    and stop coding
  • g

    gentle-london-6993

    03/16/2023, 12:10 PM
    No, i not written the full code of course, i get it from stack overflow, but it worths anyway
  • b

    busy-arm-75131

    03/16/2023, 12:10 PM
    that explains everything
  • b

    blue-piano-5315

    03/16/2023, 12:10 PM
    bro thats a legit good paying job
  • p

    powerful-noon-83514

    03/16/2023, 12:10 PM
    Lmfao
  • p

    prehistoric-airport-78826

    03/16/2023, 12:10 PM
    yes it is
  • g

    gentle-london-6993

    03/16/2023, 12:10 PM
    But anyway, at least I have the honesty to say it
  • b

    blue-piano-5315

    03/16/2023, 12:10 PM
    at least here, picking apples etc. actually gives crazy money
  • p

    prehistoric-airport-78826

    03/16/2023, 12:10 PM
    so if he doesnt know how to code he can work there
1...389233892438925...40089Latest