Jump to content
  • 0

Question

13 answers to this question

Recommended Posts

  • 0
Posted

Old db installers words kinda another way, or so :P Launch the bat and put all the info in the cmd. Else, you can c/p aCis db installer edit it to install proper files.

  • 0
Posted

i just add the db etc password and others and nth happens

inside folder tools in server files find "database_installer" file and open it with notepad ( [GR] kane dexi klik panw sto file kai pata epexergasia)

edit all db passwords, db names etc and find the CORRECT route of MySQL. save it and try again

  • 0
Posted

I recommend you to take rev 1433, it's not Java8 but doesn't contains things like this:

					for (L2ItemInstance item : player.getInventory().getAvailableItems(false))
					{
						if (item == null)
						{
							continue;
						}
						if (_heroItems.contains(item.getItemId()))
						{
							continue;
						}
						
						player.destroyItem("Hero", item, null, true);
						iu = new InventoryUpdate();
						iu.addRemovedItem(item);
						player.sendPacket(iu);
					}

This is from java/net/sf/l2j/gameserver/model/entity/Hero.java

 

There are some issues happened during the updates, I don't know how many. :lol:

  • 0
Posted

Just a recommendation :lol:

About his problem, the db installer is about 2 steps... first set the correct path to the mysql bin folder and the connection settings, and then choose between upgrading or full installation. If you have typed a wrong settings, delete or edit the vars.txt file and try again... there are nothing that can go wrong, because it doesn't even depend on Java.

  • 0
Posted (edited)

I think i got the same issue that he does.

 ill make it known im no pro like you guys i just enjoy the lineage game

 

So anyway here goes.

Havent installed a server for few yrs been too life busy with work to play anything,but i got the L2 itch so i just looked in my ol hds and grabed a few i set aside.i had found 2, one was all setup from being used on my other system its pack from L2PS  ver 5860. and a compiled clean server from l2j server (Floorins old post last posted version).I had just upgraded to widows 8.1 and added an ssd Samsung 850 pro 512g and 1 hd for storage (old hd).

 

   So ok time for jdk,i didnt know the new jdk 8 does not have 1.6 or it was 1.something srry i dont remeber (some srvices cannot run).So i droped back to to jdk7, also in use mysql 5.5, navicat 8. I then put in the server pack L2PS_5860. db installer worked fine everything went in fired up the game...error (client) there is an issue with win 8.1 and DSETUP,pulled one from Gracia system.Which worked but things like steam or amd overlays wont work,gg i think,But hey it all worked.Now this L2PS pack actually wouldnt be bad but it has some big issues.Its setup for the high rate pvp (im a dwaf damn it) and anytime you or a npc make use of a skill it lags and skips,did this in my old setup aswell (its his pack) because i could always grab night builds from l2j server put it in and everything was smooth as it should be.

 

So ill do the same now..but when i try to run any installer from any other pack cmd flashes and thats it.It does so quckly you cant read anything.Run as admin ok it will start but this is what it does. first screen that comes up on start is = loginserver database install type i hit reconfigure (info was already in by edit) just to let it all run thru. It says its all done and returns to the loginserver database install type screen,does not create a vars.txt file.I run the rest of it,I hit full install it says trying to make backup of community server then drops to community server data base install click full install and the pattern continues through the rest of it.It makes no backups of anything and installs nothing.Just to try it cause i had no need to before i tried running the installer in the L2PS as admin and it did the same thing.But if i just run it normal double click and run it fires right up in that pack.

 

You can drag the vars.txt from L2PS into the l2jserver and it will run make backups,install tables but it still cant run it gives this.

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/l2jserver
/tools/gsregistering/BaseGameServerRegister : Unsupported major.minor version 52
.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

Press any key to continue . . .

 

 

the other server that started and worked already had files in it from running before i just copied it to an hd while i put windows 8.1 in (i had vista in it was beyond time) but evrything ive tried to from scratch so to do speak hasnt worked, I hope its just a simple setting in windows or something i just forgot to put in?its been a while. till then ill play on this skill lagging one.

 

TY.

 

srry guys its l2jserver 6649  dp10448

Edited by Small72
  • 0
Posted

Alexioti, give to your self some time, search inside on database_installer, loginserver,gameserver.properties and you'll find the problem..

People always expect help from the forum for something simple..

 

pack is not preconfigurated...

What matter if a pack is preconfig or not with database part?

 

Use this backup.

  • 0
Posted (edited)

any idea? ive checked the things he said to check everything is filled out that i can see.but still double click to start db_installer and it just blinks?

Edited by Small72

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
Answer this question...

