Jump to content

eAi

Retired Staff
  • Posts

    2,986
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by eAi

  1. You need to make sure you have the right project selected on the bug tracker, or you'll see an empty roadmap.
  2. eAi

    Not visible

    Have you forwarded the MTA ports? https://wiki.multitheftauto.com/wiki/Ser ... forwarding This is probably fairly close to your router: http://portforward.com/english/routers/ ... efault.htm
  3. I'd say it'd be possible, code injection is possible on Mac OS X, but the same issue applies as applies to MTA supporting different PC executable versions - finding the layout of the game in memory multiple times and providing a system for supporting these is fairly time consuming. That said, I'm sure someone with a few weeks of time could get it running. Anyone?
  4. Crashing or producing an error? If it's producing an error, what is it?
  5. Can you create a simple script that reproduces this?
  6. Someone could write a web-based server configuration resource, we've discussed doing it before, but nobody has had the time or inclination. It'd be relatively easy to do.
  7. hasObjectPermissionTo is definitely the right and proper way to do it. isObjectInACLGroup is marginally easier, but less flexible. hasObjectPermissionTo would allow you to let other users use the teleport if you wanted, without having to modify your code at all. You could just create another group and add the users to it, then create another ACL for that group that gives them access to the teleporter.
  8. The server only needs to sync peds that more than one player can see. So 32 players that are all some distance away from each other should have no synced peds.
  9. eAi

    xml problem

    thats what exactly i wont do... Why?
  10. If you wanted to do that, you wouldn't simulate every ped in the world, just those near players.
  11. eAi

    Suggestions

    It doesn't make things worse. If you need to process large amounts of data, the way to do it is to split that job over a number of frames. The editor could/should be modified to do this, probably pretty easily. MTA is single threaded, and needs to keep an active network connection running, so it can't allow anything to take too long in it's update loop. If one frame took 2 or 3 seconds (and MTA allowed that), it could make all the players get disconnected from the server as they might think they've timed out from the server. Obviously they'd also get no packets in that time, so everyone would seem to stop moving or jitter around for 2 or 3 seconds. You can think of MTA's aborting of long loops as a very primitive kind of multitasking. MTA relies on cooperative multitasking to allow all the resources to work together, with the long-execution cut off being the enforcer to ensure resources get along properly. Not that there aren't nefarious ways to get around that if you really wanted to break the balance of the system.
  12. eAi

    xml problem

    Use setAccountData which is designed for doing this exact thing.
  13. The player is presumably not in a vehicle, as getElementVelocity is returning false, which it's only likely to do if getPedOccupiedVehicle returned false too. Add some checks in.
  14. eAi

    Medic! (10$)

    Notice how getACLGroup isn't in blue in your code above? That's because it doesn't exist. It's aclGetGroup.
  15. He won't get that if people just tell him the code.
  16. eAi

    Suggestions

    The only hard limit MTA has in map size is that the server can only have at most 65536 elements. There are no size limits for map files. You can make your maps in pieces if necessary, then combine them together. There's no reason a resource can't have more than one .map file in it.
  17. The 160.9 could be to compensate for the fact that GTA units don't really map exactly to meters... Possibly.
  18. eAi

    help in xml

    Consider using xmlNodeGetChildren instead of xmlFindChild.
  19. Create it client side then use a colshape around it to detect when you hit it, then destroy it (and the colshape) when the player hits it.
  20. Logging in doesn't work at the moment. Why are you using an old version of MTA?
  21. 480p is DVD quality, and not HD, but it hardly matters does it?
  22. There's problems with people indirectly killing - with vehicles etc. I'm not sure how you'd prevent people from being able to try to run people over. You could prevent then hurting other players, but it'd still be very annoying.
×
×
  • Create New...