Jump to content

ragerunner

Members
  • Posts

    18
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by ragerunner

  1. exw valei tin IP. Oxi, o server einai dedicated se diaforetiki IP apo to PC sto opoio iparxei to ACM kai h selida tou server.
  2. Newbie erwtisi. Kai sorry pou anastainw arxaia (sxetika) topics alla sikwsa enan low rate server kai mou zitisane Delevel NPC kai to monadiko post (swsto toulaxiston) pou vrika einai auto. import sys from net.sf.l2j.gameserver.network.serverpackets import CreatureSay from java.lang import System from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance from net.sf.l2j.gameserver.model.base import Experience 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 from java.util import Iterator from net.sf.l2j.gameserver.datatables import SkillTable from net.sf.l2j import L2DatabaseFactory from net.sf.l2j.gameserver.network.serverpackets import SetupGauge qn = "7105_Delevel" NPC=[7108] MEDAL = 57 QuestId = 7105 QuestName = "Delevel" QuestDesc = "custom" InitialHtml = "1.htm" print "INFO Loaded: Delevel Manager by promo" 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().getLevel() < 41 : st.getPlayer().sendPacket(CreatureSay(st.getPlayer().getObjectId(), 2, "Delevel Manager", "Ban khong du level!")) elif st.getQuestItemsCount(MEDAL) < 10000000 : st.getPlayer().sendPacket(CreatureSay(st.getPlayer().getObjectId(), 2, "Delevel Manager", "Ban khong co du adena !")) elif st.getPlayer().getKarma() > 0 : st.getPlayer().sendPacket(CreatureSay(st.getPlayer().getObjectId(), 2, "Delevel Manager", "Diem karma cua ban qua cao!")) elif st.getPlayer().getPvpFlag() != 0 : st.getPlayer().sendPacket(CreatureSay(st.getPlayer().getObjectId(), 2, "Delevel Manager", "Ban dang trong tinh trang chien dau!")) elif st.getPlayer().isAttackingNow() == True : st.getPlayer().sendPacket(CreatureSay(st.getPlayer().getObjectId(), 2, "Delevel Manager", "Dont hit me, Plz!!!!")) elif st.getPlayer().getLevel() < 48 : SkillTable.getInstance().getInfo(1389,3).getEffects(st.getPlayer(),st.getPlayer()) st.getPlayer().sendPacket(CreatureSay(st.getPlayer().getObjectId(), 2, "Delevel Manager", "Ban khong the su dung tiep tuc neu ban duoi cap 48")) else: st.getPlayer().setTarget(st.getPlayer()) if event == "2": st.takeItems(MEDAL,10000000) st.getPlayer().getStat().removeExpAndSp((st.getPlayer().getExp() - Experience.LEVEL[st.getPlayer().getStat().getLevel() - 1]),0) st.getPlayer().sendPacket(CreatureSay(st.getPlayer().getObjectId(), 3, "Delevel Manager", "Ban da duoc giam di 1 level")) return "1.htm" st.setState(State.COMPLETED) st.exitQuest(1) if htmltext != event: st.setState(State.COMPLETED) st.exitQuest(1) return htmltext def onTalk (self,npc,player): st = player.getQuestState(qn) htmltext = "<html><head><body> I dont have anything to say .</body></html>" st.setState(State.STARTED) return InitialHtml QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc) for npcId in NPC: QUEST.addStartNpc(npcId) QUEST.addTalkId(npcId) Mporei na akougete entelws xazo alla den exw kanei kati analogo opote den 3erw pws/pou. Opote pou kai pws to pernaw to code ? :X Euxaristw ek twn proterwn gia opoiadipote voh8eia.
  3. What is the difference between normal files & critical files ?
  4. Πρόσεξα οτι πάρα πολλά άτομα έχουν πρόβλημα στο πως να φτιάξουν Custom ή Multisell NPC's. Με το παρακάτω Guide ελπίζω να βοηθήσω. 1)Πώς Να Κανετε GM-Shop! Θα σας δείξω τον απλό τρόπο με τον οποίο μπορείς να κάνεις ένα GM-Shop! Τι θα χρειαστούμε? *.htm Files (Ανάλογα με τα actions που θα έχει το shop τόσα περίπου files) *.xml Files (Επίσης Ανάλογα με τα actions που θα έχει το shop τόσα files) *.sql File (To file αυτό θα μας χρειαστεί για να περάσουμε το shop στην database μας) Ας ξεκινήσουμε λοιπόν! Ανοίξτε το σημειωματάριο(notepad) Εδώ πρέπει να γνωρίζετε και λίγο ΗΤΜL(ΗyperText Markup Language) Θα σας πω τα βασικά τα οποία πρέπει να γνωρίζετε! <html>(άνοιγμα εισόδου γλώσσας HTML) <body>(άνοιγμα κειμένου γλώσσας HTML) <title>(δίνει τίτλο στο παράθυρο) <br>(κενό γραμμής,στο απλό γράψιμο είναι το enter για να καταλάβετε) <center>(εστίαση στο κέντρο) <left>(εστίαση στα αριστερά) <right>(εστίαση στα δεξιά) <font color="εδώ το code του HTML Color">text</font>(χρωματισμός κειμένου,κάντε click εδώ για τα color code) Να διευκρινήσω κάποια πράγματα. Θα πρέπει πάντοτε να κλείνετε το command που ανοίγετε. Τι εννοώ? π.χ. Βάζετε <center>εδώ το κείμενο σας,και πρέπει πάντα να το κλεινετε,δηλαδή <center>το κείμενο σας</center> Πάμε λοιπόν Θα σας κάνω ένα mini text και θα πάρετε παράδειγμα! <html> <body> <title>Maxcheaters.com</title> <center><font color="FF0000">Welcome To Maxcheaters.com Community <br> Here You Can Buy The Custom Armor! εδώ πρέπει να βάλουμε το action <button value="Εδώ το text που θέλετε" action="bypass -h npc_%objectId%_multisell 50001" width=196 height=22 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"> </center> </body> </html> Αποθήκευση ως και το απο8ηκεύετε ως ένα *.htm αρχείο. Από την στιγμή που βάλαμε path με multisell 50001 Πρέπει να δημιουργήσουμε την λίστα με τα items που 8α δίνουμε στον player Θα σας δώσω το code που πρέπει να έχετε για να πέρνει ο Player Item! Διευκρηνίσεις! Ingredient ID = εδώ βάζετε το ID του item που θα χρειάζεται ο player για να πάρει το item! Ingredient Count = πόσα από αυτά πρέπει να έχει ο Player για να πάρει το item! Production ID = το ID του item που θα πάρει ο Player! Production Count = πόσα από αυτά τα items θα πάρει ο Player! ΠΡΟΣΟΧΗ! Αν θέλετε να βάλετε και άλλα items πρέπει να αλλάξετε το Item ID. Δεν Πρέπει να είναι ίδιο πουθενά στο περιεχόμενο ενώς *.xml File Last Step: Eδώ είμαστε στο τελευταίο βήμα και το ευκολότερο! Να κάνουμε το *.sql File! Θα σας Δώσω το code και εσείς απλά πρέπει να addarete μερικά ids INSERT INTO custom_npc (`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `aggro`, `matkspd`, `rhand`, `lhand`, `armor`, `walkspd`, `runspd`, `faction_id`, `faction_range`, `isUndead`, `absorb_level`, `absorb_type`, `ss`, `bss`, `ss_rate`, `AI`, `drop_herbs`) VALUES (ID NPC, Template ID, 'Name', 1, 'Title', 1, 'LineageMonster4.Keyache_tr', 12.00, 29.00, 70, 'female', 'L2Merchant', 40, 3862, 1493, 11.85, 2.78, 40, 43, 30, 21, 20, 10, 0, 0, 1314, 470, 780, 382, 278, 0, 333, 0, 0, 0, 55, 132, 'NULL', 0, 1, 0, 'LAST_HIT', 0, 0, 0, 'fighter', 'false'); Πρέπει να βάλετε μόνο 4α πράγματα ID NPC Template ID Name Title! Αυτό Ήταν! το *.htm file μπαίνει στο c:/myserver/gameserver/data/html/merchant/ το *.xml στο c:/myserver/gameserver/data/multisell/ το *.sql το κάνετε execute από το Navicat! 2)Πώς να κάνετε Gatekeeper Πιο πάνω σας έδειξα μερικά πράγματα για HTML χρησιμοποιήστε και εδώ τα ίδια.Aνοίξτε σημειωματάριο και κάντε πάλι τα ίδια Πρέπει να βάλουμε το path? Οhh Yeah! <a action="bypass -h npc_%objectId%_goto Εδώ θα βάλετε το ID του Teleport" msg="811;εδώ το όνομα του Teleport"> Εδώ τι θα λέει στον player οταν πηγαίνει στην Gatekeeper</a> Aπό την στιγμή που βάλαμε στο path ΙDs πρέπει να τα περάσουμε και στην Database μας! Πώς? Αυτή είναι η λειτουργεία του *.sql file! Πάμε λοιπόν INSERT INTO `teleport` VALUES ('Name', ID, loc_x, loc_y, loc_z, price, 0) Αυτό είναι το *.sql path! Πώς θα βρείτε το loc_x, loc_y, loc_z ? Easy! Πηγαίνετε στο μέρος που θέλετε και πατήστε /loc εκεί θα σας βγάλει το όνομα της περιοχής και δίπλα κάτι αριθμούς. Είναι το loc_x το loc_y και το loc_z καταγράψτε τους αριθμούς κάπου για να τους θυμάστε Στην θέση name θα βάλετε το όνομα του Teleport που θέλετε να βάλετε Στην θέση ID θα βάλετε έναν αριθμό τον οποίο πρέπει να θυμάστε Στην θέση loc_x, loc_y, loc_z τους αριθμούς που καταγράψατε! ΠΡΟΣΟΧΗ! Δεν έχει σημασία αν στο *.sql file η θέση name είναι διαφορετική από το όνομα του Teleport στο Path Μας! Δηλαδή Εδώ msg="811;εδώ το όνομα του Teleport Το όνομα που θα βάλετε εδώ θα σας το δείχνει μέσα στο Game οταν είναι να επικυρώσετε το Teleport Σας! π.χ. Αre You Sure To Want to Teleport At και εδώ θα έχει το όνομα που βάλατε στο path! Πάμε Τώρα στο άλλο *.sql file. Αν θέλετε απλά να βάλετε ένα Teleport στην Gatekeeper που έχετε δεν θα χρειαστεί να κάνετε αυτό το βήμα! INSERT INTO custom_npc (`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `aggro`, `matkspd`, `rhand`, `lhand`, `armor`, `walkspd`, `runspd`, `faction_id`, `faction_range`, `isUndead`, `absorb_level`, `absorb_type`, `ss`, `bss`, `ss_rate`, `AI`, `drop_herbs`) VALUES (ID NPC, Template ID, 'Name', 1, 'Title', 1, 'LineageMonster4.Keyache_tr', 12.00, 29.00, 70, 'female', 'L2Teleport', 40, 3862, 1493, 11.85, 2.78, 40, 43, 30, 21, 20, 10, 0, 0, 1314, 470, 780, 382, 278, 0, 333, 0, 0, 0, 55, 132, 'NULL', 0, 1, 0, 'LAST_HIT', 0, 0, 0, 'fighter', 'false'); Βάζετε τα ID name κ.λπ. και κάνετε Execute! Το ΗΤΜL File μπαίνει στο c:/myserver/gameserver/data/html/teleport Tα *.sql τα κάνετε execute με Navicat! Credits go to : Catalyst21 απο την σελίδα Online-games.gr
  5. Paides, exei kaneis stisei account manager ? vrika to guide pou iparxei sto MXC alla exw kolisei se ena provlima, an mporei kai den varietai kapoios xristianos as mou kanei ena pm please :)
  6. I tend to play ST with focus instead of barrier but i guess barrier is a very nice choice too.
  7. Thank you for noticing the buffs, i had a mistake in the dances that i forgot to fix. Buff durations are increased to 1h while dances & songs are increased to 15 mins.
  8. Βρηκα αρκετα Guides για Account Manager αφου κατεληξα στο Deadalus account manager και ακολουθησα ολα τα βηματα 1 προς 1 εχω το ακολουθο προβλημα : Checking php version : PHP version : 5.2.17 OK Checking extensions loaded : mysql extension : OK gd extension : OK openssl extension : OK Checking mysql connexion : connected ? KO Checking db connexion : connected ? KO Checking table connexion : accounts exist ? KO account_data exist ? KO Checking sql parsing on accounts table : email exist ? KO created_time exist ? KO Checking rights of the cache folder : cache folder : OK To config.php einai ws e3is.. <?php defined( '_ACM_VALID' ) or die( 'Direct Access to this location is not allowed.' ); define ('DEBUG', false); // Enable debug mode ; for set on replace false by true define ('LOG', false); // Enable log mode ; for set off replace true by false //########################################################################################## //############################### Login Server Configuration ############################### //########################################################################################## CONFIG::g()->ca('login_server', array( 'hostname' => 'loginserverip', // login host database DB 'user' => 'dbusername', // login user 'password' => 'dbpassword', // login password 'database' => 'l2jdb' // login database name )); //########################################################################################## //############################### Game Server Configuration ################################ //########################################################################################## CONFIG::g()->add_game_server(array( 'id' => 1, // game id 'hostname' => 'loginserverip', // game host database DB 'user' => 'dbusername', // game user 'password' => 'dbpassword', // game password 'database' => 'l2jdb' // game database name )); //########################################################################################## //################################### Web Configuration #################################### //########################################################################################## CONFIG::g()->cs('core_server_name', 'L2-Carnage'); // server name CONFIG::g()->cs('core_iso_type', 'utf-8'); // set the charset type CONFIG::g()->cb('core_act_img', true); // Activate image verification ; set false if you want deactivate CONFIG::g()->ci('core_spam_try', 5); // We allow to the user 5 times unsuccessfull login after that system block him IP. CONFIG::g()->ci('core_spam_time', 30); // Need to wait 30 minutes after been blocked by anti spam system CONFIG::g()->cb('core_act_email', false); // Activate email verification ; set false if you want deactivate CONFIG::g()->cb('core_same_email', false); // Allow to have same email with different account ; set false if you want deactivate CONFIG::g()->cb('core_can_chg_email', false); // User can change email ; set false if you want prohibit CONFIG::g()->cbi('core_acc_limit', false); // How many account can be registered ; set false for unlimited CONFIG::g()->cs('core_language', 'english'); // language use by the Account Manager ; name of language file in language folder CONFIG::g()->cb('core_ack_cond', false); // User must accept before register ; conditions can be edited on the language file CONFIG::g()->cs('core_template', 'gracia'); // template directory CONFIG::g()->cb('core_interlude', false); // If you are using interlude database set to true //########################################################################################## //################################### Characters Config #################################### //########################################################################################## CONFIG::g()->cb('service_allow', true); // Enable Account Services CONFIG::g()->cb('service_allow_with_karma', true); // Enable Account Services for player who have karma CONFIG::g()->cs('service_server_name', './servername.xml'); // ServerName list (refer to the l2j xml list on datapack) CONFIG::g()->cb('service_name', false); // Enable Account services feature (change name) CONFIG::g()->cs('service_name_regex', '`^[[:alnum:]]{3,16}$`'); // allow alphanumeric character in char name (3-16 char.) CONFIG::g()->cb('service_sex', false); // Enable Account services feature (change gender) CONFIG::g()->ci('service_sex_time', 7); // Need to wait 7 days after change gender before to change another time CONFIG::g()->ca('service_sex_item_female', array(8559,8913,8917)); // Check female-use only items before to change gender CONFIG::g()->ca('service_sex_item_male', array(8923)); // Check male-use only items before to change gender CONFIG::g()->cb('service_fix', false); // Enable fixing feature for offline character CONFIG::g()->ci('service_fix_time', 24); // Need to wait 24 hours before to use fix or unstuck against CONFIG::g()->cb('service_unstuck', true); // Enable unstuck feature for offline character CONFIG::g()->cb('service_unstuck_static', true); // Use static coords when using unstuck and fix feature CONFIG::g()->ca('service_unstuck_default', array(82730,148494,-3468)); // When coord static enable tp player to the coords (x,y,z) //########################################################################################## //######################################### Email ########################################## //########################################################################################## CONFIG::g()->ce('email_from', 'admin@l2-carnage.net'); // Specify an adress email source CONFIG::g()->cb('email_smtp_use', false); // Set to true if you want use an smtp server CONFIG::g()->cs('email_smtp_address', 'smtp.server.com'); // Address of the smtp server CONFIG::g()->ci('email_smtp_port', 25); // Port of the smtp server CONFIG::g()->cs('email_smtp_login', ''); // login of the smtp server if you need authentication CONFIG::g()->cs('email_smtp_password', ''); // password of the smtp server if you need authentication CONFIG::g()->cs('email_smtp_domain', ''); // domain of your host //########################################################################################## //####################################### End Config ####################################### //########################################################################################## ?> Υπαρχει καποιος που να μπορει να βοηθισει ? Δεν εχει παρα πολυ καιρο που αρχισα να ασχολουμαι με L2J και μερικα πραγματα μου φενονται αρκετα δυσκολα προς το παρων. Ευχαριστω εκ των προτερων για οποιαδηποτε βοηθεια.
  9. I've followed all the steps of the guide and when i tried running install.php i got the following : Checking php version : PHP version : 5.2.17 OK Checking extensions loaded : mysql extension : OK gd extension : OK openssl extension : OK Checking mysql connexion : connected ? KO Checking db connexion : connected ? KO Checking table connexion : accounts exist ? KO account_data exist ? KO Checking sql parsing on accounts table : email exist ? KO created_time exist ? KO Checking rights of the cache folder : cache folder : OK Any ideas what i might have done wrong ?
  10. After nearly 1 month of pre-production and private testing, the experienced staff of L2-Carnage.net is finally ready to share their product as one of the newest and most unique L2 private servers. Automatic Events, Offline Shops, DDoS protection and the latest Freya files ( L2J ) - the perfect blend of features for an incredible & unique experience unlike any other. The original retail L2 experience, the way the game is meant to be played. Opening day : 10-5-2011 ~18:00 GMT +2 Server Rates XP : 7 SP : 7 Adena : 10 Drop : 10 Spoil : 10 Server Features *Retail Olympiad running for 6 hours from 18:00 GMT+2 to 24:00 GMT+2. New heroes are selected every month. *Fully operational castle and fortress sieges. *Auto learn skills. *Auto class advance through pop up window at levels 20,40 & 76. *Max 3 subclasses (no quest required) *Subclasses level 85 *Subclass Certification *Max clans in an alliance is 5 *No Clan Penalty *Buffs slots 28 + 18 dances (+4 Divine Inspiration) *GM Events (like 1 vs 1,TvT Korean, Trivia, Hide & Seek, Russian Roulette and others) *Updates Weekly, last Datapack *Full Geodata: Implemented *Offline Shop *Auto RaidBoss Spawn Server Hardware *CPU: Intel Atom D510 Dual Core *Operating System: Windows 2008 Web *Memory (RAM): 8 GB *Hard Disk: 1.5 TB SATA *Bandwidth: 100 Mbps Unmetered Useful Links Server Website : www.l2-carnage.net Server Forum : www.l2-carnage.net/forum Follow us on Facebook : http://www.facebook.com/pages/L2-Carnage/221433281205030 L2-Carnage Team Admin : Carnage Head Game Master : Venom Forum Moderator : elloupo
  11. Will test it right away, thanks for the share.
  12. Great work, thanks for the share!
  13. Great share but i got a newbie question. Where do i input this code? :)
  14. Great work, thanks for the share!
  15. Looks really cool, does it work on Freya by any chance?
  16. Great work m8! thanks for the share!
×
×
  • Create New...