Jump to content

Olle Risk

Members
  • Posts

    164
  • Joined

  • Last visited

Everything posted by Olle Risk

  1. Take a look here mate: https://forum.multitheftauto.com/viewforum.php?f=115, check the topics with the word "RPG" in their title
  2. Looks nice mate, keep it up
  3. Well honestly I don't have anything against people acting like that, bad people seems to appear everywhere and we have to accept that, what's more disturbing tho is the fact that "server owners" like him has a huge player base which he obviously doesn't deserve. It's our responsibility as players to support servers with original resources that does a honorable work instead of these noobs who take others work and threat their players as idiots.
  4. Any screen shots or proof it's your scripts? not to be rude but I just want to be sure.
  5. Trust me, if I could script that kind of thing I would have done it long ago, sorry to say it, but I'm not that good in scripting yet.
  6. Well I know a few functions that could hide the default progress and then get the download info to be able to display it in a dx GUI like in your picture, the more complex part as I see it is how you can organize your resources, you could probably trigger onClientResourceStart for the resource root and get an event that starts as soon a specific resource is started and then add this resource first in your mtaserver.conf file to make it start first. Not sure if that would allow you to open and use a GUI during download tho. Another option might be to focus only on the large files like pictures and stuff like that, setting their download parameter in meta.xml to false and use 'downloadFile' after they joined and logged in could probably allow you to download in the background as well. I'm not good enough in scripting to give and example of it but it should definitely be possible to do that.
  7. Me4ever has the solution, event names are case sensitive and starts with a lowercase char always, at least default events does that. Don't worry, this is a common error, except for that it looks well. Debug script won't output anything because the event is never triggered, it's nothing wrong in it tho.
  8. Olle Risk

    Fps

    Client side 'setFPSLimit' for just one player, using it server side applies the new FPS to all online players including those who join later. I recommend setting your FPS to 60 if you want everything to be smooth (most monitors today uses 60 FPS), if you want stability and as low amount of bugs as possible, use 36 (default FPS).
  9. You're not too lazy, it takes the same effort posting them here as it takes sending them over skype. That reply only makes me more suspicious over all this.
  10. What kind of resources? Please provide some more details and some pictures, currently this looks like some kind of scam. Also can you prove it's your resources and not something that is stolen?
  11. Nice work, makes everything a little bit easier I suppose
  12. Yes it is, "onClientResourceStart" is triggered for a individual player, more correctly the player who just joined as soon the client side files are downloaded. "onPlayerJoin" triggers for all players on the server when a new player joins.I think the event you are looking for here is "onClientPlayerJoin" which is triggered for all players except the player who just joined as soon the client resources are downloaded. Try to be more specific about what you want to do and then look for a proper event to use.
  13. Olle Risk

    About Lag

    What kind of lag is it? Low FPS or high ping, the first one often indicates bad graphics performance on your clients, this should be different between all clients then, if everyone has low FPS then it's probably something on your server, high ping works in the same way, does everyone has the same high ping or is it just a few clients, are your server on a wireless network and so on. Maybe some more information to get you the help you need.
  14. This looks interesting but I'm not sure what you actually offer and how it works. What's the idea of this, is it a tutorial to how to setup your own server (pretty good if so) or is it some kind of coordinator solution for people who want to host their own servers? I'm really curious.
  15. math.floor That one rounds down as said before but you also have a useful round function available: https://wiki.multitheftauto.com/wiki/Math.round In case you want to keep some of the decimals in your number, good luck.
  16. What does /debugscript 3 says? and are you sure you are running this server side and not as a client? Check that and I'm sure it will work out for you. /Olle
×
×
  • Create New...