Jump to content

CrosRoad95

Members
  • Posts

    138
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by CrosRoad95

  1. that been 5 years ago, do now it is possible ?
  2. I want to hook gta function into mta, but i dont know how can i skip function and continue function. here's my code but crashing game. https://github.com/CrosRoad95/mtasa-blue/commit/ed7443f0c1a25316a23ad732b5d251fbc260dfe1 can someone explain me how can i do this? void __cdecl CWorld::RemoveFallenPeds() offset 0x565CB0
  3. - place random object from category, example random tree, random rock, random bush etc. with option random rotation - move multiple objects at once - support for water, colzones, occolusion zones, custom models - save in various methods, as .map, .lua, .sql, compress file ( example: dont set interior=0 if by default interior = 0, dont set posX = 123.0000005 ) - simple permission system, example provilages to: edit, create, destroy, save, load, map settings - upgrade remove world object, now, some object are impossible to remove ( if you click but nothing you clicked, then script find nearest 10 world objects and show you in list ) - import map to current map which able to marge multiple maps into one, and export part of map into separated files ( example you can export all object which in colshape )
  4. bitwise operators goto statement more metamethods new function table.move new function string.pack new function string.unpack new function string.packsize this is only few
  5. Not change to lua 5.3, but trying copy stuff from lua 5.3
  6. This topic was considered many times, mta team said that "this can break already existed scripts" but there can be option to change version of lua, by default: 5.1
  7. Hi, i'm writing becose i was developer of over a dozen servers and now i still develop yet another server. I know lua very well and i sometimes see walls which was placed by mta team, mostly for scripting: Enable disabled functions ( mainly: `require` ) Files and dirs, listing them, read/write binary, edit files from directories above resources Importing script from other resource ( something like c++ `include` ) Exporting classes, I can create server with 1 big resource but this make no sens Sandboxes like sub-resource, few functions which allow to make your own resource system. Extended modules api ( more events, example for editing resource while loading ( possible macros ) ), allow to load clientside modules ( example module with custom animations @saml1er ) if user agree. ( yes, user can be stupid and agree to install ransomware ¯\_(ツ)_/¯ ) This options could be enabled by secret setting in mtaserver.conf. Hosting providers can easly disable this like `maxslots` now. If someone install resources from others people ( or don't checking them ) them he has problem. This isn't argument to not doing this.
  8. Custom animations are in progress! https://github.com/saml1er/mtasa-blue/tree/custom_ifp_animations Thanks Saml1er
  9. i mean protect my resources after sold in order to someone don't give that resource anyone else until meta.xml isn't compiled, i can crack EVERY resource on the internet i can modify meta.xml and add script which overwrite all security functions function addDebugHook()end function fetchRemote() return true end function checkResourceLicense() return true end
  10. i'm writing because in mta there is impossible to make safe shop with resources, to improve this, mta team should implements one of my example solution or come up with your own, better ones. Resource as `executable file` - lua.mtasa.com should allow to pack every script with meta into 1 file `myResource.mtaexe` which is recognize as normal resource but you cant add your own code before/after resource start. You can't overwrite my functions, you can't change meta.xml. If you want to use files. Also tag <file> should receive attribute `checksum` to verify external files. This executable file could be simple obfuscated .zip file. function `restoreOriginalFunction( functionName )` - this function resource original function, but if you have N lua script, then for each script this function will be overwritten, currently example function `outputChatBox` is registered once per resource and other script can overwrite them in other file. This function allow to protect other functions before overwriting For both should be added function to disable addDebugHook for this resource.
  11. https://forum.multitheftauto.com/topic/91160-what-are-you-hoping-to-do-with-fastman92s-limit-adjuster/
  12. https://github.com/multitheftauto/mtasa-blue/blob/b2227c359092ce530cdf9727466b88bec8282cd0/Server/mods/deathmatch/logic/CColPolygon.cpp#L25 this should be as standalone function, isPointInPolygon(x,y,x1,y1,x2,y2,x3,y3,...) -- return true or false
  13. in mtaserver.conf or in meta.xml i doesn't metter,
  14. server can have optional config like <lua_version>5.1</lua_version> by default 5.1 Back compatibility confirmed
  15. https://bugs.multitheftauto.com/view.php?id=9718
  16. why .obj and .mtl? becose it are text files. i can do function which move selected vertex to other position 348957349857398573x easier than dff & col function like convertOBJtoCOL(input,output) and convertOBJtoDFF(input,output) and convertMTLtoTXD(input,output) allow to make blender/3ds max/z moddeler in mta <3
  17. CrosRoad95

    question

    How can i make somethink like this? function add(c,d) c=c+d end a=5 add(a,5) print(a) -- print 10
  18. Nice! But this could be optional example: <script src="main.hv" type="client" language="Hexe" />
  19. i said " destroy own server" not "hack client/players" like web browser, server can ask player "do you agree to load XYZ website".
  20. Some advanced functions and addons could be optional, easy to block by hosting. If someone like to destroy own server - no problem. I said that milion times.
  21. Hi. How can i protect my script ageinst thieves? compliling script are good but is any better solution? What can i do if someone hack my server, got admin, destroy all etc.? I heard that hacker can got global ban. How can i prove and report this people?
  22. Ważność Kod Opis Projekt Plik Wiersz Stan pominięcia Błąd RC1015 cannot open include file 'afxres.h'. Client Launcher D:\mtab\mtasa-blue-master\Client\launch\GDFImp.rc 17 Błąd RC1015 cannot open include file 'afxres.h'. Client Core D:\mtab\mtasa-blue-master\Client\core\core.rc 11 Błąd RC1015 cannot open include file 'afxres.h'. Loader D:\mtab\mtasa-blue-master\Client\loader\loader.rc 10 but server working ^,^, how fix this libs? i try install but still not working ;/
  23. no, only server when i try full solution, then 39 erors Ważność Kod Opis Projekt Plik Wiersz Stan pominięciaBłąd TRK0005 Failed to locate: "CL.exe". No special file found. pthread D:\mtab\mtasa-blue-master\Build\TRACKER 1
  24. https://wiki.multitheftauto.com/wiki/Compiling_MTASA where is "DownloadMicrosoft Visual Studio 2017 (Community Edition is free)." so, i download it. I try at 2015
×
×
  • Create New...