Jump to content

TopAz

Members
  • Posts

    79
  • Joined

  • Last visited

Everything posted by TopAz

  1. Another thing I want to show. Testing ports... Port 22126 UDP is closed. Players can not browse! Port 22003 UDP is closed. Players can not join! Port 22005 TCP is open. Could this be somehow related with the problem?
  2. Yeah, many times. I tried yesterday on my friend's pc few miles away and that didn't worked as well. Is our ip range banned?
  3. From what I remember, on 2010 I could play on every MTA servers including the one with 22003 and 22005 port. This issue started now.
  4. I tried that many times and it doesn't works. I will PM you my Teamviewer id and pass. Sorry, I had just migrated from SA-MP and I don't wish to go back to it. MTA Team can easily fix this issue. Just wait and see.
  5. So, what's the problem then? They said it's open and Counter Strike Source, SA-MP and COD MW2 online works. I think it's MTA problem.
  6. My ISP is Link3 Technologies. Why is all of my port is closed but still I can play SA-MP?
  7. Error: I could not see your service on xxx.xxx.x.xxx on port (xxx) Reason: Connection refused It happens for all the ports.
  8. That application doesn't wants to install.
  9. How to see if it's blocked or not?
  10. This is what it's written. "Local Area Connection 2"
  11. Actually I don't really know If I have a router or not. There are hell lot of network equipments.
  12. Well this is what I want. As you can see I have a table named pldata which consist few cells. Inside a cell there are two parameters. One is the "data name" and the other is the "data value". Now what I want is that I want to assign those data values on the data values which has been queried from mysql database and which is on the poll table. How would I be able to do that?
  13. Not understand. I mean how to assign those table with the mysql result table without manually assigning all the values?
  14. Thanks mate. I have another problem. How do I evacuate the mysql data table on my local table without needing to assign them manually? local root = getRootElement() local connectionHandle; local pldata = { {"id", "0"}, {"name", "N/A"}, {"age", "0"}, {"profession", "N/A"}, {"language", "N/A"} } addEventHandler("onPlayerJoin", root, function() spawnPlayer(source, 1959.55, -1714.46, 10) fadeCamera(source, true) setCameraTarget(source, source) end ) addEventHandler("onResourceStart", root, function() connectionHandle = dbConnect("mysql", "dbname=testgm;host=localhost", "root", "") local query = dbQuery(connectionHandle, "SELECT * FROM `user` WHERE `id` = 1") if query then for key, value in ipairs(dbPoll(query, -1)) do -- how to assign pldata in here automatically? end end end ) Edit: Here is the MySQL structure.
  15. In lua not have defaults arguments ( very bad ) I like it in c++ like languages. function fTest( n ) if type( n ) == 'number' then return n + 1 end return 1 end print( fTest( 1 ) ) -- 2 print( fTest( ) ) -- 1 function fTestNext( n ) local n = type( n ) == 'number' and n or 1 return n + 1 end print( fTestNext( 0 ) ) -- 1 print( fTestNext( ) ) -- 2 Ask questions. Can you please explain me this line? local n = type( n ) == 'number' and n or 1
  16. Graphics driver won't update because it doesn't support my graphics card. And I had install the DirectX runtimes. Now what's next?
  17. Thanks. Sorry for troubling you so long.
  18. It only says Connection Timed Out. No extra error code. And here is the new log. http://pastebin.com/0J9K7V0x
  19. But it's not working. function lame(great, lol="LOL", hey=2, now="bla") print(great .. " " .. lol .. " " .. hey .. " " .. now) end lame(great, nil, 3, nil)
  20. Last question. How to make a function with optional parameter?
×
×
  • Create New...