[10.77+ - TFS 1.2] The Forgotten [WAR] Server v1.1 (UPDATED 17/12/15)

Discussion in 'Data Packs' started by mdwilliams, Jul 12, 2015.

Tags:
  1. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    UPDATES:
    22-12-15: VERSION 1.1 PL1 UPLOADED - FIXES MISSING GLOBAL.LUA
    17-12-15: VERSION 1.1 IS READY - DOWNLOAD LINKS HAVE BEEN UPDATED.

    Live Game Server:
    Thanks to Don Daniello and spigu.net we have a live game server. Although the primary purpose of the live server is simply for the enjoyment of the community, it will also be used as a production testing environment.
    An advertisement thread will be created shortly and linked at the top of this post, but for now you can find the game server at DOMINADO.ORG.
    The website is currently using Znote AAC with the widnet theme converted by Znote and an awful banner created by me. If design is your thing and you want to help out...please start with a banner!
    I have not bothered putting this on any server list yet, so don't expect to see players online. I'll sort all that out once I've fixed all the known issues and released the latest update.

    ---------------

    Hi guys,

    A few years ago I released Simple War OT for 8.54 through to 8.6. It quickly became the most popular war server being ran and the original very simple map can still be seen used today (usually in a heavily modified state!). The sheer amount of war and noob war servers that came out was awesome and pretty gratifying.
    I designed Simple War OT to be simple to use and modify.
    Today I am releasing the spiritual successor to Simple War OT - The Forgotten [WAR] Server.

    Information:
    Server Version:
    TFS 1.2
    Client Version: 10.77+
    Map Version: 10.76
    Map: Thais, Venore, Carlin, Edron & Rookgaard (ALL IN REAL TIBIA POSITIONS)

    Systems:
    - Automatic map rotation (configurable)
    - Frag rewards (configurable)
    - Player starting skills by vocation (configurable)
    - Player starting equipment by vocation (configurable)
    - Configure and customise the server all from war_config.lua

    Included in download:
    config.lua (Set up to suit war server. Feel free to use your own TFS 1.2 config.lua.)
    war_config.lua (required, this is where you can customise the war scripts)
    data\* (the data folder for the server)

    Download:
    https://mega.nz/#!1okUTa6T!bYb0u5cT_A1AndiB-9KcVbqYmW_PPl5QrE1t50cYmk8

    forgottenserver source: https://github.com/otland/forgottenserver
    forgottenserver nightly builds: http://nightlies.otland.net/

    Automatic Account Creators:
    Miscellaneous:
    Credits to Printer for his release layout! I copied it pretty much exactly! Much love s2

    Change Log:
    V1.1

    - GM/GOD characters can now log in
    - onLook frags/deaths now works correctly and doesn't interfere with other 'looks'
    - Shops/DP added to map with teleporter from each temple
    - Original Simple War OT map added to the new map
    - Other minor issues fixed
    PL1
    - Fixed missing global.lua
     

    Attached Files:

    Last edited: Dec 22, 2015
    megagaea, Imereth Popis, Lbtg and 5 others like this.
  2. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    war_config.lua example
    Code (Text):
    1.  
    2. -- The Forgotten [WAR] Server (TFS 1.2 for Tibia 10.77)
    3. -- This server is the successor to The 8.4-8.6 release Simple War OT
    4. -- Credit to Mark Samman & all contributers to The Forgotten Server
    5. -- Credit to Shawak for inspiring this style of configuration
    6. -- Credit to Ninja & Printer for two scripts that I have adapted for the server (individually credited and referenced in the scripts)
    7.  
    8.  
    9.     startLevel = 120             -- What level do players start at?
    10.     maximumLevel = 140            -- What is the maximum level players can reach?
    11.     promoteOnLogin = "yes"        -- Should players be promoted on login?
    12.     fullBlessOnLogin = "yes"        -- Should players get full bless on login? This stops them dropping eq.
    13.     enableStartSkills = "yes"        -- Should players start with preset skills (see lists below)
    14.     enableMinimumSkills = "yes"        -- Ensures players do not fall below the skills set in this file
    15.     enableMinimumLevel = "yes"        -- Ensures players do not fall below the minimum level set in this file
    16.     giveFirstItems = "yes"        -- Should new players receive first items? (see lists below)
    17.  
    18.     potionsInPz = "no"             -- Can players use Potions in PZ?
    19.     potionsRemoveOnUse = "no"        -- Do potions run out?
    20.     changeCoins = "no"             -- Can players change coins? platinum -> gold etc.
    21.     displayStatsOnLogin = "yes"    -- Should stats and minimum skills display each login?
    22.  
    23.     expMultiplier = 0.015            -- PVP-E Exp multiplier (enemy experience * expMultiplier)
    24.     rewardItem = 2152            -- What is the item ID of the frag reward? (default: 2152 platinum coin)
    25.     rewardCount = 1                -- How many of the above item should the killer receive?
    26.  
    27.     bonusFragReward = 5            -- How many bonus frag reward kills should each new player receive?
    28.     bonusExpReward = 5            -- How many bonus exp reward kills should each new player receive?
    29.     bonusExpMultiplier = 0.0075    -- How much extra exp should players get? (enemy experience * this value)
    30.  
    31. -- LOGIN MESSAGES
    32.     newPlayerMessage = "Welcome to The Forgotten WAR Server. As a new player you have been gifted 5 bonus gold & exp frags! This server is the successor to the popular 'Simple War OT' release. Please note that the server is still in BETA testing."
    33.     everyLoginMessage = "Please be aware that this server is still in BETA testing. Report all issues directly to [email protected] - Thank you"
    34.  
    35. -- MAP CONFIGURATION
    36.     rotateMaps = "yes"            -- Should the map automatically change? Interval set in globalevents.xml (default 30 minutes)
    37.     numberOfMaps = 5            -- Number of maps to rotate between?
    38.     startMap = 1                -- Which map should the server start on?
    39.     mapChangeText = "The map has been changed! Next change in 30 minutes!"
    40.  
    41.     mapPositions = {
    42.         [1] = {x=32369, y=32241, z=7},
    43.         [2] = {x=32957, y=32076, z=7},
    44.         [3] = {x=32360, y=31782, z=7},
    45.         [4] = {x=33217, y=31814, z=8},
    46.         [5] = {x=32097, y=32219, z=7},
    47.         [6] = {x=1000, y=1000, z=7}
    48.     }
    49.  
    50. ----MINIMUM PLAYER STATS---------------------------------------                          
    51. --ALL PLAYERS--
    52.     minimumLevel = 120
    53.     minimumLevelUp1 = 140
    54.  
    55. --SORCERER--
    56.     sorcererMagic = 70
    57.     sorcererMagicUp1 = 80
    58.  
    59.     sorcererShield = 25
    60.     sorcererShieldUp1 = 30
    61.  
    62. --DRUID--
    63.     druidMagic = 70
    64.     druidMagicUp1 = 80
    65.  
    66.     druidShield = 25
    67.     druidShieldUp1 = 30
    68.  
    69. --PALADIN--
    70.     paladinMagic = 20
    71.     paladinMagicUp1 = 25
    72.  
    73.     paladinShield = 70
    74.     paladinShieldUp1 = 80
    75.  
    76.     paladinDistance = 95
    77.     paladinDistanceUp1 = 105
    78.  
    79. --KNIGHT--
    80.     knightMagic = 9
    81.     knightMagicUp1 = 10
    82.  
    83.     knightShield = 85
    84.     knightShieldUp1 = 95
    85.  
    86.     knightMelee = 90
    87.     KnightMeleeUp1 = 100
    88.  
    89. ----POTION RESTORE---------------------------------------------
    90.     smhpL = 60    -- Small health potion. These values are the lowest and highest possible restores.
    91.     smhpH = 90
    92.  
    93.     hpL = 125    -- Health potion
    94.     hpH = 175
    95.  
    96.     mpL = 75    -- Mana potion
    97.     mpH = 125
    98.  
    99.     shpL = 250    -- Strong health potion
    100.     shpH = 350
    101.  
    102.     smpL = 115    -- Strong mana potion
    103.     smpH = 185
    104.  
    105.     gsphL = 270    -- Great spirit potion (health)
    106.     gsphH = 330
    107.     gspmL = 130    -- Great spirit potion (mana)
    108.     gspmH = 170
    109.  
    110.     ghpL = 425    -- Great health potion
    111.     ghpH = 575
    112.  
    113.     gmpL = 150    -- Great mana potion
    114.     gmpH = 250
    115.  
    116.     uhpL = 650    -- Ultimate health potion
    117.     uhpH = 850
    118.  
    119. ----FIRST ITEMS------------------------------------------------
    120. commonItems = {
    121.                 ---------ALL VOCATIONS---------
    122.   {itemid=1988, count=1},     -- backpack
    123.   {itemid=2120, count=1},     -- rope
    124.   {itemid=5710, count=1},     -- shovel
    125.   {itemid=2420, count=1},     -- machete
    126.   {itemid=2789, count=10},    -- brown mushrooms
    127.   {itemid=2305, count=1},     -- fire bomb rune  
    128.   {itemid=2261, count=1},     -- destroy field rune
    129. }
    130.  
    131. firstItems = {
    132.                
    133.   {                 ---------SORCERER ITEMS---------
    134.     {itemid=2323, count=1},     -- hat of the mad            
    135.     {itemid=8871, count=1},     -- focus cape                
    136.     {itemid=7730, count=1},     -- blue legs                
    137.     {itemid=2195, count=1},     -- boots of haste            
    138.     {itemid=8902, count=1},     -- spellbook of mind control
    139.     {itemid=2187, count=1},     -- wand of inferno          
    140.                                
    141.     {itemid=2268, count=1},     -- sd
    142.     {itemid=2273, count=1},     -- uh
    143.     {itemid=7590, count=1},     -- gmp
    144.     {itemid=2293, count=1},     -- mw
    145.   },
    146.   {                 ---------DRUID ITEMS---------
    147.     {itemid=2323, count=1},     -- hat of the mad
    148.     {itemid=8871, count=1},     -- focus cape
    149.     {itemid=7730, count=1},     -- blue legs
    150.     {itemid=2195, count=1},     -- boots of haste
    151.     {itemid=8902, count=1},     -- spellbook of mind control
    152.     {itemid=2183, count=1},     -- hailstorm rod  
    153.  
    154.     {itemid=2268, count=1},     -- sd
    155.     {itemid=2273, count=1},     -- uh
    156.     {itemid=7590, count=1},     -- gmp
    157.     {itemid=2293, count=1},     -- mw
    158.     {itemid=2269, count=1},     -- wg
    159.     {itemid=2278, count=1},     -- para
    160.   },
    161.   {                 ---------PALADIN ITEMS---------
    162.     {itemid=2493, count=1},     -- demon helmet
    163.     {itemid=8891, count=1},     -- paladin armor
    164.     {itemid=7730, count=1},     -- blue legs
    165.     {itemid=2195, count=1},     -- boots of haste
    166.     {itemid=2514, count=1},     -- mastermind shield
    167.     {itemid=7368, count=1},     -- assassin stars
    168.  
    169.     {itemid=2268, count=1},     -- sd
    170.     {itemid=2273, count=1},     -- uh
    171.     {itemid=8472, count=1},     -- gsp
    172.     {itemid=7589, count=1},     -- smp
    173.     {itemid=7588, count=1},     -- shp
    174.     {itemid=2293, count=1},     -- mw
    175.   },
    176.   {                 ---------KNIGHT ITEMS---------
    177.     {itemid=2493, count=1},     -- demon helmet
    178.     {itemid=2472, count=1},     -- magic plate armor
    179.     {itemid=2470, count=1},     -- golden legs
    180.     {itemid=2195, count=1},     -- boots of haste
    181.     {itemid=2514, count=1},     -- mastermind shield
    182.     {itemid=2400, count=1},     -- magic sword
    183.  
    184.     {itemid=7620, count=1},     -- mp
    185.     {itemid=7591, count=1},     -- ghp
    186.     {itemid=8473, count=1},     -- uhp
    187.     {itemid=2273, count=1},     -- uh
    188.     {itemid=2293, count=1},     -- mw
    189.   }
    190. }
    191.  
    192. -- PLAYER STORAGES
    193.     doubleFragRewardStor = 24021
    194.     extraExpStor = 24022
    195.     minimumLevelUp1Stor = 24023
    196.     sorcererMagicUp1Stor = 24024
    197.     sorcererShieldUp1Stor = 24025
    198.     druidMagicUp1Stor = 24026
    199.     druidShieldUp1Stor = 24027
    200.     paladinMagicUp1Stor = 24028
    201.     paladinShieldUp1Stor = 24029
    202.     paladinDistanceUp1Stor = 24030
    203.     knightMagicUp1Stor = 24031
    204.     knightShieldUp1Stor = 24032
    205.     knightMeleeUp1Stor = 24033
    206.     fragStor = 24034
    207.     deathStor = 24035
    208. -- GLOBAL STORAGES
    209.     currentMap = 34021
    210.  
     
    silveralol likes this.
  3. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    I should also add credit for the map to Printer
    I have imported the cities from his real map project and sealed them off for use in this war server

    Enjoy!
     
  4. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    When i log in any character the console says im loged but in tibia i dont log and the console get pasmed

    Nvm problem solved!
     
    Last edited by a moderator: Jul 24, 2015
  5. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    There were no console errors when I released this however TFS 1.2 is still in development and therefore some errors may be encountered as development continues
    Any errors that arise should be trivial to fix though
     
  6. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    "God" characters cant log in
     
  7. narko

    narko ;_; hello world ;_;

    Joined:
    Oct 19, 2008
    Messages:
    1,299
    Likes Received:
    119
    Best Answers:
    2
    There's a problem when you are trying to look at something else than a player. Keep it up!
     
  8. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    Change actions, form printer source ones
     
  9. narko

    narko ;_; hello world ;_;

    Joined:
    Oct 19, 2008
    Messages:
    1,299
    Likes Received:
    119
    Best Answers:
    2
    It's a problem in events/player.lua related to the Frag/Death stats.
     
  10. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    Haha neither of those things surprise me
    - I don't use GM/GOD's etc.
    - I never tested the server 'in production'

    I'll post fixes when I get on break from work if no one else has
    To fix the looking at things issue, replace the events/scripts/player.lua with the original TFS (but this will get rid of the frags on look)

    As for the on login issue for god characters, I can't check at the moment but there is probably an issue in creaturescripts/scripts/tfws_creaturescripts/war_login.lua
     
    Last edited by a moderator: Jul 24, 2015
  11. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    Thank you! :)
     
  12. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    I believe the problem is indeed in warlogin.lua
    Can you please do me a favor and test this theory by removing the following lines, and restarting the server?

    remove:
    Code (Text):
    1.  
    2.         if string.lower(promoteOnLogin) ~= "no" then
    3.             if player:getGroup():getId() < 2 then
    4.                 player:setVocation(promotion)
    5.             end
    6.         end
    7.  
    I'm not a great lua scripter so i'd have to trial and error until I found the solution
    If removing this lets GOD/GM's etc enter the game again, it will be caused by the player:getGroup line
    I think this statement needs a return to function correctly

    Good luck
     
  13. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    Nice, Worked :)
     
  14. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    I don't know what will happen if you try to promote a GM/GOD character, but you can try it if you want

    I've commented out the problem, this will allow all players to log in BUT might cause an error when the script tries to apply promotion to GOD/GM
    If you try it, let us know the result =]

    Code (Text):
    1.  
    2. if string.lower(promoteOnLogin) ~= "no" then
    3. --if player:getGroup():getId() < 2 then
    4. player:setVocation(promotion)
    5. --end
    6. end
    7.  
     
  15. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    Why i cant save the server with /save?
    I added the talkaction from the TFS Master Source but it says a nil value:5 IsNumber

    Code (Text):
    1. local savingEvent = 0
    2.  
    3. function onSay(player, words, param)
    4.     if player:getGroup():getAccess() then
    5.         if isNumber(param) then
    6.             stopEvent(savingEvent)
    7.             save(tonumber(param) * 60 * 1000)
    8.         else
    9.             saveServer()
    10.         end
    11.     end
    12. end
    13.  
    14. function save(delay)
    15.     saveServer()
    16.     if delay > 0 then
    17.         savingEvent = addEvent(save, delay, delay)
    18.     end
    19. end
    20.  
     
  16. StreamSide

    StreamSide Joseluis Gonzalez

    Joined:
    Aug 31, 2007
    Messages:
    2,776
    Likes Received:
    581
    Best Answers:
    10
    maybe isNumber function is not there idk
     
  17. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    I don't know where you found that script, it's not in the TFS 1.* github repository (https://github.com/otland/forgottenserver)

    I'm at work and can't test anything, but this might be all you need:
    Code (Text):
    1.  
    2. function onSay(player, words, param)
    3.   if player:getGroup():getAccess() then
    4.     saveServer()
    5.   end
    6. return true
    7. end
    8.  
     
  18. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    Great! It works :D
    Thank you 4 all
     
  19. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    Sorry for doublepost, but everytime i log out with any character it gets back from the same position when you log for first time (temple)
     
  20. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    580
    Likes Received:
    104
    Best Answers:
    0
    Yes, this is intended behavior
    If you are not sent back to the temple then if the map changes you will log in in a different area to the other players
     

Share This Page

Loading...