• 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

Topics - thijn

#1
General Discussion / VC:MP Player Count Charts
April 11, 2011, 03:15:24 PM
Posted this yesterday on the Vice Underdogs Forum and though it would be nice here too.

You can find it here: Clicky!
#2
Tutorials / Setting up a R2 Server made with Pawn
February 25, 2010, 08:48:32 PM
As i've helped alot of people on the scripting section here at the forums,
I though I would make a tutorial where i could link to when I get basic question like even starting it, config, cars, skins and such things.

The tutorial is 16 pages long (with 1 small credits page) so, Please take your time.

Tutorial can be found here

It would be the best if there were no mirrors, as i will update it once there is something missing // mistakes were made.

Also, Please report any mistakes or things you would like to be added.

Hope you learn something with it ;)

- Thijn
#3

Season 2 from Vice City Dueling Championship is starting Soon!

Vice City Duel Championship is an idea derived from [VU]aXXo.
This Vice City tournament aims to revive player activities in Vice City Multi Player servers.

The Tournament follows a chart. It involves Play-Offs, Quarter Finals, Semi-Finals and the Finals. The winner is decided through the tree and gets the honor of Rank #1 Fighter in VCMP.

VCDC will choose players through Fighter Applications.
The Administrative and Coordinating tasks will be done by the VCDC Admin team.
The Tournament promotes goodwill and sportive nature among players.

Go Sign up here

Hope we see you all soon ;)

Regards,
Thijn
#4
General Discussion / pawno Script
January 10, 2010, 01:37:57 PM
The script which is included in the new Pawno server isnt working.
We can't compile it, because it has errors.


First, the first line:

#include <a_samp>

is wrong because it has to be

#include <a_vcmp>


then
when trying to compile the default script we get these error's:

*******\pawno\vcmp.pwn(23) : warning 202: number of arguments does not match definition
*******\pawno\vcmp.pwn(23) : warning 202: number of arguments does not match definition
*******\pawno\vcmp.pwn(24) : error 017: undefined symbol "SetPlayerCameraPos"
*******\pawno\vcmp.pwn(25) : error 017: undefined symbol "SetPlayerCameraLookAt"
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


2 Errors.

(used '*******' to leave out my personal folder names)

So, can someone please give us a working default script were we can work with....
#5
mIRC/pawn Scripting / World Boundaries Tool by Jacob
August 22, 2009, 05:24:31 PM
Does someone have the World Boundaries tool made by Jacob??
I really need it and the normal download location is down  :'( :'(
#6
mIRC/pawn Scripting / Car Colors
July 31, 2009, 11:13:56 AM
I made a list of all 94 car colors, Maybe someone can use it.
Here it is

p.s Some colors could be wrong, if so try using the color before. so if 60 is not blue, use 59
#7
Hey all,
Maby someone can help me. I'm trying to get the server info from my website,
I thought it could with the masterlist file (http://vicecitymultiplayer.com/masterlist.php) but I don't know how :'(
It keeps saying "Error: invalid version", Maby someone knows what to do??

Thanks,
Thijn
#8
Here are some screens from Beta Testing:

#9
Script Showroom / Vehicle to Model Converter by Thijn
February 15, 2009, 05:39:51 PM
Because the converter from Rulk is not public anymore, Made I a new Converter.
Before you can run it, You need the .net Framework.



Screens/How to use



Main Window:



You can paste your config, Or just load it:



The program will delete the other lines of config (like servername, pickups etc.) And will delete comment lines.



After that Auto-Format, You can start converting it to the ini, Press Convert.
Then it will start:



After that is done (Very Fast):
You can choose between Copy the output to the Clibboard, Or save it to an Ini file.



Download



You can download the program here.





Note


There could be some bugs in it, If you see one, Please post it, And I will try to fix it.
#10
mIRC/pawn Scripting / mIRC Logger
September 28, 2008, 01:24:28 PM
I maked a program that upload your mIRC log to a FTP server,
I use it because someone was cheating and my computer crashed later, so i had no proof. Now i have my log on the FTP sever ;)
The program uploads your log every minute to the Server.
Hope someone can use it.
Link

NOTE: The program is in BETA fase, so there could be bugs in it, Pleas post if you found one :)
#11
mIRC/pawn Scripting / timer.refresh
September 12, 2008, 11:27:12 PM
Hey all,
I want to make a script that checks if someone is at a location, ex: in the bank.
i thought something like:

