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

#16
Tommis  ;)

Quote*These scripts have been wrote fully by me, but i still leave Vrocker's name in there, because without him, i wouldnt of made these scripts
#17
Script Showroom / Re: sansan v3 released!
July 23, 2008, 03:31:13 AM
from ingame as admin type !mode lms
#18
General Discussion / Re: 2 servers on 1 pc?
July 23, 2008, 03:27:23 AM
also the system actually requires two ports

if u use 5192 for your server then 5193 must be available for client use

this is why u see servers on the same ip but two ports apart instead of one


the rcon ports must be unique as well
#19
just do:
/unset %autokick

to reset the autokicker
#20
mIRC/pawn Scripting / Re: sansan - money per kill
July 19, 2008, 06:33:57 PM
maybe change:

;--- killingspree system
alias vcmp.killingspree.process {
  vcmp.killingspree.processended $vcmp.nameid($1) $vcmp.nameid($2)
  !hinc vcmp killingspree. $+ $vcmp.nameid($1)
  var %k = $hget(vcmp,killingspree. $+ $vcmp.nameid($1))
  vcmp.addkillingspree $vcmp.hgetname($vcmp.nameid($1)) %k
  if (5 // %k) vcmp.killingspree.announce $1 %k
}



to something like

;--- killingspree system
alias vcmp.killingspree.process {
  vcmp.killingspree.processended $vcmp.nameid($1) $vcmp.nameid($2)
  !hinc vcmp killingspree. $+ $vcmp.nameid($1)
  var %k = $hget(vcmp,killingspree. $+ $vcmp.nameid($1))
  vcmp.addkillingspree $vcmp.hgetname($vcmp.nameid($1)) %k
  vcmp.setmon $vcmp.nameid($1) $calc($vcmp.hgetmoney($vcmp.nameid($1)) + 500)
  vcmp.gametextpm $vcmp.nameid($1) ~x~ $500!
  if (5 // %k) vcmp.killingspree.announce $1 %k
}


hope that helps ._.
#21
pre-pinned ;D

nice work -_-
#22
nice work

pinned.

-_-
#23
mIRC/pawn Scripting / Re: Omg Banlist WTF
July 09, 2008, 05:00:32 AM
delete the server's banlist file?
#24
mIRC/pawn Scripting / Re: Mute or similar
July 09, 2008, 04:58:52 AM
you could make the commands all admin level 2 or somethin  :o
#25
Script Showroom / Re: sansan v3 released!
July 07, 2008, 01:33:13 AM
make sure your sansan has the latest version of your server config.ini:
if u make changes to ur config, dont forget to update the one sansan has as well




for the mode problems, you could try this in irc:
from your irc (not sansan) try !sansan mode unload generic
(note: replace !sansan with your bot's name.  e.g. if your bot is named MyBot then the command is !MyBot mode unload generic )

or else you could make an alias that resets modes like this:

alias vcmp.mode.reset {
  if (%currentmode != none) vcmp.mode.unload %currentmode
  set %currentmode none
  vcmp.echo ** Modes Reset.
}

then type /vcmp.mode.reset from sansan irc

then modes should work normal again if u type !mode lms from ingame or whatever


hope that helps
#26
mIRC/pawn Scripting / Re: Disappear Textures
July 05, 2008, 12:03:04 AM
teleport also accepts interior id try using 0

set 1 <playerid> <x> <y> <z> <interior>


without the interior setting sometimes it can cause what u described
#27
mIRC/pawn Scripting / Re: Few Things in 1 Topic :P
June 28, 2008, 08:59:36 AM
Quote from: Jack_Bauer on June 28, 2008, 07:38:16 AM
;--- hop and higher commands
    elseif ($1 == !announce) vcmp.gametext.all $3-


I obviosly have something wrong,but dont know what.

maybe try something like:

;--- hop and higher commands
    elseif ($1 == !announce) {
      vcmp.echo Announcing: $2-
      vcmp.gametext.all $2-
    }




Quote from: Jack_Bauer on June 28, 2008, 07:38:16 AM


2.- time command doesnt work,ill try work on it more tomorrow i left it like this :

elseif ($2 == !time) vcmp.adminchat GMT + 1 Current Date/Time $asctime


sorry there was a typo in the other version, so try this:

elseif ($2 == !time) vcmp.adminchat GMT + 1 Time: $asctime($calc($gmt + 3600),HH:mm)



#28
mIRC/pawn Scripting / Re: Few Things in 1 Topic :P
June 27, 2008, 07:06:10 AM
1- sansan has stuff like this:
alias vcmp.gametextpm.all vcmp.doforall vcmp.gametextpm $$1 $$2 $$3-
alias vcmp.gametext.all vcmp.doforall vcmp.gametext $$1 $$2-
alias vcmp.adminmsg.all vcmp.doforall vcmp.adminmsg $$1 $$2-
alias vcmp.team.gametextpm vcmp.team.doforall vcmp.gametextpm $$1 $$2 $$3-
alias vcmp.team.adminmsg vcmp.team.doforall vcmp.adminmsg $$1 $$2-

which should make it fairly easy to make some announce type commands such as:
elseif ($2 == !announce) vcmp.gametext.all $3-

after lookin at it closer, i realised u may need to edit the alias like this:

alias vcmp.doforall {
  var %k = 0
  while (%k < %max_players) {
    if ($vcmp.nameid(%k) != $null) { $$1 %k $2- }
    !inc %k
  }
}

and

alias vcmp.gametext.all vcmp.doforall vcmp.gametext $$1-
alias vcmp.adminmsg.all vcmp.doforall vcmp.adminmsg $$1-

to get it to work correctly
obviously vcmp.adminmsg.all is a bit redundant, since u could just do vcmp.adminmsg ...  those functions may not have been tested and were probably aimed more at sansan "modes" but should be close to working


2- ur code calls vcmp.adminchat twice technically
elseif ($2 == !time) vcmp.adminchat $currenttime
then the alias $currenttime also has it:
alias currenttime vcmp.adminchat $asctime(HH:mm)

so right off to prevent crashes or weirdness try just using:
elseif ($2 == !time) vcmp.adminchat $asctime(HH:mm)

as for the timezone for gmt+1 !time command, u might just try this:
elseif ($2 == !time) vcmp.adminchat $asctime(($calc($gmt + 3600),HH:mm)
$gmt + 3600 (the number of seconds in an hour - 60 * 60)
theres probably a better way but that should work i figure (not tested tho)


3- not sure what that is all about, some skins are flaky and dont always work correctly.  generally if u use all skins below around 108, or all skins above 108, it usually works as expected.


Quote from: Jack_Bauer on June 24, 2008, 04:39:00 AM
4?-I managed to find out how to disable the auto-enter in vehicle when you do !getcar,but now it spawns on me,anyway of making it spawn a bit on one side,i think with a "sum"  it would do the trick like add 5 to the coordinates or something.

elseif ($2 == !getcar) {
      if ($hget(vcmp,loggedin. $+ %id) < 10) vcmp.adminmsg %id You must be Admin Level 10 or higher to attempt this command.
      else {
        if ($vcmp.hgetcarid(%id) != 0) vcmp.adminmsg %id You must not be in a vehicle to use !getcar.
        else {
          if ((!$3) || ($3 > 200) || ($3 < 0)) vcmp.adminmsg %id Error: Invalid Car ID.
          else {
            vcmp.setloc %id $vcmp.hgetpos.x(%id) $vcmp.hgetpos.y(%id) $vcmp.hgetpos.z(%id) 0
            vcmp.setcarloc $3 $vcmp.hgetpos.x(%id) $vcmp.hgetpos.y(%id) $vcmp.hgetpos.z(%id)
[b];[/b]            vcmp.setcar %id $3
            vcmp.adminmsg %id Got car $3 $+ !
          }



hmm maybe try

elseif ($2 == !getcar) {
      if ($hget(vcmp,loggedin. $+ %id) < 10) vcmp.adminmsg %id You must be Admin Level 10 or higher to attempt this command.
      else {
        if ($vcmp.hgetcarid(%id) != 0) vcmp.adminmsg %id You must not be in a vehicle to use !getcar.
        else {
          if ((!$3) || ($3 > 200) || ($3 < 0)) vcmp.adminmsg %id Error: Invalid Car ID.
          else {
            vcmp.setloc %id $vcmp.hgetpos.x(%id) $vcmp.hgetpos.y(%id) $calc($vcmp.hgetpos.z(%id) + 1.5) 0
            vcmp.setcarloc $3 $vcmp.hgetpos.x(%id) $vcmp.hgetpos.y(%id) $vcmp.hgetpos.z(%id)
            ;vcmp.setcar %id $3
            vcmp.adminmsg %id Got car $3 $+ !
          }

to make the player kinda on top of the car or something..

or else maybe just something like

          if ((!$3) || ($3 > 200) || ($3 < 0)) vcmp.adminmsg %id Error: Invalid Car ID.
          else {
            vcmp.setloc %id $vcmp.hgetpos.x(%id) $vcmp.hgetpos.y(%id) $vcmp.hgetpos.z(%id) 0
            vcmp.setcarloc $3 $vcmp.hgetpos.x(%id) $calc($vcmp.hgetpos.y(%id) + 2.5) $vcmp.hgetpos.z(%id)
            ;vcmp.setcar %id $3
            vcmp.adminmsg %id Got car $3 $+ !
          }


hope that helps some
#29
General Discussion / Re: A must be for 0.4
June 15, 2008, 03:08:38 AM
we did -_-
#30
Videos and Screenshots / 0.4 preview video
June 06, 2008, 12:14:10 PM
official preview for the 0.4 public beta thats coming soon...
http://www.youtube.com/watch?v=jIYkOd9CpOY