Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 15/06/17 in all areas

  1. بسم الله الرحمن الرحيم .. سلام عليكم ورحمة الله وبركاته انا سويت سيرفر في برنامج ديسكورد والسيرفر ذا متخصص في مساعدة الاكواد القصيرة والمساعدة السريعة طبعاً انت بتقول وش ذا الديسكورد ؟ طبعاً الديسكورد هو برنامج تواصل اجتماعي ينافس التيم سبيك ويمكن طرح الاكواد بكل سهولة ويسر كمثال : مميزات الدسكورد : سهولة التواصل , سهولة طرح الاكواد , بأمكانية برمجة بوتات مجانية داخل السيرفر الخاص بك طريقة دخول الدسكورد + وكتابة الاكواد + وارسال روابط الفنكشنات بسهولة ؟ الرابط دخول السيرفر : https://discord.gg/BdmJyNm السيرفر يدعم اغلب لغات البرمجة بشكل عام ويهدف لمساعدة الجميع دون استثناء أي المساعد والي بينظم مساعد في السيرفر يكتب تعليق تحت هالموضوع ويكتب مشارك .. بشرطين ": خبرة برمجية متوسطة , يكون داخل السيرفر في الختام ماهو مجبور عليك تدخل السيرفر هذا سيرفر يساعد في تطوير المبرمجين وتحسين البرمجة اتمنى تدخلو السيرفر وسلام عليكم
    3 points
  2. How retarded you should be to blame programming language
    2 points
  3. If your server is not showing, we know about this tutorial here that will usually help you out: https://forum.multitheftauto.com/topic/41659-is-your-server-not-showing-in-the-server-browser/ - please make sure to read and try it before continuing to read this topic. Sometimes it can happen the given first solutions will not work. If you cannot solve it at all, here are some last options that you can try as a last resort to fix your server's listing. (always first try the above information on that topic) * Make sure you checked the basic requirements of running an server accepting connections to exclude the possibility that it depends on the server/network issues: Check if your ports are open and functioning. If you need help on forwarding ports for your server, check here for your router/modem model-specific instructions: http://portforward.com/, and if neccesary supplement it with this guide: https://forum.multitheftauto.com/topic/115141-guide-port-forwarding-in-order-to-run-a-mta-server/ To ensure you have the right ports accessible for the config you're running (the ports you have set), open the server console and type: ''openports''. Firewall settings, if its an Windows server: allow/whitelist MTA Server.exe, both incoming and outgoing traffic. For windows: Make sure you aren't running the Server from locations that could give file/directory Permission issues, for example, like directly from C:/ or your Windows disk. Sounds unlikely, but if you have edited mtaserver.conf because you wanted to tweak settings, make sure ASE (server browser) is enabled: 1 -1- [Enabled, essential for your server listing] Last resort: * If all solutions provided in the basic topic (https://forum.multitheftauto.com/viewtopic.php?f=114&t=48868) and here above doesn't seem to help, then do this: Go to your client's Program Files > MTA San Andreas 1.3 > MTA > delete the file ''servercache.xml'' Check if your server shows up now, after launching MTA and letting the server browser load. After 24 hours or directly, if everything is okay, it'll appear now. If it doesn't, something is wrong with the server or its connection and you should check other options (forwarding, firewall settings and such). For that, refer to the first part of this guide. * Server still not listed? Make sure you checked everything that could be causing it. Open the spoiler before for a last-resort checklist. Make sure to only use this guide here incase the Tutorial for solving basic server listing problems didn't work and you cannot find another way. * Besides https://nightly.multitheftauto.com/ports/, there is another option to check if your server is broadcasting Server query listings, add the server on http://game-state.com and if it accepts the listing, and shows your server's details, it indicates that your listing is functional from the query ports already. If that's the case, then first try only deleting your client's servercache.xml as instruced in this guide, and checking again, before attempting any other solutions.
    1 point
  4. First thing to do is check here: https://nightly.multitheftauto.com/ports/ (Make sure you type in the correct game port) If you don't get 3 green ticks, fix that first. Otherwise: 1) Is this a new server? Then wait 6 hours 2) Have you changed your IP recently? a) See (1) above b) Some popular servers have tag protection which means your new IP might not work with the browser search. (Go to irc.gtanet.com #mta and ask for Dave) 3) Are you doing anything naughty? There are certain automatic protections against naughty servers. Check all your resources for files that might inconvenience players. Wait 24 hours after removing naughty files for your server to be re-listed. 4) Have you set the <serverip> setting in mtaserver.conf ? The <serverip> setting should be set to auto in mtaserver.conf 5) Are you hosting the server on your local PC or local network (LAN) ? For you only, the server will appear in 'Local' tab (not the 'Internet' tab) Everyone else will see it in the 'Internet' tab. Also, the server IP will be different for you. (Local private IP, not public 'internet' IP). Everyone else will use the public 'internet' IP. If nothing listed here works, then you could try reading: https://forum.multitheftauto.com/topic/64400-server-not-showing-last-options-here/
    1 point
  5. Automatic compile your whole resource. Do what you want with it, but keep the formal credits. Don't forget that compiling isn't just for protection, it was also meant for optimization! Version for universal resource compiler: (NEW) resourceCompiler/meta.xml <meta> <info author="IIYAMA" type="script" name="Resource compiler" version="1.3.0" /> <script src="scripts/compiler_s.lua" /> <export function="compileResource" type="server"/> <aclrequest> <right name="function.fetchRemote" access="true" /> <right name="general.ModifyOtherObjects" access="true" /> </aclrequest> </meta> resourceCompiler/scripts/compiler_s.lua ------------------ -- by IIYAMA -- function compileResource (player, resourceName) if hasObjectPermissionTo ( player, "function.shutdown", false ) and getResourceFromName ( resourceName ) then if not hasObjectPermissionTo ( getThisResource (), "function.fetchRemote", false ) then outputChatBox(" ", player) outputChatBox("Require fetchRemote to compiling this resource!", player, 255, 0, 0) outputChatBox(" ", player) else local meta = xmlLoadFile(":" .. resourceName .. "/meta.xml") if meta then local folderName = "compiled/".. resourceName --.. "_compiled" local newMeta = xmlCopyFile(meta, folderName .. "/meta.xml") if newMeta then local metaNotes = xmlNodeGetChildren(meta) for i=1, #metaNotes do local metaNote = metaNotes[i] local scriptName = xmlNodeGetAttribute(metaNote, "src") if not scriptName or not string.match(scriptName, "compiler.lua") then if xmlNodeGetName(metaNote) == "script" then if scriptName and scriptName ~= "" then local FROM = ":" .. resourceName .. "/" .. scriptName local TO = folderName .. "/" .. scriptName .. "c" local scriptFile = fileOpen(FROM) fetchRemote( "https://luac.multitheftauto.com/?compile=1&debug=0&obfuscate=2", function(data) local newscriptFile = fileCreate ( TO ) if newscriptFile then fileWrite(newscriptFile, data) fileFlush(newscriptFile) fileClose(newscriptFile) end end, fileRead(scriptFile, fileGetSize ( scriptFile )) , true )--fileLoad(FROM) --https://luac.multitheftauto.com/api/ fileClose(scriptFile) end else local fileName = xmlNodeGetAttribute(metaNote, "src") if fileName then fileCopy (":" .. resourceName .. "/" .. fileName, folderName .. "/" .. fileName, true ) end end end end local newMetaNotes = xmlNodeGetChildren(newMeta) for i=1, #newMetaNotes do local newMetaNote = newMetaNotes[i] if xmlNodeGetName(newMetaNote) == "script" then local scriptName = xmlNodeGetAttribute(newMetaNote, "src") if not string.match(scriptName, "compiler.lua") then if scriptName and scriptName ~= "" then xmlNodeSetAttribute ( newMetaNote, "src", scriptName .. "c" ) end else xmlDestroyNode(newMetaNote) end end end xmlSaveFile(newMeta) xmlUnloadFile(newMeta) end xmlUnloadFile(meta) outputChatBox("Compiling done!", player, 0, 200, 0) end end end return true end addCommandHandler("compile", function (player, commandName, resourceName ) compileResource (player, resourceName) end) Installation: Put everything inside the folder resourceCompiler. (see file path for file name and sub folders) Use the commando: /refresh Give the resource the required rights(login as admin before you use this commando): /aclrequest allow resourceCompiler all This commando will give the resource all the rights that are defined in the meta.xml. (those are required to make the resource work) Rights: Usage: /compile [resourceName] There is an export function you can use. Now you are ready to go! Don't forget to leave a like! EXCLUDED (but can be included) Do you want to compile resources it in your admin panel as well? That would be nice right? (This source code is only on request because I do not want to be responsible for releasing a version of admin panel. My credits isn't on it as well) Like this post + send me a PM to get a look at the adminpanel adjustments! A PM with just: 'yes I want this!' is enough! Installation: Usage: Version for compiling inside the same resource: (OLD, but still useful)
    1 point
  6. Hi, Today I found that on steam there is GTA:SA for MacOS / OSX so i decided to write this topic. Can you compile MTA source code for MacOS also?
    1 point
  7. Well im presenting a new dx library today it includes the following: Windows createWindow( id, x, y, w, h, color, text) Tabs createTab(id,x,y,w,h,text,active,parent,bord) bord = if u want the tab to be boredered Edits createEdit(id, x, y, w, h, text, parent) Checks createCheckBox(id,x,y,text,active,parent) Buttons createButton(id,x,y,w,h,text,parent,color,colorh) and there is some more things u can edit by using the class ex button = createButton(...) button.color = {0,0,0,255} thats all for now on TODO LIST: Gridlists (99.999999999%) download link? https://community.multitheftauto.com/in ... s&id=13635
    1 point
  8. actually i wouldn't recommend this library if u want to create a server use this one its much better
    1 point
  9. 1 point
  10. I'm glad to see how far things got with this... Love the new functions. Keep up the good work @thisdp
    1 point
  11. Você pode substituir a textura padrão da arma por uma invisível, e posicionar diferentes objetos (substituído por mods de armas) na mão do personagem quando ele estiver utilizando tal id de arma. Aqui um exemplo +/-: (Quando vc pega a mp5 ele cria uma bazuca, ai vc atira balas de mp5 usando uma bazuca :D) O resto vai da imaginação, da para mudar o som da arma, o efeito da bala e tals... (Sim, com gambiarra vc pode criar novas armas)
    1 point
  12. Good question but sadly no. I'll be free next week so I guess, I'll have to fix it then.
    1 point
  13. مشكور اخي سوكيننج نجت مشكور يا غالي و مشكور للكن اقدم تحياتي #Master_MTA #_iMr.[E]coo #MR.StoRm #iMr.WiFi..! #Soking
    1 point
  14. مافي حل إخواني ؟ وتسلمون على كل شيئ يا أحبائي نجت مشكور يا غالي و مشكورللكن اقدم تحياتي #Master_MTA #_iMr.[E]coo #MR.StoRm #iMr.WiFi..!
    1 point
  15. عمرك لا تفهم , الرجال معطيك الكود جاهز وانت مو فاهم الله اكبر !
    1 point
  16. أتوقع مسوي كوماند ممنوع تستخدمه لانه مخصوص للأصحاب اللعبة تأكد اك مش مسوي كوماند بهذول "check", "list" or "test"
    1 point
×
×
  • Create New...