Level mini for map

03/01/2020 14:28 Nostale-SP#1
Hello, i need help for my server. I want to restrict access of certain map with Level mini. But i don't know how to do. Can you explain me how to do? It's in DB or in source?
03/01/2020 22:31 InnoTx#2
Quote:
Originally Posted by Nostale-SP View Post
Hello, i need help for my server. I want to restrict access of certain map with Level mini. But i don't know how to do. Can you explain me how to do? It's in DB or in source?
it is in source i guess if i understand you

and if you need help just pm me on Discord

Inno#1911

if you mean this [Only registered and activated users can see links. Click Here To Register...]

i have it on BasicPacketHandler.cs -> PreqPacket
it works and idk if its the right place but it works
Code:
                //portal.DestinationMapId == {Portal to Map here} 
                //Session.Character.Level < 10 <-- ("Character Level")
                if(portal.DestinationMapId == 1 && Session.Character.Level < 10)
                {
                    //Your Text which you want to pop up when Character have not enough Level
                    Session.SendPacket(Session.Character.GenerateSay("You need to be Level 10 to Join this map !", 10));
                    // returns the code which means when he is on the Portal and have not enough Level he wont get in there.
                    return;
                }
03/01/2020 22:36 Nostale-SP#3
It's good, thanks for your help :)
03/02/2020 13:09 redbull2905#4
Quote:
Originally Posted by InnoTx View Post
HOOOOOOOOOOOOOOOOOLY SHIT DUDE HOW DID YOU DO THAT ALL... OMG CAN YOU IMPLEMENT IT FOR ME TOO ?

Oh wait there is so much Tutorials here (which you take also i guess and sell it as your own work)

[Only registered and activated users can see links. Click Here To Register...]

Speaker thing works allready in Cryless source

and good title system from Zro is Dead ;D

also lets sing all HAKUNA MATATA [Only registered and activated users can see links. Click Here To Register...]
this is just a delirium that I had with my girlfriend but yes it's true you do not have one. Sadness.
03/02/2020 19:35 IceTrailer#5
Be nice.

#closed