[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. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    Nice, thats true thank you is a great server :D
     
  2. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    I'm glad you like it, I made it purely for the community =]
     
  3. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    Fix #1 - Player:eek:nLook (so you can see the frags when you look at players)
    This fix should prevent the issue when looking at things other than players.

    Again, note that I am at work and cannot test this fix.

    Step 1: OPEN /data/events/scripts/player.lua
    Step 2: FIND function Player:eek:nLook(thing, position, distance)
    Step 3: At the end of this function, a line has been added that looks like "self:sendTextMessage(MESSAGE_INFO_DESCR, "" .. description ~~~ "
    Step 4: Surround the above statement with if thing:isCreature() and if thing:isPlayer() then

    That should work.


    It should now look like this:
    Code (Text):
    1.  
    2.   if thing:isCreature() then
    3.     if thing:isPlayer() then
    4.       self:sendTextMessage(MESSAGE_INFO_DESCR, "" .. description .. " Kills: " .. thing:getStorageValue(fragStor) .. " Deaths: " .. thing:getStorageValue(deathStor) .. "")
    5.     end
    6.   end
    7.  
    the above replaces the single line self:sendTextMessage only.
    Everything else around it is retained.
     
  4. weverton

    weverton Member

    Joined:
    May 30, 2009
    Messages:
    104
    Likes Received:
    2
    Best Answers:
    0
    Hello when look at items and the ground does not appear
     
  5. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    Try this instead?

    The below code will replace only the code I previously posted
    Code (Text):
    1.  
    2. self:sendTextMessage(MESSAGE_INFO_DESCR, "" .. description .. "")
    3.   if thing:isCreature() then
    4.     if thing:isPlayer() then
    5.       self:sendTextMessage(MESSAGE_INFO_DESCR, "Kills: " .. thing:getStorageValue(fragStor) .. " Deaths: " .. thing:getStorageValue(deathStor) .. "")
    6.     end
    7.   end
    8.  
     
    LuisPro and weverton like this.
  6. EwR

    EwR Member

    Joined:
    Aug 28, 2013
    Messages:
    95
    Likes Received:
    3
    Best Answers:
    0
    now i cant log with players x(
     
  7. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    What have you changed?
     
  8. Lbtg

    Lbtg Well-Known Member

    Joined:
    Nov 22, 2008
    Messages:
    1,799
    Likes Received:
    37
    Best Answers:
    0
    Looks amazing , sadly havent pc would defently try this :)
     
  9. impulss

    impulss New Member

    Joined:
    Sep 3, 2010
    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    This is awesome thanks mate! Going to give this one a crack for sure!
     
  10. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    I never got around to fixing all the little issues because I never ran the server in production - if you do come across any problems feel free to post here and I will do my best to fix them for you.
     
  11. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    UPDATE 17-12-15: VERSION 1.1 IS READY - DOWNLOAD LINKS HAVE BEEN UPDATED.

    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

    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.
     
  12. Deckard

    Deckard New Member

    Joined:
    Apr 25, 2015
    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    [​IMG]

    When i try log in with a normal character, o a god character, i got this error.
     
  13. Deckard

    Deckard New Member

    Joined:
    Apr 25, 2015
    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    I use the last rev compiled TFS 1.2
     
  14. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    It looks like you have not put the war_config.lua where it needs to be (same place as config.lua)
    As for the other errors I am not sure - i'll take a look at what changes have happened in TFS1.2 lately. My datapack has no changes in login.lua or logout.lua.
    For reference, I am using this exact datapack on a live server right now without any console errors.

    Edit:
    No significant changes in TFS 1.2 lately. I am going to compile master now under windows and test the exact datapack to be sure.
     
  15. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    @Deckard
    Sorry for taking so long, but I finally got around to compiling on windows and giving the datapack a try - sure enough it had problems! Somehow I omitted some files when I ZIP'ed it.
    I've fixed this now and will update the main post. You can also use this download link:

    The Forgotten [WAR] Server v1.1 PL1

    [​IMG]
     
    Last edited: Dec 22, 2015
  16. GOD javii

    GOD javii New Member

    Joined:
    Jul 18, 2015
    Messages:
    25
    Likes Received:
    4
    Best Answers:
    0
    @mdwilliams
    if this version of the server compiled with OTx do cause some error?
    since this Datapack this with codes to tfs1.1
     
  17. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    Should be okay or require only small changes that anyone on the support board should be able to assist with if required.
     
  18. GOD javii

    GOD javii New Member

    Joined:
    Jul 18, 2015
    Messages:
    25
    Likes Received:
    4
    Best Answers:
    0
    @mdwilliams
    you can implemetar the war system for Otx to vercion 10.98 -11.00? as there is a data pack, I leave the thread, https://github.com/malucooo/otxserver-testing/
    not if you can help me by sending me the download link because I lost a lot when trying to make the necessary changes, hope and help me heartfriend, thank you!

    PS: if you can send it by MP
     
  19. mdwilliams

    mdwilliams Premium User Premium User

    Joined:
    Nov 15, 2007
    Messages:
    583
    Likes Received:
    109
    Best Answers:
    0
    I'm sorry but I don't have time to work on this at the moment =[
     
  20. xLosT

    xLosT Active Member

    Joined:
    Jan 11, 2010
    Messages:
    1,033
    Likes Received:
    11
    Best Answers:
    0
    i found one bug
    i add storages for vip user and work for sorc, druid and paladin
    but with knight character received level and skills but dont login
    Code (Text):
    1.  
    2. Lua Script Error: [CreatureScript Interface]
    3. data/creaturescripts/scripts/tfws_creaturescripts/warlogin.lua:onLogin
    4. ...reaturescripts/scripts/tfws_creaturescripts/warlogin.lua:235: attempt to concatenate a nil value
    5. stack traceback:
    6.         [C]: in function '__concat'
    7.         ...reaturescripts/scripts/tfws_creaturescripts/warlogin.lua:235: in function <...reaturescripts/scripts/tfws_creaturescripts/warlogin.lua:3>
    8.  
     

Share This Page

Loading...