MOD perfect Svargrond Arena System!

Discussion in 'Mods & Lua Functions' started by TomCrusher, Jan 20, 2010.

  1. Gasgat

    Gasgat New Member

    Joined:
    Feb 27, 2009
    Messages:
    10
    0.3.6pl1

    When I walk into the teleports with actionID 42300 I get the error in the console at first and when I walk into the teleporter the second time I get "You have been kicked.!". Been trying to figure it out for a few hours now but i've given up.. Any ideas?

    Code:
    [Error - MoveEvents Interface]
    buffer:onStepIn
    Description:
    (luaGetThingPosition) Thing not found
    
    [Error - MoveEvents Interface]
    buffer:onStepIn
    Description:
    [string "loadBuffer"]:69: attempt to index local 'SpawnPos' (a boolean value)
    stack traceback:
            [string "loadBuffer"]:69: in function <[string "loadBuffer"]:2>
    
     
  2. Demodras

    Demodras New Member

    Joined:
    Oct 19, 2008
    Messages:
    13
    Why, I add all, door change to mango ? I change id door and don't work door.
     
    Last edited: Jun 11, 2011
  3. Adrenaline

    Adrenaline Waiting for God

    Joined:
    Jun 13, 2011
    Messages:
    80
    Last edited: Jun 25, 2011
  4. tigerx2

    tigerx2 Member

    Joined:
    Apr 5, 2010
    Messages:
    103
    sryyy wrong post
     
  5. Darkinho

    Darkinho Member

    Joined:
    Feb 25, 2009
    Messages:
    145
    re-host the map pls
     
  6. Ataro

    Ataro Member

    Joined:
    Oct 28, 2010
    Messages:
    689
    nice ty repped u
     
  7. valivan601

    valivan601 New Member

    Joined:
    Apr 13, 2011
    Messages:
    365
    the quest seems to be good only when a players got reward i got spawmed with this in console any fix for it?


    Code:
    [20:22:08.078] [Error - Action Interface]
    [20:22:08.078] domodlib('arenaFunctions')
    [20:22:08.078] function onUse(cid, item, fromPosition, itemEx, toPosition)
    [20:22:08.078]     local myMove = getDirectionMove(cid, fromPosition)
    
    [20:22:08.078]     if myMove == nil then
    
    [20:22:08.078]         return FALSE
    
    [20:22:08.078]     end
    
    [20:22:08.078]     local Reward = Rewards[item.actionid]
    
    [20:22:08.078]     if Reward then
    
    [20:22:08.078]         if getPlayerStorageValue(cid, Reward.Stor) ~= 1 then
    
    [20:22:08.078]             local reward = nil
    
    [20:22:08.078]             if Reward.Cont ~= nil then
    
    [20:22:08.078]                 reward = doCreateItemEx(Reward.Cont, 1)
    
    [20:22:08.078]                 for i = 1, #Reward.items do
    
    [20:22:08.078]                     doAddContainerItem(reward, Reward.items[i], R
    eward.count[i])
    
    [20:22:08.078]                 end
    
    [20:22:08.078]             else
    
    [20:22:08.078]                 reward = doCreateItemEx(Reward.item, 1)
    
    [20:22:08.078]             end
    
    [20:22:08.093]             if reward ~= nil then
    
    [20:22:08.093]                 if doPlayerAddItemEx(cid, reward, FALSE) == RETUR
    NVALUE_NOERROR then
    
    [20:22:08.093]                     doPlayerSendTextMessage(cid, MESSAGE_INFO_DES
    CR,'You have found a '..getItemNameById(getThing(reward).itemid)..'.')
    
    [20:22:08.093]                     setPlayerStorageValue(cid, Reward.Stor, 1)
    
    [20:22:08.093]                                 addPlayerRep(cid, 5, TEXTCOLOR_LI
    GHTBLUE)
    
    [20:22:08.093]                 else
    
    [20:22:08.093]                     doPlayerSendTextMessage(cid, MESSAGE_INFO_DES
    CR, Cancel[3])
    
    [20:22:08.093]                 end
    
    [20:22:08.093]             end
    
    [20:22:08.093]         else
    
    [20:22:08.093]             doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Canc
    el[4])
    
    [20:22:08.093]         end
    
    [20:22:08.093]     elseif RewardsDoors[item.actionid] then
    
    [20:22:08.093]         if myArenaLevelIs(cid).LV >= RewardsDoors[item.actionid]
    then
    
    [20:22:08.093]             doTransformItem(item.uid, OpenDoorsID)
    
    [20:22:08.093]             doMoveCreature(cid, myMove)
    
    [20:22:08.093]         else
    
    [20:22:08.093]             doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Canc
    el[5])
    
    [20:22:08.093]         end
    
    [20:22:08.093]     elseif item.actionid == DoorsActID and getPlayerStorageValue(
    cid, talkNPC) == 1 then
    
    [20:22:08.093]         doTransformItem(item.uid, OpenDoorsID)
    
    [20:22:08.093]         doMoveCreature(cid, myMove)
    
    [20:22:08.093]     else
    
    [20:22:08.093]         doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, Cancel[1
    ])
    [20:22:08.093] end
    
    [20:22:08.093]     return TRUE
    
    [20:22:08.093] end:onUse
    [20:22:08.093] Description:
    [20:22:08.093] [string "LuaInterface::loadBuffer"]:43: attempt to call global 'a
    ddPlayerRep' (a nil value)
    [20:22:08.093] stack traceback:
    [20:22:08.093]  [string "LuaInterface::loadBuffer"]:43: in function <[string "Lu
    aInterface::loadBuffer"]:2>
     
  8. TomCrusher

    TomCrusher Jeg er ingenting

    Joined:
    Dec 31, 2008
    Messages:
    655
    do remove all PlayerRep lines or improve Rep system to your server...
     
  9. Darkinho

    Darkinho Member

    Joined:
    Feb 25, 2009
    Messages:
    145
    Code:
     end:onStepIn
     Description: 
    (luaDoCreateNpc) Npc with name '' not found
    When enter the room, nothing is summoned.
    And yes, all the monsters exists and is fine.
     
  10. TomCrusher

    TomCrusher Jeg er ingenting

    Joined:
    Dec 31, 2008
    Messages:
    655
    what distro do you using linux or windows?
    check big letters in monster names or files.
     
  11. kosicki123

    kosicki123 Member

    Joined:
    Jan 9, 2009
    Messages:
    123
    How to fix the mango bug? When I enter in the door and leave it turns a mango....
    The problem is here:

    Just don't know how to fix..
     
  12. TomCrusher

    TomCrusher Jeg er ingenting

    Joined:
    Dec 31, 2008
    Messages:
    655
    check your opened door Id and give correct in there OpenDoorsID = 5127 --if you change doors item ids, change me =D
     
  13. Burczyk

    Burczyk Member

    Joined:
    Oct 10, 2011
    Messages:
    94
    Reupload map please
     
  14. Triarii

    Triarii Member

    Joined:
    Jul 27, 2010
    Messages:
    54
    reup plx
     
  15. cykor119

    cykor119 Member

    Joined:
    Aug 8, 2010
    Messages:
    146
    plis reup
     
  16. czosnek1221

    czosnek1221 New Member

    Joined:
    Mar 7, 2010
    Messages:
    1
    TomCrusher please reupload the map.
     
  17. Naxtie

    Naxtie mapper, designer

    Joined:
    Oct 15, 2011
    Messages:
    1,564
    could you make a working one for TFS 0.3.6?
     
  18. Frillinde

    Frillinde Founder: Another Realm

    Joined:
    Jan 16, 2012
    Messages:
    148
    Yes please someone reupload the map for this :)
     
  19. nari

    nari New Member

    Joined:
    Dec 11, 2008
    Messages:
    2
    TomCrusher please reupload the map.
     
  20. Naaano201

    Naaano201 New Member

    Joined:
    Jun 5, 2011
    Messages:
    241
    Code:
    [6/11/2012 14:29:34] [Error - NpcScript Interface] 
    [6/11/2012 14:29:34] data/npc/scripts/svargrond_arena.lua:onCreatureSay
    [6/11/2012 14:29:34] Description: 
    [6/11/2012 14:29:34] (LuaInterface::internalGetPlayerInfo) Player not found when requesting player info #3
    
    [6/11/2012 14:29:35] [Error - NpcScript Interface] 
    [6/11/2012 14:29:35] data/npc/scripts/svargrond_arena.lua:onCreatureSay
    [6/11/2012 14:29:35] Description: 
    [6/11/2012 14:29:35] data/npc/scripts/svargrond_arena.lua:81: attempt to compare number with boolean
    [6/11/2012 14:29:36] stack traceback:
    [6/11/2012 14:29:36] 	data/npc/scripts/svargrond_arena.lua:81: in function <data/npc/scripts/svargrond_arena.lua:55>
    [6/11/2012 14:29:36] 	[C]: in function 'selfSay'
    [6/11/2012 14:29:36] 	data/npc/scripts/svargrond_arena.lua:63: in function <data/npc/scripts/svargrond_arena.lua:55>
    Getting this npc error, with the script from this post.

    Somebody can help me?
     

Share This Page