Jump to content
Home

Some portals problem

Recommended Posts

Hi friends.

 

Im having problem with some portals... Demonic World and Chaos Argent not opening... Even if i put 0 interval time to opening ( coords correctly )

Share this post


Link to post
Share on other sites
1 hour ago, Home said:

Hi friends.

 

Im having problem with some portals... Demonic World and Chaos Argent not opening... Even if i put 0 interval time to opening ( coords correctly )

we have to check the code tho :P we cant tell u how to fix it Post the code let us check it :P

Share this post


Link to post
Share on other sites

I have similary problem but with Demonic World portal ... Chaos Argent working , i try to copy other ctrl.lua but still not working , any help?

Here it's the code from ctrl.lua 

Quote

--------------------------------------------------------------------------
--                                    --
--                                    --
--                ctrl.lua                --
--                                    --
--                                    --
--------------------------------------------------------------------------
print( "Loading Puzzleworld Ctrl.lua" )


--此文件中,凡是可能被多次执行的函数,函数名都要加上地图名前缀

function config(map)
    MapCanSavePos(map, 0)        -- 1 = Allow players to save respaw // 0 = Do not allow players to save respaw
    MapCanPK(map, 1)            -- 1 = Turns on PK Mouse Sword Icon // 0 = Turns off PK Mouse Sword Icon ( Need to press CTRL key )
    MapCopyNum(map, 1)            -- 1 Copy of the map will be generated by GameServer
    SingleMapCopyPlyNum(map, 300)    -- 300 Players are allowed to enter the map
    MapCanTeam(map , 1)            -- 1 = Allow players to create party // 0 = Do not allow players to create party
    MapType ( map , 4 )            -- 0 = PvP Off // 1 = PvP Off // 2 = PvP On ( Not allowed to kill Guild and Party Mates ) // 3 = PvP On ( Allowed to kill any player but not Party Mates ) // 4 = PvP On ( Not allowed to kill Guild and Party Mates )        
end


function get_map_entry_pos_puzzleworld()   --设置入口的位置的坐标(坐标(米))

    local POS_X=910
    local POS_Y=1069
    return POS_X , POS_Y

end

function init_entry(map)
    SetMapEntryMapName(map, "garner")                    -- 设置入口的位置(地图名)
    SetMapEntryTime(map, "2008/8/30/0/0", "0/3/0", "0/0/40", "0/2/0")    -- The first set of numbers is the starting point (Year/Month/Day/Hour/Minute), next is opening interval (Day/Hour/Minute), portal open duration (Day/Hour/Minute), and last is the map duration (Day/Hour/Minute)

end
 

 

Edited by itsmfx
Fixed now working ..

Share this post


Link to post
Share on other sites

Check your entry, make sure it uses SetMapEntryEntiID in entry to able to see the portal effect. Also, make sure u run the map in your gameserver.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...