Jump to content

robhol

Retired Staff
  • Posts

    2,120
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by robhol

  1. ... you have less than half a gigabyte of RAM? Seriously, I haven't touched a computer with that little ram in a decade.. Anyway, if it used to work and suddenly doesn't, it's even less likely to be MTA's fault. Check for other (CPU-intensive) running processes using Task Manager, run searches with Avira and Malwarebytes (download it if you haven't got it)
  2. Please provide a fuller explanation of exactly what you expect to happen and what does. In this case I'm noticing that you're comparing a team name with an actual team. Also pay attention to indentation.
  3. The error here happens because you overwrite an MTA function and the new one ends up calling itself infinitely, hence the stack overflow - call your handler function something else. Also, wrong parameters to getTeamName (it takes a team element, not a player) and you might have made a mistake with ArmyTeam - if this isn't a variable you assigned somewhere containing that team's name, it'll screw up and always do the "else" part of your if.
  4. You forgot to post your code and error messages.
  5. It's almost stagnant, as 50p has very little time for it. I could post several pages on exactly why I'm not contributing to the old one, but that's off-topic here. By the way, getting function data up and running is kind of a priority, so if anybody wants to help me with gathering some data, please contact me. I have another idea for an automatic scraping system that I want to try, but as I said, the wiki isn't really consistent enough to make it simple.
  6. robhol

    Skin Selector

    No, you did double post - there was another topic exactly like this one that I deleted. As I said, resources that should run automatically need to be added to mtaserver.conf. The rest needs to be handled by event handlers in the resource.
  7. What did I tell you all about this petty bitching? Take it outside.
  8. robhol

    Skin Selector

    Don't double post. Resources that should run automatically are added to mtaserver.conf.
  9. Shouldn't be here - moving to Scripting.
  10. I don't think that idea has occurred to anybody yet. 100 half-baked RP servers, 3 scripts where one of them is closely based on another one.
  11. If getElementData isn't returning a boolean, that error is impossible based on the code you've posted. As the error message says, unpack is getting a boolean, which means that that's what you got out. It's really hard to say any more without seeing more code.
  12. robhol

    Timer

    Don't double post, you already have a topic. Set element data when you update the kills, the scoreboard pays attention to element data for players, not account data.
  13. So I've been working on this little thing for a while now. I wanted to write my own MTA script editor - this started out as an experiment to see if I could get a decent autocomplete system up and running. As it turns out, I could. I've also managed to implement a rather neat guide for the MTA functions - the idea is that you won't have to alt-tab to the wiki just to check function arguments all the time. Instead, you can just start typing, and the program happily steps in to offer you a helping hand. Current features (click for screenshots) Tabbed editor with Lua and XML syntax highlighting - MTA functions are highlighted depending on "domain" (client/server/both) Autocompleted MTA functions Function parameter reminders One-key wiki lookup And of course, the "obvious" stuff for a text editor. These are just a few of the features I've planned, there's more on the way. Want to help? If you know C# (preferably with a bit of experience with WPF) and would like to help, that'd be great. I might also need a few testers - the project is currently considered 'pre-alpha', but I plan to have closed alpha tests and a public beta. If you're interested, PM me or post here, but be aware that we're "not quite there yet". I also don't have entirely reliable data on the MTA functions - before starting on the editor proper, I wrote a small-ish program to get function data off the wiki. Unfortunately, the wiki is not too consistently formatted, and this makes automatic scraping a bit difficult. If you want to help fill in missing data, I'd really appreciate it. Edit: function data has been graciously provided by Cadu12, thanks! Questions, ideas, suggestions Post away!
  14. I haven't tried running a server for 2 years, but the server list was always dreadfully slow to update with new servers. Have your friend connect directly with your IP address in the meantime.
  15. If you don't want one from Community, chances are you'll have to make your own.
  16. robhol

    MTA Crashes

    Definitely not an employee or a representative! And using the forums (even PMs) for illegal activity would be very stupid. If we encounter things that blatantly break laws, we are forced to deal with them. No more piracy discussions, please.
  17. robhol

    MTA Crashes

    We can't help with piracy here. You'll need to find that out on your own.
  18. What the ? Can't you just tell him to put the model of the Shamal interior inside the real shamal? It's not going to fit either way. Dude. Chill out. And don't bump topics that are three freaking weeks old just to snark at other people.
  19. robhol

    MTA Crashes

    You might want to make sure GTASA runs properly by itself. I've never had any significant crashing and can't really help, but have you tried basic stuff like compatibility mode? Also, I'm sure you'll be able to find some information via Google.
  20. The thing is that you can't really use executeCommandHandler for everything. Aexec works for MTA commands too, while executeCommandHandler just works for scripted command handlers.
  21. Interesting. What kind of algorithm do you use?
  22. . Anyway, it's not like translating a smallish resource would be a huge challenge.
  23. Feel free to learn C++ and come help out.
×
×
  • Create New...