Jump to content

Greg0rz

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Greg0rz

  1. Thanks, I'll try these out guys.
  2. Thanks for all the help lil Toady. I have one last question. Why does it not announce 192.168.1.100's rank(or any other person who has points in the ini file), when they join the server? Stats Script Code: on *:SIGNAL:mta.finish: { ;Parameters: ;$1 = Server ;$2 = ID var %rank = $mta.rank($1,$2) if (%rank == 1) { mta.text $1 $mta.nick($1,$2) came in first, points earned: 5 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 5) } elseif (%rank == 2) { mta.text $1 $mta.nick($1,$2) came in second, points earned: 4 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 4) } elseif (%rank == 3) { mta.text $1 $mta.nick($1,$2) came in third, points earned: 3 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 3) } elseif (%rank == 4) { mta.text $1 $mta.nick($1,$2) came in fourth, points earned: 2 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 2) } elseif (%rank == 5) { mta.text $1 $mta.nick($1,$2) came in fifth, points earned: 1 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 1) } } on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 0 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 49) { mta.text $1 $mta.nick($1,$2) has the title of New User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 50 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 99) { mta.text $1 $mta.nick($1,$2) has the title of User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 100 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 299) { mta.text $1 $mta.nick($1,$2) has the title of Advanced User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 300 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 999) { mta.text $1 $mta.nick($1,$2) has the title of Super User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 1000 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 10000000000) { mta.text $1 $mta.nick($1,$2) has the title of Ultimate User! else { mta.text $1 $mta.nick($1,$2) has no rank! } } INI Code: [POINTS] 81.41.84.143=5 190.49.20.225=5 201.34.152.58=9 192.168.1.100=3 It doesn't announce that anyone has no rank, or in the case of users who have points, that they are a certain rank. How do I correct this? Thanks again.
  3. The script has no errors now, but it skips over all the ranks and says everyone is an ultimate user. How should i go about fixing this?
  4. * /mta.text: insufficient parameters - * /1: not connected to server (line 42, levelstats.mrc) I keep getting that every time someone joins as an output in mirc. Anybody have a clue why this is happening?
  5. You rule dude. Thank you so much!
  6. Thanks for the warning, now I have an idea what the MTA server uses. I guess I'll have to pay some extra money for more bandwidth if i get this server. I might just go to a game server company I've ordered from in the past and ask them to host me an MTA server, they are very reasonable.
  7. hmm, I'll see what happens when i order it.
  8. K, thanks for the help. I'm probably going to go ahead and get it for a month and see what it can handle.
  9. I'm thinking of ordering a dedicated server in Texas to host a 32 player MTA server on. It has the following specs: · AMD 2000+ · 256 MB DDR RAM · 40 GB Hard Drive · 200 GB Traffic · 100Mbps Connection · Fedora Core 5 OS Do you think it could handle 32 players in the server all at once, or is the hardware/bandwidth expectations for that kind of usage higher? Thanks for any help, Greg0rz
  10. thanks a lot dude i appreciate it.
  11. Could someone please supply me with a working link to GTA Rumble's GTA:SA CrashKiller.rar. My GTA freezes a lot, and since alt+tab doesnt work and ctrl+alt+del doesnt show up most of the time, and I am forced to turn off the computer by holding down the power button. The file name is CrashKiller.rar. Thanks to anyone who gives me a working link(the gtarumble official download link isnt working).
  12. Thanks a lot for sharing this with me man. I really appreciate it since you're still developing and everything.
  13. game-monitor is pretty good but i want to be able to completely customize my script to my layout etc. Anybody possibly have the file that the broken links in this forum are referenced to?
  14. Sorry if there is already a thread on this with a working link. I've been searching and haven't been able to find one. Basically I am looking for a PHP script that queries my server and outputs the server name, ip address, xx/xx players, and the player names. I've found scripts like this for older versions of MTA, but the links are all broken, and I've read that most of them are outdated and no longer work. Thanks for the help guys, I really appreciate it.
  15. Thanks man, I appreciate the help.
  16. Would it be possible to make it disconnect from the server when minimized, and then automatically connect to the server it disconnected itself from when the game is brought back to the front?
  17. on *:SIGNAL:mta.command: { if ($3 == !consolesay) { if ($gus.level($1,$2) >= 5) { mta.text $1 $4- } else{ mta.pm $1 $2 Error - You must be level 5 to use this command } } Im pretty sure the actual scripting is correct, but I just have no idea where the } and { 's go...... can anybody help out?[/code]
  18. Thanks for the solution. Hopefully in the next version you will be able to set the rotation of a checkpoint however you want it, not relying on the position of the next CP.
  19. Yes I am but people who don't know much about routers commonly have that type of router . Its worth a try posting that tutorial for him, rather than criticizing the people trying to help him.
  20. Do you have more than one computer on the network? If you do, then you are most likely using a router. Do this and you should solve your problem: Start > Run > type in cmd and hit OK In the command prompt, type ipconfig and hit enter Look for: IP Address . . . . . . . . . . . . 192.168.1.10x Remember the last 3 digits after the decimal point. Go to your internet browser and type in: http://192.168.1.1 If it prompts your for a username and password use: username: do not fill this in password: admin Unless someone has configured your router to have a different password, that should work. Now look for something like port range forward, or applications and gaming, depending on what router you have. You will see columns with the titles, Start , End , Protocol , IP Address , Enable. In the first row put: 22003 into start 22003 into end BOTH for protocol 10x for ip address ( the last 3 digits of the computer you are hosting the server on) Check enable In the second row put: 44003 into start 44003 into end BOTH for protocol 10x for ip address ( the last 3 digits of the computer you are hosting the server on) Check enable Your server should now be viewable on the internet!
  21. I've become very good at mapping and I definately know how to rotate objects(control+arrows/home/end or mouse wheel). I made a ramp that goes through the ring, and I want to use a circular type checkpoint. However, it is facing sideways, and you have to go through the very center of the ring to register with it. I have attempted to rotate the ring with control + arrow keys, and have failed. Is there some special way to rotate checkpoints, or is my game messed up or something. Help appreciated, Greg0rz
  22. I really dont mind exiting the server to check my instant messages, because I would lose the race even if i just alt tabbed. However, exiting the complete game is a pain because you have to go through the annoying rockstar intro and such. One idea would be to allow alt tabbing, but alt+tab automatically disconnects you from the server and sends you to the main menu. Would that be possible?
  23. You need the windows dedicated server package....get it in the downloads section.
  24. I really like the idea of the loading screen and MOTD. As for the accounts I'm wondering how difficult it would be for the MTA team to implement after the whole game has already been programmed. Lets see what a team member has to say.
×
×
  • Create New...