Jump to content

dugasz1

Members
  • Posts

    285
  • Joined

  • Last visited

1 Follower

Details

  • Location
    Hungary
  • Interests
    Lua, C#, C/C++, Android

Recent Profile Visitors

2,398 profile views

dugasz1's Achievements

Pee-Wee

Pee-Wee (21/54)

8

Reputation

  1. dugasz1

    HTTPS

    Hello guys! I have two short question. Can fetchRemote handle secure connection? Can browser handle secure connection?
  2. dugasz1

    Client arguments

    Thanks. I forget to write from cmd Oh never mind i found a solution. (Use explorer.exe to resolve it: explorer.exe mtasa://46.105.54.130:22003)
  3. dugasz1

    Client arguments

    Hello guys. Can i start the client with an ip as an argument to auto connect to that?
  4. Hello. Ilyet nem tudsz csak úgy, hogy valamit átírsz egy XML fájlban. Csak VPN-nel oldható ez meg, mivel az IP címed kell megváltoztatni ehhez.
  5. dugasz1

    External HTTP server

    function greeting( ) -- body end addCommandHandler("g", greeting) That's wierd it returns with the first version of the file. I guess the cloudfornt doesn't synced the data. I tried with only the bucket link https://s3.eu-central-1.amazonaws.com/testmtabucket/resources and it worked fine. How MTA resoulve DNS? Because it almost works in my browser it downloads the almost latest (without the last modofication you writed) with the cloudfront DNS too but MTA downloads the oldest? Found the reason. CloudFront not the best in updating existing file. Link Thank you for your help !
  6. dugasz1

    External HTTP server

    I fired up a nginx server to test it. It works fine with that. Can i turn on some debug to see more information about it? How MTA check that the file match? MD5?
  7. dugasz1

    External HTTP server

    Do you mean MTA San Andreas 1.5\mods\deathmatch\resources under client cache? I did these steps and the same error occures. My servers spawn resource: https://imgur.com/HjGYluO The bucket: https://imgur.com/9emUhE6 In the server config: <httpdownloadurl>d1izvzwg6uq9e2.cloudfront.net</httpdownloadurl> I'm duing this on Windows 10 don't know is it matter. The content-type is looks fine too. https://imgur.com/VfSMy0v
  8. dugasz1

    External HTTP server

    d1izvzwg6uq9e2.cloudfront.net But it's redirects.
  9. dugasz1

    External HTTP server

    It's just a local server on my machine. But i read your comment somewhere about different line ending, so i checked i compired the binary and i didn't see any difference. But here's the file on my machine: Drive link And here is the link for the S3 bucket: Bucket
  10. Hi guys! I just tried out the external http file download stuff. And i constantly get: DIAGNOSTIC: [N'C]dugasz1 #1011 External HTTP file mismatch (Retrying this file with internal HTTP) [spawn\spawn_c.lua] But they are the same. I'm using AWS CloudFront. So, i don't know is it the server even find it? Maybe the redirections mess things up? I added ContentType: application/octet-stream and i checked it with chrome and postman and it is there. So any idea?
  11. Oh the name is redirect and i don't find it. Don't know how i manage it Thanks
  12. Hi guys! Is it possible to redirect a user? So can i command his/her client that leave my server and join to this ip?
  13. A személyes okodra voltak kiváncsi nem arra, hogy miért szokott általánosságba hirdetni az ember
  14. dugasz1

    loadstring

    Thank you (and Arezu ) it clear things up. So an envirement is kindy a scope. (I don't need to worry about the security the loaded script will be my scripts but at least i know more)
  15. dugasz1

    loadstring

    I used the performancebrowser online interface. Maybe because of that. How can i open it ingame? I don't really get setfenv(0,newENV). Can you please explane it for me? Kindy get how Lua's environments work but what is this 0 means: "As a special case, when f is 0 setfenv changes the environment of the running thread. In this case, setfenv returns no values." Why is it good? What is it for?
×
×
  • Create New...