Jump to content

GreenFanta

Members
  • Posts

    15
  • Joined

  • Last visited

  • Days Won

    6

GreenFanta last won the day on April 26 2021

GreenFanta had the most liked content!

2 Followers

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

GreenFanta's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In Rare

Recent Badges

20

Reputation

  1. Version 0.0.0

    4190 downloads

    I created this phone for a previous GTA MP Mod. I never properly finished it but it has useful features such as: Lockscreen push notifications Home button Custom phone style support Apps that open divs. Phones are stored in phones/phones/[phone-name]/ There is a JSON file that contains the needed info for the phone as well as an image for the phone. This is unfinished
  2. I'm not sure how you can struggle with JavaScript if your background is PHP, they are both very loosely typed. You may want to look at the C# API. Take a look at the Resources if you want to learn from existing scripts.
  3. OVERVIEW Rage MM stands for Rage Mini Missions. Our intention is to create a bunch of game-modes that randomly1 rotate on a per-round basis in the most simplest way possible. To achieve this we've adopted a WYSIWYG approach and you will notice that all our UI is very basic (for now). We are trying to provide the play-ability of this server as one that is built with the current stability of what resources can be used (taken in to consideration). Currently we offer a Race mode. We are currently in Alpha. This being said, there may be issues from time-to-time, but we have put some effort in to ensuring that after any crash/glitch that will cause services to be shut down, will recover on their own. We are currently working on: Cops n Robbers TDM We try not to plan too far ahead. PLAY Connect directly: play.rage-mm.com:22005 (137.74.229.220:22005) or find us in the masterlist, our server name begins with "Rage-MM.com" Our servers run on a guaranteed 99% (I made this number up) up-time, meaning that, if the server was to crash (which can happen from time to time, especially in our current alpha state) then it will automatically boot right up for your convenience. Basically it just reboots itself, nothing fancy about it. WEBSITE Rage-MM.com We have a very simple website to hold our landing page and provide basic information for our game server. We will be upgrading this at some point. We use Discord for communication. FAQ Q: Contact details? A: We used Discord for communication, you can catch "Mew" (shit posting) or "GreenFanta" on Rage.MP discord, or you can join the RAGE-MM Discord. - Q: Staff vacancies? A: We are assuming that the need for assistance in the form of support, administration and development (in many aspects) will arise and we are open to those who are willing. Give us a shout on Discord. DEVELOPMENT & TEAM We have a checklist of game-modes on our Trello. As mentioned, we are trying to keep things as simple as possible, which is also why we are releasing to the public with only one mode. 1. We currently make use of Pseudo-RNG for all randomisation and will be adopting Quantum-RNG at a later stage.
  4. FYI: LocalStorage will flush when user closes client. SessionStorage will flush when server restart.
  5. streamPed.setAlpha(255); This is instead of the 0 value.
  6. Unless by "accurate" you are referring to speed, have you considered a different way to interface it with your project?
  7. You haven't read my OP properly, Captien.
  8. Hi, In reference to: https://rage.mp/forums/forum/43-tutorials/ Due to the activity on the forums (or lack thereof), we cannot rely on tutorials that provide correct information to push the tutorials that provide incorrect information further down the pagination. Is there not a possibility of us being able to refactor these incorrect tutorials, if not remove them altogether? I can't think of another good solution without creating a whole bunch of admin. Third party scripting such as this always seems to be the starting point for a lot of people who have a (dormant) interest in programming/scripting and I'm sure we can agree that the accuracy of something that the official website of said third party scripting which is referred to as "Tutorials" should be inline with the way things actually work. Perhaps I'm just blowing hot air. Feedback would be much appreciated
  9. On this point, you will notice that vehicles that have exploded but not been destroyed, when restreamed, will re-explode again. This is expected behaviour, though.
  10. If you are starting on this type of scripting without a conceptual understanding of programming (scripting/coding) then you will definitely struggle. The lack of documentation (specifically in regard to the Javascript stuff) and the lack of development support will require you to do a lot of digging and testing, yourself. Start a free trial with Lynda.com or Pluralsight.com (just examples) and learn the basics of programming/coding in the language you wish to learn and in it's primary use case. It will assist you greatly and the documentation available will be far easier to understand. Spamming the forums and copying/pasting code is not an efficient way to learn at all.
  11. @cmdflow The flow would need to be CEF -> Clientside -> Serverside Within your CEF html/js you would need to execute mp.trigger('event', params) https://wiki.rage.mp/index.php?title=Trigger to your clientside and then send that request to your serverside (if applicable).
  12. I can't see why it wouldn't be playable now. I sit with 200+ ping to 90% of the servers I connect to and have found Rage-MP sync to be fantastic (comparatively speaking). Just keep it simple, make your gamemode and then optimise between serverside and clientside until your end-result "appears" bearable. If you desire anything more than what GTA:V is able to offer you then I'd suggest you look at a game engine of sorts.
  13. To change an entity's dimension, you can refer to the dimension property entity.dimension https://wiki.rage.mp/index.php?title=Entity::dimension To destroy the vehicle altogether, you can use the destroy method. entity::destroy() https://wiki.rage.mp/index.php?title=Vehicle::destroy I only saw the date after posting. Sorry. Hopefully this will help future users on the Google Machine.
  14. The Chromium Embedded Framework (CEF) is a useful "embedding framework" that allows applications to make use of browser based technologies. (https://bitbucket.org/chromiumembedded/cef) CEF is comprised (especially in the example and answer to your question, provided by Kemperr) of HTML, CSS and Javascript on a frontend basis. You can store these files clientside and use them within your CEF calls (as part of index.js or required within thereof). To render them we refer to a URL that references the path of the client_packages directory (inside your server's directory). EXAMPLE: mp.browsers.new('package://menu/index.html'); // This would refer to client_packages/menu/index.html A working example would be to place that in an event handler on your clientside, like so: mp.events.add('guiReady', () => { mp.browsers.new('package://menu/index.html'); // Here we display the browser instance to the client }); CEF can handle ES5 and ES6 scripting, so there is very little limitation on what you can do in terms of front-end work. --- Alternatively, you can opt-in to using the NativeUI stuff: https://github.com/alexguirre/RAGENativeUI Which I wouldn't recommend if you are not well versed in .NET (or rather, C#)
×
×
  • Create New...