Jump to content

Recommended Posts

Posted

no more ideas. probably you are doing something wrong

i dont thing so becuse is newzone and it see like Arena  and somewhere need some work

Posted

Learn English please

 

Sorry but in these conditions I live does not allow me know,

I believe that with these enough to know with this, thanks for the comment.

 

anyway thanks for your attention if someone add this code he will say the same.

Posted

Hello again !!!

 

When i go with Teleport at Newbie zone* and character have A/S Penatly items*  it stuck it go at giran & cannot move if you do RR is at sky .

 

Any ideas??

Posted

Hello again !!!

 

When i go with Teleport at Newbie zone* and character have A/S Penatly items*  it stuck it go at giran & cannot move if you do RR is at sky .

 

Any ideas??

As I remember you have added Grade Checker so of course it will teleport to giran...

Just disable grade penalty

Posted

As I remember you have added Grade Checker so of course it will teleport to giran...

Just disable grade penalty

 

if i walk and i join to Newbie zone  it kick my normaly only if i join with teleport in the zone get stuck any idea?

Posted

if i walk and i join to Newbie zone  it kick my normaly only if i join with teleport in the zone get stuck any idea?

just delete teleport to that zone... and set teleport location near that zone(or entrance to that zone)

Posted

Solved thanks to Valanths1990 *

 

	{
						ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
						{
							@Override
							public void run()
							{
								player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
							}
						}, 2 * 1000); 

 

  • 1 month later...
Posted

{GR]Nomizw pws exei ena provlima 8elei fix.

otan mpainw sto zone  me +0 armor den me petaei

kai otan vgazw afou exw mpei sto zone +16 weapon Pali den ginete tpt.

aplos den me afinei na kanw enchant.

  • 3 years later...
Posted

I got Danger Area and the zone is Arena type. By the way I can enter with enchant ++

 

What is wrong? xD

You messed up, the code seems ok, even if not optimized. Should work no matter chronicle, as zone system is barely edited (only the L2Character crap which is ZoneType)

+		if(character instanceof L2PcInstance)
+		{
+			L2PcInstance player = (L2PcInstance) character;
+			for (L2ItemInstance i : player.getInventory().getItems())
+			{
+				if (!player.isGM())
+				{	

That part is iterating over all inventory, no matter if gm or not. The gm check should be extract out of the loop and setted higher to avoid to care about GM inventory at all. Same for flying check, it's easier to check it first (simple boolean) rather than trying to check all items, so it should be setted higher.

 

I'm surprised none did the remark in like 4y.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock