Jump to content

J.S.

Members
  • Posts

    128
  • Joined

  • Last visited

Everything posted by J.S.

  1. So I've made a script which was intended to change the texture of a single road. The code itself is fairly remedial and should come as no surprise txd = engineLoadTXD("newroads1.txd") engineImportTXD(txd, 5506) The script successfully replaces the road which it was intended to replace, however for some reason it goes on to replace all roads using the same textures (dt_road and snpedtest1 to be specific) even though it was set to change only that single road (5506). (Visual explanation) Any clues as to why this is? Everything seems like it should be working as it should. Edit: To clarify, the road I intended on changing is a single object, the others are separate objects.
  2. This and this alone is enough reason for me to agree unconditionally.
  3. After upgrading MTA to 1.3.4, my console has been getting spammed with vehicle component names, I assume every time a vehicle is streamed in I've tested it on several servers to see if it was a server-specific issue but each one yielded the same result.
  4. I owe you a bj for this I've been trying to make something like it for ages.
  5. Intriguing, although you need to make it so that the database isn't being directly accessed by the script, otherwise the database password will be open to anyone who downloads it and they could get inside your database and mess everything up fairly easily.
  6. MySQL is only necessary if you want something to save after you power down the server. If you store it in the RAM it's deleted once the server is shut down.
  7. Hm, alright. I suppose I'll just downgrade back for the time being then
  8. Alright, thanks mate. I posted on the mantis report with my version number. Good to know it's just an MTA issue and I didn't mess something up massively in the script.
  9. Ever since I updated MTA, I've been getting the following error when using processLineOfSight: "Bad argument @ 'processLineOfSight' [Expected entity at argument 15, got object]" Argument 15 in the script is 'localObject', which is a pre-existing client-side object which is created in the same resource (and the same script) that processLineOfSight is called in. If I set it to nil it no longer gives me the error, but I can't have it as nil because that messes everything up. It has to be localObject. I know this probably sounds like a ridiculous issue and that's because it is. I don't understand why it's not accepting an object when an object in itself is an entity and it's what the argument is supposed to be there for. Any ideas? EDIT: For some reason it doesn't happen inside interiors though. Just outdoors.
  10. Doesn't seem to like me. Keeps telling me I have a "modified client" installed. I reinstalled it twice and it still won't work. EDIT: Nope, got it working. Was completetly empty though. Around what time is this usually active?
  11. J.S.

    Question

    Storing it in a database would probably be the best way to do it. These events may help: OnPlayerJoin OnPlayerQuit OnPlayerWasted OnChatMessage and also take a look at the SQL Functions. You'll need to set up an SQL database but the benefit of this over a file is that it's accessible from virtually anywhere you want to integrate it via PHP.
  12. J.S.

    [HELP]bar level

    Seems pretty clear to me. Start exp_system.
  13. Not really. Xa and Ya would be the x and y position of the peds, and Xb and Yb would be the x and y position of the marker. Store it as a local variable and use that in setPedRotation.
  14. Haven't had a problem with colorhost in ages, personally. Their support team is excellent, file a ticket if you haven't already.
  15. I don't mean to burst your bubble but the answer will probably be no. In order to run an MTA server seriously you need a good amount of CPU and network bandwidth which usually exceeds that of a common PC. What you can do, is if your script is good (unique, stable, or at the least, fun), is find people who would be willing to invest or donate to your server in order to get it up and running on a professional hosting service. If it takes off, encourage people to donate to cover the continued cost of running it. That was how I did it until some unforeseen expenses hit.
  16. Make sure you've added the faction to your wcf1_group table and the canBeFactioned field is set to 1.
  17. Teme bolje. Manje o serveri i MTA. (i nisi off-topic)
  18. This is assuming you have the admin resource running. If you don't I believe there is a GeoIP resource somewhere on the community.
  19. J.S.

    Paynspray

    Element data isn't necessary. Just assign a variable to the timer and use killTimer when they leave the marker. Also, I'd set the marker alpha to 0 to make it invisible, but that's just my preference.
  20. J.S.

    Scripter Needed

    That's all you want, correct? I'll do it for $4.
  21. We've found the cause of the network issue (big thanks to ccw), and it revealed an underlying issue with the object removal system which I assume will be fixed in the MTA code at some point. To everyone who is still having this problem, though: Do not, and I repeat, doooo notttt, put removeWorldModel in a repeating timer That should get rid of your problems. That's all
  22. I'm not going to switch to 1.4, it's unstable and even if it does fix the issue nobody will download it to play and other issues will probably arise. Anyway I found when I log on for a split second there is 4.2 billion packets in the resend buffer? With an MTU of 1264 that's over 4.8 terabytes of non-existant data, so this has to be an MTA related network issue.. http://puu.sh/FGHQ
  23. It's not hosted from home, and we're not the only 2 having this issue. It is fixed for some people but not for all, and as I recall there were many, many servers that had this issue in the past. The host even says that there's a few others with this issue, yet they're on a 1GBit line and we've had this problem with other hosts as well. So it's not just us two and not just people on this host having this issue. And the both of us realize there are only 7 devs but all this fancy stuff has been put in in the time that the issue has been going on and yet it's not fixed? So yeah I would say it's pretty important. And I'm getting sick and tired of having this problem that's been going on for I don't even remember how long. 6 months? 1 year? Pretty sure it started when 1.1 came out, and was promised to be fixed in 1.1.1, now it's nearly 1.3.1 and where's our fix? I know the server ran juuuuust fine on 1.0.5. So I think we have a right to be frustrated, not angry but frustrated, because what we were promised has not been delivered on.
  24. Uhm, just for clarification, not only are Paradox and Virtua not the same thing in the slightest, but Virtua has been closed for over a year now. Some of the more loyal folk from Virtua are with me nowadays but it's been dissolved for a long time, most of the community isn't together anymore, and Paradox and Virtua never had a lick to do with eachother. Anyway I can sum this entire thing up in one sentence. If you ain't got anything nice to say, keep your mouth shut. All of this bickering and fighting is senseless, you're just putting on a show for everyone to see. That's all :3
×
×
  • Create New...