Author Topic: mIRC obsolete ?  (Read 6247 times)

0 Members and 1 Guest are viewing this topic.

Offline SilenusShar

  • Street Thug
  • *
  • Posts: 6
    • View Profile
mIRC obsolete ?
« on: February 09, 2010, 07:39:22 pm »
After that long debate about squirrel, it has come to light that there might be a possibility that mIRC will no longer be supported in VC:MP.

1. Is this true?


If this is correct;

2. Will it become totally obsolete ? e.g, I will not be able to connect my current script to future server releases.

3. What sort of timescale would this happen in, and is it worth "brushing up" my mIRC script?

Offline Skirmant

  • Made Man
  • ***
  • Posts: 134
    • View Profile
Re: mIRC obsolete ?
« Reply #1 on: February 09, 2010, 07:42:45 pm »
The only one that can answer these questions is a VCMP Dev.

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: mIRC obsolete ?
« Reply #2 on: February 09, 2010, 07:47:39 pm »
*even longer sigh*
Well up to now vcmp has only had irc scripting released so all server's currently run std server with irc scripts. So trying to give them time to convert there modes in pawn.

That means: VC-MP used mrc in the past, but now Pawn is being developed and there is no valid reason to keep mrc.

Offline Skirmant

  • Made Man
  • ***
  • Posts: 134
    • View Profile
Re: mIRC obsolete ?
« Reply #3 on: February 09, 2010, 07:48:53 pm »
*even longer sigh*
Well up to now vcmp has only had irc scripting released so all server's currently run std server with irc scripts. So trying to give them time to convert there modes in pawn.

Doesn't answer question number 3.

Offline SilenusShar

  • Street Thug
  • *
  • Posts: 6
    • View Profile
Re: mIRC obsolete ?
« Reply #4 on: February 09, 2010, 07:58:13 pm »
*even longer sigh*
Well up to now vcmp has only had irc scripting released so all server's currently run std server with irc scripts. So trying to give them time to convert there modes in pawn.

That means: VC-MP used mrc in the past, but now Pawn is being developed and there is no valid reason to keep mrc.

Well, yes, 1 and 2 are not directly answered, but are slightly insinuated.

*even bigger sigh*  - for different reasons. (I spent 2 years creating my mIRC script, and don’t fancy another two years converting)

Thank you for your reply though.

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: mIRC obsolete ?
« Reply #5 on: February 09, 2010, 08:07:21 pm »
are slightly insinuated.
I posted Falcon's quote in the very thread you mentioned in the 1st post. You could've read it there.

I spent 2 years creating my mIRC script, and don’t fancy another two years converting
Converting takes much less, really.

Offline VRocker

  • LU Developer
  • Wiseguy
  • *
  • Posts: 63
    • View Profile
    • Liberty Unleashed - GTA3 Multiplayer Mod
Re: mIRC obsolete ?
« Reply #6 on: February 09, 2010, 08:18:52 pm »
So what, are they going to completely strip out the entire rcon, remove the commands which could be used for scripting, or just not add any more commands to it?

Since the mIRC scripts just work with the server by using the RCON interface for vcmp. It was never intended for scripting purposes.

If its just left as it is (which imo would be the best option), theres functions in pawn to send/receive commands on the rcon, meaning people could add to the mIRC scripting stuff themselves.
This way the developers wouldn't need to add any extra stuff to the rcon, but wrappers could still be made in pawn to provide the functionality if needed.


Offline SilenusShar

  • Street Thug
  • *
  • Posts: 6
    • View Profile
Re: mIRC obsolete ?
« Reply #7 on: February 09, 2010, 09:33:37 pm »
sorry boss, I did not intend "insinuated" to come across offensive


theres functions in pawn to send/receive commands on the rcon, meaning people could add to the mIRC scripting stuff themselves.

would you elaborate for me please, as this sounds rather intriguing.


Offline VRocker

  • LU Developer
  • Wiseguy
  • *
  • Posts: 63
    • View Profile
    • Liberty Unleashed - GTA3 Multiplayer Mod
Re: mIRC obsolete ?
« Reply #8 on: February 09, 2010, 10:06:15 pm »
Well, if you look in the pawn scripting stuff, you'll notice that theres these commands:

SendRconEvent
SendRconCommand

Aswell as a callback named OnRconCommand.

Although i havn't tested these commands, i imagine they would work like this:

Code: [Select]
public OnRconCommand(cmdtext[])
{
new cmd[256];
new tmp[256];
new idx;
cmd = strtok(cmdtext, idx);
if (strcmp(cmd, "lights", true) == 0)
{
tmp = strtok(cmdtext, idx); // player id
new playerid = FindPlayerIDFromString(tmp);
tmp = strtok(cmdtext, idx); // lights on/off
if ( strcmp(tmp,"1",true) == 0 ) SetVehicleLights( GetPlayerVehicleID(playerid), true );
else SetVehicleLights( GetPlayerVehicleID(playerid), false );
}
}

public OnPlayerRequestClass(playerid, classid)
{
SendRconEvent( "[ClassRequest] %i %i", playerid, classid );
}

This is just a rough draft but it looks asthough it will work. Then all you need to do is parse and send the stuff in the mirc dll


Offline Falcon

  • VC:MP Developer
  • Wiseguy
  • *
  • Posts: 73
    • View Profile
Re: mIRC obsolete ?
« Reply #9 on: February 10, 2010, 10:45:59 am »
Well the current list of rcon commands will stay so all irc scripts will still connect and work.

But as Boss was staying it will be a pawn server so all you cars and players will need to be added via pawn.. Plus i won't be adding in the extra rcon commands that pawn will have access too.

As for VRocker answer is correct also you can add in as many rcon commands as you like but tbh pawn is alot faster more stable and is always connected unlike irc so coverting you scripts would be the correct way to go.