Jump to content

kalyn

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by kalyn

  1. I am understanding what you say and I was thinking the same would happen in my case but I wanted to be sure before making this call, I have the funds I need to buy a proper server and I havea location where I don't need to pay any electricity bills, so I think that a server would do.... probably i'll return to develop on this but now I am too tired, thanks for the help.
  2. Hi guys, I have a PC that I want to transform in my own hosting server. Specs: - 2.50 Ghz QuadCore CPU - 2 GB RAM (currently) i want to add 2 gb more (maximum amount for that motherboard) - 250 GB HDD So I was wondering how many slots I can host with this settings considering that I want to make an RPG server with pretty much all the stuff that it needs (jobs, factions, turfs, etc.) I must add that I want to use this computer only for hosting the server, MYSQL db, and website/forum and I was thinking to use Linux as OS. And if some of you knows how much power does the server consumes in 1 month in money aproximately?! I am asking this because I want to think on various aspects before starting this project so I can make an ideea what a server needs. Thanks a lot!
  3. Oh, thanks a lot for the suggestion Can you give me an example of a host that I can use?!
  4. Yes but must be a way that makes the score to be saved, it exactly the same like Level in RolePlay
  5. I don't want to be rude or not polite but if you don't know don't botther to answer, in the server cafg file you get "httpdwnloadurl" and there says that you can host your client files outside your computer on a server file host so you can send them to players faster, I foun that after posting this thread, the only problem is taht you'll have to make your server stable and don't make changes on it after you upload youre resources and all will be fine....
  6. Sincerely I don't know either but in the server functions on MTA wiki I would't been able to find something related to score so I just changet getPlayerMoney into getScore (I used getPlayerScore first but did't worked)
  7. and on server comand window it says: "attempt to call global 'getScore' "
  8. The extra end was put by me from mistake but in the original code that I made it was no extra end
  9. After this code that is working: function onPlayerQuit() local playerAccount = getPlayerAccount(source) if (playerAccount) then local playerMoney = getPlayerMoney(source) setAccountData(playerAccount, "player.money", playerMoney) end end addEventHandler("onPlayerQuit", getRootElement(), onPlayerQuit) function onPlayerLogin() local playerAccount = getPlayerAccount(source) if (playerAccount) then local playerMoney = getAccountData(playerAccount, "player.money") if (playerMoney) then setPlayerMoney(source, playerMoney) end end end addEventHandler("onPlayerLogin", getRootElement(), onPlayerLogin) I've tryed this: function onPlayerQuit() local playerAccount = getPlayerAccount(source) if (playerAccount) then local Score = getScore(source) setAccountData(playerAccount, "player.score", Score) end end addEventHandler("onPlayerQuit", getRootElement(), onPlayerQuit) function onPlayerLogin() local playerAccount = getPlayerAccount(source) if (playerAccount) then local Score = getAccountData(playerAccount, "player.score") if (playerMoney) then setScore(source, Score) end end end addEventHandler("onPlayerLogin", getRootElement(), onPlayerLogin)) I have also tryed whyt PlayerScore instead of just score but none worked, the problem is that I don't get where is the problem or what I've done wrong.... The codes were written in the gamemode.lua and not as a resource.
  10. Hi guys! I have tryied again and again to make the player Score saveable on player quit but I had no luck, can anyone give me a little script that makes that thing?! I must add that I have Login Panel so every player have an account, or can play as a guest (the score must not be saved for guests only for registered players) Thanks!
  11. doesn't work, the tank after 1 rocket explodes but when is a player in becomes invulnerable and whit other fireweapons you can't do nothing against it.....
  12. the problem is the tank is invulnerable i shoot about 20 rockets to him and the healt was at 100% and I need the tank to not blow the cars when he touches them, the only moment when the tank was losing healt was when you colide whit some objects...
  13. Hi guys! I would to know how can I make the tank from invulnerable to vulnerable, because in my servere when a player is in a tank noone can kill him.... Thanks!
  14. I don't want to be rude but when do you think you can release the next version:) Its only informative
  15. Hi guys! I would like to know if is there someway to make resources download faster from my server to the players computers.... Thanks!
  16. I have another question, how to make modloader to start sendig the mods only after the player spawns, so the player can play on the server too before the mods are downloaded, or to download each mod at a time so the player don't get bored waiting to download 300MB for example , or if I can make both of dese it will be great Thanks!
  17. Hy guys! I have question hov to make a function that gives money for the score that you gather in Capture the Falg mode for example, it will be also awesome if the score will get saved when the player logs off... Thanks!
  18. Problem resolved it was the RealTime script because of the desincronization of seconds on each player PC.....
  19. \the object is the fence around area51 because there I created the Army base and it was closed, but I have like 74 - 75 resources running, idk, if that's the problem.... My computer specifications are: Windows 7 Intel 2 Core Quad Q8300 @ 2,50 GHZ (4 CPU's) 3 GB RAM 250 GB HDD On-Board Video Graphics NVidia GeForce 7100/ nForce 630i 256MB And the down/up speed on aprox 800km's is:
  20. Is the same, it's like the FPS goes up and down dramatically......? dunno what's the problem to resolve it.
  21. If u use modloader please read the README file, there it says that you will have to rename you modds so when other players reconect they don't need to download them anymore. The problem is when the player logs on another server that has no mods and the client redownload the original cars, and when he enters again in yours he have to download the files again because they aren't the same.... So rename the vehicles from the folder and rename (whit the same name) them also from the "data.lua" file.
  22. It behaves like lagging.... And how to edit the function to be right?!
  23. nope, it just 1 fraction of the second lag, somethimes it lags often sometimes rarrely, depends on on how the server wants
  24. Hi guys! Recently I downloaded the ModLoader so I can add some custom skins/vehicles/players. I don't know if ModLoader is the problem or this https://forum.multitheftauto.com/viewtopic.php?f=91&t=46805&sid=11272c796e17dc8628f732cba31b3d4c but since I made this two changes my server laggs (for fraction of seconds only depends how ofted the it do the lagg), even I lag and my server is on my computer, if it's the modLoader is there something that I can do, a streamer or something, begause the lagg is not huge, just a little but enough to get annoyed in 2-3 mins of play. My computer specs are: Intel 2 Core Quad Q8300 @ 2,50 GHZ (4 CPU's) 3 GB RAM 250 GB HDD On-Board Video Graphics NVidia GeForce 7100/ nForce 630i And the down/up speed on aprox 800km's is:
×
×
  • Create New...