-
Posts
275 -
Joined
-
Last visited
Everything posted by uhm
-
I'm a bit confused here... why did we skip the rest of part one? Also Eset comes with it's own firewall 100% sure it says Windows as firewall under Security? Eset or Win Firewall? If it's Windows firewall you're gonna want to get admin permissions from whoever manages the pc (maybe your dad or whatever). Just tell him to login on his account, change your account to Admin and then go through with it. As you said, the problem is highly likely to be in the computer configuration. If you want to test if you're admin, go to your desktop and right click on any random shortcut to an EXE file like MTA. Then choose "Execute as administrator". If you have to login to a different account, you're not it. If it's Eset, probably not because the first Google results for "eset personal firewall" are all about disabling that sob, then go into that menu and do a bunch of stuff like allowing and things and whatever
-
dawg never ever make less of your script than what it's worth by blaming your laziness being lazy is not a virtue and admitting that you think of your behaviour like that does not entitle you to any reward take some pride, dag also judging by the screenshots its pretty nice kutgw
-
Because the MTA developers work on it on a voluntary basis. They're barely getting paid and the only reason we've got anything to play on is because they love us so much.
-
I don't think that exists, Nimas. Most are for personal streams and not for broadcasting them to everyone. The community is located here: https://community.multitheftauto.com/index.php?p=resources If you're interested in a resource that lets player choose their own stream, check out this humorous iPod script: https://community.multitheftauto.com/index.php?p= ... ls&id=5596
-
That's crazy talk bro, it's actually desired behaviour that it syncs that well. It's totally the map, the maker can easily just move the pickup icon a few points more towards the gap. Now that big truck just bounces off something... If you can, just go open up the map editor, right click on the Car Changer pickup and that way you can move that thing around. If you can't edit those or absolutely have to play those maps without editing, I guess just start some torture test script on your vps, or create an infinite loop or start a couple of huge downloads but doing that would be completely insane. And I will L my A off if you do.
-
Small Help To Save Some CPU,DISK,RAM Usage For Your Vps.
uhm replied to undifine0909's topic in Media
Yeah, maybe everything's fine. My DNS wasn't changed and my virus scanners (plural) didn't report suspicious activity. Let's leave that. But how did you do this? Why didn't the MTA devs think of this amazing way to save 800% RAM and whatever? -
Assuming you're using map editor? Then check out the object list: If you select it there, you're good to keep on editing.
-
Small Help To Save Some CPU,DISK,RAM Usage For Your Vps.
uhm replied to undifine0909's topic in Media
I like the part where the cursor is huge But would you care to expand on how this works? That reduction in RAM is amazing. Also, you may want to pay attention to the following before running this: VirusTotal doesn't completely agree with this (not an understatement, it's just 7 out of 43): -
Did you also add a firewall exception? Also sometimes it takes restarting your router to actually commit the changes. Also make sure they're using your external IP address, so that they're not trying to connect to a 192.168.x.x / 10.x.x.x address http://www.canyouseeme.org/ may be useful for checking if your port opened up correctly or going to the server browser and querying your external IP like so (and pressing the I button to the right of the bar, it may not be visible on this image)
-
https://wiki.multitheftauto.com/wiki/SetElementHealth lol Check out the wiki, it mostly has answers to these kinds of questions
-
I feel you. Personally, I would not engage. Judging by your signature I'm guessing we're both between the ages of 19 and 25 and the years we're in are worth gold. For example in getting a head start with starting your own company or even doing some actual paid programming for experience: that experience puts you ahead over others who're applying for the same job. Time is a currency and it can be spent only once. You're actually not stating that you're having a dilemma, so here's a list of what a fantastic MTA server would give you and what could attribute to your motivation of doing it: experience, fun, status and a respectable hobby of creating something for others to enjoy.
-
Mr S3d, if you already created a shell script that does what Anderl suggested (check if the server is running and if not, start the server), then you can edit your crontab with my steps but instead of running mta-server directly, use the .sh script file. That would be the best solution. I think it'd be a good idea if you posted your shell script here for us to check if it's in order. I'm now not so sure mta-server really terminates when it can't be bound to a port, since it still prompts to press Q. I guess eventually the remaining few kilobytes will add up and still end up hogging the memory.
-
Yeah it's fairly easy On Linux: login to putty, type crontab -e This opens your crontab editor. Press I button to start editing. Then type: */5 * * * * YOUR_LINUX_USERNAME /path/to/mta-server The */5 means every five minutes, execute the specified command. Then press ESC and then type zz, this means save and exit the editor. This will start your server every 5 minutes and since MTA server exits when the port is already in use, you don't have to worry about checking if the servers already running manually. EDIT: Please see following posts on why you should use a script instead of mta-server directly (Source: http://www.cyberciti.biz/faq/how-do-i-a ... -unix-oses) On a Windows server, the same can be achieved using the Task Scheduler.
-
Das ist bemerkenswert... Was für ein Datei is die Map dann? Einfach LUA? Meistens start Singleplayer wann die Versione von GTASA.exe nicht 1.0 ist, aber als ein neuere MTA wirkt, muss er ein anderes Problem sein.
-
I think you mean Interstate 69 You can download the resource here: https://community.multitheftauto.com/index.php?p= ... ails&id=32 Maybe this is enough info already, but of course you can create your own maps using the Map Editor and some programming skills
-
Yeah, not just free webhosts. It's a pretty big deal security wise to let in SQL sessions over the innerweb. Also I would suggest using localhost instead of 127.0.0.1, because then the MySQL travels through a pipe instead of over TCP protocol (it's more optimized). http://dev.mysql.com/doc/refman/5.5/en/ ... erver.html Also I would suggest using MySQL Workbench. It's a GUI for MySQL. The biggest advantage is how it lets you create Entity Relationship Diagrams, which makes implementing the database into the code a lot more clear. It also comes with the newest version of MySQL server. http://dev.mysql.com/downloads/workbench/5.2.html
-
Isn't it pretty unusual the file is empty? I'm just guessing here, but MTA might try to optimize the file and having no file instead of an 'empty' file would in fact be more optimized, so... Or it might even be a security issue and it deletes that empty file so it defaults to some kind of built in ACL What if you add this code that should have been there in in the first place: <acl> <group name="Everyone"> <acl name="Default"/> <object name="user.*"/> <object name="resource.*"/> </group> <acl name="Default"> <right name="general.ModifyOtherObjects" access="false"/> <right name="general.http" access="false"/> <right name="command.start" access="false"/> <right name="command.stop" access="false"/> <right name="command.stopall" access="false"/> <right name="command.gamemode" access="false"/> <right name="command.changemode" access="false"/> <right name="command.changemap" access="false"/> <right name="command.stopmode" access="false"/> <right name="command.stopmap" access="false"/> <right name="command.skipmap" access="false"/> <right name="command.restart" access="false"/> <right name="command.refresh" access="false"/> <right name="command.refreshall" access="false"/> <right name="command.addaccount" access="false"/> <right name="command.delaccount" access="false"/> <right name="command.debugscript" access="false"/> <right name="command.chgpass" access="false"/> <right name="command.loadmodule" access="false"/> <right name="command.upgrade" access="false"/> <right name="command.mute" access="false"/> <right name="command.crun" access="false"/> <right name="command.srun" access="false"/> <right name="command.run" access="false"/> <right name="command.unmute" access="false"/> <right name="command.kick" access="false"/> <right name="command.ban" access="false"/> <right name="command.banip" access="false"/> <right name="command.unbanip" access="false"/> <right name="command.shutdown" access="false"/> <right name="command.install" access="false"/> <right name="command.aexec" access="false"/> <right name="command.whois" access="false"/> <right name="command.whowas" access="false"/> <right name="function.executeCommandHandler" access="false"/> <right name="function.setPlayerMuted" access="false"/> <right name="function.addAccount" access="false"/> <right name="function.addBan" access="false"/> <right name="function.removeBan" access="false"/> <right name="function.removeAccount" access="false"/> <right name="function.setAccountPassword" access="false"/> <right name="function.kickPlayer" access="false"/> <right name="function.banIP" access="false"/> <right name="function.banPlayer" access="false"/> <right name="function.banSerial" access="false"/> <right name="function.getBansXML" access="false"/> <right name="function.unbanIP" access="false"/> <right name="function.unbanSerial" access="false"/> <right name="function.getClientIP" access="false"/> <right name="function.setServerPassword" access="false"/> <right name="function.getServerPassword" access="false"/> <right name="function.callRemote" access="false"/> <right name="function.startResource" access="false"/> <right name="function.stopResource" access="false"/> <right name="function.restartResource" access="false"/> <right name="function.createResource" access="false"/> <right name="function.copyResource" access="false"/> <right name="function.addResourceMap" access="false"/> <right name="function.addResourceConfig" access="false"/> <right name="function.removeResourceFile" access="false"/> <right name="function.setResourceDefaultSetting" access="false"/> <right name="function.removeResourceDefaultSetting" access="false"/> <right name="function.redirectPlayer" access="false"/> <right name="function.aclReload" access="false"/> <right name="function.aclSave" access="false"/> <right name="function.aclCreate" access="false"/> <right name="function.aclDestroy" access="false"/> <right name="function.aclSetRight" access="false"/> <right name="function.aclRemoveRight" access="false"/> <right name="function.aclCreateGroup" access="false"/> <right name="function.aclDestroyGroup" access="false"/> <right name="function.aclGroupAddACL" access="false"/> <right name="function.aclGroupRemoveACL" access="false"/> <right name="function.aclGroupAddObject" access="false"/> <right name="function.aclGroupRemoveObject" access="false"/> <right name="function.refreshResources" access="false"/> <right name="function.setServerConfigSetting" access="false" /> <right name="function.updateResourceACLRequest" access="false" /> <right name="command.aclrequest" access="false" /> </acl> </acl> If this fixes your problem, you should probably dig up the default file and use that, because now some of your scripts may not work anymore (search for ACL.xml or download a vanilla server and copy that one)
-
You mean you drive over a pickup icon, but you get stuck in the road and so? What do you mean by it loads too fast?
-
Regarding deleting an object from a table: I think the most obstacle you're facing is that you can't tell which object is which, because there aren't any IDs attached to them. Judging by your code a player can have one object of one type attached the them. In that case you'll probably want to store it like this: Every player has an objects table with an ID and the Object element or there's one table with all players in it, which has the objectdata in it. Then to remove the object, use a for loop -- example new table structure Objectdata = { ['player1'] = { ["model"] = 1500, ["object"] = 'RANDOM5' }, ['player2'] = { ["model"] = 1800, ["object"] = 'RANDOM8' }, } function remObj(modelid) for playerob_k,playerob_v in pairs(Objectdata) do if playerob_v['model'] == modelid then -- remove object from world destroyElement(playerob_v['object']) -- remove element from table Objectdata[playerob_k] = nil end end end remObj(1500); tested on http://www.lua.org/cgi-bin/demo Recap: Basically just use a multi dimensional array http://stackoverflow.com/questions/5691 ... ble-create http://stackoverflow.com/questions/1758 ... by-its-key
-
My guess would be unbindKey and then bind it to the function that prints your map
-
Thanks myonlake, that's a much better way to do it indeed. But Kiffshark, your image suggests you're trying to decrease the field of view? If so the following is not relevant. Yesterday I played on a server that featured first person view while driving vehicles. It didn't always work and you couldn't look any other way but forward, but I think it might be a good resource to play around with for your purpose . https://community.multitheftauto.com/index.php?p= ... ils&id=844 [Edit: turns out you can look left, right, behind, just not by mouse] Also, if you haven't already checked it out: https://community.multitheftauto.com/index.php?p= ... rst+person
-
That's a really good question and if this works it would be really cool. I think going with best ping is clever, but indeed the streaming is a big deal. If the peds aren't all over SA, then I would just suggest assigning medium sized areas. If the distance between player and the center of the area is too large, a new syncer gets chosen or all peds get destroyed. When someone joins the area, he's the new syncer. If someone else joins with a better ping, he could become the syncer. I would first try it without swapping syncers, so the first one to join is the syncer. I assume it's not a great deal performance wise. Also check out SetPedAimTarget. As for the sync of action goes, I think the best thing you can do is create an array of peds with what they are currently doing. When it changes, the client notifies the server, which then notifies all clients in range. When a client joins in (the area or server), then he gets the current server cached current action.
