Jump to content

Callum

MTA Contributors
  • Posts

    865
  • Joined

  • Last visited

Everything posted by Callum

  1. Resolved, thanks to $GLOBALS
  2. I've found the problem; The PHP file (framework.php) connects to MTA, and all the other pages (index.php, etc) include framework.php and call the function echoBoxes(). Because it connected to MTA in the root of framework.php, the variables don't exist in the function. Quite a complex problem, but is there any solution or work around?
  3. I've added a debug output on the getInfo lua function. It outputs, so MTA is supplying the information, the problem must be web-related.
  4. Thanks for the reply, Orange. var_dump returns 'NULL'.
  5. A dedicated server (so yes, a web server), which is the same machine that hosts the MTA server.
  6. Hey, We're trying to setup a dashboard for our server, using both MySQL and MTA. It is being written in PHP, and the MySQL part is all running fine. There is, however, a problem with hooking into the MTA server using the PHP SDK (latest version). Here is how we are hooking into MTA; http://pastebin.com/yVN5aS6Z The account has administrative rights, and the function is exported to http via meta.xml I have checked the lua script, and it is returning the correct details. However, when I try and echo the returned data on the PHP page, absolutely nothing is output. I've tried everything; $info, $info[0], $info[0][0], $info[0]["name"], foreach looping, everything. The server is using PHP 5.3.2 Are there any other obvious things I've forgotton, which may be causing this problem? Thanks, Callum
  7. SVN should only really be used for development teams. If there is only one developer, you may as well find a host with FTP.
  8. I got the whole Rockstar Games pack for £15 ages ago
  9. Callum

    MTA 1.1 bug =/

    Just to be sure, could you please provide the results of SpeedTest.
  10. Callum

    Living City mode?

    That defies the point of Multi Theft Auto (and any other multiplayer mod for that matter).
  11. Callum

    mIRC

    mIRC scripting has become deprecated due to lua scripting. mIRC scripting hasn't been used for 5 or so years now.
  12. You may find resources created for this purpose on the MTA Community Website.
  13. "As you all know, a lot of RPG servers turn bad or are faking each other. What we want, is to create a totally new server" Not to be negative, but you should note there are also plenty of RPG servers which are not 'bad' nor fake each other. If it's just for the love of the game, I would recommend saving the effort and just playing on one. There must have been hundreds of failed RPG servers over the last few years, using the format SA**. Anyway, if you're certain you want to operate the proposed server; good luck.
  14. Our accounts database (custom system using the SQLite functions) consists of around 100,000 accounts, with dozens of new accounts added daily. From researching PerformanceBrowser, it seems SQL queries are what is causing the longest execution time in scripts, therefore generating lag. Would it be advised to prune all the old accounts (I'm sure 99% of the accounts are not currently in use) to optimize execution, or would it not really make that much of a difference?
  15. You have been Z-Lined (banned) from that IRC network. There is nothing you can do in this case.
  16. Callum

    mac os x

    Can't you use wine to play it?
  17. Callum

    playSound

    Open the .m3u with Notepad++ or any other text editor. Inside the file it should be a URL (or a list of URLs). Use that.
  18. You could also try setting the dimension after setting the matrix.
  19. The clients can only lauch each other. I believe they are not compatible due to major changes in the network module.
  20. Callum

    2 questions

    Yes, to answer your first question, you can use a wildcard (*). So 12.34.56.* would ban every IP starting with 12.34.56, and you can ban every IP address with *.*.*.*
  21. The streaming URL must be an MP3, WAV, or any other supported file type.
  22. At the top-right of the web page there is a dropdown box - select 'New Issues'. You will then have a 'Report Issue' link on your navigation bar.
  23. Callum

    MTA Community Serials

    That feature was planned but never implanted.
  24. Yes, please. It saves me and my baseball bat a job.
×
×
  • Create New...