Jump to content

Syntrax#

Members
  • Posts

    269
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Syntrax#

  1. Syntrax#

    PHP SDK

    Topic can be locked, solved the problem
  2. Syntrax#

    PHP SDK

    After further debugging i've narrowed the problem to this single line Old version $response = $mta->getResource('SAFGdb')->call("verifyLogin",$playerUsername, $playerPassword); new version that works but does not trigger the resource call("verifyLogin",$playerUsername, $playerPassword);
  3. Syntrax#

    PHP SDK

    Hello, I´m creating a function that verifies the player that tries to login on the forum by checking the ingame account details. But the problem is the line that is being used to communicate between the php file and the server. $response = $mta->getResource('SAFGdb')->call('verifyLogin', $playerUsername, $playerPassword) Whenever i add this line the page throws an error 500
  4. Does it throw any errors in Debugscript?
  5. Might help if you paste your code here, can't see what you did with the code itself. seeing the error code i see that you are missing an end within function detachTrailer function detachTrailer(theTruck) if trailers[trailer] == false then --detachTrailerFromVehicle(theTruck, source) --detach the newly attached trailer -- Immediate detatchment of the trailer through cancel event or this method doesn't seem to work so requires a timer: setTimer(detachTrailer2, 50, 1, theTruck, source) end end addEventHandler("onTrailerAttach", getRootElement(), detachTrailer)
  6. Use a table to recognize if the key has been pressed to attach the trailer. if it is pressed it will allow it to attach. If it isnt attached it will detach the trailer. -- just a table trailers = {} -- use this when creating the trailer trailer = createVehicle ( int model, float x, float y, float z) trailers[player] = false -- use this when you press the key trailers[source] = true function detachTrailer(theTruck) if trailers[trailer] == false then --detachTrailerFromVehicle(theTruck, source) --detach the newly attached trailer -- Immediate detatchment of the trailer through cancel event or this method doesn't seem to work so requires a timer: setTimer(detachTrailer2, 50, 1, theTruck, source) end addEventHandler("onTrailerAttach", getRootElement(), detachTrailer) function detachTrailer2(theTruck, trailer) if (isElement(theTruck) and isElement(trailer)) then detachTrailerFromVehicle(theTruck, trailer) end end
  7. Just showing the resource, or is there a problem?
  8. Nvm fixed it, thank you for the help. didn't need to get texture pixels as it already was like that. Topic can be closed
  9. texture = dxCreateTexture(pixels) newpixels = dxGetTexturePixels(texture) encoded = "data:image/png;base64,"..base64Encode(newpixels).."" executeBrowserJavascript(webBrowser, "document.getElementById('orghomelogo').src='"..encoded.."';document.getElementById('homename').innerHTML = '" .. gangname .. "'") return Still nothing, it does not create the image ingame. Also not getting any error messages
  10. Hello community, So i'm working on a user interface and have come up with a problem. I wanted to use profile images without having to download it. I've managed to get it by converting the image on https://www.base64-image.de/ . Now was the question if it is possible without having to use the website so the player can just insert a .png file texture = dxCreateTexture(pixels) encoded = base64Encode(texture) executeBrowserJavascript(webBrowser, "document.getElementById('orghomelogo').src='"..encoded.."';document.getElementById('homename').innerHTML = '" .. gangname .. "'") return
  11. Syntrax#

    HTML script

    https://wiki.multitheftauto.com/wiki/CEF_Tutorial Use this to start off with the basics. If you need any help feel free to contact me over PM.
  12. Project has been revived, Didn't had the available time to create this server but now i do have spare time to complete this awesome project
  13. Did you rush the design or is it really that bad, overall i do see community scripts such as the radar but won't judge you on that.The only thing that quites disturbs me is the fact that you are using the nulled version of IPB which puts you under the category that isn't taking this seriously, consider chaning to another free Forum software or buy an actual license from IPB in order to prevent problems within the future.Anyway good luck and hope y'all have fun
  14. link has been updated thank you for reporting this
  15. Welcome fellow community members, I'm here to update everyone about the status of dynasty network. Since everyone does consider this as a dead project or something that won't be released. This is not the case, i'm putting all my available time into this project and we had a pretty messed up year behind us. Several developers joined us and left us which leaded in a total conversion of the theme. We're not longer making usage of the integraded MTA GUI, we've successfully managed to create everything with HTML / Javascript to create the closest encouter towards perfection within Multi Theft Auto. This revolution in the UI framework will give the RPG category a boost and will eventually attract a larger public within MTA. So expect great things to come within this month, just keep in mind that i'm working on this myself without any help regarding the scripting part so please don't come up with questions regqrding the release date since this hasn't be set yet. Cheers, Serenity
  16. Well as far as i know i didn't even use SAES resources, You're the one that is having that reputation mate.
  17. First of all never worked with Infinity on Dynasty Network. I've Always worked on it alone and i'm not talking about the ingame things i'm talking more about the way of coloring the text etc. Never said you copied anything ingame only the layout of the forum post is nearly the same ... And i've never used any community scripts within this gamemode. It's such a shame that you claim that Dynasty Network is using community resources or leaked RPG scripts. If you check out the scripts we already show on the forums you can literally see nothing has been copied and since this is a gamemode build up from scratch you won't even find any copied script. So beside the fact you are posting this type of nonsense take the time to actually get your facts right before pointing a finger towards any server.
  18. Well based on what i did saw on the post itself i can assure you it does look familiar to Dynasty Network. But if we look into the server itself Dynasty Network is literally a step higher than what they currently show. Just make sure you don't copy anything from Dynasty Network so this won't end up in an argument.
  19. The physics must be optimised cause right now it's totally garbage when hitting the ball and a bad internet connection does make the ball trip like a piece of :~
  20. getting the following error when starting het module on Linux MODULE: Unable to load x64/modules/ml_pathfind.so (/root/multitheftau to_linux_x64-1.5.4/x64/linux-libs/libstdc++.so.6: version `GLIBCXX_3.4.18' not f ound (required by /root/multitheftauto_linux_x64-1.5.4/x64/modules/ml_pathfind.s o)) Tried everything i know but still nothing can't seem to get it working apt-get install libstdc++6 does not fix this problem
  21. What does the server has to do with the hosting itself. You should say i do like this host
  22. So you wanna say i'm trying to get customers when i don't even script for others lol. I'm just telling them if they do require help they can contact me not that i'm taking the job or such.
  23. If you really need a high quality scripter feel free to contact me i got proof that my scripts aren't spaghetti nor does it take way too long. Take a look at Dynasty Netowrk which has been made from scratch by me
×
×
  • Create New...