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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...