Jump to content

Mysterio98

Members
  • Posts

    18
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About Mysterio98

Profile Information

  • Gender
    Not Telling

Mysterio98's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Emm giati prwton eimai foititis kai defteron ton server ton trexw poli erasitexnika kai gia liga atoma. Den aksizei etaireia
  2. Den kserw giati anafer8ike, alla x64 bit exw, oxi 32 :P afton ton server twra ton dokimazw, dld gia tin wra ton xrisimopoiw mono egw. Fovamai oti otan afksi8oun ta atoma, 8a afksi8ei poli kai to ping. Kai afto pou me provlimatizei einai oti enw palia eixa 2GB RAM o server etrexe pio grigora apoti twra. Akoma kai me toso ping, wres wres trwei kapoia kollimata kai laggarw
  3. Trexw enan l2j intelrude server kai exw ena 8ema me to ping tou server. Katarxas exw 6GB RAM kai internet speed 12mbps. Otan trexw to L2 o server exei ping girw sto 30. Otan etrexa prin merika xronia enan allo server eixa 2GB RAM, tin idia internet speed kai to ping tou server itan katw apo 10. Kamia idea ti borei na ftaei i ti borw na kanw gia na riksw to ping? Den kserw an voi8aei, alla to StartGameServer.bat einai etsi: @echo off :start echo Starting L2J Game Server. echo. REM ------------------------------------- REM Default parameters for a basic server. java -Xmx1512m -cp bsf.jar;bsh-2.0b4.jar;commons-logging-1.1.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.1.jar;mysql-connector-java-5.0.5-bin.jar;l2jserver.jar;jython.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 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=1256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts REM ------------------------------------- if ERRORLEVEL 2 goto restart if ERRORLEVEL 1 goto error goto end :restart echo. echo Admin Restart ... echo. goto start :error echo. echo Server terminated abnormaly echo. :end echo. echo server terminated echo. pause Episis sti diaxeirisi eragiwn mou leei oti i dia8esimi mnimi einai peripou 4GB Efraristw
  4. I am using L2J interlude pack. No, there are no errors ingame or at gameserver console. The //setcolor command works fine with an admin character that has 1000 accesslevel, so the problem must be in the configuration of the server
  5. Hey, I am running an interlude server and my configs are the following: -command-privileges.properties # Alternative Configure GM commands access level # # This file only read if "AltPrivilegesAdmin = true"!!! # # Information: # 1) If AltPrivilegesSecureCheck = true # Every commands need a entry in this file, else the command cannot be executed. # else if a command haven't got a entry in this file the minimun access level is # AltPrivilegesDefaultLevel (default = 100) # 2) Some commands need a correct access level on GM Access table too, like: # the commands contained into AdminEditChar.java,AdminEditNpc.java,AdminSpawn.java files admin_admin = 200 admin_admin1 = 200 admin_admin2 = 200 admin_admin3 = 200 admin_admin4 = 200 admin_admin5 = 200 ####################### ### COMMON COMMANDS ### ####################### admin_delete = 1000 admin_gmshop = 200 admin_heal = 1000 admin_help = 200 admin_vis = 1000 admin_invis = 1000 admin_invis_menu = 1000 admin_invul = 1000 admin_kill = 1000 admin_res = 1000 admin_silence = 200 admin_target = 200 ####################### ### CHAR MANAGEMENT ### ####################### admin_ban = 1000 admin_banchat = 1000 admin_jail = 1000 admin_character_disconnect = 1000 admin_kick = 1000 admin_unban = 1000 admin_unbanchat = 1000 admin_unjail = 1000 ################# ### CLAN HALL ### ################# admin_clanhall = 1000 admin_clanhalldel = 1000 admin_clanhallset = 1000 admin_clanhallopendoors = 1000 admin_clanhallteleportself = 1000 #################### ### ANNOUNCEMENT ### #################### admin_add_announcement = 1000 admin_announce = 1000 admin_announce_announcements = 1000 admin_announce_menu = 1000 admin_del_announcement = 1000 admin_list_announcements = 1000 admin_reload_announcements = 1000 ####################### ### RELOAD COMMANDS ### ####################### admin_reload = 1000 admin_cache_htm_rebuild = 1000 admin_cache_htm_reload = 1000 admin_cache_crest_fix = 1000 admin_cache_crest_rebuild = 1000 admin_cache_crest_reload = 1000 admin_quest_reload = 1000 admin_teleport_reload = 1000 admin_spawn_reload = 1000 admin_zone_reload = 1000 #################### ### DOOR CONTROL ### #################### admin_close = 200 admin_closeall = 200 admin_open = 200 admin_openall = 200 ######################### ### CHAR MODIFICATION ### ######################### admin_setclass = 200 admin_add_exp_sp = 200 admin_add_exp_sp_to_character = 200 admin_add_level = 200 admin_set_level = 1000 admin_changename = 200 admin_changename_menu = 200 admin_character_list = 200 admin_character_info = 200 admin_current_player = 200 admin_edit_character = 200 admin_find_character = 200 admin_find_ip = 1000 admin_find_account = 1000 admin_nokarma = 200 admin_rec = 200 admin_repair = 200 admin_restore = 200 admin_setew = 200 admin_setkarma = 200 admin_save_modifications = 200 admin_setcolor = 200 admin_setname = 200 admin_setsex = 200 admin_settitle = 200 admin_show_characters = 200 admin_manualhero = 1000 ################ ### EDIT NPC ### ################ admin_edit_npc = 1000 admin_save_npc = 1000 admin_show_droplist = 200 admin_edit_drop = 1000 admin_add_drop = 1000 admin_del_drop = 1000 admin_showShop = 1000 admin_showShopList = 1000 admin_addShopItem = 1000 admin_delShopItem = 1000 admin_box_access = 1000 admin_editShopItem = 1000 ################# ### EDIT PRIV ### ################# admin_edit_priv = 1000 admin_view_priv = 1000 ############### ### EFFECTS ### ############### admin_atmosphere = 200 admin_invisible = 1000 admin_visible = 1000 admin_earthquake = 1000 admin_bighead = 200 admin_shrinkhead = 200 admin_gmspeed = 200 admin_unpara_all = 1000 admin_para_all = 1000 admin_unpara = 1000 admin_para = 1000 admin_polymorph = 1000 admin_unpolymorph = 1000 admin_polyself = 1000 admin_unpolyself = 1000 admin_clearteams = 1000 admin_setteam_close = 1000 admin_setteam = 1000 admin_sethero = 200 admin_effect = 300 admin_social = 1000 admin_play_sounds = 200 admin_play_sound = 200 admin_abnormal = 200 admin_atmosphere_menu = 200 admin_unpara_all_menu = 1000 admin_para_all_menu = 1000 admin_unpara_menu = 1000 admin_para_menu = 1000 admin_polymorph_menu = 1000 admin_unpolymorph_menu = 1000 admin_polyself_menu = 1000 admin_unpolyself_menu = 1000 admin_social_menu = 1000 admin_effect_menu = 200 admin_abnormal_menu = 200 #################### ### ENCHANT MENU ### #################### admin_seteh = 200 admin_setec = 200 admin_seteg = 200 admin_setel = 200 admin_seteb = 200 admin_setes = 200 admin_setle = 200 admin_setre = 200 admin_setlf = 200 admin_setrf = 200 admin_seten = 20 admin_setun = 200 admin_setba = 200 admin_enchant = 200 ############# ### EVENT ### ############# admin_event = 1000 admin_event_new = 1000 admin_event_choose = 1000 admin_event_store = 1000 admin_event_set = 1000 admin_event_change_teams_number = 1000 admin_event_announce = 1000 admin_event_panel = 1000 admin_event_control_begin = 1000 admin_event_control_teleport = 1000 admin_add = 1000 admin_event_see = 1000 admin_event_del = 1000 admin_delete_buffer = 1000 admin_event_control_sit = 1000 admin_event_name = 1000 admin_event_control_kill = 1000 admin_event_control_res = 1000 admin_event_control_poly = 1000 admin_event_control_unpoly = 1000 admin_event_control_prize = 1000 admin_event_control_chatban = 1000 admin_event_control_finish = 1000 ####################### ### SERVER SETTINGS ### ####################### admin_server_shutdown = 1000 admin_server_restart = 1000 admin_server_abort = 1000 admin_server_gm_only = 1000 admin_server_all = 1000 admin_server_max_player = 1000 admin_server_list_clock = 1000 admin_server_login = 1000 ############ ### MENU ### ############ admin_char_manage = 1000 admin_teleport_character_to_menu = 1000 admin_recall_char_menu = 1000 admin_recall_party_menu = 1000 admin_recall_clan_menu = 1000 admin_goto_char_menu = 200 admin_kick_menu = 1000 admin_kill_menu = 1000 admin_ban_menu = 1000 admin_unban_menu = 1000 ################# ### MOB GROUP ### ################# admin_mobmenu = 1000 admin_mobgroup_create = 1000 admin_mobgroup_spawn = 1000 admin_mobgroup_unspawn = 1000 admin_mobgroup_kill = 1000 admin_mobgroup_idle = 1000 admin_mobgroup_attack = 1000 admin_mobgroup_rnd = 1000 admin_mobgroup_return = 1000 admin_mobgroup_follow = 1000 admin_mobgroup_casting = 1000 admin_mobgroup_nomove = 1000 admin_mobgroup_attackgrp = 1000 admin_mobgroup_invul = 1000 admin_mobinst = 1000 admin_mobgroup_remove = 1000 ################# ### PATH NODE ### ################# admin_pn_info = 1000 admin_show_path = 1000 admin_path_debug = 1000 admin_show_pn = 1000 admin_find_path = 1000 ############# ### RIDE #### ############# admin_ride_wyvern = 200 admin_ride_strider = 200 admin_unride_wyvern = 200 admin_unride_strider = 200 admin_unride = 200 ############# ### SIEGE ### ############# admin_siege = 1000 admin_add_attacker = 1000 admin_add_defender = 1000 admin_add_guard = 1000 admin_list_siege_clans = 1000 admin_clear_siege_list = 1000 admin_move_defenders = 1000 admin_spawn_doors = 1000 admin_endsiege = 1000 admin_startsiege = 1000 admin_setcastle = 500 admin_removecastle = 1000 ###################### ### FORTRESS SIEGE ### ###################### admin_fort = 1000 admin_add_fort_attacker = 1000 admin_add_fort_defender = 1000 admin_add_fort_guard = 1000 admin_list_fortsiege_clans = 1000 admin_clear_fortsiege_list = 1000 admin_move_fort_defenders = 1000 admin_spawn_fort_doors = 1000 admin_endfortsiege = 1000 admin_startfortsiege = 1000 admin_setfort = 1000 admin_removefort = 1000 ############# ### SKILL ### ############# admin_show_skills = 200 admin_remove_skills = 1000 admin_skill_list = 200 admin_skill_index = 200 admin_add_skill = 200 admin_add_clan_skill = 200 admin_remove_skill = 1000 admin_get_skills = 200 admin_reset_skills = 1000 admin_give_all_skills = 200 admin_remove_all_skills = 1000 ############# ### SPAWN ### ############# admin_mammon_find = 200 admin_mammon_respawn = 200 admin_list_spawns = 200 admin_show_spawns = 200 admin_spawn = 1000 admin_spawn_once = 1000 admin_spawn_index = 1000 admin_spawn_monster = 1000 admin_respawnall = 1000 admin_unspawnall = 1000 ################ ### TELEPORT ### ################ admin_show_moves = 200 admin_show_moves_other = 1000 admin_show_teleport = 200 admin_teleport_to_character = 200 admin_teleportto = 200 admin_move_to = 200 admin_teleport_character = 1000 admin_recall = 1000 admin_walk = 1000 admin_explore = 1000 admin_recall_npc = 1000 admin_gonorth = 200 admin_gosouth = 200 admin_goeast = 200 admin_gowest = 200 admin_goup = 200 admin_godown = 200 admin_tele = 200 admin_teleto = 200 ##################### ### TEST COMMANDS ### ##################### admin_known = 1000 admin_mp = 1000 admin_msg = 1000 admin_forge = 1000 admin_forge2 = 1000 admin_forge3 = 1000 admin_skill_test = 200 admin_st = 200 admin_stats = 1000 admin_test = 1000 admin_zone_check = 1000 admin_fight_calculator=200 admin_fight_calculator_show=200 admin_fcs=200 ################# ### PETITIONS ### ################# admin_accept_petition = 200 admin_reject_petition = 200 admin_reset_petitions = 200 admin_view_petition = 200 admin_view_petitions = 200 ################### ### GM SETTINGS ### ################### admin_changelvl = 1000 admin_gm = 200 admin_gmchat = 200 admin_gmchat_menu = 200 admin_gmlistoff = 200 admin_gmliston = 200 admin_snoop = 200 admin_unsnoop = 200 ##################### ### MISCELLANEOUS ### ##################### admin_buy = 200 admin_create_item = 200 admin_itemcreate = 200 admin_pledge = 1000 admin_set = 1000 admin_set_menu = 1000 admin_set_mod = 1000 admin_tradeoff = 200 admin_unblockip = 1000 ############### ### GEODATA ### ############### admin_geo_z = 1000 admin_geo_type = 1000 admin_geo_nswe = 1000 admin_geo_los = 1000 admin_geo_position = 1000 admin_geo_bug = 1000 admin_geo_load = 1000 admin_geo_unload = 1000 admin_geoeditor_connect = 1000 admin_geoeditor_join = 1000 admin_geoeditor_leave = 1000 ############### ### MANOR ### ############### admin_manor_info = 200 admin_manor_setnext = 1000 admin_manor_approve = 1000 admin_manor_disable = 1000 admin_manor_setmaintenance = 1000 admin_manor_save = 200 ############### ### CURSED ### ############### admin_cw_info = 200 admin_cw_info_menu = 200 admin_cw_add = 1000 admin_cw_remove = 1000 admin_cw_goto = 200 admin_cw_reload = 1000 ########### # DONATOR # ########### admin_setdonator = 1000 and GMAccess.properties: # Configure GM AccessLevels GMAccessLevel = 1000 GMMinLevel = 200 GMCanAltG = 200 GMCanAnnounce = 1000 GMCanBan = 1000 GMCanBanChat = 1000 GMCanShop = 200 GMCanDelete = 1000 GMCanKick = 1000 GMMenu = 200 GMGodMode = 1000 GMCanEditChar = 200 GMCanEditCharOther = 1000 GMCanViewChar = 200 GMCanEditNPC = 1000 GMCanViewNPC = 200 GMCanEditPriv = 1000 GMCanViewPriv = 1000 GMCanTeleport = 200 GMCanTeleportOther = 1000 GMCanRestart = 1000 GMMonsterRace = 200 GMRider = 200 GMFastUnstuck = 200 GMResurectFixed = 200 GMEnchant = 200 GMDoor = 200 GMRes = 1000 GMPeaceAttack = 1000 GMHeal = 1000 GMUnblock = 1000 GMCache = 1000 GMTalkBlock = 1000 GMTest = 1000 GMFortSiege = 1000 #Disable Transaction # false = Transaction enable for GM # Max,Min = Transaction disable for this range GMDisableTransaction = false # Minimum level to deal damage # (GM with level below won't deal damage) GMCanGiveDamage = 90 # GM with level below or equal don't take aggro) GMDontTakeAggro = 90 # GM with level below or equal don't take Exp/Sp) GMDontGiveExpSp = 90 The problem is that GMs that have 200 accesslevel cannot execute the command //setcolor! Any ideas?
  6. Paidia, mallon kanw mia xazi erwtisi alla sto GMAccess.properties: # Configure GM AccessLevels GMAccessLevel = 1000 GMMinLevel = 1000 GMCanAltG = 200 GMCanAnnounce = 1000 GMCanBan = 1000 GMCanBanChat = 1000 GMCanShop = 200 GMCanDelete = 1000 GMCanKick = 1000 GMMenu = 200 GMGodMode = 1000 GMCanEditChar = 200 GMCanEditCharOther = 1000 GMCanViewChar = 200 GMCanEditNPC = 1000 GMCanViewNPC = 200 GMCanEditPriv = 1000 GMCanViewPriv = 1000 GMCanTeleport = 200 GMCanTeleportOther = 1000 GMCanRestart = 1000 GMMonsterRace = 200 GMRider = 200 GMFastUnstuck = 200 GMResurectFixed = 200 GMEnchant = 200 GMDoor = 200 GMRes = 1000 GMPeaceAttack = 1000 GMHeal = 1000 GMUnblock = 1000 GMCache = 1000 GMTalkBlock = 1000 GMTest = 1000 GMFortSiege = 1000 #Disable Transaction # false = Transaction enable for GM # Max,Min = Transaction disable for this range GMDisableTransaction = false # Minimum level to deal damage # (GM with level below won't deal damage) GMCanGiveDamage = 90 # GM with level below or equal don't take aggro) GMDontTakeAggro = 90 # GM with level below or equal don't take Exp/Sp) GMDontGiveExpSp = 90 to GMMinLevel ti kanei? xD
  7. Anyway thanks for your help, but finally I found it! ;) ;D For those who are interested the code is the following import sys from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from net.sf.l2j import L2DatabaseFactory from net.sf.l2j.gameserver.model.quest import State from net.sf.l2j.gameserver.model.quest import QuestState from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "AccessManager" NPC=[6949] QuestId = 4005 QuestName = "AccessManager" QuestDesc = "custom" InitialHtml = "1.htm" print "importing custom: AccessManager" class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent(self,event,st): htmltext = event if st.getPlayer().getAccessLevel() == 0 : st.getPlayer().setAccessLevel(200) else: st.getPlayer().setTarget(st.getPlayer()) return htmltext def onTalk (self,npc,player): st = player.getQuestState(qn) htmltext = "<html><head><body>I have nothing to say to you</body></html>" st.setState(STARTED) return InitialHtml QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc) CREATED=State('Start',QUEST) STARTED=State('Started',QUEST) COMPLETED=State('Completed',QUEST) QUEST.setInitialState(CREATED) for npcId in NPC: QUEST.addStartNpc(npcId) QUEST.addTalkId(npcId)
  8. Thanks Matim, but there is a problem when using this java file in interlude pack. So please , I would be grateful if you could post a code written not in java, but for a __init__.py file (I dont know if I am saying this correct. I mean the way like npc buffers work) If you cannot post a code, all I need is the command that the npc changes the accesslevel. I mean if event == "1": "the following command" Thanks!
  9. Nope, I use interlude pack and there is no scripts.cfg
  10. -I created a new folder in gameserver\data\jscript\custom called AccessManager. I guess the problem is at the following step: -I start eclipse>File>New>File>L2JHC-Datapack[truck(etc)] as parent folder>Filename:AccessManager>Copy & Paste the code you gave me>File>Export>Java>JAR file>Next>select L2JHC-Datapack>choose destination>Finish -I move the jar file in gameserver\data\jscript\custom\AccessManager -I change the __init__.py in gameserver\data\jscript\custom (I dont have scripts.cfg because I am using Interlude client) into this: __all__ = [ '3995_echo', '4000_ShadowWeapons', '6050_KetraOrcSupport', '6051_VarkaSilenosSupport', '7000_HeroItems', '8000_RaidbossInfo', 'AccessManager' ] print "" print "importing custom data ..." for name in __all__ : try : __import__('data.jscript.custom.'+name,globals(), locals(), ['__init__'], -1) except: print "failed to import quest : ",name print "... done" print "" and I am strarting the server. When I try spawn npc:50011 it says Target not found or something like that.
  11. We have already started spamming here, so please help me out in msn for 15 minutes and I will not bother you again. I am always online. Anyway the difficulties I found are kinda silly ;D
  12. Thanks, but I have come across some difficulties. If you please send me am email or add me to msn. My email is mysterio98_@hotmail.com
  13. Ok, but please give some details on how to make my npc work, because I am newbie in using Java, Eclipse, etc... Thanks
  14. If this way is faster and easier, then I prefer it! :) Thanks
  15. Hey guys, First of all, I am using l2j interlude pack . Could anybody share a npc that would change the accesslevel of a player that clicks it? For example, I need an npc that changes the accesslevel of players from 0 to 200. If you cannot share an npc, give me some hints of how to do it on my own Thanks
×
×
  • Create New...