Jump to content

[Guide]Make CTF Event


Recommended Posts

In this Guide i Help you to Make CTF Event

 

Let's Start

 

First go to data/jscript/cron and then create a file named ctf.py py is the extension, do not create it on .txt since it wont suit.

 

open the file you just created and insert this values

import sys
from net.sf.l2j.gameserver.model.entity.events import CTF
CTF.loadData()
CTF.autoEvent()

 

Now this is the sql script that you are gonna insert on the data base with an sql file by the "import" button on your navicat.

 

Ok here is what you are gonna insert on the SQL file.

INSERT INTO `global_tasks` (`id`, `task`, `type`, `last_activation`, `param1`, `param2`, `param3`) VALUES
(998, 'jython', 'TYPE_FIXED_SHEDULED', 1206595935732, '60000', '21600000', 'ctf.py');

 

param1 is the time since the server restart.

param 2 is the time since the last event ended

 

=>1hour=3600000

2hour=7200000<=

 

i hope like to you ;)

 

-InFamousBites/nekys

 

~Coming Soon With New Guides For MxC~

Link to comment
Share on other sites

I think the guide is incomplete.. "from net.sf.l2j.gameserver.model.entity.events import CTF". You don't supply a CTF.java file on your post..

CTF Event Tested and work 100%
Link to comment
Share on other sites

Nothing happens , lol... Look..NOT everybody has a CTF.java file on his/her core..(you MUST uplaod it so they can have it)the .py says " import sys from net.sf.l2j.gameserver.model.entity.events import CTF"

Which means , import the file CTF from net.sf.l2j.gameserver.model.entity.events" I have a CTF there but, nothing! It doesn't start with what you say on your guide.

Also , commands! Where are the commands?

 

Look what you have to do:

 

1)Upload the CTF.java

2)Make commands and upload them

 

Your guide is incomplete.

 

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...

The proper title would be "How to automize the CTF event".

 

Indeed, plus that he should mention that the CTF Engine is needed.

Not to mention that I, personally, hate automating the events in this way (DP Stuff with global tasks)..

Link to comment
Share on other sites

sry man. I am very newbie. I don't know how to add this event into my server. some topic has too much java script. but in this topic has a little java. and i don't find way to go to data/jscript/cron :( Now i serch for a guide for a newbie to add any event step by step.

 

p.s. sry in my english and my knowledge but it will good in future in this maxcheaters.com :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Hello everyone, as the title says, I want to remove the skill toggle effect when it is active in the skill bar. I did it a few years ago but now I don't remember how, I'm not sure but I think it's in the Skillgrp.dat file but I don't remember what value I should change.     First, thanks to whoever can help me clearly and not pass me by. Greetings and good day
    • L2Focus - Lineage 2 Interlude.   Rates Experience: (EXP) x1000 Skill Points: (SP) x1000 Adena: x1000 VIP: x2 Basic information Armor: TT/DK/DY (Same Stats) Weapon: EPIC/DY/IC (Same Stats) Jewels Boss: ( GM SHOP ) Tattoos: Fight | Mage Acessories: +100 | +300 Server Commands: .menu ( all options included ) Buff Slot: 32 + 4 (Divine Inspiration Free) Npc Buffer: Full + Scheme Buffs Siege: 7 Days Olympiad Hero: 7 Days Nobless: Last Hit in Barakiel Clan / Ally System Clan Info: Max Players: 50 Alliance Info: 1 Clans per ally Royal and Knights: Desactived. AntiZerg Zones: 18 players (2PT's). Enchant Safe Enchant: +5 Max. Enchant: +25 Normal Scroll: 100% chance, Max +5 Blessed Scroll: 80% chance, Max +20 Golden Scroll: +21 45%, +22 35%, +23 25%, +24 15%, +25 5% Golden Fail? - Only Loses scroll Crystal Scroll: 100% chance, Max +25 Augment Skills: Active / Passive 5% chance Augment Stats: STR/ INT / CON 5% chance Events Party Zone: 10:00 | 14:00 | 19:00 | 22:00 | 02:00 (Duration: 60 minutes) Tournament: 11:15 | 16:15 | 20:15 | 23:15 (Duration: 60 minutes) Kill The Boss: 09:00 | 15:00 | 20:00 | 23:00 (Duration: 15 minutes) Pvp Event: 13:10 | 15:10 | 20:10 | 21:10 (Duration: 45 minutes) Team vs Team: Every 1hour 24h/per day Olympiad Olympiad Time: 18:00 ~ 00:00 GMT-3 Min: 9 Matches to be a hero. Olympiad Box: 1 client windows running (PC) Olympiad Items: No Custom Olympiad Enchant: +5 Protection WarGuard: Protect for bots/hwid/phx/cheats Farm: 1 client per (PC). Box Limit: 2 client windows running (PC). Chaotic Zone: 18 players (2PT's). All configurations and features that are not reported here are standard, that is, equal to the official Lineage II or were considered irrelevant.   JOIN NOW www.L2Focus.com
    • that would be much appreciated mate 
  • Topics

×
×
  • Create New...