Jump to content

Callum

MTA Contributors
  • Posts

    865
  • Joined

  • Last visited

Everything posted by Callum

  1. amount = tonumber(amount) if amount and type(amount) == "number" then -- ok else -- not ok end
  2. You'll need to setup a lua script that returns the table (array) of players, and then the PHP script loops the table and outputs it.
  3. I just use https://wiki.multitheftauto.com/wiki/PHP_SDK
  4. It's more efficient to do a loop for the XML children, instead of looping a table, which used another loop to be generated.
  5. Callum

    ResPath

    You mean getElementPosition? I've got no idea what you're saying, but that's my closest guess. EDIT: Now reading it again, you mean the literal .map?
  6. Callum

    I'll be god damned

    I think VC gameplay is better than SA gameplay, but SA has a bigger player base and a wide variety of servers.
  7. Callum

    Stack overflow

    That the stack has overflown. I've only ever reproduced this by calling a function from within itself, like; function a() a() end
  8. Yes, but they're not referred to as arrays, they're called tables. Try reading this.
  9. Over the last few days, our server must have crashed well over 200 times. Half the time it hangs, and the other half "MTA Server.exe has stopped responding". At first we suspected it was a form of DoS, but after banning a few suspects, it consisted, so it can't be that. We tried reverting the scripts to a few days back, again the endless crashing consisted. We then tried various new and old versions of MTA, none of which were any help. So now, I'm posting on here hoping to get a solution. You can find many of our dumps on the mantis (like here and here). We're using Windows Server 2008 R2. This endless crashing has also entirely messed up our community and player count, as you can imagine, so we'd like a solution ASAP. EDIT: Tuna claims it was a DoS since we setup a script to ban any people that use a method which can be used to DoS. A few people were banned, but afterwards the crashing continued. So we're confused of what to do now.
  10. If you love single player so much, why not play it?
  11. Callum

    A Idea

    MTA SA 1.1 will be the next release, not 1.0.5
  12. A GTANet server (tractor) split from the network, causing some DNS issues. Everything should be ok now.
  13. If you can work on the map, surely you can localhost it?
  14. This is the results after approx 10 hours: http://pastebin.com/cZ4YYnVi
  15. Hm, serials, never thought of that. I just used IP's since it's reliable for not registering them twice. And after 9 hours of being in action, it's recorded 800x600 93 times, while everything else is like 1-15
  16. If anybody wants to use the resolution recording script I made, download it here. Note: I made it in like 10 mins, so don't expect it to be the most efficient script ever.
  17. Sure, varez. Post results in a few days.
  18. Most of us run communities, and have screenshots posted on a forum. Most of the time that screenshot is in 800x600. Additionally, I have asked them, I made a /resolution command, they all said "it says 800x600".
  19. What about 1600x900? And I find like 80% of players play in 800x600, because they've never been bothered to check the settings.
  20. CreateObject -> createObject
  21. Why don't individual servers just script it? You can search for friends and what server they're playing in the server list.
×
×
  • Create New...