• 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 - Usaji

#1
mIRC/pawn Scripting / Re: A Problem
January 18, 2010, 02:38:47 PM
Quote from: Falcon on January 18, 2010, 10:02:34 AM
Who said no irc support .. pawn server supports all rcons that std server does.
Quote from: thijn on January 17, 2010, 10:07:56 AM
But we have no support for plugins so no IRC echo. I will stick with mIRC ;D
thats great, but I dont know anything about pawn scripting language, I guess ill start looking for tuts

Quote from: Force on January 18, 2010, 01:11:28 PM
Quote from: Usaji on January 18, 2010, 02:32:38 AM
Quote from: thijn on January 17, 2010, 10:07:56 AM
But we have no support for plugins so no IRC echo. I will stick with mIRC ;D
I AGREE! :D

but after fixing this problem, another problem appeared its in the part event..
I cant get any information about the one who left the server like( cash, health, name( $3 only works but $vcmp.name($1,$2) doesnt work )  )
look at this...
on *:SIGNAL:vcmp.player.part:{
  ; $1 = ServerID, $2 = PlayerID, $3 = PlayerName, $4 = ReasonID, $5 = IP
  echo Server ID:[ $1 ]
  echo Player ID:[ $2 ]
  echo Name:[ $vcmp.name($1,$2) ]
  echo Name:[ $3 ]
  echo Cash:[ $vcmp.cash($1,$2) ]
  .timer -m 1 25 vcmp.playerlistupdate $1

  !.signal vcmp.part $1-
}


and this what I've gont in my mirc screen... :/

Server ID:[ 1 ]
Player ID:[ 0 ]
Name:[ Unknown ]
Name:[ [DU]Mr_Usaji ]
Cash:[ 0 ]

my cash was 5000, it gets the server id and my id but it doesnt get the money or the name( $vcmp.name($1,$2) ) so?...
any solutions?


note: I have a soliution, simply its making hash tables which saves names, money, health, etc but I think it would be laggy solution so if any one got a better idea please share it.


Sincerecly,
Usaji

You won't be able to send this information on the part signal apart from the players name and ID because the information regarding that player is cleared from the player pool inside the dll.

Why would you need to retrieve this information anyway?
For example, I want to save the money of the person who gets out of the server so the scripts can load it back when he gets back to the server, maybe i could work with the money change signal =P

Note: I remember when before R2 when i was using the same script i was able to get all the info i wanted =P, IDK what happened now

Thanks for the help Force =)
#2
mIRC/pawn Scripting / Re: A Problem
January 18, 2010, 02:32:38 AM
Quote from: thijn on January 17, 2010, 10:07:56 AM
But we have no support for plugins so no IRC echo. I will stick with mIRC ;D
I AGREE! :D

but after fixing this problem, another problem appeared its in the part event..
I cant get any information about the one who left the server like( cash, health, name( $3 only works but $vcmp.name($1,$2) doesnt work )  )
look at this...
on *:SIGNAL:vcmp.player.part:{
  ; $1 = ServerID, $2 = PlayerID, $3 = PlayerName, $4 = ReasonID, $5 = IP
  echo Server ID:[ $1 ]
  echo Player ID:[ $2 ]
  echo Name:[ $vcmp.name($1,$2) ]
  echo Name:[ $3 ]
  echo Cash:[ $vcmp.cash($1,$2) ]
  .timer -m 1 25 vcmp.playerlistupdate $1

  !.signal vcmp.part $1-
}


and this what I've gont in my mirc screen... :/

Server ID:[ 1 ]
Player ID:[ 0 ]
Name:[ Unknown ]
Name:[ [DU]Mr_Usaji ]
Cash:[ 0 ]

my cash was 5000, it gets the server id and my id but it doesnt get the money or the name( $vcmp.name($1,$2) ) so?...
any solutions?


note: I have a soliution, simply its making hash tables which saves names, money, health, etc but I think it would be laggy solution so if any one got a better idea please share it.


Sincerecly,
Usaji
#3
mIRC/pawn Scripting / Re: A Problem
January 16, 2010, 04:56:52 PM
ah, I Fixed it today, while looking at the scripts I found this..

