Thelasthero Posted March 3, 2010 Posted March 3, 2010 Hi guys, i am using l2jinfinity pack, and i need help. I am searching for a script that every new character with start with 75 access level. Can you help me? I know you to add scripts on .java files.
0 TheMpouri®™ Posted March 3, 2010 Posted March 3, 2010 I think you must change this line int accessLevel = 0; int accessLevel = 75; at C:\Users\George\workspace\trunk\L2_GameServer\java\com\l2jserver\gameserver\datatables\accesslevels.java
0 Thelasthero Posted March 3, 2010 Author Posted March 3, 2010 hmm sorry maybe i forgot to mention that i use l2j pack and not l2jfree. accesslevels.java doesn't exist in l2j.
0 Belzebul Posted March 3, 2010 Posted March 3, 2010 hmm sorry maybe i forgot to mention that i use l2j pack and not l2jfree. accesslevels.java doesn't exist in l2j. it must be something similar to it.
0 Matim Posted March 3, 2010 Posted March 3, 2010 You can add set acces lvl function in EnterWorld.java or in class responsible for character creation.
0 Thelasthero Posted March 3, 2010 Author Posted March 3, 2010 You can add set acces lvl function in EnterWorld.java or in class responsible for character creation. i tried this but i don't know good java, so how maybe if (!activeChar.isGM) { activeChar.setAccessLevel75(true); } ????????? i don't think this is correct
0 Matim Posted March 3, 2010 Posted March 3, 2010 if(!activeChar.isGM()){ activeChar.setAccessLevel(75); } Check it out.
0 `Rοmeο Posted March 3, 2010 Posted March 3, 2010 there is config in options EveryBodyHasAdminRights = False or smt like that but I dont know with what access level they are starting ive never tested it :D
0 Thelasthero Posted March 3, 2010 Author Posted March 3, 2010 OMG works thanks A LOT matim thank you. Please lock this topic problem solved.
0 Matim Posted March 3, 2010 Posted March 3, 2010 Np, its easly to do. Next time use eclipse and ctrl + space.
Question
Thelasthero
Hi guys, i am using l2jinfinity pack, and i need help. I am searching for a script that every new character with start with 75 access level. Can you help me? I know you to add scripts on .java files.
9 answers to this question
Recommended Posts