Jump to content

dios

Members
  • Posts

    27
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by dios

  1. right click on stargameserver and look for number 1024. increase it to 2048, only if u have 2gb of ram or more

    i made it like this replaces all 1024 to 2048

    REM Default parameters for a basic server.
    java -Dfile.encoding=UTF-8 -Xmx2048m -cp bsf.jar;bsh-engine.jar;bsh-2.0b5.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.1.6-bin.jar;l2jteon.jar;jython.jar;jython-engine.jar;commons-logging-1.1.jar;java-engine.jar net.sf.l2j.gameserver.GameServer
    REM
    REM If you have a big server and lots of memory, you could experiment for example with
    REM java -server -Xmx2048m -Xms2048m -Xmn2024m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

    this error appears:

    Could not resolve enough space for object heap
    Could not create java virtual machine

    P.s i have 3 gb ram.

  2. I got this error when i run gamserver.bat :/

    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
            at java.util.Arrays.copyOf(Unknown Source)
            at java.util.BitSet.ensureCapacity(Unknown Source)
            at java.util.BitSet.expandTo(Unknown Source)
            at java.util.BitSet.set(Unknown Source)
            at net.sf.l2j.gameserver.idfactory.BitSetIDFactory.initialize(BitSetIDFactory.java:84)
            at net.sf.l2j.gameserver.idfactory.BitSetIDFactory.<init>(BitSIDFactory.java:65)
            at net.sf.l2j.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:68>
    
            at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:180
            at net.sf.l2j.gameserver.GameServer.main(GameServer.java:563)

    please help

  3. [javac] Compiling 1542 source files to C:\L2Open\Core\classes

        [javac] C:\Open-team\L2Open_GameServer\java\ru\l2open\gameserver\model\actor\instance\L2PcInstance.java:15923: unmappable character for encoding Cp1253

        [javac] //??????? ??????????, ??????? ??????????? ?? ???????

        [javac]       ^

        [javac] 1 error

     

    BUILD FAILED

    C:\Open-team\L2Open_GameServer\build.xml:38: Compile failed; see the compiler error output for details.

     

    Total time: 3 seconds

     

    this pops out when i try to compile Gameserver :/ how can be fixed?

     

  4. not workS??!!

     

    so change all to this

     

    <zone id='11025' type='Town' shape='Cuboid' minZ='-3300' maxZ='-3000'>
    	<stat name='name' val='Gludin Village'/>
    	<stat name='townId' val='5'/>
    	<stat name='taxById' val='1'/>
    	<spawn X='-82856' Y='150901' Z='-3128'/>
    	<spawn X='-83055' Y='153959' Z='-3204'/>
    	<spawn X='-80748' Y='153944' Z='-3177'/>
    	<spawn X='-81901' Y='154880' Z='-3204'/>
    	<spawn X='-82081' Y='152719' Z='-3204'/>
    </zone>

     

    i added your code as you said but instead of Town i added NoLandingZone cause i have a java code ...zone related reward.. STILL NOT WORKING :(

  5. don't double post.

     

    yes change all spawns to this

     

    		<spawn X='-82856' Y='150901' Z='-3128'/>
    	<spawn X='-83055' Y='153959' Z='-3204'/>
    	<spawn X='-80748' Y='153944' Z='-3177'/>
    	<spawn X='-81901' Y='154880' Z='-3204'/>
    	<spawn X='-82081' Y='152719' Z='-3204'/>

     

    also tell your pack

     

    i did but no solution,still porting in talking island  :/ i use last rev of l2j

    p.s sorry for double post :$

  6. in spawns replace this

     

    		<spawn X='-82856' Y='150901' Z='-3128'/>
    	<spawn X='-83055' Y='153959' Z='-3204'/>
    	<spawn X='-80748' Y='153944' Z='-3177'/>
    	<spawn X='-81901' Y='154880' Z='-3204'/>
    	<spawn X='-82081' Y='152719' Z='-3204'/>

     

    should i delete all red lines and replace them with your spawn?

     

    <zone id="11025" type="Arena" shape="NPoly" minZ="-3300" maxZ="-3000"> <!-- Gludin Village -->

    <stat name="townId" val="5" />

    <stat name="taxById" val="1" />

    <spawn X="-83520" Y="150560" Z="-3000" />

    <spawn X="-82464" Y="150848" Z="-3000" />

    <spawn X="-84064" Y="150864" Z="-3000" />

    <spawn X="-83408" Y="151376" Z="-3000" />

    <spawn X="-82195" Y="150489" Z="-3000" />

    <spawn X="-81787" Y="150780" Z="-3000" />

    <spawn X="-81721" Y="151202" Z="-3000" />

    <spawn X="-82241" Y="151163" Z="-3000" />

    <spawn X="-82575" Y="151025" Z="-3000" />

    <spawn X="-82909" Y="150357" Z="-3000" />

    <spawn X="-83584" Y="150512" Z="-3000" />

    <spawn X="-83529" Y="151205" Z="-3000" />

    <spawn X="-82035" Y="152647" Z="-3000" />

    <spawn X="-80053" Y="154348" Z="-3000" />

    <spawn X="-81616" Y="157104" Z="-3150" isChaotic="true" />

    <spawn X="-80688" Y="157216" Z="-3150" isChaotic="true" />

    <spawn X="-79568" Y="156960" Z="-3150" isChaotic="true" />

    <spawn X="-78800" Y="157744" Z="-3150" isChaotic="true" />

    <spawn X="-80448" Y="157968" Z="-3130" isChaotic="true" />

    <spawn X="-81712" Y="159536" Z="-3230" isChaotic="true" />

    <spawn X="-79744" Y="160592" Z="-3330" isChaotic="true" />

    <spawn X="-79584" Y="159408" Z="-3180" isChaotic="true" />

    <spawn X="-74016" Y="150656" Z="-2800" isChaotic="true" />

    <spawn X="-72720" Y="149632" Z="-2780" isChaotic="true" />

    <spawn X="-75904" Y="162000" Z="-3300" isChaotic="true" />

    <spawn X="-75488" Y="161472" Z="-3250" isChaotic="true" />

    <spawn X="-74688" Y="160736" Z="-3200" isChaotic="true" />

    <spawn X="-74352" Y="161488" Z="-3250" isChaotic="true" />

    <spawn X="-76656" Y="160768" Z="-3280" isChaotic="true" />

    <spawn X="-77472" Y="160960" Z="-3470" isChaotic="true" />

    <spawn X="-77776" Y="158752" Z="-3270" isChaotic="true" />

    <spawn X="-80448" Y="161488" Z="-3420" isChaotic="true" />

    <spawn X="-75440" Y="162672" Z="-3350" isChaotic="true" />

    <spawn X="-81760" Y="161248" Z="-3200" isChaotic="true" />

    </zone>

  7. Here is the main code PvP Quake system:

     switch(quakeSystem) {
           	case 4:
           		 Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating!");
           		 break;
           	case 6:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Rampage!");
           		break;
           	case 8:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Killing Spree!");
           		break;
           	case 10:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Monster Kill!");
           		break;
           	case 12:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is Unstoppable!");
           		break;
           	case 14:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is on an Ultra Kill!");
           		break;
           	case 16:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is Godlike");
           		break;
           	case 18:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is Wicked Sick!");
           		break;
           	case 20:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Ludricrous Kill!");
           		break;
           	case 24:
           		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Holy Shit!");
           		 default:
           			 ;
           }

    i searched for it and there was no answers about this reques...i want the alternative one...when a player has a killing spree and a enemy kills him, then an announce appears saying: player x stoped player's y (killig spree,monster kill,wicked sick etc.) with x kills... pls share the java code ty :)

×
×
  • Create New...