×   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

    • Changeset 411 (3596)   ZoneManager, Manors, Cursed Weapon, AI, Bugfixes, Organization   [Fishing is currently malfunctioning. Wait next revisions for item/skills reparse + fish rework.   ZoneManager - Ty Bandnentans for the backup job Rework ZoneManager, parsing L2OFF zones and associated parameters. Zones are now handled by name, and not anymore by custom, dynamic, id - making them easier to invoke, and allowing retail script to invoke them aswell. Zones are now extending Territory, and don't use anymore shapes (Circle/Rectangle/NPoly). Default shape is Polygon, cut into Triangles, through Territory. One more step down to delete "zone.form" package and ZoneForm class. All zone types are added as L2OFF. Custom zone types are deleted (ARTIFACT, SCRIPT,...) and good names are provided (Boss = NoRestart, NoLanding = NoFly, etc). NoRestart zones type (eg. previous Boss) behavior is now matching retail, and uses retail parameters aswell. It normally fixes the "instant teleport back to town when entering boss zones through few teleporters" issue. Implementation of onLogin/onLogout/onEnterRegion/onExitRegion methods types for zones. Implementation of EffectZoneTaskManager (a universal 666ms ticking task for all effect zones) and ZoneRevalidationTaskManager (a universal 666ms Creature revalidateZone task, avoiding multiple calls). Migrate zone related Stat Func application to zone onEnter/onExit, deleting ZoneManager#getZone calls upon stat calculation (run speed, hp/mp regen). Fix moving from same zone type to same zone type ; it doesn't consider to going out (hotfix). Should notably fix water re-entrance issue. Delete custom CastleTeleportZone, use retail Mass Teleporter HTMs and AI params. Manors - Ty LaRoja for fixes Fix an issue where turning in crops to the Manor Lord for materials would incorrectly add adena to the castle vault instead of deducting it, while seed sales are correctly handled. Fix an issue where the "Stop Purchase" button did not properly clear all crops. The last crop would remain set, and the manor wouldn't fully disable unless all adena was manually removed from the vault. Introduce //manor [change], allowing manually a manor cycle to run. Cursed Weapon CW passive skill is properly cleaned up. Ty Denzel for report. Don't store anymore Player reference on CursedWeapon. Store CursedWeapon reference upon Player, rather than itemId - for faster acquisition. Fix a NPE upon CursedWeapon#endOfLife. AI Fix aggressive monsters behavior. Ty Denzel for report, Bandnentans for fix. Fix EvilateA/B not respawning demons. Ty Bandnentans for report. Fix a conditional NPE over PartyLeaderHeretic2Aggressive AI. Fix Gordon script NPE. Ty Sahar for report. Move most DefaultNpc methods to Npc (npc isn't a parameter anymore, but the method caller). Overload NpcAi#addCastDesire with NpcSkillType parameter, since it was hard to read and error-prone. -> npc.getAI().addCastDesire(attacker, getNpcSkillByType(npc, NpcSkillType.DD_MAGIC), 1000000); -> npc.getAI().addCastDesire(attacker, NpcSkillType.DD_MAGIC, 1000000);. Implement NpcMaker#areaSetOnOff and Npc#areaSetOnOff. AIs can now activate and de-activate areas based on behavior (generally spawn and dying). Uncomment all scripts areas triggers. Implement Creature#isInThisTerritory, checking if a Creature is in a parametrized zone name. Uncomment all scripts areas triggers. Re-introduce back RandomAnimationTaskManager for Folks. Ty Bandnentans for report. getSeeRange() is now minimal Config.DEFAULT_SEE_RANGE - can't be lower - notably fix Gordon ON_SEE event. Implement NODE_ARRIVED EventHandler. Fix Gordon continuously running after attacking someone. Bugfixes Sanitize the username string in AuthLogin as it is in RequestAuthLogin. Ty artemis for fix. //set title is fixed (allows more than one token, and spaces between words). Add the possibility to clear title with no parameter. Add a missing sysMessage upon regular Pet's name set, remove one check processed by regex (and which had invalid sysMessage). Fix a "day 1" issue related to CH : if your clan was holding any CH, HP/MP regen was applied no matter the CH zone you were currently set. Remove run stance upon Npc#reduceCurrentHp, making Walker run when being hit. Ty Denzel for report. Fix an issue where Castle owners couldn't register for SCH. Fix the related SystemMessageId. Allow blocked interaction to scan at higher range. Organization Config : Introduce NAME_REGEX_PATTERN and TITLE_REGEX_PATTERN, delete ZONE_TOWN Config. Territory "Polygon to Triangle" algorithm is edited for an adapted version of Earcut (earcut4j without the hole handling), allowing monotone polygon and using Z-order curve index for faster spatial partitioning. Rewrite Triangle#intersects method to be more accurate. Drop grandboss_list SQL. The few "var" are now named "variable", prior to var keyword addition in Java. Update MariaDB connector from 3.1.4 to 3.5.3. Add //set pvp <number> and //set pk <number>. RoomInfo improvement - allocate and reuse a single List, rather than nullify it and create a new one.
    • any mod can change the title 'Rules' and move to the  marketplace? @Maxtor
    • One thing i want to add  is disabling root login, creating a new user with sudo privileges, setting up SSH key authentication and completely disabling password  logins and also avoid  exposure on port 80 completely. it's much better to manage them directly from your local machine using IP whitelisting on database user or firewall-iptables. This way, only trusted IPs have access. Even better ssh tunnel. Good job though. 
  • Topics

×
×
  • 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