Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 23/08/21 in all areas

  1. MTA: Welcome To San Andreas For thoese who loves old-school San Andreas! bbs.sparrow.moe IP: mtasa://wtsa.sparrow.moe:22003 Introdcution Welcome to San Andreas (WTSA) is a nostalgia GTASA server. Imagine what would it be like if R* had the plan to make the San Andreas Online back in 2004? The goal of this project is to re-create the original game experience but can play under the multiplayer environment. takes you back to the childwood, golden ps2 aesthetic age! The concept of gameplay is designed close to the single-player San Andreas experience, kind of like gta-online, but with no crazy mods like the other free-roam server. Everything in here is keeping in the vanilla of the original game style. We spent the majority of time working on the small details, such as the UI, world atmosphere, and gameplay, to make sure everything looked much like in the vanilla game. if you are a old-school San Andreas fan who wants to take a time back to the childhood memories, definitely check out this server. Features Many single-player features are planning to add to this server, such as open-world npc, missions, gyms, collectibles, etc. majority of the single-player features will be available. However, some of the features are lightly modified, adapted to the multiplayer gameplay. this includes Open World Traffic NPC (similar to GTA Online) , Also with NPC Cops System! PS2 Features Graphics Sun Lens Trails Effect Maps SA Beta Maps Mulholland Safehouse Alcatraz Prison island Weapon Pickups all around SA (Like in single player) Single player missions (some of them you can play in coop!) Paramedic Villgina Firefighter Taxi driver Bus driver Valet Icecream vendor Well to many of them all bring back! Safe House Gym Treadmill, benchpress, free weights all back! All moves (fighting style) Player Status muscle, steamier, fat, all of them are working! Challenges Events Dance, low rider (able to play in op) Pool minigame (can play in op as well!) Base jumps Collectables Househorle Oybper Snapshots Spay tags Schools Fly school Drive school Boat school Airport license access! And more! NOTE: Currently, the server is still under the DEVELOPMENT and hosted under public testing purpose, thus it may contain issues and bugs that need to revolve. we really want to make this place into what old-school San Andreas players really loves so your suggestion is very important to this project. so if you have encountered any issues or suggestions please definitely feel free to let us know. Media & Screenshots Have fun on MTA!
    1 point
  2. Alright, thank you for the tip! You've helped me a lot. :D
    1 point
  3. Yes. I recommend you to put a realistic value like 5000 milliseconds. If it takes longer than that then there is some serious trouble going on inside of your database server.
    1 point
  4. Yes. An empty database result is returned as an empty table. There is no connection error so dbPoll does not return false. You are using the API correctly, too (besides the -1 for dbPoll which is a freeze-hazard for your server).
    1 point
  5. Please take a look at the Wiki page of the dbPoll function. There it says that it does return a table of results if the poll was successful but it returns false or nil if an API or connection error occured. From the effects that you are seeing, the dbPoll request is successful but empty. Please try this code instead: addEvent("account:login", true) addEventHandler("account:login", root, function(thePlayer, username, password) if not username or not password then return false end local queryCheck = dbQuery(db, "SELECT * FROM `accounts` WHERE `username` = '" .. username .. "'") local result = dbPoll(queryCheck, -1) if result then for k,row in ipairs(result) do local hashedPassword = row["password"] if passwordVerify(password, hashedPassword) then triggerClientEvent(thePlayer, 'account:succesfullogin', thePlayer) setElementData(thePlayer, "account:id", row["id"]) setElementData(thePlayer, "account:username", row["username"]) setElementData(thePlayer, "account:email", row["email"]) setElementData(thePlayer, "account:ip", row["ip"]) setElementData(thePlayer, "account:serial", row["serial"]) setTimer(function() spawnPlayer(thePlayer, 1245.1999511719, 332.5, 19.200000762939) triggerClientEvent(thePlayer, 'account:switchcamera', thePlayer) end, 2900, 1) return; end end triggerClientEvent(thePlayer, 'account:noaccount', thePlayer) else print("database error"); --this is where I dont get anything in return (tried putting outputconsole of an error message but i dont get that either) end end)
    1 point
  6. Thank you! , I could not find the section, now I know for the next
    1 point
×
×
  • Create New...