-
Posts
22 -
Joined
-
Last visited
-
Days Won
1
Prever77 last won the day on May 19 2023
Prever77 had the most liked content!
Details
-
Gang
Bang
-
Location
2006 times
-
Occupation
Hecker. Exacly AEZAKMI
-
Interests
My friends mom
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Prever77's Achievements
Civilian (7/54)
1
Reputation
-
Prever77 changed their profile photo
-
Hi. i've came here with specific question. is it possible to convert Blue in any way to run with GTA 3 as DLL like regular MTA:SA? they are pretty the same games i guess. i know for sure that there can be difference in game functions and blue server must be modified etc etc. but is it possible? i wanted to start modifying MTA Blue in purpose of running it with GTA 3. so i started to think that it would be easiest if i find Blue 1.0. But oldest i found on GitHub repo was in version 1.4.7. And here comes second question. Is it good way of making it by starting with older versions of Blue? Also i don't know where to start and how MTA really works. if i understand right. it takes GTASA executable and forces it to things by injecting functions. but is it right i don't really know. if someone can help me, i'll be so thankfull. i really like playing GTA 3. don't get me wrong. SA is nice. but in my hearth only 3 Exist. and i wanted to make MTASA functionality in GTA3. i know that there are projects in this direction. but i'm not interested in 0.5r2 etc etc. to get all functionality of MTA to gta3 servers. i know C language. but i'm asking someone who knows better. before i jump to code and disappoint my self after realizing that it's not possible. Sorry for my english. it's not my native language.
-
I also wanted to make module to my server. But everything i found then was Example module code and MTA modules . On the internet there is not that much useful informations about coding modules in C++. Many example modules are soo old and outdated. For sure you need Lua liblary dll. And knowledge of MTA code that is here Mtasa-blue. I know that is not much. But it's better than nothing. I give up with coding modules. Maybe you have more luck keep going dude Edit1# down the rabbit whole Edit2# in pressent days. I don't see any sense of making modules. There is so much functionality in lua scripts provided by MTA. You can do many things faster by typing lua code, rather than making module from absolute zero. ofc this puts more load on the server. But it's a lot easier. Ofc this is only my personal opinion. If i'm wrong, then correct me someone.
-
Server Side Client Side ElementTree
-
If you are using Linux you can use easely linux API. If Mac or Windows. The easiest way is to use WEB tool https://luac.mtasa.com/. It compiles lua code, idk how about model files.
-
Ok. You can do it by three options. First is by defining cache in meta xml <file src="car.txd" chache="false" /> This will cause that models will be loaded only to dynamic memory (RAM) Nothing lands on hard drive. But every time client connects with server. He needs to download resource every time. If your hosting is so poor. And upload speeds are more like, communicating with voyager 1 . This will not pass the test. For example. Client 1 joined to server first time. He's speed connection is realy poor. He waited 20minutes to join the server. He loged out. And on the next day joined again. But this time he will wait 5minutes to download resource that he downloaded yesterday but not saved on HD. If server network speed condition will be same or worser than Clients 1. Then time will be doubled. Second way is to use fileDelete() This will do simmilar thing. But this can sometimes cause issues. To be honest, i used it once. And it makes things more complicated. Third way is to compile code. This can be useful in pair with xml cache. But only if you want to secure something very fragile on client side. Idk maybe you made hashing password system on client side. (Which is terrible idea) and you want to secure this script from being seen by third person.
-
By "Vehicle mod" you mean. Vehicle txd files ? btw links doesn't work
-
local con = dbConnect("mysql","dbname=<database name>;host=127.0.0.1","login","password","share=1") addEventHandler("onResourceStart",resourceRoot,check) local function check() if con then outputServerLog("[database] connected with server") dbQuery(con,'SET NAMES utf8;') else outputServerLog("[database] can't find connection point") end end function set(x) if x then dbExec(con,x) end end function get(y) if y then local rawtab = dbQuery(con,y) local tab = dbPoll(rawtab,200) return tab end end Now XML file <meta> <script src="sside.lua" /> <export function="set" type="server" /> <export function="get" type="server" /> </meta> I did not tested it. But it should work. But remember that you need to call functions get() and set() with exports like: function thatDoSomething() if something then exports['x-x']:get('your php code') --use this if your resource have a special characters or-- exports.xx.get() --this for resource without specialcharacters --ofc xx is name of your resource end end
-
Hi. I have came here with small question. I've made login panel. And everything works fine with standard sha256 function. But i want add salt to passwords and i have no idea how to do it.maybe someone of you can help. Thanks function etcetc(pass,log) --pass is string if log and pass then local passwd = sha256(pass+"salt") dbQuery(myBasePass,"INSERT etc etc.."passwd" ") end --i realy don't know what i'm doing xDD, maybe --it's time for sleep Edit1 Nevermind. Contagenation in lua is made by two dots operand. Small thing. And can take whole day.
-
Ok. I think that i understand now. So i can make new dimension by chosing id from range 2^16 and set weather,fog,colorfilter etc. of that dimension. Add elemenets etc etc. Thank you so much for help guys. I think this topic can be closed
-
So, just by finding empty dimension or dimension with few elements. I can destroy them and place new ones if i understand it right? Standard world dimension 0 have clouds and skybox. Is it possible to set dimensions sky by any way ? Just wondering on that, cause i wanna to make new island. And gray sky like british weather isn't something that i really need.
-
Hi. Is it possible to create new empty dimensions. If so. How i can do it. I cannot find anything usefull about this topic.
-
Everything you need is isVehicleBlown and DestroyElement and maybe few lines of code that moves vehicle to some sort of garage. Idk maybe something like this if isVehicleBlown(vehicle) == true then DestroyElement(vehicle) dbExec(pass,"UPDATE garage SET statusIn=1 or true") else return end end I didn't tested it. But it would be something like this if your cars are stored in MySQL database. You can close it in Timer for example or event
-
After few modification code works fine. Your PHP line helped a lot. Thanks I think topic can be closed
