Jump to content

Recommended Posts

Posted

Well because noone  knows how to create a faction server or at least the most such as gve server i create a mini guide to help you

Be sure that you mst spend time and work because i will not give it to you 100%

First of all faction system was created by Evill33t and for his old server and now the files are stored in his l2jteam "L2JFREE"

 

Note:The guide was created by EzEraL(John Lamprou)

 

                Step 1

 

Go to www.l2jfree.com and brownze the forum to see l2jfree svn and guides of how to complie with maven

L2jfree is not use ant for complying but maven.In l2jfree forum you will find the guide and support

 

              Step 2

 

With eclipse download l2jfree source.When you finish(it will take some time)you will see 3 folders.(Trunk,tags,branches)

Well interlude version is in trunk folder.So open trunk folder.You will see many other folders but keep in mind that only 2 folders

consider you.The "Gameserver Int" and "Datapack Int"Then go to gameserver int folder

 

              Step 3

 

The faction files are located in:

1)src\main\java\net\sf\l2j\gameserver\instancemanager.Here you will find FanctionManager.java and FanctionQuestManager

 

2)src\main\java\net\sf\l2j\gameserver\model/actor/instance.Here you will find the L2FanctionQuestManagerInstance

3)src\main\java\net\sf\l2j\gameserver\model\entity\faction.Here you will find the  Faction.java the  FactionQuest.java and FactionMember.java

 

Read these files carefully and you will understand many things of what you must to do!

 

              Step 4

 

After you read a bit the java files(faction source)you will understand that you must create some new tables and some htms

 

Well so now it begins your work.But during the previous guide that many ppl didnt know how to do it i will help little more.

 

              Sql part

 

Well you must create 3 new sqls called "faction_quests.sql" "faction_members.sql" "character_faction_quests.sql"

Be carefull that the sqls must be in the correct sql syntax

 

            Htm part

 

Well simply create the followings htms:

 

start.htm

already.htm

switch.htm

join.htm

accepted.htm

noadena.htm

switched.htm

declined.htm

askquit.htm

story.htm

quited.htm

quest.htm

shop.htm

wrong.htm

 

The htm files must be located in data\html\faction

 

Well thats all.Well if you dont know how to create these sqls and htm files you dont deserve to have a server like this...

 

 

 

                    FAQ :

 

What is faction system?

 

Faction system was created by evil33t for his server.It is like gve but it is not gve.You can choose factions that characters will join and many other things such us faction points and faction war event

 

Is this a gve system?

 

No but it is the most close for it.It has 3 factions (default good,evil,neutral)and many other things  that related on gve for example the buff coin and you can take a town in your side by winning it

 

How i can change the faction names because the defaults are neutral,good and evil?

 

In the file faction.java which is located in "src\main\java\net\sf\l2j\gameserver\model\entity\faction"

 

Have fun....

 

Regards EzEraL(John Lamprou)

 

 

 

 

 

 

 

Posted

well, nice share, but it is not for newbies, you just tell us to paste your file somewhere and then do everything else alone, that's not a guide

 

thx anyway...

Posted

Some files are missing like L2PcInstance.java that must be modified so I dont think it will work like this on its own. Its not ready to work needs more.  But thx of course for sharing.

 

well, nice share, but it is not for newbies, you just tell us to paste your file somewhere and then do everything else alone, that's not a guide

 

thx anyway...

Noone said is for newbies but even to do the htm and sql files as John said you need some understanding of java.

 

Btw you truly must be Ezeral and actually you were banned, you didnt even know it?  :o

Posted

Some files are missing like L2PcInstance.java that must be modified so I dont think it will work like this on its own. Its not ready to work needs more.  But thx of course for sharing.

Noone said is for newbies but even to do the htm and sql files as John said you need some understanding of java.

 

Btw you truly must be Ezeral and actually you were banned, you didnt even know it?  :o

 

No because 3 month now i have some family problems and i was off so i give my account to my friend to check the forums.And he dint say anything

 

And thx for the comment.As i say it is not fot the niebies.And man i try and works but you mst change in java file to be welcome.htm not npcdefault.htm

Posted

No because 3 month now i have some family problems and i was off so i give my account to my friend to check the forums.And he dint say anything

 

And thx for the comment.As i say it is not fot the niebies.And man i try and works but you mst change in java file to be welcome.htm not npcdefault.htm

Actually it may work but if you dont do any more modifications you wont earn faction points when you kill.

 

Too bad then you were banned :/ for spamming and flaming...

 

When you mean exactly it worked, what worked? And at which pack?

these files are already in l2jfree

Posted

Hello Guys!!

I am Adreas Friend of Ezeral!!

One day i give Him GvE Files Not Complete(not mine its Evill3t Work)!!

Ezeral Fix them and Reshare it!!

Trust him and try to Compile them!!

EzeRaL keep working for Java!!

Posted

If you wanna make the gve server btw better use l2jfree that already has the files and you just need to activate it or you will have compatibility problems and it will probably need to be converted. Need some fixes, most of them shouldnt be hard too: not attack faction members,not pm other faction members,faction chat, not invite to party/clan/ally other faction etc.

Posted

If you wanna make the gve server btw better use l2jfree that already has the files and you just need to activate it or you will have compatibility problems and it will probably need to be converted. Need some fixes, most of them shouldnt be hard too: not attack faction members,not pm other faction members,faction chat, not invite to party/clan/ally other faction etc.

 

Lol man these include in the code.This is complete.Rewrtite the files to work on another pack and create some htmls and thats all

Posted

hi John!!!

Really nice share.

This is the TRUE EzEraL.

I was his friend who looked the forum while he was having some family problems.So ...

 

HE IS EZERAL!!!

I am a friend of him...and my name is Nasos.

 

