Jump to content

codeluaeveryday

Members
  • Posts

    575
  • Joined

About codeluaeveryday

  • Birthday March 5

Details

  • Gang
    [K@N]
  • Location
    Queensland, Australia

Recent Profile Visitors

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

codeluaeveryday's Achievements

Mack

Mack (28/54)

2

Reputation

  1. I think it'd be great if you allow us to read all the connected gamepad controllers. I have an idea to create a 2-8 player couch co-op MTA:SA server, and if I could read individual controllers, get their inputs and map them to a pedestrian, we could make some pretty cool servers.
  2. Nice, but your script seems to run just run the average ip location. When I talk about the Geolocation api, its a lot more accurate, usually straight to your house address. Each browser handles the API differently and chrome being the most accurate because google uses nearly everymethod to track you. Google's cars will capture network signatures as they drive through streets taking photos, and will map them in their location access point db, and use that data to identify you. In googles words: If you allow Google Chrome to share your location with a site, the browser will send local network information to Google Location Services to get an estimate of your location. The browser can then share your location with the requesting site. The local network information used by Google Location Services to estimate your location includes information about visible WiFi access points, including their signal strength; information about your local router; your computer's IP address. The accuracy and coverage of Google Location Services will vary by location. Google Chrome saves your location information so that it can be easily retrieved. This information is periodically updated; the frequency of updates depends on changes to your local network information
  3. Hey guys I know I've been inactive for a long time, but am interested in joining the community again. I've had my eyes on CEF since it came out and I want to ask if it supports all the newer HTML features. Specifically Canvas, WebRTC (i'd hope so, but you may see it as a security threat ) and the geolocation api, ooh and webstorage? Just curious
  4. Who wants an updated version of this? I have progressed a lot since developing this and could easily setup an automatic updater for it.
  5. Guys, this is easy. Really easy, in-fact I'm still surprised that there are so many people in these forums that are so inexperienced. I don't mean to be rude, but this one is very obvious. I suggest someone updates those forum pages immediately too. That website is outdated and broken, they should have used one that has a higher reputation. http://bot.whatismyipaddress.com/ - 16 Years running and a great service, use this URL. https://api.ipify.org/ - Great, kinda new and should be here for a long tiem to come. Use either one. function getServerIp() callRemote("http://bot.whatismyipaddress.com/",function(value) if value ~= "ERROR" then ip = value end end) return ip end I suggest not giving people other alternatives, the guy asked for a method to programmatically get his IP, not so he can define it with an IP Variable.
  6. Hmm, try using: getElementBoundingBox This should be able to get the vehicles bounding box, but i'm not too sure if its what you need, just experiment with it, it may get you what you need.
  7. Try this. addEventHandler("onClientPlayerDamage", localPlayer, function(theAttacker, theWeapon, theBodypart) if ( theAttacker.type == "vehicle" and localPlayer.vehicle ~= theAttacker ) then cancelEvent() end end ) You can also use OnClientPreRender and run a quick check to see if a player has collided with the vehicle and quickly allow it to pass through
  8. This post is 4 years old... I was about to say to used dbExec and I don't even program in MTA anymore...
  9. Yep, it's pretty much making use of the external web server. We've ran tests using Cloudflare CDN and we've found that it can be slower than the original host. If you're using a bad host then sure a CDN is appropriate, but our host is high speed. I'll explain why a CDN can be slower, mainly cause a CDN such as Cloudflare has millions of users flowing through their servers, for us it worked better to just use a static web host. If we get customers we may head for Windows Azure, but we don't know yet. Thanks It's just giving players extra options and for lower prices.
  10. Hi there! I'm Chris, I've just thought of a pretty nice idea which I can complete in 1 nights work and will guarantee your server faster download speeds. I've been working on numerous projects in my time, and I still have quiet a few I operate in. This one is a newer project that I'm extremely excited about, mainly because I was once annoyed by the slow upload speed on some of the servers. You're probably thinking WHY should I use this service? That's an excellent question, and I'm going to answer it with proven facts. It has been proven in numerous studies that people do not like to wait any longer than 1 second to load a webpage, any longer and they start to leave. The similiar principle applies in a game server, I've joined servers with 60mb download and sat there for 30 minutes, when I could have been sitting there for 2 minutes. Our service provides a high-speed alternative to MTA's current web server, and for extremely cheap prices you could be getting a peace of it too. Lets say you also have a really slow bandwidth connection server and whenever someone's downloading it slows down the rest of the game-play, our service fixes this. HOW is this all possible? Another good question! We have created a server-sided file which allows you to "PUSH" files to our web server or use the automatic feature. Here's a little demonstration on pushing files: /push myResource client.lua Are my file's SECURED? Finally, the juicy part! The web server only needs to store the client-sided files. All the files that are hosted on our hosting platform are then redistributed to clients, the same way that MTA currently does it. We are also in the middle of discussing possible asset encryption, such as images as an extra paid service. What do I get from this? Fast Download Speeds ( 1mbps + ) Stability and security Automatic Compiler File analytic's How much will this service cost me? Starting price: 2 British Pound for a month worth of hosting. Addon Prices: Lua/MTA Compiler (1 British Pound per/m) Depreciation Check and Repairs (0.50 British Pounds per/m) File Encryption (1 British Pound per/m) More features on the way Lets say I wanted all of the above, each month I'd be spending 4.50 British Pound for astonishing download speeds which do not affect my server at all. I'd like to see this in action! I am living in Australia with a 10megabit per second download speed ( 1.25 megabytes per second ), and the server I'm connecting to will give me 330 + ping as its hosted in Europe. Now lets take a look at the video I recorded, or you can go to my server with the IP located under the video: IP: 193.183.99.113:22000 This is mainly a planned idea, so I'd love to hear from the community how many people are willing to buy it, the reason is that paying for a good host is a pain in the ass if we don't have customers. So please respond below. Reply if you are interested and think that you will benefit from this. Cheers, Chris.
  11. Using fetch would be a bit more in-efficient than what I'm doing with sockets, also a lot more insecure. I kind of care a lot about security and it's probably best if I avoid making this. It's the secure way, or no way.
  12. Hey, I already know about the Sockets Module, but I'd like to request an official import of the sockets module for the server side. I am in need of a real-time method to connect to my server, and this can give me the greatest flexibility while programming. I've just finished a pretty cool project and I'd like to release it to the community for free, I just need to make the distribution easier for novice users...
  13. Okay, so I've seen a lot of talk about the iOS and Android versions of Grand Theft Auto. I am willing to pay 200 British Pounds to the son of a bitch who wants to do it. The project would be completely open source. The main developer would get paid handsomely, and any other contributing developer may get up to 50 or more pounds. Why am I offering this much money? Because and I quote "progress is made when impossibility yields to necessity" (ARNOLD H. GLASOW). I want to push MTA forward into the future! I do have this money available, but I probably should not be touching it. That is why on top of that all people which would like to see this through should push money through to my PayPal account to be sent to the responsible developers. I am looking for MTA's blessing and permission to lead this other side of MTA and they will have to agree to this: Project Information: Name: MTA: On The Go (debatable) App Price: 0.99 (to help pay me back for the pounds) Type: Open Source I am really sorry that I don't have much information right now, it's mainly an idea. I want to hear everyone else thoughts and be notified if people want to legit finish it. 50% or more of the money will be delivered upon completion of Core Modules, like the networking module. I understand that there may be issues with the GTA:SA app itself. We will see. Just reply. Edit: I realise that 200 gpb isn't enough. Lets talk about regular payments eyyy
  14. when phones become computers. Phones are computers...
×
×
  • Create New...