Jump to content

tech1

Members
  • Posts

    134
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by tech1

  1. Hi guys need help..

    I have create xml skills for characters and when insert the game i have this error.

     

    Error could not store char skills: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrit

    yConstraintViolationException: Duplicate entry '268478279-20002-0' for key 'PRIM

    ARY'

     

    any idea how to fix pls?

     

    Sorry I put here the post please move it.

  2. Fix for event problem:

     

    Edit BasicCheck in CustomPvpSystem.java

     

    	private boolean checkBasicConditions(L2PcInstance killer, L2PcInstance victim){
    
    	if(killer == null || victim == null){
    		return false;
    	}
    
    	if(killer.isDead() || killer.isAlikeDead()){
    		return false;
    	}
    
    	if(killer.isInOlympiadMode() || killer.isOlympiadStart()){
    		return false;
    	}
    
    	if(killer.atEvent || killer._inEventCTF || killer._inEventDM || killer._inEventTvT || killer._inEventVIP){ 
    		return false;
    	}
    
    	// check if killer is in allowed zone & not in restricted zone:

     

    full update for few days i have exams :D

    test and working fine thanks :)

  3. Eφτιαξα για τον server μου skill balance.

    Όταν μπαίνει ο character μου βγάζει στο gameserver consol αυτο το error:

     

    Error could not store char skills: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrit

    yConstraintViolationException: Duplicate entry '268478279-20002-0' for key 'PRIM

    ARY'

     

    το 20002 ειναι το skill balance που εφτιαξα.

     

    ξέρει κάποιος πως να το fix αυτο?

  4. Try this :

     

    if (to.equalsIgnoreCase("") || message.equalsIgnoreCase("") || tο == null) {

    activeChar.sendMessage("You have to fill all the fields.");

     

    if (title.equalsIgnoreCase("") || title == null)

    title = "(No Subject)";

     

    and the problem still exists  :(

     

    Bad RequestBypassToServer:
    java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(Unknown Source)
            at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.
    runImpl(RequestBypassToServer.java:532)
            at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run
    (L2GameClientPacket.java:75)
            at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1
    195)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)

    Someone who knows how to Fix?

  5. I fixed it in l2jhellas.

     

    http://l2jhellas.eu

    Try this :

     

    if (to.equalsIgnoreCase("") || message.equalsIgnoreCase("") || tο == null) {

    activeChar.sendMessage("You have to fill all the fields.");

     

    if (title.equalsIgnoreCase("") || title == null)

    title = "(No Subject)";

     

    and the problem still exists  :(

     

    Bad RequestBypassToServer:
    java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(Unknown Source)
            at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.
    runImpl(RequestBypassToServer.java:532)
            at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run
    (L2GameClientPacket.java:75)
            at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1
    195)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)

     

     

  6. μπορείς να μας δώσεις τον κώδικα?

    Δεν εχει σχεση ο κώδικας το λεω αυτο γιατι πριν περασω εναν αλλον δουλευε.

    Τωρα δουλευει ο αλλος και αυτος βγαζει αυτο το message html :

     

    I have nothing to say to you

    Quest

  7. Παιδια εχω ενα προβλημα εχω περασει ενα npc instance και δουλευει κανονικα και μετα περναω αλλο ενα

    npc instance και οταν παταω πανω του μου βγαζει :

     

    I have nothing to say to you

    Quest

     

    και εχω περασει στην database τα npc σωστα πειτε μου τι να κανω?

  8. add after

    +		tb.append("Message:<br>");
    +		tb.append("<multiedit var=\"message\" width=\"120\" height=\"120\"><br><br>");
    +		

     

    if(to == null){
    return false;
    }
    if(title == null){
    return false;
    }
    if(message == null){
    return false;
    }
    

     

    red = error

     

    if(to == null){

    return false;

    }

    if(title == null){

    return false;

    }

    if(message == null){

    return false;

    }

  9. Φίλε μου, δεν άλλαξα τα imports. Το έκανα addapt στο l2jfrozen.

     

    Στο κάτω κάτω, δεν είμαι υποχρεωμένος να βοηθήσω και κακός το έκανα θέμα. Αν θες να πεις κάτι, να το πεις private σε παρακαλώ.

    Τι ακριβώς έκανες addapt?

    Έτσι ακριβώς το έκανα και εγω οι αλλαγές ήταν πολύ μικρές το θέμα είναι το αποτέλεσμα αυτο μετράει.

    Φυσικά και δε είσαι υποχρεωμένος εσυ κοκορευόσουν οτι θα μας το έδινες και "σήμερα θα το έχετε έτοιμο" και κτλ....

    Εχω μάθει πρώτα να κάνω και μετά να μιλάω το θέμα τελειώνει εδω κάποιος lock.

     

  10. gnwmh m panta etc mporei gia kapion na akousei -beep-ia alla protimo auta ta messages na to kanw me macros :/ Dn  t theorw kai polu xrisimo code :/ isws kanw kai la8os omos...

    Εγω πιστεύω οτι δεν έχεις ιδέα το τι κάνει ο κώδικας αυτος , γιατί που κολάει το macros με το system message δεν κατάλαβα.
×
×
  • 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