Thanks.

 

PS:I said "nice share"?Oh yes... ^^

  • 4 weeks later...
Posted

Hi there and thx for sharing this guide.

I have problem in making that sql parts, i mean i ve tried but i cant figure out the correct structure of tables. can anyone post those scripts for making those tables here plz?

thx...

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.




  • Posts

    • Hello everyone I'm Albert, Starting now with the dream on have a L2 server, I'm having several issues with RS and I need someone help to Create an skill and implement to the correct class ID and make it work. Skill Required from me is  Festival Sweep  Skill or Item with the ability. I really need help guys and then after if possible i would need NPC and skins with .dressme        
    • Changeset 410 (3371)   Makers, NpcAi / Desires, Cursed Weapon rework, Bugfixes, Admincommands, Movement, Organization   Makers Fix ghost corpses. Introduce task manager for MultiSpawn spawn schedule. Introduce task managers for Npc respawn and despawn tasks. Add missing random treasurebox maker. NpcAi / Desires AttackableAttack > NpcAttack, allowing ATTACK_FINISHED event over Npc. Merge all reduceWeight from NpcAI operations. Don't broadcast MoveToPawn packet for cast hold scenarii. CH and CP managers use hold cast. Probably way more to add. Rework DesireQueue#addOrUpdate to avoid to generate a List. Drop _isInHitAnimation, avoid twice runAI calls upon attack end animation, save a ThreadPool. Implement Desire#isInvalid, used over the main loop to clean invalid Desires. All sided getDesires().removeIf are dropped, notably over AggroList/HateList. Cursed Weapon rework Fix potential task scheduling issues, reworking the whole layers. Reduce code by 1/3. Use L2OFF formulas/data for item drop rate, staging process. CW end duration now decreases when killing other Players. Bugfixes Revert schedule part from ThreadPool. Fix Pet inventory IU. Ty Denzel for the report. Fix Pet item timestamp reuse delay. Ty artemis for the fix. Disable automatic beastshots when his owner dies. Ty Root for the report. Player cannot craft while casting a skill, nor trade. Ty Root for the report. Add missing weight checks for player/summon pickup, and player craft. Ty Root for the report. Implement /graduatelist command, which displays a list of clan academy graduates for the past week. Ty RooT for the report. Fix PLAYING_FOR_LONG_TIME concept ; rest message is server related, not Player related. Ty RooT for the report. Player should stop movement when opening store. Fix Q351 occurences of itemId 4310 by 4407 one + slight fix. Fix Q365 missing memoState + poison skillId. Ty Root for the report. Fix Q417 Torai despawn over cond 11. Fix Q216 4 missing npcIds. Ty Karudin for the report. Fix the invalid comment of DeleteCharAfterDays Config. Fix NPC drop penalty level calculation. Ty Bandnentans for the report. Items are now dropped in a 30/45 donut shape around dropper. Ty Bandnentans for the report. PartyMatch fixes Don't show Party members or CW holder as available waiting members. You can't show overall List or join a PartyMatch room as CW holder. CW owner, upon acquisition, leave PartyMatch system. PartyMatch window is now automatically closed upon Player#removeMeFromPartyMatch. Remove Player from PartyMatch if Player and newly joined Party leader PartyMatch rooms differ. You can't join or be invited in a PartyMatch room if already partying/CW holding. Fix ShowLicence config when set to false. Ty artemis for the fix. Fix maximum number of macros. Ty artemis for the fix. Fix invalid IU update over //enchant. Ty artemis for the fix. Fix Castle Mass Gatekeeper HTMs. Ty kingNik0n for the fix. Drop _disabledItems implementation. Won't be used by next refactors. Ty artemis for the report. Fix loading handlers under debug. Ty Keku for the fix. Fix character_macroses table structure (commands = 12x32 chars minimum). Admincommands Merge all old spawn admincommands (//list_spawns, //spawn, //unspawnall, //respawnall, //delete) to //spawn and //unspawn (previously //delete). Generate //help. //unspawn works over all ASpawn. Merge all old fence admincommands (//spawnfence, //deletefence, //listfence) to //fence [add|remove], generate AdminFence. They now use proper Pagination. You can also teleport to it. Implementation of //show manor. Implementation of //set quest <id> [cond]. Related items must be hand-given. Implementation of //set henna [page] [add|remove symbolId]. The hennas are still bound to game logic (slots, canBeUsedBy). Movement - Ty LaRoja, Bandnentans Fix Boats IOOBE. Adapt getHeight logic from L2OFF. Introduce back WASD movement, handle boat board/unboard. Fix WATER/FLY movement logic. Avoid to pathfind diagonal cells with detected obstacle. Organization Addition of QuestVars class, holding all related variables from quests (itemIds, npcIds, questNames, sounds, etc), allowing to reduce length of each script while reusing variables. 100+ cloned variables were deleted. Refactor geometry package and Territory. Territory is now a unique 3D shape, holding any type of 2D geometry.  Remove few useless Location#clone uses. Implementation of ItemContainer#forEachItem. Clean many unused FrequentSkill. The whole enum is questionable. Drop MathUtil#checkIfInRange, implement WorldObject#isInStrictRadius (involve collision of that WorldObject, and potential WorldObject parameter). WorldObject#isIn2DRadius parameter is now a Point2D, not a Location (since a Location inherits Point2D, Location are still usable as parameter). Rework Pagination#generatePages to handle page number > 1000. Use Pagination over Tryskell SchemeBuffer. Ty CUCU23 for the share.
    • It's a custom instance used as Event not retail - like. You can re-create it easily.
    • GRAND OPENING TODAY !!! FROM - 16/05/2025, FRIDAY, 20:00 +3 GMT !
  • Topics

×
×
  • Create New...