Jump to content
Sign in to follow this  
xEvo7

Map Max Number reached?

Recommended Posts

Hi recently, i've discovered a portal problem on my server, i just recently saw this. i am receiving this  "Max Number reached"  on system whenever i click the portal. the portal doesnt work tho.. i've tried to use my backup garner and use it but it doesnt work.  i tried to search the message to all files but can't see anything. 
if anyone has solution with this, please share!

Thanks in advance :)Screen Shot 04-26-17 at 05.57 AM.PNG


Hit Like If You Like It!

Tekken-7.jpg

Share this post


Link to post
Share on other sites

Hello @xEvo7!

 

Show us entry.lua of destination map.


Share this post


Link to post
Share on other sites

Ctrl.lua

SingleMapCopyPlyNum(map, 300)     -- 300 Players are allowed to enter the map

I get this from a clean server file, you can test it.

  • Like 1

Share this post


Link to post
Share on other sites

I had such problem when I deleted the following code from entry.lua:

local copy_mgr = GetMapEntryCopyObj(entry, 0)

in after_create_entry() function.

  • Like 1

Share this post


Link to post
Share on other sites
6 минут назад, xEvo7 сказал:

got it fixed guys.. 

Thanks @V3ct0r and @Andrew

How did you fix the error?


Share this post


Link to post
Share on other sites
1 minute ago, V3ct0r said:

How did you fix the error?


Had this on ctrl. but then i changed it 

function config(map)
    MapCanPK(map, 0)			-- 1 = Turns on PK Mouse Sword Icon // 0 = Turns off PK Mouse Sword Icon ( Need to press CTRL key )
    MapType ( map , 1 )			-- 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

into
 

function config(map)
    MapCanPK(map, 0)			-- 1 = Turns on PK Mouse Sword Icon // 0 = Turns off PK Mouse Sword Icon ( Need to press CTRL key )
    MapCanTeam( map, 1 )
    MapType( map , 1 )
    MapCopyNum(map, 1) --
    SingleMapCopyPlyNum(map, 600)   --
    --MapCanTeam(map , 1) -- map can be party.
    --MapCanStall(map , 0) -- map can set stall.
end

and added this "local copy_mgr = GetMapEntryCopyObj(entry, 0)" to entry

  • Like 1

Hit Like If You Like It!

Tekken-7.jpg

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.

Sign in to follow this  

×
×
  • Create New...