timer.refresh 0 2 vcmp.chkloc(%name)

alias:


alias vcmp.chkloc {
if ((vcmp.rob.loc($1) == The Warenhouse) && ($vcmp.area($vcmp.getid($1)) != The Warenhouse)) {
vcmp.msg $vcmp.getid($1) You didnt gave the money on time. You lose $ $+ 100.
vcmp.cash- $vcmp.getid($1) 100
}
elseif ((vcmp.rob.loc($1) == The Warenhouse) && ($vcmp.area($vcmp.getid($1)) == The Warenhouse)) {
vcmp.msg $vcmp.getid($1) You gave the money just on time! You get 50% that 2500!
vcmp.cash+ $vcmp.getid($1) 2500
}
}

But this isnt working...
MIRC:
Quote* /vcmp.rob.chk(%name): not connected to server
-
* /vcmp.rob.chk(%name): not connected to server
-
* /vcmp.rob.chk(%name): not connected to server
-
* /vcmp.rob.chk(%name): not connected to server
-
* /vcmp.rob.chk(%name): not connected to server
-
* /vcmp.rob.chk(%name): not connected to server
-
* /vcmp.rob.chk(%name): not connected to server
-
* /vcmp.rob.chk(%name): not connected to server
Why ??? ???
Not connected????
And how can i fix this problem??
Pleas help me...
#12
mIRC/pawn Scripting / !bikers etc.
August 26, 2008, 03:45:53 PM
I have this code:

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

But when i do !bikers
it only says:
Quote
The follow players are using the Biker skin:
When i go to mIRC i see this error:
Quote
* /      if: not connected to server (line 1679, gus.mrc)
why??? and how can i fix it?
#13
i have this code:

timer 1 3 vcmp.spawned($1)

alias:

alias vcmp.spawned {
  if (Biker isin $vcmp.area($vcmp.getid($1))) {
  hadd -m vcmp.skins $vcmp.name(%id) Biker
  vcmp.msg $vcmp.getid($1) You spawned as a Biker.
  vcmp.msg $vcmp.getid($1) Area: $vcmp.area($vcmp.getid($1))
  }
  if (Pole isin $vcmp.area($vcmp.getid($1))) {
  hadd -m vcmp.skins $vcmp.name($vcmp.getid($1)) Stripper
  vcmp.msg $vcmp.getid($1) You spawned as a Stripper.
    vcmp.msg %id Area: $vcmp.area($vcmp.getid($1))
  }
  if (Fire isin $vcmp.area($vcmp.getid($1))) {
  hadd -m vcmp.skins $vcmp.name($vcmp.getid($1)) Fire-Man
  vcmp.msg $vcmp.getid($1) You spawned as a Fire-Man.
    vcmp.msg $vcmp.getid($1) Area: $vcmp.area($vcmp.getid($1))
  }
  if (Sady isin $vcmp.area($vcmp.getid($1))) {
  hadd -m vcmp.skins $vcmp.name($vcmp.getid($1)) Paramedic
  vcmp.msg $vcmp.getid($1) You spawned as a Paramedic.
    vcmp.msg $vcmp.getid($1) Area: $vcmp.area($vcmp.getid($1))
  }
  if (Police isin $vcmp.area($vcmp.getid($1))) {
  hadd -m vcmp.skins $vcmp.name($vcmp.getid($1)) Cop
  vcmp.msg $vcmp.getid($1) You spawned as a Cop.
    vcmp.msg $vcmp.getid($1) Area: $vcmp.area($vcmp.getid($1))
  }
  if (Military isin $vcmp.area($vcmp.getid($1))) {
  hadd -m vcmp.skins $vcmp.name($vcmp.getid($1)) Military
  vcmp.msg $vcmp.getid($1) You spawned as a Military.
    vcmp.msg $vcmp.getid($1) Area: $vcmp.area($vcmp.getid($1))
  }
}

