Realsed Fy_pool_day

Discussion in 'The Graveyard' started by orpgs, Apr 15, 2009.

?

Do you like the map?

Poll closed Jan 10, 2012.
  1. Yes Awesome!!!!!

    25 vote(s)
    25.5%
  2. Yes Little Good!

    10 vote(s)
    10.2%
  3. Maybe!!!!!!!

    8 vote(s)
    8.2%
  4. No Its blows!!!!!!!!

    55 vote(s)
    56.1%
  1. orpgs

    orpgs Banned User

    Joined:
    Apr 12, 2009
    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Hello here is my fy_pool_day map from orpgs!

    and if you want to planting the bomb here is the script!

    Code (Text):
    1. ----------Plastic Bomb Put in Action-----------
    2.  
    3. local PLANTING_DELAY = 5 --seconds
    4. local EXPLOSION_DELAY = 1000 --milliseconds
    5. local MAX_HIT = 500
    6. local MIN_HIT = 100
    7.  
    8. local PVP = true -- true for PVP, false for Non-PVP
    9.  
    10.  
    11. local PLAYERS = {}
    12.  
    13. function isInArray(table, valor)
    14.   for i,j in pairs(table) do
    15.     if (j == valor) then
    16.       return i
    17.     end
    18.   end
    19.   return 0
    20. end
    21.  
    22. function explosion(info)
    23.    area = {
    24.         {0,0,0,0,0},
    25.         {0,1,1,1,0},
    26.         {0,1,1,1,0},
    27.         {0,1,1,1,0},
    28.         {0,0,0,0,0},
    29.        }
    30.     hitpos = {x=info.pos.x, y=info.pos.y, z=info.pos.z, stackpos=253}
    31.         center = {}
    32.         center.y = math.floor(table.getn(area)/2)+1
    33.     for i in ipairs(area) do
    34.           center.x = math.floor(table.getn(area[i])/2)+1
    35.           for j, v in ipairs(area[i]) do
    36.             if (v == 1) then
    37.           hitpos.x = info.pos.x + (j - center.x)
    38.           hitpos.y = info.pos.y + (i - center.y)
    39.           if (getTilePzInfo(hitpos) == 0) then  
    40.             victim = getThingfromPos(hitpos)
    41.         effect = 4
    42.         if ((j == center.x) and (i == center.y)) then
    43.           doSendAnimatedText(hitpos,"KABOOOOOM",TEXTCOLOR_RED)
    44.           hitpoints = MAX_HIT
    45.           effect = 5
    46.         else
    47.           hitpoints = math.random(MIN_HIT,MAX_HIT)
    48.         end
    49.                 if (isPlayer(victim.uid) == 1) then
    50.           if (PVP == true) then
    51.                      doPlayerSendTextMessage(victim.uid,20,"You have lost "..hitpoints.." hitpoints by "..getPlayerName(info.player).."'s plastic bomb")
    52.                   else
    53.                     hitpoints = 0
    54.                   end
    55.                 end
    56.         if (isCreature(victim.uid) == 1) then
    57.           doPlayerAddHealth(victim.uid,-hitpoints)
    58.                 end
    59.             doSendMagicEffect(hitpos,effect)
    60.               end
    61.             end
    62.       end
    63.     end
    64.   PLAYERS[isInArray(PLAYERS, info.player)] = 0
    65.   mayNotLogout(info.player, 0)
    66.   return 1
    67. end
    68.  
    69. function planting(info)
    70.   if info.num == PLANTING_DELAY then
    71.     doPlayerSendTextMessage(info.player,22,"Plastic Bomb successfully planted!")
    72.     mayNotMove(info.player,0)
    73.     addEvent(explosion,EXPLOSION_DELAY,info)
    74.   else
    75.     info.num = info.num + 1
    76.     doPlayerSendTextMessage(info.player,22,info.num.."...")
    77.     addEvent(planting,1000,info)
    78.   end
    79.   return 1
    80. end
    81.  
    82. function onUse(cid, item, frompos, item2, topos)
    83.   position = getThingPos(item.uid)
    84.   if (getTilePzInfo(position) == 0) then
    85.        if (isInArray(PLAYERS, cid) == 0) then    
    86.         table.insert(PLAYERS, cid)    
    87.         doSendMagicEffect(frompos,3)
    88.         info = {player = cid, pos = position, num = 1}
    89.         doPlayerSendTextMessage(cid,22,"Planting the bomb...")
    90.         doPlayerSendTextMessage(cid,22,"1...")
    91.         mayNotMove(cid,1)
    92.         mayNotLogout(cid, 1)
    93.         doRemoveItem(item.uid,1)
    94.         addEvent(planting,1000,info)
    95.     else
    96.         doPlayerSendCancel(cid,"You can only plant one bomb at the same time.")
    97.     end
    98.   else
    99.     doPlayerSendCancel(cid,"You can not plant this bomb in a PZ!")
    100.   end    
    101.   return 1
    102. end
    Code (Text):
    1. <action itemid="4852" script="bomb.lua"  />
    100% virus free scan if you want!


    Download: Fy pool day.rar


    Download Clients: http://tibiaclient.com
     

    Attached Files:

    Last edited by a moderator: Apr 16, 2009
    HeberPcL likes this.
  2. Bintzer

    Bintzer One Love

    Joined:
    Dec 19, 2007
    Messages:
    1,763
    Likes Received:
    30
    Best Answers:
    0
    What is this?

    All I can tell is that it's in the wrong section.
     
  3. Zoriath

    Zoriath Active Member

    Joined:
    Mar 26, 2008
    Messages:
    1,496
    Likes Received:
    3
    Best Answers:
    0
    This doesn't belong here. Belongs in download section. This hasn't been scanned yet, if you want to download it, I suggest you better wait till it has been moved and approved by a moderator.
     
  4. orpgs

    orpgs Banned User

    Joined:
    Apr 12, 2009
    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Okay but its dont be moved!
     
  5. Neon

    Neon The One and Only

    Joined:
    Aug 30, 2007
    Messages:
    11,271
    Likes Received:
    960
    Best Answers:
    0
    hahaha, map from counter strike :D xD
     
  6. ragal

    ragal New Member

    Joined:
    Nov 29, 2007
    Messages:
    735
    Likes Received:
    18
    Best Answers:
    0
    its very easy to make herself ;p
     
  7. Peroxide

    Peroxide Gone since January 2018

    Joined:
    Aug 22, 2008
    Messages:
    10,344
    Likes Received:
    1,937
    Best Answers:
    0
    Hahaha this could be used like a playlist on Halo 3 (Neutral Assualt) :D
    Some make a neutral assault script plAX!!!!!
     
  8. arminfific

    arminfific :!

    Joined:
    Sep 1, 2008
    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Ahah nicenice I like it :D
     
  9. Tony32

    Tony32 Well-Known Member

    Joined:
    Jun 6, 2008
    Messages:
    1,058
    Likes Received:
    197
    Best Answers:
    0
    ROLFMAO! Awesome! xD
     
  10. Donio

    Donio Banned User

    Joined:
    Jun 24, 2008
    Messages:
    4,004
    Likes Received:
    14
    Best Answers:
    0
    its to big i think xD
     
  11. orpgs

    orpgs Banned User

    Joined:
    Apr 12, 2009
    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Awesome map Orpgs you have good fantasy! not like other tracking rl maps -.-
     
  12. Hydro Sikorsky

    Hydro Sikorsky New Member

    Joined:
    Apr 24, 2009
    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    =\ =\ =\ =\
     
  13. Bazzese

    Bazzese Experienced Noob

    Joined:
    Feb 1, 2009
    Messages:
    5,429
    Likes Received:
    59
    Best Answers:
    0
    Good work
     
  14. legendofwars

    legendofwars Banned User

    Joined:
    May 1, 2009
    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Nice job man i like Fy_pool_day :D
     
  15. Illusion Storm

    Illusion Storm Zakładam kominiare.

    Joined:
    Aug 28, 2008
    Messages:
    377
    Likes Received:
    0
    Best Answers:
    0
    good work :p:thumbup:
     
  16. Zoriax_

    Zoriax_ Owner|Antarctica Ots

    Joined:
    Feb 15, 2008
    Messages:
    745
    Likes Received:
    22
    Best Answers:
    0
    Make more Maps it good for War Servers :p
     
  17. pontus1996

    pontus1996 Scripter

    Joined:
    Apr 14, 2008
    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    hmmm more ss please :p
     
  18. Pro Warbringer

    Pro Warbringer Retired with developing

    Joined:
    Sep 23, 2008
    Messages:
    3,582
    Likes Received:
    23
    Best Answers:
    0
    Its bad + its wrong mappd o_O
     
  19. orpgs

    orpgs Banned User

    Joined:
    Apr 12, 2009
    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0

    Sorry Pontus i can do more maps but nobady likes my map because i are a beginner :(
     
  20. Sikicii

    Sikicii Banned User

    Joined:
    May 6, 2009
    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Wow Counter-Strike
    NICE
     

Share This Page

Loading...