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
31
mIRC/pawn Scripting / Re: Location Script
« on: November 25, 2007, 03:03:51 am »
here is my adaptation of falcons above code(only slightly different):

convert your vcmp.data.ini locations to a hash table and save it
Code: [Select]
alias convert {
  !hmake -s areatemp 500
  var %b = 1, %c
  while (%b <= $ini(vcmp.data.ini,AREA2,0)) {
    %c = $ini(vcmp.data.ini,AREA2,%b)
    !hadd areatemp %b %c
    !hadd areatemp %b $+ . $readini(vcmp.data.ini,AREA2,%c)
    !inc %b
  }
  !hadd areatemp max_loc %b
  !hsave areatemp vcmp.area.hash
  !hfree -s areatemp
}

create then load the hash table on script start
Code: [Select]
!hmake -s area 1000
if ($exists(vcmp.area.hash)) { !hload area vcmp.area.hash }

to find an xy coordinate's location name:
Code: [Select]
alias vcmp.area {   
  if (($1) && ($2)) {
    var %a = 1
    while (%a < $hget(area,max_loc)) {
      if ($inpoly($1,$2, [ $hget(area,%a) ] )) !return $hget(area,%a $+ .)
      !inc %a
    }
  }
  !return Vice City
}

basically the same, except it gets rid of the "Set max locations" step and saves the max_loc value directly into the hash table at the time of conversion so it can be referenced from there.

32
mIRC/pawn Scripting / Re: Location Script
« on: November 25, 2007, 12:43:20 am »
falcon rocks, of course.  i love this!  i will be adding it to the mirc echo i have been working on.  im pretty impressed with the performance difference hash makes over ini.

a quick note about this code:
just incase you cut and pasted this code only to find your script buggin, this bit:
Get Players Locations
Code: [Select]
alias vcmp.area {   
var %a = 1,%b = $hget(vcmp,pos.x. $+ $1),%c = $hget(vcmp,pos.y. $+ $1),%d
while (%a < %max_loc) {
    %d = $hget(area,%a)
    if ($inpoly(%b,%c, [ %d ] )) !return $hget(area,%a $+ .)
    !inc %a
}
was missing a } at the end to close the alias.  it should be this:
Code: [Select]
alias vcmp.area {   
  var %a = 1,%b = $hget(vcmp,pos.x. $+ $1),%c = $hget(vcmp,pos.y. $+ $1),%d
  while (%a < %max_loc) {
    %d = $hget(area,%a)
    if ($inpoly(%b,%c, [ %d ] )) !return $hget(area,%a $+ .)
    !inc %a
  }
}

33
Tutorials / LC:MP Tutorial Video
« on: November 18, 2007, 04:29:19 am »
LC:MP 0.3z Installation Tutorial by [CP]Don_Corleone a.k.a. AdTec_224:
full res version:
http://g0thost.com/~adtec/LCMPTutorial.zip
mirror:
http://knight2007.kilu.de/LCMPTutorial.zip

lo res version:
http://www.youtube.com/watch?v=h4ZutN56jAA





for more info see:
http://forum.vicecitymultiplayer.com/index.php?topic=251.0

34
UltraMegaServer / Re: LC:MP 0.3z UltraMegaServer now up!
« on: November 05, 2007, 08:51:09 am »
not sure what happened while i was away, but its back now :)

35
UltraMegaServer / Re: LC:MP 0.3z UltraMegaServer now up!
« on: October 26, 2007, 11:55:42 am »
hey Krabe, welcome to VC:MP and LC:MP!  8)

you need the mod GTA:LC installed over a clean copy of vice city, to install and play LC:MP in this server.

if you need help with installing GTA:LC and LC:MP, see this thread http://forum.vicecitymultiplayer.com/index.php?topic=251.0

hope that helps  ^^

36
UltraMegaServer / LC:MP 0.3z UltraMegaServer now up!
« on: October 26, 2007, 01:45:24 am »
HostName: UltraMegaServer LC-MP 0.3z [x-serverz.com]
Address:  66.79.167.26:5198



basic lc config, mIRC mode coming soon...

see you there! ^^

37
mIRC/pawn Scripting / Re: This forum is death!
« on: October 21, 2007, 04:33:17 am »
lmfao!

38
Vice City / Re: Commands Admin In Server That It Does Not Have Commands
« on: October 05, 2007, 01:36:49 pm »
It's /ban <ip>
to get player's ip use
/getip <id>

actually in 0.3z you use:
/ban <id>
but its been known to be unreliable (as /getip can be - sometimes returning 0.0.0.0) so rcon ban is the best bet

39
mIRC/pawn Scripting / Re: Location Script
« on: September 30, 2007, 04:25:49 pm »
nice work! 8)

40
Support / Re: How to use LC?
« on: September 30, 2007, 12:39:06 pm »
If i have GTA 3 in mi pc this should work right???


no, you have to have vice city with the GTA:LC mod installed and lc-mp 0.3x to play lc-mp.

41
Support / Re: Problems with Linux Server
« on: September 30, 2007, 12:36:36 pm »
if you still have problems, sometimes its the config file...

u must open it in a linux text editor (vi,pico,nano,etc) and make some insignificant change to the file, then save and overwrite it.  sometimes if the config has been edited in a windows text editor last, linux won't see its formatting properly and this can cause the server to not run.  good luck ^^

42
mIRC/pawn Scripting / Re: Are Addban / Subnetban possible?
« on: September 13, 2007, 12:13:23 pm »
i think you can just use banip:

dll rcondll.dll rconcommand banip 127.0.*.*

43
UltraMegaServer / Re: New RPG Mode
« on: August 28, 2007, 01:02:34 am »
update:
some existing features have been changed / upgraded
player pickup limits now upgrade as medic and citizen get higher level
keycard system altered to increase difficulty
lots of new features for citizen and sub-mission system coming soon...

44
UltraMegaServer / Re: New RPG Mode
« on: August 24, 2007, 08:50:36 am »
not sure, but i think this is all there will be.

45
UltraMegaServer / Re: New RPG Mode
« on: August 15, 2007, 06:15:03 pm »
its public ^^

this is a trial run for rpgdm mode...


To try it out:
1) Join UltraMegaServer (66.79.167.26:5194)
2) type /c register <yourpassword>
3) choose a class - there are three currently (Fighter, Medic, and Citizen each with their own special commands and benefits)
       to become a fighter type: /c class fighter
       to become a medic type: /c class medic
       to become a citizen type: /c class citizen
4) You are ready to play!



Some Tips on playing RPGDM:
-Search out the keycard, as it is worth alot of exp and can make you level up faster
-Secret packages give exp and money
-Kill Frenzy is a good way to gain exp and stats - it also shows nearby players on your radar
-Trash cans are there but they can be good or bad, so you take your chances ^^
-Weapon crates are never bad but often empty (Tip: if you have the weapon armed at the time of checking the weapon crates, you stand a better chance of gettin some ammo for it)
-Save points are a great way to save your cash - additionally, players level 10 and up can save one weapon at the save points by simply having it armed when saving - once you have a weapon saved, it will spawn with you each time until you change it, along with your normal weapons provided by your class level
-Take advantage of not being able to see your opponents on the radar - sneak up on them or hide if needed
-Kill using the weakest weapon you have to maximize your exp - also try to kill players that are higher level than you, as they are worth more exp
-use !mostwanted to see who has the most continuous kills without dying - also !wanted will show a single player's wanted level
-use !nextlevel to show how much exp you need to get to the next level and !level to see a player's current level and class


have fun ^^

Pages: 1 2 [3] 4