Jump to content

Tonytza

Members
  • Posts

    51
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Tonytza

  1. Tocmai din motivul asta mi-am facut. Sa pot sa-mi 'demonstrez' puterea virtuala pe copii, dand ban.
  2. Asa ma, asta era nevoie, sa facem putina reclama threadului. Da, toxic developeru asta, nici eu nu recomand. Nu are CEF si nametag-ul nu e centrat. Plus ca sta cu oamenii la discutii pe canalu de discord in loc sa lucreze la server.Halal developer. 😃 Nu contribui cu nimic util comunitatii.
  3. RIP
  4. Cum stai? Mai ai de lucru la el? Tot cu bagat modurile te chinuiesti? 😃
  5. Salutare! Iaca, lucram. Postez si aici, ca pe discord nu prea am avut succes: Vreun roman activ pe aici, dispus sa ma ajute la ceva teste la un nou mod RPG pe care-l dezvolt?
  6. From the discord: [6:14 PM] xday: @everyone Grand Theft Auto V is now free at Epic Games Store until 21 May. It's not supported in RAGE Multiplayer as of now and you should avoid related questions about it until we announce it here. I'd suggest waiting.
  7. There are multiple ways you can do this, some would be: 1. Do the speed calculations client side and return the value to the server, for each player that is doing the job? (In this case, you'd make a call to the client from the server, every second for every player that performs the 'farmer job') 2. Do the whole logic client side? From the server, you just trigger a client event, that starts the 120 seconds timer and continuously tracks player's speed? And when the timer is up, just trigger a server event? Not exactly sure what is your context, but if each player that does the job should have their own timer (and not a general timer for everyone, like a race) I'd suggest going with the second part. I used a similar mechanic for driving license and went with the second solution, everything worked fine.
  8. Hm? What do you mean can't open config? Right click on 'config.xml' file from your rage folder and open with Notepad and change the value, as indicated above?
  9. I encounter the same error when launching the rage multiplayer for the first time. But once you set the GTAV path, the error is no longer displayed. At least on my side. If that's the case on your side as well, I wouldn't bother with it.
  10. Use 'ragemp-server.exe', that is the new 'server.exe'. With the new server version, you don't need to do the bridge anymore. So instead, what you need to do, is move the 'resources' folder inside the 'dotnet' folder. And then execute 'ragemp-server.exe' and you should no longer receive the 'Necesarry "resources" folder does not exist!' and everything should work like before.
  11. Haha! Tu mai ai de lucru la a face modurile sa mearga inainte sa te apuci de server. 😃
  12. Tonytza

    Mai merge?

    Eu nu stiu sa fi mers vreodata versiunea cracked. Si aparent nu va merge niciodata.
  13. Nu. Da. Stati p-aproape, ca vine versiunea noua de rage, care speram sa schimbe tot. (desi speram de ani de zile 😃 )
  14. Tonytza

    DELETE

    Ha, interesant. Si eu am perioade cand lucrez la un server, pe urma pauza o vreme ca nu-mi permite timpul. Inteleg Tot server RO RPG faci/faceeti?
  15. Hello! Not sure I fully understood your question... The server already has a logging mechanism and you can find the logs under '\server-files\bridge\server_logs.txt' file. The file contains all the messages received on the server's command prompt. Let me know if that's not what you're asking. Tony
  16. Tonytza

    DELETE

    Salutare! Cum merge serverul? N- am mai vazut update-uri ...
  17. Sunt total de acord cu ce ai mentionat mai sus. Personal, prefer serverele de hard rp (evident, nu in romana)
  18. Hmm, it's been 2 weeks since I haven't worked on the gamemode. Will try it later, when I get the chance to get back to coding. Now that you mentioned, that could be the case, maybe I forgot to migrate or didn't update something properly. Thank you! Will do from now on. Thanks!
  19. Thanks! Another question, regarding entity framework, if you don't mind: 1. The 'ContextFactory.Instance.SaveChanges();' is NOT needed after each Update, correct? For example, in my above code (SaveAccount), I don't have to savechanges of the context, after each save account, right? Can I just update data in the context and save the changes at a later point, after I changed several accounts? Thanks!
  20. Hello! Very useful guide! Thank you for this. I managed to set this up and everything works. Never used entity framework before but I want to learn it. I extended on your guide, with a Login and SaveAccount: public static void LoginAccount(Client client, string username, string password) { Account loginAccount = ContextFactory.Instance.Accounts.FirstOrDefault(u => u.Username.Equals(username) && u.Password.Equals(password)); if (loginAccount != null) { // Logged in // Here we set player position, health, armor, variables etc } else { client.SendChatMessage("~r~Account doesn't exist"); } } public static void SaveAccount(Client client) { Account account = ContextFactory.Instance.Accounts.FirstOrDefault(u => u.Username.Equals(client.Name)); if (account != null) { // Update model data with player's variables // Update Data ContextFactory.Instance.Accounts.Update(account); ContextFactory.Instance.SaveChanges(); } else { Console.WriteLine("Account doesn't exist, we CANNOT SAVE it!"); } } (The above code is simplified for its scope - I do use BCrypt hash for passwords, if anyone's interested, I can include that part as well) I'm curios if I'm on the right track? I know the above works but I'm not sure if this is how it's supposed to be done? Also, do I have to SaveChanges every time I update an entry? Thanks again! LATER EDIT: I've encountered some issues with my current system. Every now and then, the server stops (without any errors or anything) and from what I've observed, it has something to do with saving an account. I'm not exactly sure what's going on. (Issue does not occur all the time. There are times when I cannot reproduce it for several tries and there are times when it suddenly occurs out of nowhere) Considering the large amount of data I'm trying to save at once, could it be that it takes too long and the server freezes? How should I proceed? Thanks!
  21. Salutare! Care e situatia romanilor pe ragemp? Avem ceva romani activi? Ce 'mesteriti'? Cunoasteti solutii de hosting pt RAGEMP in Romania? Ce alte solutii de hosting recomandati? Pentru inceput, m-ar interesa sa hostez un server de 100 sloturi, for testing purposes. Multumesc!
×
×
  • Create New...