Jump to content

~!M@R@SL@K0SsS!~

Members
  • Posts

    371
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About ~!M@R@SL@K0SsS!~

Contact Methods

  • ICQ
    242456

Profile Information

  • Gender
    Male
  • Location
    Nea-Orestiada
  • Interests
    ̿ ̿ ̿̿̿ ̿̿̿̿'̿'\̵͇̿̿\=(•̪●)=/̵͇̿̿/'̿̿ ̿ ̿ ̿ ̿̿̿

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

~!M@R@SL@K0SsS!~'s Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. I have problem with m2 l2net i cant login at the first phase :) can you help me i sent you and a message in skype .
  2. yeah update it to the new rev ...
  3. Hello 1st Awesome Share and thnx that you are showing to us free :D but i have problem ... i have updated my data pack and now its other rev and in RewuestPledgeCrest you import com.l2jserver.gameserver.cache.CrestCache; and in mine don't have this file in this location.. so i look for CrestCache.java on l2j server of my rev i added in my code i think in game it works but in server i got this error: every time i place .pvpinfo at my self( targeting my self) i got this error/ and when i loading server it says to me that a table in sql (crests) is missing.. my rev is 5737
  4. yeah in that you are telling me you are right... i change it and i leave it as you tell me and now i try to fix my npc's to work with my rev. but if is exist eny solution that is more easy than this i'm doing now and someone know .. post it here..
  5. i will try again that are you telling me and if it's not working again i will add in my java jython that Cobra gave me...
  6. this is the old one com.l2jserver.gameserver.model.quest.jython ??? if its is its good idea to add it as java file in eclipse?
  7. OFFTIPIC: yeah it's one line of npc code that is too big ... because of that is big... and now i'm searching on l2jserver forum of sth exists about this problem...
  8. yeah.. it's correct this npc's worked correctly before server update revision.. and now it's not..
  9. i have tried to delete it but another error apears.... i have tried to change it to com.l2jserver.gameserver.model.quest import Quest as JQuest (because this link exists..) but npc's not working well some times don't get adena for the work that do.. buffer don't remove buffs... and now i'm tired to change - restart server - test . change - restart server - test.... :D because of that i post it here...
  10. its the first thing that made..... but with no solution..
  11. Hello i search forum for my problem but i don't find sth.. so i post it here... i updated my server pack L2J server Beta to a new revirsion and i have problem with my custom npcs... like toplist npc the code is this . import sys from java.util import Iterator from com.l2jserver import L2DatabaseFactory from com.l2jserver.gameserver.model.quest import State from com.l2jserver.gameserver.model.quest import QuestState from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest qn = "36601_Toplist" NPC = 36601 QuestId = 36601 MIN_LEVEL = 0 MAX_LEVEL = 86 QuestName = "Toplist" QuestDesc = "custom" InitialHtml = "1.htm" DonateMaster = "This ain't no free service nubblet! Now get out of my hare... Get it, 'hare'? - That gets me every time!" class Quest (JQuest): def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent(self,event,st): htmltext = event level = st.getPlayer().getLevel() levelup = 86 - level if level < MIN_LEVEL : return"<html><head><body>No quicky for you! - Your to young shorty!</body></html>" if level > MAX_LEVEL : return"<html><head><body>No quicky for you! - Your to old fatty!</body></html>" else: #PK INFO if event == "01": con = L2DatabaseFactory.getInstance().getConnection() total_asesinados = 0 htmltext_ini = "<html><head><title>PK List</title></head><body><table width=300><tr><td><font color =\"FF00FF\">Pos.</td><td><center><font color =\"FFFF00\">*** Player ***</color></center></td><td><center>*** Kill's ***</center></td></tr>" htmltext_info ="" color = 1 pos = 0 pks = con.prepareStatement("SELECT char_name,pkkills FROM characters WHERE pkkills>0 and accesslevel=0 order by pkkills desc limit 50") rs = pks.executeQuery() while (rs.next()) : char_name = rs.getString("char_name") char_pkkills = rs.getString("pkkills") total_asesinados = total_asesinados + int(char_pkkills) pos = pos + 1 posstr = str(pos) if color == 1: color_text = "<font color =\"00FFFF\">" color = 2 htmltext_info = htmltext_info + "<tr><td><center><font color =\"FF00FF\">" + posstr + "</td><td><center>" + color_text + char_name +"</center></td><td><center>" + char_pkkills + "</center></td></tr>" elif color == 2: color_text = "<font color =\"FF0000\">" color = 1 htmltext_info = htmltext_info + "<tr><td><center><font color =\"FF00FF\">" + posstr + "</td><td><center>" + color_text + char_name +"</center></td><td><center>" + char_pkkills + "</center></td></tr>" htmltext_end = "</table><center><font color=\"FFFFFF\">" + "A Total of " + str(total_asesinados) + " Pk's.</center></body></html>" htmltext_pklist = htmltext_ini + htmltext_info + htmltext_end L2DatabaseFactory.close(con) return htmltext_pklist #PVP INFO if event == "02": con = L2DatabaseFactory.getInstance().getConnection() total_asesinados = 0 htmltext_ini = "<html><head><title>PvP List</title></head><body><table width=300><tr><td><font color =\"FF00FF\">Pos.</td><td><center><font color =\"FFFF00\">*** Player ***</color></center></td><td><center>*** Kill's ***</center></td></tr>" htmltext_info ="" color = 1 pos = 0 pks = con.prepareStatement("SELECT char_name,pvpkills FROM characters WHERE pvpkills>0 and accesslevel=0 order by pvpkills desc limit 50") rs = pks.executeQuery() while (rs.next()) : char_name = rs.getString("char_name") char_pvpkills = rs.getString("pvpkills") total_asesinados = total_asesinados + int(char_pvpkills) pos = pos + 1 posstr = str(pos) if color == 1: color_text = "<font color =\"00FFFF\">" color = 2 htmltext_info = htmltext_info + "<tr><td><center><font color =\"FF00FF\">" + posstr + "</td><td><center>" + color_text + char_name +"</center></td><td><center>" + char_pvpkills + "</center></td></tr>" elif color == 2: color_text = "<font color =\"FF0000\">" color = 1 htmltext_info = htmltext_info + "<tr><td><center><font color =\"FF00FF\">" + posstr + "</td><td><center>" + color_text + char_name +"</center></td><td><center>" + char_pvpkills + "</center></td></tr>" htmltext_end = "</table><center><font color=\"FFFFFF\">" + "A Total of " + str(total_asesinados) + " PvP's.</center></body></html>" htmltext_pklist = htmltext_ini + htmltext_info + htmltext_end L2DatabaseFactory.close(con) return htmltext_pklist if htmltext != event: st.exitQuest(1) return htmltext def onFirstTalk (self,npc,player): st = player.getQuestState(qn) if not st : st = self.newQuestState(player) return InitialHtml QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc) QUEST.addStartNpc(NPC) QUEST.addFirstTalkId(NPC) QUEST.addTalkId(NPC) print "###############################" print "# Top Lists - Loaded #" print "# #" and when i start my gameserver.bat show me an error . i go to __init__.py error,log and i see this Error on: C:\server new\game\data\scripts\custom\36601_Toplist\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): File "custom/36601_Toplist/__init__.py", line 6, in ? ImportError: no module named jython and its true because no jython moduls is at com.l2jserver.gameserver.model.quest.jython ..... and here is a foto of my java any solution ... to change com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest to sth else location that will exist jython?? thn'x in advance
  12. Guys ok i fount it my self thnx for trying to help... (}sorry for dubble posting) Solutio: I'ts a syntax error.. at start of every multisell i must change the <list maintenenchantment="true"> to <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd"> and from every <item id="1"> to <item> and works
  13. <?xml version='1.0' encoding='utf-8'?> <!-- Created with Lineage II - Multisell Manager --> <!-- © 2011 by NeverMore --> <list maintainEnchantment="true"> <!-- Imperial Crusader Breastplate --> <item id="1"> <ingredient id="57" count="100000000"/> <production id="6373" count="1"/> <production id="6374" count="1"/> <production id="6378" count="1"/> <production id="6375" count="1"/> <production id="6376" count="1"/> <production id="6377" count="1"/> </item> <!-- Draconic Leather Armor --> <item id="2"> <ingredient id="57" count="100000000"/> <production id="6379" count="1"/> <production id="6382" count="1"/> <production id="6380" count="1"/> <production id="6381" count="1"/> </item> <!-- Major Arcana Robe --> <item id="3"> <ingredient id="57" count="100000000"/> <production id="6383" count="1"/> <production id="6386" count="1"/> <production id="6384" count="1"/> <production id="6385" count="1"/> </item> <!-- Imperial Crusader Breastplate --> <item id="4"> <ingredient id="57" count="16666666"/> <production id="6373" count="1"/> </item> <!-- Imperial Crusader Gaiters --> <item id="5"> <ingredient id="57" count="16666666"/> <production id="6374" count="1"/> </item> <!-- Imperial Crusader Boots --> <item id="6"> <ingredient id="57" count="16666666"/> <production id="6376" count="1"/> </item> <!-- Imperial Crusader Gauntlets --> <item id="7"> <ingredient id="57" count="16666666"/> <production id="6375" count="1"/> </item> <!-- Imperial Crusader Helmet --> <item id="8"> <ingredient id="57" count="16666666"/> <production id="6378" count="1"/> </item> <!-- Imperial Crusader Shield --> <item id="9"> <ingredient id="57" count="16666666"/> <production id="6377" count="1"/> </item> <!-- Draconic Leather Armor --> <item id="10"> <ingredient id="57" count="25000000"/> <production id="6379" count="1"/> </item> <!-- Draconic Leather Boots --> <item id="11"> <ingredient id="57" count="25000000"/> <production id="6381" count="1"/> </item> <!-- Draconic Leather Gloves --> <item id="12"> <ingredient id="57" count="25000000"/> <production id="6380" count="1"/> </item> <!-- Draconic Leather Helmet --> <item id="13"> <ingredient id="57" count="25000000"/> <production id="6382" count="1"/> </item> <!-- Major Arcana Robe --> <item id="14"> <ingredient id="57" count="25000000"/> <production id="6383" count="1"/> </item> <!-- Major Arcana Boots --> <item id="15"> <ingredient id="57" count="25000000"/> <production id="6385" count="1"/> </item> <!-- Major Arcana Gloves --> <item id="16"> <ingredient id="57" count="25000000"/> <production id="6384" count="1"/> </item> <!-- Major Arcana Circlet --> <item id="17"> <ingredient id="57" count="25000000"/> <production id="6386" count="1"/> </item> </list>
  14. Hello. i don't know if its another topic with the same subject , i have searched about 10 times and i don't find nothing..so i will post my problem here.. I have updated my pack with eclipse and in my new pack i put some multisell's from previous but when i run the server send's me an error.. like this any solution? i try to change some things inside the xml but nothing happend
×
×
  • Create New...