Jump to content

[SHARE] How To Create Your OWN SoE!


Recommended Posts

You Have Your Own Server.. And You Have Farming Areas And Others..

 

So. If Some People Don't Have Gatekeepers Near 'em.. Isn't a Good Way To Have Soe's? xD

 

So.. Let's Create One ! xD

 

 

First.. Go To net.sf.l2j.gameserver.handler.itemhandlers

 

And Find ScrollOfEscape.java

 

Find This Line ( About Line 50 )

    private static final int[] ITEM_IDS = { 736, 1830, 1829, 1538, 3958, 5858, 5859,
    								  7117,7118,7119,7120,7121,7122,7123,7124,
    								  7125,7126,7127,7128,7129,7130,7131,7132,
    								  7133,7134,7135,7554,7555,7556,7557,7558,
    								  7559,7618,7619};

 

Near 7619 Do add a  comma , and the of your item.

example .

 

7559,7618,7619,9999};

 

Now , Go Downwards ( About Line 264 )

And Find This One :

               			case 7619 :
                				_activeChar.teleToLocation(108275,-53785,-2524, true);  // Varka Silenos Village
                				break;

 

After That Paste This One :

               			case 9999 :
                				_activeChar.teleToLocation(x,y,z, true);  // Custom Soe No.1
                				break;

 

Where Case 9999 ( 9999 Is The ID Of The Custom Soe. Change it to your needs )

Where x,y,z Are The Coordinates. Change Them To Your Needs.

 

Compile Your Core , Replace The Files Needed And You Are Ok.

 

Cool , We've Done The Core Side..

 

Now Go To The Client Side..

 

Open ItemName-e.dat And Add a Line Like This

9999	Scroll of Escape To Custom Zone		A magic Scrolls That Ports The Caster To The Custom Zone.	-1					0	0	0	

 

Where 9999 is the id of the custom item. change it to your needs. ( NOTE : Feel Free To Change Names And Descriptions.)

NOTE: THIS LINE IS FOR INTERLUDE

Okay We've Done The Itemname. Save it .

 

Now , Open EtcItemGrp.dat

And Open It And Paste This Line:

2	9999	0	3	6	3	0	dropitems.drop_scroll_m00			dropitemstex.drop_scroll_t00			icon.etc_scroll_of_return_i00					0	120	18	0	0	1		1		ItemSound.itemdrop_scroll		2	1	0

 

AGAIN Where , 9999 Is The id and change it to your needs.

Now , Save it

 

replace the .dat files into your client. go InGAME , Create your item in your inventory , use it and ta daaaaa you are done xD

 

 

Enjoy!

Link to comment
Share on other sites

kalo tha itan na ipirxan kamia 20aria scrols elefthera ... kai na dilonoume emis names se afta inserver side kai ta tele location.... tora client edititng kai kurafeksala ..xesto :D

 

tespa kali dulia

Link to comment
Share on other sites

Nice job but i think that teleport to farming areas is better than scrolls for farming areas because if have one char with pk this scrolls he can go to the farming area to burn pk or to kill people but if you have anti-pk guard it's ok..Ty mayble i will use this share :)

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

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