• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - VRocker

#76
mIRC/pawn Scripting / Re: mIRC Tutorial No.1 by Windlord
September 28, 2008, 10:59:51 PM
it would actually be:

on *:TEXT:*idiot*:#:{
kick $chan $nick
writeini "curse.ini" $nick say idiot
}

Read the mIRC help file for what identifiers work :)
#77
mIRC/pawn Scripting / Re: mIRC Tutorial No.1 by Windlord
September 25, 2008, 04:05:27 PM
:o wow very nice tut windy :) its sure to help out a lot of people.

Well done explaining these :)
#78
General Discussion / Re: Suggestions for Version 0.4
September 15, 2008, 08:22:30 AM
On the weapon balance idea, you could always add customisable weapon info server side, and the ability to change it via scripting :)

Would make a nice feature and it allows server hosters to balance the game themselves
#79
mIRC/pawn Scripting / Re: timer.refresh
September 13, 2008, 02:03:47 PM
tried calling it timerrefresh? cant remember if dots after the timer mess things up

Another reason ofcourse is that your forgetting to start the timer :)
#80
mIRC/pawn Scripting / Re: timer.refresh
September 13, 2008, 01:29:00 AM
Your missing a few $'s

Any command which has brackets after is (in your case vcmp.rob.loc) should have a $ infront of it.
For example: vcmp.rob.loc($1) would become $vcmp.rob.loc($1)

It'll be the same for your timer. So it'll be
timer.refresh 0 2 $vcmp.chkloc(%name)
#81
mIRC/pawn Scripting / Re: Want Scripter....
September 04, 2008, 03:40:34 PM
I could help you... but your unwilling to help yourself. You just want everybody to do everything for you.

I am willing to help anybody that is willing to learn and understand how they are being helped. I am not willing to do everything for somebody. And i assume everybody else is like that too.
#82
mIRC/pawn Scripting / Re: Want Scripter....
September 03, 2008, 11:15:11 PM
TOUGH!

But seriously... what a waste of a topic. Nobodys gonna help you if you just scream I WANT A SCRIPTER at everybody
#83
mIRC/pawn Scripting / Re: 1 question
September 03, 2008, 11:11:41 PM
ermm just poking my head in here... but isn't that script missing some required aliases?

And the ini shouldn't need Sunshine Autos added in for every id. look into using $iif, it'll save work :)
#84
* VRocker looks for the 'Other' selection

Personally i'd go for something else since i dont like pawn, and mirc is a bit too slow and inefficient (when compared to a proper language)

I'd prefer to have dll plugin support to a server so things can be written in a real language such as C++ :)

If i had to choose though i'd go for mIRC scripting since its easier, and dll's are piss easy to make for it ;)
#85
mIRC/pawn Scripting / Re: Bank Killing
August 28, 2008, 06:51:24 PM
Thanks to WSV having aliases to make this a lot easier... This turns into 5 lines of script! :)

This is untested but i'm fairly certain it will work (Aslong as the bank is actually called 'Bank' but you can change that)

on *:SIGNAL:WSV.kill {
  if ( ( $wsv.loco( $2 ) == Bank ) && ( $wsv.loco( $3 ) == Bank ) ) {
    wsv.say $wsv.Warn( $2, Auto-Admin, Killing in the bank )
  }
}
#86
mIRC/pawn Scripting / Re: $vcmp.area(%id) Doesnt work
August 27, 2008, 12:55:30 PM
Seems to me that you have an invalid line in your vcmp.data.ini file under [AREAS]. This would cause the invalid parameters error if there is a stray letter somewhere. Try wiping the [AREAS] section clean then gradually re-add lines until it fails.

You could also pastebin it and give us the link (It may be long) so we can have a look for ourselves
#87
mIRC/pawn Scripting / Re: !bikers etc.
August 27, 2008, 01:21:59 AM
bazza, i suggest you calm down and stop flaming somebody for trying to help.
I dont see you helping thijn and if your such a good scripter, why not?

Everybody has to start somewhere. You was a beginner once! and loops can be difficult for some people or extremely easy for others. We arn't all the same.

Ok, i agree that force shouldn't be making scripts up off the top of his head to help others without first testing as hes a beginner but hey, he tried which counts for something.

Oh and on a side note... Who taught you to count... 1... 2.... 4!? Or did somebody eat point 3? ;)
#88
mIRC/pawn Scripting / Re: !bikers etc.
August 27, 2008, 12:51:49 AM
Yes, Force is a beginner at scripting but hes learning!
Yes his loops are a bit inefficient but wern't yours when you first started out? i know mine were!

I've talked to Force and gave him pointers on improving his scripts and i offer help to anybody that asks me. And yes, the FBS scripts were a bit crashy which was partly down to my DLL (which i recently fixed).

Anyway back on track... Force was on the right lines with his loop (shame he cocked it up a bit) so dont have a go at him

Oh and thijn, a few things with your code... i notice you have a Tab in you code you posted (Tabs are VERY bad in mirc code, dont use notepad :))

Heres the fix you want:
elseif ($2 == !bikers) {
    var %a = 0, %b
    while (%a <= 50) {
      if ($vcmp.skin($vcmp.name(%a)) == Biker) {
        if ( %b ) %b = %b $+ , $vcmp.name(%a)
        else %b = $vcmp.name( %a )
        !inc %a
      }
    }
    vcmp.say The follow players are using the Biker skin:
    vcmp.say %b
  }


And before anybody bitchs about an inefficient loop... I dont know the alias in GUS which gets the ammount of players in the server, or the maximum ammount of players allowed
#89
mIRC/pawn Scripting / Re: [Request]RPG Script
August 21, 2008, 10:27:31 PM
These scripts are usually very big and complex and it takes a lot of time to perfect them. Even then i dont think whoever makes it would want to give it away for free or have to keep maintaining it because you break it or something.

Just either use current RPG scripts and modify them (remember to keep the credits!) or look through other peoples scripts and learn from them
#90
Script Showroom / Re: New VC-MP mIRC Admin
August 21, 2008, 06:57:48 PM
I've been busy with this DLL today! :D Fixed a lot of bugs and added a few more things :)

Heres a list of changes:

  • Added the SetPlayerMarker and RemoveMarker functions which i forgot about when i made the DLL
  • Added some new functions for getting spectators and setting the maximum players
  • Fixed a LOT of crashes. Mainly ones due to disconnecting/reconnecting and closing the dialog
  • Fixed a major memory leak which ate RAM and caused crashes (Whoops!)
  • (old)Added AddPickup and AddVehicle to manually insert Pickups and Vehicles into the internal pools. This does NOT create pickups and vehicles. Check the included script on how they are used.
  • Redone vehicle/weapon names as some were missing (Thanks Murdock and Windlord)

There may be some more which i've forgotten about. Main things are the crash fixes and the Marker functions :)

Enjoy!

P.S. Download from the first post or Here