Jump to content

Recommended Posts

Posted

Lipon....:P as arxisoume 1 guide gia to forum mas :D. Katarxas PS:exoun ksanaginei post(den kserw an exoun ginei ola) ala oso perissotera toso kalitera sosta? as 3ekinisoume.TO GUIDE INE GIA INTERLUDE/C6

 

 

Prwta ap ola prepei na dialeksoume 1 kalo project oste na paroume ta sources file tou kai na kanoume 1 diko mas pack.ton teleuteo kero 2 teams ksexorizoun gia mena.ta opoia team ine ta e3hs:

1)L2 J Brasil->ton teleuteo kero exoun ka8imerina updates,dixnoun endiaferon pros to project tous,sinexizoun arista.

SVN/timeline: http://svn6.assembla.com/svn/L2j-Brasil/ /http://trac6.assembla.com/L2j-Brasil/timeline

2)L2j-Equal->arxisan prin liges vdomades,dixnoun epimonh kai arketa kaloi. perimenoume arketa apo autous

SVN/TIMELINE: http://svn2.xp-dev.com/svn/L2J-Equal / http://trac2.xp-dev.com/L2J-Equal/timeline

 

Vevea mporite na xrisimopoieisete kai ta 2 diasima packs: L2j/L2jfree apla den exoun pia support gia c6..ara prepei na 3ekinisete monoi sas apo tin arxi.

 

Ti ine to timeline?

Timeline ine o istotopos pou vlepete ta ka8imerina updates/fixes pou kanei to project sas

 

Afou dialegete opio team thelete...kanete compile to pack sas.se auto 8a sas voithisei ...ti alo?

to pasignosto guide pos na kanete compile tou ExTrEmEDwarf (http://www.maxcheaters.com/forum/index.php?topic=84234.0).

 

Kante compile to pack sas...Care ola ta build na ine success. meta pante sto workspace se kathe fakelo sto build/ exei 1 zip fakelo. kante aposympiesh ta arxeia sto fakelo tou server sas. Exete 1 etimo pentakatharo pack.

 

Giati kaname compile kai den xrisimopoihsame prec pack re pedia?

Compile prepei na kanume sto pack tou L2J server mas , gia na mporesoume na epe3ergastoume to CORE SIDE tou server , diladi ta .java arxia tou pack mas ..

 

Mesa sto CORE (auto ine to core) mporoume na dimiourgisoume tromerous kodikes , gia ton server mas , na pros8esoume kapia mods , na kanume diafora modifications , kai akoma na ftia3ume kai ta features tou server ...(Credits to RєVєnGeR^)

 

Exoume kanei compile to pack....To pack mas to opoio kaname compile exei prostasia apo Phx/Attackers?

To pack pou kanate compile..pleon exei Ola ta fixes...ta opoia fixes ta prec packs den exoun.

PS:l2j/l2jfree prepei na perasete eseis ta fixes.

 

Pws pername java code ston server mas oste na kanoume ton server mas kalitero?

1 pragma gia to opoio poli anarotiounte..kai omws ine eukola. ine 2 leksis. +-> pros8etoume --->afairoume.

AS perasoume ena java code ston server mas analitika...elpizw meta apo auto na katalavete. As arxisoume:

Exoume auto to code:

Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java	(revision 4092)
+++ java/net/sf/l2j/Config.java	(working copy)
@@ -881,6 +881,18 @@
    public static boolean L2JMOD_WEDDING_SAMESEX;
    public static boolean L2JMOD_WEDDING_FORMALWEAR;
    public static int L2JMOD_WEDDING_DIVORCE_COSTS;
+    
+    public static boolean ANNOUNCE_HERO_LOGIN;

    // Packet information
    /** Count the amount of packets per minute ? */
@@ -1858,6 +1870,18 @@
                L2JMOD_WEDDING_SAMESEX                  = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False"));
                L2JMOD_WEDDING_FORMALWEAR               = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True"));
                L2JMOD_WEDDING_DIVORCE_COSTS            = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20"));
+                
+                ANNOUNCE_HERO_LOGIN   = Boolean.parseBoolean(L2JModSettings.getProperty("AnnounceHeroLogin", "False"));

                if (TVT_EVENT_PARTICIPATION_NPC_ID == 0)
                {
Index: java/config/l2jmods.properties
===================================================================
--- java/config/l2jmods.properties	(revision 4092)
+++ java/config/l2jmods.properties	(working copy)
@@ -132,3 +132,47 @@
# ex.: 1;2;3;4;5;6
# no ";" at the start or end
TvTEventDoorsCloseOpenOnStartEnd =
+
+#---------------------------------------------------------------
+# Announce Hero Login                                          -
+#---------------------------------------------------------------
+# Announce Hero Name At Login
+# This sctipt will announce when Hero login.
+AnnounceHeroLogin = False
Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(revision 4092)
+++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(working copy)
@@ -174,6 +174,59 @@
            engage(activeChar);
            notifyPartner(activeChar,activeChar.getPartnerId());
        }
+        
+        
+        if (Config.ANNOUNCE_HERO_LOGIN)
+        {
+        	if (activeChar.isHero())
+        	{
+        		Announcements.getInstance().announceToAll("Hero: "+activeChar.getName()+" has been logged in.");
+        	}
+        }
+        

        if (activeChar.getAllEffects() != null)
        {

kai 8eloume na to perasoume ston server mas. Lipon:

mas lei na pame sto eclipse/l2jgameserver/clientpackets/enterworld.java afou pame ekei vriskoume auti ti grami:

 notifyPartner(activeChar,activeChar.getPartnerId());
}

kato apo auti ti grami dld tin grami } vazoume ton kodika:

+        
+        
+        if (Config.ANNOUNCE_HERO_LOGIN)
+        {
+        	if (activeChar.isHero())
+        	{
+        		Announcements.getInstance().announceToAll("Hero: "+activeChar.getName()+" has been logged in.");
+        	}
+        }
+        

meta svinoume ola ta + apo mrposta kai kanoume save.meta kanoume to idio kai gia ta alla autos o kodikos itan na kanei announce ta hero otan loggaroun.

 

Elpizw na sas voithisa gia na mathete pws na vazete java code.

 

Ston server mou pianei wallpray kai oi pektes mporoun na varesoun pisw apo toixous klp (wallhit) ti tha kanw?

gia na bgalete auta ta bugs tha prepei na valete ston server sas GEODATA kai PATHNODE .

 

Pws vazw geodata?

Edw tha akolouthisete to analitikotato guide to Rozdex(TELIO GUIDE)->http://www.maxcheaters.com/forum/index.php?topic=124970.0

 

Pws tha kanw 1 diko mou aplo kodiko? (Gia sinthetous kodikous tha prepei na gnorizete tin glossa programatismou JAVA)

Tha kanoume enan kodiko...pou na lei oti otan enas char ginete nobless na tou erxete 1 minima kai na tou lei You Are Hero!. As arxisoume.

3ekiname ton code grafontas:// Custom nobless message--->Ine san tittle..ara den ine ipoxreotiko.

meta grafoume:if (activeChar.isNoble())---->to if simenei an opos sta agglika. to activeChar sto l2 ine enas char opoiosdipote pou ine online. kai to .isNoble ine otan ginei noble.

meta:{

activeChar.sendMessage("You are Nobless");

} ---->Panta meta to if o kodikas 3ekinaei me { meta grafoume activeChar.sendMessage("You are Nobless") ...to opoio simenei oti 8a stelni minima ston char kai 8a lei you are Nobless. kai to } simenei oti o code telionei.stin teliki o code tha ine etsi:

// Custom nob message

if (activeChar.isNoble())
{
activeChar.sendMessage("You are Nobless");
}

 

 

Elpizw na voithisa to forum/ See yaa

 

PS: Updates maybe come soon.

 

 

 

 

 

 

 

Posted

kita einai kalo les sosta pragmata alla to ekanes kapoc biastika kanto ena update kai ka8oragrapseto na k min xrisimopis diafora xromata fenete ligo periergo (prosopiki mu gnomi oti 8es kanic) episis ida merika la8akia sto teloc lec pos na kanoume enan java code k mas les poc an kanoume afton ton code opioc einai nobless 8a tou bgeni  "You Are Hero" alla sto code kato lei gia nobless ka8oragrapseto poli newbies  8a perdeftoune..

Posted

Oreo to topic sou.. sinistw se osous 8a kanoun compile k tha perasoun patchakia mesa sto core na xrisimopioisoun L2 Project h opia 8a exei build mesa(einai pio eukolos tropos na kaneis compile otan eisai newbie.)..sunexise etC m orea guides..!

Posted

Oreo to topic sou.. sinistw se osous 8a kanoun compile k tha perasoun patchakia mesa sto core na xrisimopioisoun L2 Project h opia 8a exei build mesa(einai pio eukolos tropos na kaneis compile otan eisai newbie.)..sunexise etC m orea guides..!

thanks
  • 2 weeks later...
Posted

pedia na rotiso ekana compile gracia final l2jfree kai otan kano edit ta java arxia me ta dixni san kinezika gt kserete mipos. i prota pernao ta custom kai meta kano compile?

Enoeite Prota Kaneis Oti Modify Theleis Ston Kodika Pos Allios...Psaxe Gia Guide ...Use Search Button Mn Variese :>

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