Alan.Alexander
Members-
Posts
55 -
Joined
-
Last visited
Everything posted by Alan.Alexander
-
You get what you pay for, and if you're willing to pay nothing, you should really expect nothing. Hosting really doesn't cost much, maybe $2 a month for a basic host with 10 slots? Why not ask your parents if they will pay for it and you do chores?
-
Try this. function setZeit() for index, spieler in ipairs (getElementsByType("player")) do if getElementData( spieler, "LoggedIn" ) then setElementData(spieler, "Spielzeit", getElementData(spieler, "Spielzeit") + 1) local result = mysql_query(sqlcon, "UPDATE user_data SET Spielzeit='"..tostring(getElementData(spieler,"Spielzeit")).."' WHERE Username='"..tostring(getElementData(spieler,"Username")).."';") if (result) then mysql_free_result(result) end end end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), setZeit2) function setZeit2() setTimer(setZeit, 60000, 0) end
-
Problems starting server. [Linux Debian]
Alan.Alexander replied to Alan.Alexander's topic in Linux-Server
This problem is now solved after asking in the IRC if anyone could help me with GNU Screen. So yeah, this topic can be moved to a bin of sorts? MUCHOS GRACIAS! -
I have a VPS running Debian 6, how would I go about starting my server without having to leave PuTTY running on my computer?
-
But are they any good, or do they just know how to download a community resource, change a bit of text in game and be like "LOL I MADE DIS IT MINE I NO STEEL"?
-
I have a crazy idea for you... Go on Craigslist/Gumtree/Whatever your French equivalent is and buy a machine that ISN'T a piece of shit. Based on the specs from your MTADiag, your PC is a fair bit worse than mine, and I have a low enough FPS at the best of time.
-
https://community.multitheftauto.com/index.php?p= ... ls&id=5688 DONE
-
None of us here are actually selling this though, I only posted it here 'cause I found it and I personally like fuckin' around with webservers and shit and currently have it set up with MTA and such so I thought I would share it in case anyone like me came along wanting something similar...
-
https://community.multitheftauto.com/index.php?p= ... ls&id=3282 https://community.multitheftauto.com/index.php?p= ... ls&id=5015 Both mine, first one is just something I fucked up, first upload and shiz. Second one was a copy of my fuel script that someone added me as an owner too, so I removed them, and meant to get it deleted since it's no change from mine. DONE
-
That's because it should be common sense to either do security yourself if you care enough (I don't, I'm even happy to run my computers without anti-virus) or to just use it as a test server and get a better, more secure one when you're ready to release your server.
-
Can somone make this command only work for an ACL group
Alan.Alexander replied to xXMADEXx's topic in Scripting
if isObjectInACLGroup("user."..accName,aclGetGroup("Admin")) then return; end Add that as teh first line of a function you want to stop someone using based on ACL? -
I'm getting the same shit, apparent'y it's to do with CentOS being a bitch or something... BUT I AIN'T CHANGING MAH DISTRO! >:{
-
Can somone make this command only work for an ACL group
Alan.Alexander replied to xXMADEXx's topic in Scripting
https://wiki.multitheftauto.com/wiki/IsObjectInACLGroup -
http://www.lowendbox.com/blog/urpad-5-7 ... uxembourg/ "1024 MB Ram /1250 MB Burst Ram 35 GB HDD 750 GB Bandwidth 100Mbps Port 1 IPv4 Address SolusVM/OpenVZ $5.72/Month, Instant Setup" So it's about £3.70 a month. Unmanaged so "noobs" won't be able to use it, you'll need to actually know how to set it up from a CLI. Download PuTTY (http://www.chiark.greenend.org.uk/~sgta ... nload.html) and install Webmin, then you can download and install MTA, once installed it might be a bit pissy so thanks to Robhol86, we now have this link to help. http://dbiers.me/centos-5-8-latest-and- ... -steamcmd/ Apache needs set up for PHP as it's not done by default, if all else fails, just delete the original install of Apache and download http://www.apachefriends.org/en/xampp-linux.html, it's Apache, MySQL, SQLite, PHP, PHPMyAdmin, FTP, and a couple more things. THEN BOOM! ALL OF A SUDDEN YOU'LL BE EQUIPPED TO RUN MTA AND A FORUM FOR YOUR SERVER! =D Fuckin' amazing, AMIRITE!?
-
https://community.multitheftauto.com/index.php?p= ... ls&id=5680 Basically copied shit from the Wiki. It's a car skin. And this is his 3rd account, first two (360-Modders and DJTech) were disabled due to stealing my script. You'll know it's the same person because of the same kind of picture used again. I'm also 90% sure that the person who posted first comment is a fake multiple account as well because the name is the same "style" ([firstname].[lastname]) as that account and he rated it 5... Oh, and the first commenter also signed up on the day it was uploaded. DONE
-
I had a resource called "carpark", but it appears to no longer be on the community any more... Any idea what's happened to it? Or was it accidentally removed during the whole shit I had with 360-Modders/DJTech?
-
I r can haz halps tooo?!?! http://pastebin.com/eF6xEAK1 I LOVE YOU, TOWNIE!
-
He's done it again. https://community.multitheftauto.com/ind ... ls&id=5646 DONE *sigh* https://community.multitheftauto.com/index.php?p= ... ls&id=5650 DONE, USER DISABLED https://community.multitheftauto.com/index.php?p= ... ls&id=5662 https://community.multitheftauto.com/index.php?p= ... ls&id=5663 The second one also has a lag script in it, I know this because I decided to be a bit of a cunt and attempt to befriend this lovely person to do "help him out", he gave me a copy of my script and told me " just make the script work just change the script so i'm not stealing this fag's script.", it's also compiled, but if you remove teh lag script (b.lua), it works EXACTLY the same as my one. And just to clarify, I use many online usernames, Loki, Gungneer, and Alan.Alexander are jsut the tip of the iceberg. Edit: Turns out he's also listed me as script owners, I didn't do this, nor did I want this. Edit 2: https://community.multitheftauto.com/index.php?p= ... ls&id=5664 Basically, he's got each of my functions, and split them into separate files... Edit 3: The newest one is under my name only now since he added me as owner and I removed him then and then I removed most of the shit. DONE
-
He's done it again. https://community.multitheftauto.com/ind ... ls&id=5646 DONE *sigh* https://community.multitheftauto.com/index.php?p= ... ls&id=5650 DONE, USER DISABLED
-
He's done it again. https://community.multitheftauto.com/ind ... ls&id=5646 DONE
-
https://community.multitheftauto.com/index.php?p= ... ls&id=5634 Downloaded my car park resource (https://community.multitheftauto.com/index.php?p= ... ls&id=5319) and reuploaded it claiming that he only used my script as the base, but in actual fact he only changed the map file. DONE
-
In case anyone's looking at this and would like to use it, here's my own take on this fucker. https://community.multitheftauto.com/index.php?p= ... ls&id=5319 Bit easier to map where you want all the car park spaces as well.
-
Weather blend system
Alan.Alexander replied to World Championship's topic in Open Source Contributors
https://community.multitheftauto.com/index.php?p= ... ils&id=199 I think this resource might be of use to you. -
Right now I'm working on when a player enters a car, start a timer to run in 1 second from then, and run once, and then every time the function for that timer is called, call another timer to re-do that function once more every time, basically so an exit car call isn't needed. The way I'm currently calculating fuel depletion is like this... local speedX, speedY, speedZ = getElementVelocity(vehicle); vel = (speedX^2 + speedY^2 + speedZ^2)^(0.5)+(math.random(100,1000)/25000); local remainingFuel = takeCarFuel(vehicle,vel); That takes fuel off depending on velocity and then a little more extra, so if you're not moving it still takes a bit off you for idling. Does anyone have any thoughts on a better system?
