Jump to content

MTA:SA General Use Scripts | Final Version!


Tommis

Recommended Posts

You can find your client port in the mtaserver.conf file, where your admin+ pass and more options are in too. Just go to your MTA San Andreas map, and open: server\mods\race\mtaserver, where you can edit the config file of your server, and connect to your local IP. That should hopefully work.

Link to comment
  • Replies 382
  • Created
  • Last Reply

Top Posters In This Topic

coz, I found out

well thats a lead indeed

How can I fix this?

thats something for the mirc experts ... im just trying to help :D

*CoZ works at a helpdesk , and gets better at looking for problems/causes ;)

.. line 22 on mta.mrc =

        !writeini -n $+(",$scriptdir,%a,.ini") $bvar(&a,%b) Nick1 $bvar(&a,$calc(%b + ,$calc(%c - %b - ).text

but thats chinese to me :P

Link to comment

Hmm, connecting to a server with a dynamic IP keeps you logged out I guess? That you have to login each and every time when you'll connect to a server. Maybe if there's going to be added something that you have the chance to login with 30 secs, or else you get kicked for a 'wannabe person'.

Link to comment
Umm,

There is a way to disable but i wouldnt suggest it. It scans the first two ip groups, so i dunno y that person keeps gettin kicked onless he switches ISP's all the time..

his wonderfull isp gives him a ip anywhere from 80. to 86.

i've never seen such a overactive dynamic IP :D

I could try to create a IF hisname skip IP check .. but im worried that ill break it :D

if in admin.ini i add a few lines like

nick = 80

nick = 81

nick = 82

nick = 83

nick = 84

nick = 85

nick = 86

will that work ?

(ive tried it with nick = * .. that got him kicked :o )

i removed that ip line for him alltogether but that seems to break some checks , he wont be welcomed as admin on connect and most commands work .. but sometimes he just keeps getting kicked ..

ill also try having him try to contact his isp

i should add that he has a usb modem .. but even then a fixed IP is possible

Link to comment

Well,

It writes the first two IP groups on the ini, then if the level is over 2 on the person (On Join) it does like "if GETINI2IPGROUPS isin $mta.ip($1,$2)" so just change in the ini put just a 8. There for if has a 8 in the ip (You said 86-80) wont kick him. Though im prolyl gonan sync this with the RRCON, though i dunnoz...

Good Luck,

[XE]Tommis

Link to comment
Well,

It writes the first two IP groups on the ini, then if the level is over 2 on the person (On Join) it does like "if GETINI2IPGROUPS isin $mta.ip($1,$2)" so just change in the ini put just a 8. There for if has a 8 in the ip (You said 86-80) wont kick him. Though im prolyl gonan sync this with the RRCON, though i dunnoz...

Good Luck,

[XE]Tommis

k like i said ill try .. i tried ..

should it be in admin.ini as

" nick = 8. " ? or would " nick = 8 " work too

anyway ..

i tried it with nick = 8 .. and he got kicked

i changed it to

nick = 80

nick = 81

nick = 82

nick = 83

nick = 84

nick = 85

nick = 86

got him kicked

removed the

nick = ip from the [sET] part totally

he reconnected , he didnt get kicked

has level 8 , but didnt get it as message , not listed with !admin .. but can do nice admin things

here is the fun part , i opened admin.ini again and now in the [sET] part is

nick = fullIP

edit // [set] i ment [iP] .. edit

Edited by Guest
Link to comment

Hey,

Look in Admin.ini under [iP] and look for his name (Replacing [] with ~~) and make it like

hisnamehere=8

---------------------------------

On the other hand i had just released a new installer and tutorial for this witch you should find easy now to install. You just run the setup and its practically done. Please read the short turorial (Includes pictures)

Cya,

[XE]Tommis

Link to comment

Why does this script force you to join the XE clan channels?

The only possible reason that I could think of, is that the only way you can get new users to come and visit is by hiding this forced little 'feature' in your script.

Lame.

Link to comment

Yes, soz, after i built the installer (Used trial version and it ran out..) i noticed that (Used the same mirc that i use to connect to XE channels.) please avoid that, just remove from favorites. Cant be that much of a problem.

Just go in favorited, and highlight #xe and click remove. Soz

(Look in Suggestions Topic for a UPDATE)

Cya,

[XE]Tommis

Link to comment

look at this :shock:

[15:06:18] CONNECT: bandit connected (IP: 88.111.93.195)

[15:10:23] CONNECT: Ben149 connected (IP: 172.143.117.4)

[15:10:29] ADMINCHAT: coz: bandit's Level: 1

[15:16:58] CONNECT: ben149 connected (IP: 88.111.93.195)

[15:22:14] CONNECT: CoZ connected (IP: 88.111.93.195)

[19:48:59] CONNECT: CoZ connected (IP: 88.110.79.141)

[19:49:17] CHAT: CoZ: !admin

[19:49:17] ADMINCHAT: coz: Online Admin(s): CoZ :)

[19:49:28] CHAT: CoZ: !level

[19:49:30] ADMINCHAT: coz: CoZ's Level: 10

(i have a admin running around called : ) ..)

i did tweak the x13 a bit . but im quitte sure i stayed very far away from the ip check kick thing .. and , well since i did talk about it recently .. im quitte sure it works for at least some situations

i must add that this bandit fellow was a admin before doing this all

(and after i noticed he found this way in the afternoon i made sure i removed it from admin.ini)

the script is running on same comp as i use to connect and server is too .. so its all localhost ..so lvl 10 admin is 127.0.0.1 etc

any suggestions ? (and no i dont have the things id try for the other fellow any more, he settled on using rcon)

he tried a few times with different ips

if you want i can send you the log , the ini files and my version of x13 ..

i moved all inis to new folder .. made one new admin with !set with some impossible to remember nick .. but , well thats no sollution either

----

edit .. well after the ini file flush it went back to plain old reliable

[23:28:10] NICK: bandit is now known as CoZ

[23:28:10] ADMINCHAT: coz: CoZ - Invalid IP Match

[23:28:11] KICK: 'CoZ' kicked from server by Remote Admin 'coz' (ID: 0)

im still not sure if everything is fixed .. or what was broken for the matter

im not sure if i was the cause or maybe the admin.ini just got corrupt after so manny (strange) nicks ..

well .. all im saying .. be adviced .. there maybe a lesson here

it worked so well for so long .. its very easy to think it all works ..

occasionally test stuff :D

its probably been my own fault orsome , but still wanted to share all this

since its reallllly terrible to see that someone just logged in with your nick and got level 10 .. and starts to kick admins etcetcetc

glad i just happened to be watching the server :D

------------

edit

here is another tip i found

he kept changing his IP .. but the ban system only checks óne IP

well ..hmkay .. a workaround for that

add nick in admin.in with some impossible IP .. like 9.9.9.9

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...