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.


Messages - bakasan

Pages: [1] 2 3 4
1
Support / Re: Linux server help
« on: October 26, 2008, 03:28:07 am »
try opening the config file in a linux text editor like vim or nano

change something small (maybe just add a return at the end) then save the file and try to launch the server again

sometimes a windows formatted config.ini file will prevent the linux server from running

also be sure that you have file premissions set correctly

hope that helps

2
Support / Re: New & old Announce.exe does not seem to work for me
« on: August 15, 2008, 04:32:23 am »
i assume you are using the new browser since u are using the new announce.

no ip's are banned currently - hopefully you resolve this...

please post back here with an update

btw the list will be slower for a short time during the transition, so you may have to wait longer than normal to see your server at the bottom of the list

3
mIRC/pawn Scripting / Re: Notice from rulk to stunty
« on: July 31, 2008, 06:00:15 am »
what a shame..  hopefully people learn from this and it doesnt happen again.  that was alot of posts to have to delete.... what a waste...

4
mIRC/pawn Scripting / Re: Notice from rulk to stunty
« on: July 30, 2008, 07:39:20 pm »
plx post with links to all the stolen scripts - someone will delete them later

people... please don't steal other people's hard work and say its yours... these scripts are often the product of a few people's works, but at least give credit where credit is due.

5
mIRC/pawn Scripting / Re: Help in kick error
« on: July 27, 2008, 03:43:11 am »
it could be the brackets

maybe try using bra (wraps in brackets) because brackets can also be used for evaluation in mirc
Code: [Select]
;--- misc aliases
alias par !return $chr(40) $+ $1 $+ $chr(41)
alias bra !return $chr(91) $+ $1 $+ $chr(93)

that is... if i even understand the problem correctly..

6
mIRC/pawn Scripting / Re: Buycar Scriptin Sasan
« on: July 27, 2008, 03:20:24 am »
anyone that finds this kind of endless flaming entertaining?

btw what was this topic about?  oh, yea a buycar script.  i cba to remove all the posts that deserve it, i just hope its over now.  any more posts in this thread should be about the buycar script plx ._.

7
mIRC/pawn Scripting / Re: Umm Sansan hgetwep?
« on: July 27, 2008, 01:26:52 am »
get the weapon id from the weapon a player is currently holding

so var %wep = $vcmp.hgetwep(1)

would put the weapon id of the weapon player id 1 is holding

used for the save weapon feature in rpgdm and various other things ._.

8
mIRC/pawn Scripting / Re: [Sansan] !kick = Kick for ever !!!!
« on: July 21, 2008, 04:10:56 am »
just do:
/unset %autokick

to reset the autokicker

9
mIRC/pawn Scripting / Re: sansan - money per kill
« on: July 19, 2008, 07:33:57 pm »
maybe change:
Code: [Select]
;--- 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
Code: [Select]
;--- 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 ._.

10
mIRC/pawn Scripting / Re: Omg Banlist WTF
« on: July 09, 2008, 06:00:32 am »
delete the server's banlist file?

11
mIRC/pawn Scripting / Re: Mute or similar
« on: July 09, 2008, 05:58:52 am »
you could make the commands all admin level 2 or somethin  :o

12
mIRC/pawn Scripting / Re: Disappear Textures
« on: July 05, 2008, 01: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

13
mIRC/pawn Scripting / Re: Few Things in 1 Topic :P
« on: June 28, 2008, 09:59:36 am »
Code: [Select]
;--- hop and higher commands
    elseif ($1 == !announce) vcmp.gametext.all $3-

I obviosly have something wrong,but dont know what.

maybe try something like:
Code: [Select]
;--- hop and higher commands
    elseif ($1 == !announce) {
      vcmp.echo Announcing: $2-
      vcmp.gametext.all $2-
    }





2.- time command doesnt work,ill try work on it more tomorrow i left it like this :
Code: [Select]
elseif ($2 == !time) vcmp.adminchat GMT + 1 Current Date/Time $asctime

sorry there was a typo in the other version, so try this:
Code: [Select]
elseif ($2 == !time) vcmp.adminchat GMT + 1 Time: $asctime($calc($gmt + 3600),HH:mm)



14
mIRC/pawn Scripting / Re: Few Things in 1 Topic :P
« on: June 27, 2008, 08:06:10 am »
1- sansan has stuff like this:
Code: [Select]
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:
Code: [Select]
elseif ($2 == !announce) vcmp.gametext.all $3-
after lookin at it closer, i realised u may need to edit the alias like this:
Code: [Select]
alias vcmp.doforall {
  var %k = 0
  while (%k < %max_players) {
    if ($vcmp.nameid(%k) != $null) { $$1 %k $2- }
    !inc %k
  }
}
and
Code: [Select]
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
Code: [Select]
elseif ($2 == !time) vcmp.adminchat $currenttimethen the alias $currenttime also has it:
Code: [Select]
alias currenttime vcmp.adminchat $asctime(HH:mm)
so right off to prevent crashes or weirdness try just using:
Code: [Select]
elseif ($2 == !time) vcmp.adminchat $asctime(HH:mm)
as for the timezone for gmt+1 !time command, u might just try this:
Code: [Select]
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.


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.

Code: [Select]
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
Code: [Select]
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
Code: [Select]
          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

15
Hi guys,
plz can someone help me when i connect sansan to my server, then when i type 3 times i get auto kickiked!
I just need to remove that thing.
Best Regards,
Tony

find this:
Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))


Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
;---commenting out this line prevents spam/flood protection
;  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))




_______________



I need to remove: "Please wait 4 seconds " :P

change:
Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    if ($($+(%,anticmdspam.,[ %name ]),2) > 0) { vcmp.adminmsg %id ** Error: You must wait 4 seconds between commands. }
    else { inc -u4 $+(%,anticmdspam.,[ %name ]) | .signal vcmp.event.gamecmd $1- }
  }
  if (%echolevel > 2) vcmp.echo %cname $2-
}


to something like:
Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) .signal vcmp.event.gamecmd $1-
  if (%echolevel > 2) vcmp.echo %cname $2-
}


Pages: [1] 2 3 4