on *:SIGNAL:vcmp.vehicle.healthchange:{
  ; $1 = ServerID, $2 = VehicleID, $3 = OldHealth, $4 = NewHealth

  var %driver = $vcmp.vehicledriver( $1, $2 )
  ;vcmp.say $1 Vehicle $2 $+ 's health changed from $3 to $4 (Driver: %driver $+ )
  vcmp.sethealth $1 %driver $calc( $4 / 10 )
}


Simply if we removed those lines, it will be fixed...

on *:SIGNAL:vcmp.vehicle.healthchange:{
  ; $1 = ServerID, $2 = VehicleID, $3 = OldHealth, $4 = NewHealth

}


Regards,

Usaji
#4
mIRC/pawn Scripting / A Problem
January 16, 2010, 02:53:49 AM
Hey Guys,

I Downloaded the latest R2 server and connected the scripts( Vrocker's Vc-Mp Mirc admin ) on it, later on I realized that when ever I hit somthing while in car, my hp goes down with the car AND when I go out of the car and get in another new car ( Scratchless ), My hp goes back to 100..

Note: I tried without scripts and nothing happens, so is it a bug from vrocker's script? or what?

Any Help Would be appreciated

Sincerely,

Usaji
#5
mIRC/pawn Scripting / Re: Scripts for 0.3zr2
January 06, 2010, 06:39:29 AM
Quote from: Skirmant on January 05, 2010, 12:46:48 PM
All of the scripts work with R2, all you need to do is update the dll.
Which can be downloaded through this link:
http://www.vicecitymultiplayer.com/dl.php?f=4
#6
Support / Re: R2 bug?
January 06, 2010, 06:36:05 AM
so all bugs are fixed except the sniper thing?
#7
Support / Re: R2 bug?
January 04, 2010, 02:01:01 AM
Then..

R2 Bug List:

#8
Support / Re: R2 bug?
January 03, 2010, 04:11:32 PM
Quote from: Falcon on January 03, 2010, 02:09:40 AM
Hi,

Great your guys are putting a list of bugs for us to work on.

Fixed the fast vehicle bug already ...

Can anybody tell us more about the kill on entry of vehicle bug .. maybe create a vid showing us. :)

Thanks for the reply Falcon,
But I'm afriad its not a r2 bug, it might be a script bug in xe as jc said...
Quote from: Jc18 on January 03, 2010, 03:05:55 AM
when you press enter to go in a car and when you are going to open the door, you die like if you type /kill

It is a script BUG in XE server. btw here  a video http://img229.imageshack.us/i/gtavc2010010300213040.mp4/

i tried like 516465434534 times in a server without script and i didnt get the bug but i tried in XE and i got the bug 3 times
#9
mIRC/pawn Scripting / Re: want commands for sansan
January 03, 2010, 01:14:19 AM
No Probz  ;)
#10
mIRC/pawn Scripting / Re: want commands for sansan
January 03, 2010, 12:02:47 AM
Quote from: thijn on January 02, 2010, 10:05:25 PM
eeh spam?
what do you mean with quoting the post from bakasan??
Maybe he wanted to give Devian a message like " what do you want more than this? ", I guess.... =P
#11
Hey Rami,

First of all you'll need a program called mIRC,
Download it from here: http://www.mircscripts.com/cgi-bin/oldmirc.cgi?mirc621.exe

After Downloading, Install it, Then Extract or copy those 2 files( vcmp.rpg ) into mirc directory then open mirc you'll get a white screen, type down //load -rs vcmp.rpg.mrc and every thing will work automatically

Sincerly,
Usaji
#12
Support / Re: R2 bug?
January 02, 2010, 07:37:18 PM
R2 Bugs List:

  • Fast Cars Bug ( Mentioned by Adtec above ) Fixed

  • Being Killed once entered a Vehicle ( I Found it out while playing in xe, Note: It occurs sometimes not all the times )

    We must make a locked pinned topic with those bugs to help out the devs

    Sincerly,
    Usaji
#13
mIRC/pawn Scripting / Re: Extract Clan Tags from Nick-Name
September 13, 2009, 03:57:27 AM
Great Alias rulk, but would u please rewrite the alias so it does not detect the ULK_ ?

Thanks in advance