TFS 1.0 Last Man Standing By Nevix

Discussion in 'GlobalEvents, Spells & CreatureEvents' started by nevix, Sep 20, 2014.

  1. yogiikke

    yogiikke :D

    Joined:
    Mar 24, 2013
    Messages:
    59
    Likes Received:
    7
    Best Answers:
    0

    i cant script im trying to learn it but i probably fail as useual :D i learn more if u completed it so i can get the rules u made into my head tough :p:( but ill see what i can do

    question did someone told you i was trying to learn lua code or just random guesse?
     
  2. nevix

    nevix Tunzodus.net

    Joined:
    Mar 31, 2010
    Messages:
    355
    Likes Received:
    60
    Best Answers:
    0
    I learned everything by myself, I tried 100 times and one was Successful. So use your brains and do your best.


    Code (Text):
    1. local firstrandom = math.random(1,10) -- CHANCE 1 of 10
    2. local itemget_id1 = 2160
    3. local itemget_id1_count = 100
    4. local itemget_id2 = 2160
    5. local itemget_id2_count = 2
    6.  
    7. if (firstrandom == 1) then
    8. doPlayerAddItem(cid,itemget_id1, itemget_id1_count)
    9. elseif(firstrandom == 2) then
    10. doPlayerAddItem(cid,itemget_id2, itemget_id2_count)
    11. end
    If you got number 1 or 2 you will get crystal coins, you can increase chance if you want.



    you can add more and more, everything whatever you want.
     
    Hugofasima likes this.
  3. yogiikke

    yogiikke :D

    Joined:
    Mar 24, 2013
    Messages:
    59
    Likes Received:
    7
    Best Answers:
    0
    ill try :p thanks.
     
  4. hellyea

    hellyea OT-Fan

    Joined:
    Jan 26, 2009
    Messages:
    85
    Likes Received:
    6
    Best Answers:
    0
    Can some1 tell me why the TP isnt teleporting me?
     
  5. droox

    droox Member

    Joined:
    Jun 26, 2013
    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    I wonder if it is possible to change the points of reward for an item?
     
  6. Zistonick

    Zistonick Member

    Joined:
    Mar 24, 2010
    Messages:
    182
    Likes Received:
    20
    Best Answers:
    0
    How can we change the reward system? I want the winner won a item not premium points
     
  7. VitorNM

    VitorNM New Member

    Joined:
    Sep 18, 2015
    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    map to this event?
     
  8. Amiroslo

    Amiroslo http://VAPus.net

    Joined:
    Jul 28, 2009
    Messages:
    6,468
    Likes Received:
    441
    Best Answers:
    3
    Looks amazing, can this be converted to 0.4? because old ones are bad
     
  9. nevix

    nevix Tunzodus.net

    Joined:
    Mar 31, 2010
    Messages:
    355
    Likes Received:
    60
    Best Answers:
    0
    No idea I never use 0.4. Sorry can't help with that, I think 0.4 doesn't support spectators function, but of course you can try.
     
  10. viking

    viking Banned User

    Joined:
    Aug 20, 2015
    Messages:
    323
    Likes Received:
    22
    Best Answers:
    0
    Workds on tfs 1.2 ?
     
  11. nevix

    nevix Tunzodus.net

    Joined:
    Mar 31, 2010
    Messages:
    355
    Likes Received:
    60
    Best Answers:
    0
    Yes
     
  12. Guilherme sua

    Guilherme sua New Member

    Joined:
    Dec 19, 2015
    Messages:
    17
    Likes Received:
    2
    Best Answers:
    0
    Script the guy works perfectly , however when it comes to the fight time the two players are teleported out and says it has the 2 players . know WHAT will you?
     
  13. TibiaLand

    TibiaLand Member

    Joined:
    Oct 20, 2013
    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    working on tfs 1.2! :D my map no have positions in the script can upload event map???

    this event have a .php for gesior 2012??
     
    Last edited: Jun 3, 2016
  14. God Mythera

    God Mythera Well-Known Member

    Joined:
    Aug 11, 2012
    Messages:
    1,943
    Likes Received:
    215
    Best Answers:
    0
    This script is for tfs 1.0 right? Because when i try to use script it says something about 'docreateitem' and wont spawn the teleport to join last man standing ; S
     
  15. fishie

    fishie fishies-war

    Joined:
    Oct 27, 2016
    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Been trying to get this to work all day, ive added everything and edited the tps but the event never starts?

    this is my globalevents.xml i set it to a low time to test it.
    Code (Text):
    1.  
    2. <?xml version="1.0" encoding="UTF-8"?>
    3. <globalevents>
    4.    <globalevent type="startup" name="ServerStartup" script="startup.lua" />
    5.    <globalevent type="record" name="PlayerRecord" script="record.lua" />
    6.    <globalevent name="Server Save" time="09:55:00" script="serversave.lua" />
    7.    <globalevent name="Last Man Standing" interval="3000" script="scripts/lms.lua"/>
    8.    <!--
    9.    <globalevent name="timer_example" time="12:00:00" script="my_script.lua" />
    10.    -->
    11. </globalevents>
    Im using tfs. 1.3
     
  16. Sp0tl3ss

    Sp0tl3ss Nestalia.com

    Joined:
    Jul 19, 2014
    Messages:
    185
    Likes Received:
    8
    Best Answers:
    0
    dose thsi work for tfs 1.2? :)
     
  17. paweleq2000

    paweleq2000 Member

    Joined:
    Feb 18, 2011
    Messages:
    140
    Likes Received:
    4
    Best Answers:
    0
    Nevix said "yes" you cant read some posts in this topic?
     
  18. Sp0tl3ss

    Sp0tl3ss Nestalia.com

    Joined:
    Jul 19, 2014
    Messages:
    185
    Likes Received:
    8
    Best Answers:
    0
    wont change team colour or place flags.....
     
  19. paweleq2000

    paweleq2000 Member

    Joined:
    Feb 18, 2011
    Messages:
    140
    Likes Received:
    4
    Best Answers:
    0
    Because this is last man standing event not team battle event.
     
  20. Sp0tl3ss

    Sp0tl3ss Nestalia.com

    Joined:
    Jul 19, 2014
    Messages:
    185
    Likes Received:
    8
    Best Answers:
    0
    oh **** ME! i posted in wrong tab -.-
     

Share This Page

Loading...