Author Topic: what do i need to connect a mirc script to the new server  (Read 7286 times)

0 Members and 1 Guest are viewing this topic.

Offline Obito

  • Street Thug
  • *
  • Posts: 7
    • View Profile
what do i need to connect a mirc script to the new server
« on: February 11, 2010, 12:19:56 am »
hello
i have an old script that is made for the r1 version
and i wanted to connect it to a r2 server
but that didn't work
it says connecting ... and it fails
do i need some special dll or a new dll file or something
or i need something else

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: what do i need to connect a mirc script to the new server
« Reply #1 on: February 11, 2010, 12:34:07 am »
Script name?
Yes u need a new dll but say script name.

Hai Obi btw :p

Offline Obito

  • Street Thug
  • *
  • Posts: 7
    • View Profile
Re: what do i need to connect a mirc script to the new server
« Reply #2 on: February 11, 2010, 12:50:31 am »
my own script
i was working on it before i left vcmp
and hi NC xD
btw i get some message saying
RCON : unable to connect to remote console server
and maxusers = 0
on the ms-dos window
is that normal ?

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: what do i need to connect a mirc script to the new server
« Reply #3 on: February 12, 2010, 12:18:14 am »
Add "rcon_max_users 2" line in your server.cfg.

Offline AdTec_224

  • Administrator
  • Street Thug
  • *****
  • Posts: 30
    • View Profile
Re: what do i need to connect a mirc script to the new server
« Reply #4 on: February 12, 2010, 12:39:23 am »
what dll was the script using on r1? VRockers DLL or the original DLL? also make sure you have
Code: [Select]
RconMaxUsers = 1 in your server.ini.

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: what do i need to connect a mirc script to the new server
« Reply #5 on: February 12, 2010, 12:47:20 am »
in your server.ini.
Oh, mrc servers still use inis. :x

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: what do i need to connect a mirc script to the new server
« Reply #6 on: February 12, 2010, 12:52:27 am »
in your server.ini.
Oh, mrc servers still use inis. :x
lol pawn does too
** Thijn runs

Offline Obito

  • Street Thug
  • *
  • Posts: 7
    • View Profile
Re: what do i need to connect a mirc script to the new server
« Reply #7 on: February 15, 2010, 07:38:40 pm »
Boss : thanks i added that line and it worked well
Adtec : vrocker's dll
the script connected but now im having a little problem with the server
i updated the file called mode.pwn but the changes i made didn't take effect
i mean that i changed cars and changed the name of the mode and stuff
but none of that toke effect
don't know why

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: what do i need to connect a mirc script to the new server
« Reply #8 on: February 15, 2010, 07:48:17 pm »
i updated the file called mode.pwn but the changes i made didn't take effect
i mean that i changed cars and changed the name of the mode and stuff
but none of that toke effect
don't know why
There are many reasons for that:
1) You could have specified the other mode on server.cfg.
2) You can be compiling the mode of the other name.
3) Your compiling have failed (though in that case the server would simply not start up).
4) You have made the changes wrongly. :x
5) You haven't noticed the changes (though unlikely with mode name).

Also ensure that you use r2 upd2 server, because non-updated server had an issue where it was impossible to change mode name.

Offline Obito

  • Street Thug
  • *
  • Posts: 7
    • View Profile
Re: what do i need to connect a mirc script to the new server
« Reply #9 on: February 15, 2010, 09:31:10 pm »
i'm not sure if i understand what you said
anyway this is my server.cfg file if it could help
Code: [Select]
echo Executing Server Config...
friendlyfire 1
lanmode 0
maxplayers 50
port 5192
hostname Test Server
gamemode0 mode 1
rcon_password ******
rcon_max_users 2
i personally don't think that something is wrong with what i edited
cause all i edited was changing the name of the "szGameModeName"
and cars
also
what i really don't understand is , if the mode.pwn file is changed where the server is getting those cars coords from
i even delete the mode.pwn file for test and the server worked fine

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: what do i need to connect a mirc script to the new server
« Reply #10 on: February 15, 2010, 09:33:18 pm »
what i really don't understand is , if the mode.pwn file is changed where the server is getting those cars coords from
i even delete the mode.pwn file for test and the server worked fine
Server is getting data from the compiled script (.amx). In order for your .pwn script to work, you need to compile it first. You can compile the script by pressing F5.

Offline Obito

  • Street Thug
  • *
  • Posts: 7
    • View Profile
Re: what do i need to connect a mirc script to the new server
« Reply #11 on: February 15, 2010, 11:09:27 pm »
thanks dude for your replies and sorry for tiring you with me
but where do i push F5
do i open the .pwn file with blocnote and push F5 or push F5 when i open the folder or  ???

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: what do i need to connect a mirc script to the new server
« Reply #12 on: February 15, 2010, 11:17:22 pm »
do i open the .pwn file with blocnote and push F5 or push F5 when i open the folder or  ???
You should be using Pawno IDE for compiling your scripts. You can get it here: http://vicecitymultiplayer.com/dl.php?f=8
Just open your pawn script in pawno.exe, edit whatever you like and compile it by pressing F5 while Pawno is active or by selecting Build/Compile from the menu.