But when i spawn (it should chk my skin/location) mirc says a error:
Quote
* Timer 2 activated
-
* Timer 2 halted
-
* /vcmp.spawned($1   : not connected to server

Why??? I'm connected to my server ??

p.s Im using GUS
#14
mIRC/pawn Scripting / Car pickup
August 21, 2008, 10:13:41 AM
Is there any Pickup that can be picked up by car only??
#15
mIRC/pawn Scripting / $vcmp.area(%id) Doesnt work
August 20, 2008, 12:08:19 PM
Whats wrong with this:
Quote
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)
 
  echo @Server 5 $+ >> $1 spawned $+ 
  if ($vcmp.setting.spawn == On) vcmp.say >> $1 spawned
  if (($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1)) {
    if ($vcmp.ip(%name) == $readini(vcmp.admin.ini,IPS,%name)) {
      vcmp.say $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator)) %name Auto-Logged In (Admin Level: $vcmp.level(%id) $+ )
      vcmp.msg %id You Auto Logged In - Nick-Name: %name $+ , Admin Level: $vcmp.level(%id) $+ , Status: $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator))
      vcmp.timer.login %name off
      !writeini -n vcmp.admin.ini LIN %name 1
      !writeini -n vcmp.admin.ini IPS %name $vcmp.ip(%name)
    }
    else {
      vcmp.announce %id PLEASE LOGIN TO THIS NICK-NAME
      vcmp.msg %id You Must Login to this Nick-Name! Type: /c login <password>
      vcmp.sethp %id 0
    }
  }
  vcmp.add.spawns $vcmp.getid($1) 1

  ;!writeini -n vcmp.cheat.ini CHECK $1 0
  vcmp.msg %id $vcmp.area(%id)
}
Because if i spawn i get no msg.
When i do:
Quote
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)
 
  echo @Server 5 $+ >> $1 spawned $+ 
  if ($vcmp.setting.spawn == On) vcmp.say >> $1 spawned
  if (($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1)) {
    if ($vcmp.ip(%name) == $readini(vcmp.admin.ini,IPS,%name)) {
      vcmp.say $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator)) %name Auto-Logged In (Admin Level: $vcmp.level(%id) $+ )
      vcmp.msg %id You Auto Logged In - Nick-Name: %name $+ , Admin Level: $vcmp.level(%id) $+ , Status: $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator))
      vcmp.timer.login %name off
      !writeini -n vcmp.admin.ini LIN %name 1
      !writeini -n vcmp.admin.ini IPS %name $vcmp.ip(%name)
    }
    else {
      vcmp.announce %id PLEASE LOGIN TO THIS NICK-NAME
      vcmp.msg %id You Must Login to this Nick-Name! Type: /c login <password>
      vcmp.sethp %id 0
    }
  }
  vcmp.add.spawns $vcmp.getid($1) 1

  ;!writeini -n vcmp.cheat.ini CHECK $1 0
  vcmp.msg %id Spawned
}
It works ??? ??? ???
Why?
#16
mIRC/pawn Scripting / Problem with /c goto etc.
August 12, 2008, 04:58:06 PM
I have a problem.
I want to convert !goto <id/name> to /c goto <id/name>
but when i use this, it doesnt work :-[ :-[

  elseif ($2 == goto) {
    if ($vcmp.cmdcheck(!goto,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name>
    elseif (%a == -1) vcmp.msg %id Error - Absent ID/Name
    elseif (%a == $vcmp.getid(%name)) vcmp.msg %id Error - Cannot $2 to Yourself
    elseif ($vcmp.cost(%b) > $vcmp.cash(%b)) vcmp.msg %id Error - You need atleast $ $+ $bytes($vcmp.cost(%b),b) to use this command
    else {
      vcmp.cash- %b $vcmp.cost(%b)
      vcmp.goto %b %a
      vcmp.cmdsay $2 %id Goto - Taking: %name $+ , To: $vcmp.name(%a) $+ , Cost: $ $+ $bytes($vcmp.cost(%b),b)
    }
  }

I have the same problem with: Ban, Kick, Warn and Subalias  :-[

elseif ($2 == ban) {
    if ($vcmp.cmdcheck(!ban,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name> <reason>
    elseif (%a == -1) vcmp.msg %id Error - Invalid ID/Name
    elseif (%a == $vcmp.getid(%name)) vcmp.msg %id Error - Cannot $2 Yourself
    elseif ($vcmp.level(%a) >= $vcmp.level($vcmp.getid(%name))) vcmp.msg %id Error - Cannot $2 a player with the same or higher Level
    else {
      vcmp.cmdsay $2 %id Banning $vcmp.name($vcmp.getid($3)) - By Admin: %name $+ , Reason: $iif($4,$v1,None)
      vcmp.ban $vcmp.getid($3)
    }
  }
  elseif ($2 == kick) {
    if ($vcmp.cmdcheck(!kick,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name> <reason>
    elseif (%a == -1) vcmp.msg %id Error - Invalid ID/Name
    elseif (%a == $vcmp.getid(%name)) vcmp.msg %id Error - Cannot $2 Yourself
    elseif ($vcmp.level(%a) >= $vcmp.level($vcmp.getid(%name))) vcmp.msg %id Error - Cannot $2 a player with the same or higher Level
    else {
      vcmp.cmdsay $2 %id Kicking $vcmp.name($vcmp.getid($3)) - By Admin: %name $+ , Reason: $iif($4,$v1,None)
      vcmp.kick $vcmp.getid($3)
    }
  }
  elseif ($2 == warn) {
    if ($vcmp.cmdcheck(!warn,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name> <reason>
    elseif (%a == -1) vcmp.msg %id Error - Invalid ID/Name
    elseif (%a == $vcmp.getid(%name)) vcmp.msg %id Error - Cannot $2 Yourself
    elseif ($vcmp.level(%a) >= $vcmp.level($vcmp.getid(%name))) vcmp.msg %id Error - Cannot $2 a player with the same or higher Level
    else {
      vcmp.warn $vcmp.getid($3) %name $4-
    }
  }
  elseif ($2 == goto) {
    if ($vcmp.cmdcheck(!goto,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name>
    elseif (%a == -1) vcmp.msg %id Error - Absent ID/Name
    elseif (%a == $vcmp.getid(%name)) vcmp.msg %id Error - Cannot $2 to Yourself
    elseif ($vcmp.cost(%b) > $vcmp.cash(%b)) vcmp.msg %id Error - You need atleast $ $+ $bytes($vcmp.cost(%b),b) to use this command
    else {
      vcmp.cash- %b $vcmp.cost(%b)
      vcmp.goto %b %a
      vcmp.cmdsay $2 %id Goto - Taking: %name $+ , To: $vcmp.name(%a) $+ , Cost: $ $+ $bytes($vcmp.cost(%b),b)
    }
  }
  elseif ($2 == subalias) {
    if ($vcmp.cmdcheck(!subalias,%id) == fail) !halt
    elseif ($vcmp.getid($3) == -1) {
      if (!$vcmp.alias($3)) vcmp.msg %id Error - Could Not Find Sub-Alias Under " $+ $3 $+ " $+ , $2 <name/ip>
      else vcmp.cmdsay $2 %id $3 $+ 's Sub-Alias - Names: $vcmp.alias($3)
    }
    elseif (!$vcmp.alias($gettok($vcmp.ip($vcmp.name($vcmp.getid($3))),1-2,46))) vcmp.msg %id Error - $vcmp.name($vcmp.getid($3)) does not have a Sub-Alias
    else vcmp.cmdsay $2 %id $vcmp.name(%a) $+ 's Sub-Alias - Names: $vcmp.alias($gettok($vcmp.ip($vcmp.name(%a)),1-2,46))
  }


Plz can someone help me ???
#17
I have this line:
!writeini -n vcmp.warns.ini WARNS $vcmp.hgetname($1) 0
but when i run it, my mIRC says: /writeini: insufficient parameters (line 97, rcon.mrc) ???  :'(

What's wrong with it? and how can i fix it?
#18
mIRC/pawn Scripting / Freeze
July 20, 2008, 08:22:04 PM
Does someone know how i can make a command like freeze, if i type !freeze <player> the player cant move anymore, untill i type !unfreeze <player>.
How do i start ???
#19
How do i know the X Y Z  of Playerpos, Campos and Camlook. Build mode?????
Or maby a tool?
Plz does someone knows?
#20
mIRC/pawn Scripting / votekick
July 09, 2008, 09:15:14 PM
How can i make a command like !votekick ID/Name. If 5 ppl say !vote the ID/name will be kicked.