Secret Experience

Secret Experience (https://secretexperience.net/)
-   [L2OFF | Admin] Dúvidas (https://secretexperience.net/l2off-admin-duvidas/)
-   -   [Interlude] Comando (https://secretexperience.net/l2off-admin-duvidas/32432-comando.html)

teddy 02-08-2011 10:43 PM

Comando
 
Ola galera, eu vim aqui, porque eu quero saber o comando para eu fazer essa barra de proteção que é usadas em Evento, se alguem souber, me falam por favor, como podem ver no video, Apenas aos 0:18 segundos mostra, onde o GM está dentro!, obrigado desde já !

[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]

DS-Dazzel 08-08-2011 02:59 PM

A sim já utilizei esse evento, e um evento do proprio l2off.
se tu aguarda, quando eu chegar em casa posto pra você completo, comandos, scripts.
PS: de primeira vai achar complicado usar esse evento, mais depois que pega o geito e legalzinho.

DS-Dazzel 09-08-2011 04:45 PM

Event Match L2OFF
 
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]

Essa imagem acima e uma antiga imagem, so para ser de base para suas duvidas.

Aqui os Comandos e Tutorial em inglês, quais quer duvida poste aqui:
So pra lembra na parte onde tera de por c:\arena_setup.ini e c:\command.ini
isso ai e no seu PC essas arquivos tem de ficar no seu PC no C:\.


Citação:

And for the official TvT system:

//eventmatch dispelall [match_id]
//eventmatch end [match_id]
//eventmatch fence [match_id] [fence_state]
//eventmatch firecracker [who]
//eventmatch info [match_id]
//eventmatch item_rule [match_id] [allow_all | deny_all | A(item_id) | D(item_id)] ...
//eventmatch leader [match_id] [1|2] [leader_id]
//eventmatch lock [match_id] [1|2]
//eventmatch manage [match_id]
//eventmatch msg [match_id] [type] [message]
//eventmatch pause [match_id]
//eventmatch remove [match_id]
//eventmatch score [match_id] [team1_score] [team2_score]
//eventmatch skill_rule [match_id] [allow_all | deny_all | A(skill_id) | D(skill_id)] ...
//eventmatch start [match_id]
//eventmatch unlock [match_id] [1|2]
//eventmatch useskill [match_id] [skill_id] [skill_level] ...
//eventmatchop[list | observer] ...
//eventmatchop observer [match_id] [on|off]
//expel_from_castle castle
//force_peti charname message

1) Get yourself to a place where you want to have your event. then type
//eventmatch create 1 team1 team2 1 1 1 100 100 you wont get any conformation if it worked but that’s where step 2 comes in

2) Type //eventmatch list you should see something like
SYS:--Event Match List Begin--
SYS: 1: 'team1' vs 'team2'
SYS --Event match List End--
The number in front of the line that has the 2 teams that you setup in step 1 is your match ID, *The match ID is reset to 1 every server reboot*

3) Next type //eventmatch manage 1, again change the 1 to your match ID. This will bring up the handy match command screen

4) In the top right corner there is a button that says Remove a Race Track *will read "move a Race Tr" * Click that. Now it changed to Create a Race Track *reads "eate a Race Tra"*. in this window click the button that says My Coordinates, that will fill in the X, Y, Z of the center of the new Arena, or Race track as they refer to it as. then the last 2 boxes are the height and width *height is the length of the arena from North to South and the width is the length from East to West in the world. Once that window is all filled in, click Ok

5) Now that your back at the main window, the 2 important items for right now are the Race Setup File and Command File fields. These are the full path to the files, I suggest putting them right in your C: Drive for easy typing, So for example put C:\arena_setup.ini in the Race Setup field and C:\command.ini in the Command File field. *file specs are at the end of this topic*

6) next, we need to setup some teams have the players create parties with the players they wants on there team *Or you can do solo fights*, after they have create there parties select a player from the first team and click Select a target and there name should now be in the represenitive field of that team. Next click Lockup a party to add all the players from that team to the Formation of Team X field below. Repeat this for team 2.

7) After that, your pretty much ready to fight. Have the players come to the inside the 4 posts that where made in step 4. Once there in Click the Fence Up Button, This will put of the wall to the arena, Click it again to lower the wall.

8 ) I would you then type //eventmatch dispelall 1 to debuff everyone in the match *Remember to change the 1 to your match ID* This can be done with the command file also

9) Your ready, Click Start of a Race to get the fancy countdown and big START prompts to all players in the match.

10) After the match is over, for fun you can have fire works go on the winning team players by clicking either, Team1 Fireworks or Team2 Fireworks. The counter towards the bottom should put a point in the winning teams block or you can change it and click Apply

11) After you Res. the dead players you can click Fence Down to let them out, also click Lift a lockup buttons to remove the teams. Or you can click Start a Race again to do a best of 3 or 5 or what ever.

12) Restart at step 6 for your next battle.

Notes
- The message field at the bottom it to send a message to the players in the match, type your message and click Forward , the message length is not that big so be careful

- The Ending Message button will display a big GAME OVER message *It does not end a match or remove a arena*

- To open the command File, click Command at the bottom of the window.


Race Setup File Format
The format is in standard INI format. here is an example one that will
- Buff all players with lvl 70 Dark Elf Elder buffs
- Not allow Hero weapons
- Not allow Cancel, any resurrections or party recall


Code:
[etc]
TeleportDelay=2

[Buff]
BuffCnt=10

//Mental shield lvl 4
BuffID0=1035
BuffLv0=4

//Shield lvl 3
BuffID1=1040
BuffLv1=3

//Greater Empower lvl 3
BuffID2=1059
BuffLv2=3

//Might lvl 3
BuffID3=1068
BuffLv3=3

//Focus lvl 3
BuffID4=1077
BuffLv4=3

//Concentration lvl 6
BuffID5=1078
BuffLv5=6

//Resist Wind lvl 3
BuffID6=1189
BuffLv6=3

//Wind Walk lvl 2
BuffID7=1204
BuffLv7=2

//Guidence lvl 3
BuffID8=1240
BuffLv8=3

//Death Whisper lvl 3
BuffID9=1242
BuffLv9=3

[Skill]
DefaultAllow=1
ExpSkillCnt=4

//Cancel
ExpSkillID0=1056

//Return
ExpSkillID1=1050

//Resurrection
ExpSkillID2=1016

//Mass Ressurection
ExpSkillID3=1054

[Item]
DefaultAllow=1
ExpItemCnt=11

//Infinity Blade
ExpItemID0=6611

//Infinity Cleaver
ExpItemID1=6612

//Infinity Axe
ExpItemID2=6613

//Infinity Rod
ExpItemID3=6614

//Infinity Crusher
ExpItemID4=6615

//Infinity Scepter
ExpItemID5=6616

//Infinity Stinger
ExpItemID6=6617

//Infinity Fang
ExpItemID7=6618

//Infinity Bow
ExpItemID8=6619

//Infinity Wings
ExpItemID9=6620

//Infinity Spear
ExpItemID10=6621
I commented it as much as possible but a few things to remember, the XxxCnt items are the amount of things your adding like BuffCnt=7 says your going to list 7 buffs also the XXXXXID and XXXXXlvl are 0 based (a lot like the eventdata.ini in the server scripts folder) another thing to remember, if you disallow a weapon or armor, it is NOT disarmed when the match starts, so be on the look out for that.

The AllowDefult option seems to say weather to read the file of just allow the default, but its backwards DefaultAllow=1 means use the file DefaultAllow=0 means ignore the file


Command File format
Like the race setup file, this is an INI format but a lot simpler,

Here is my example file

Code:
[cmd]
CmdCnt=3
Cmd0="//announce Hello World"
Cmd1="//announce Finally figured it out "
Cmd2="//eventmatch dispelall 1"


Mass Res.
//eventmatch useskill [match_Id] 1016 5
Mass CP recharge
//eventmatch useskill [match_Id] 1306 6

just put the full command in quotes and your done, Dont forget to change the CmdCnt to the ammount of commands you have, and change the number after Cmd if you add more IE Cmd3= would be the next one.

I have not been able to see if there is a variable for the match_id so you will have to change the file to match your match_id.

Heres a low down

//eventmatch create 1 team1 team2 1 1 1 100 100

yes, changing the race track does change the id. if you dont want to do that, check your location before you set it up (/loc) :

the teams can be any name u want. put your location (x y z). put the arena size you want, small events (such as 1v1) 500 500 will suffice. for larger events 1000 1000 will be great (that 4x as big as the 500 500).

example (note the location there is just random numbers):
//eventmatch 1 Fury Oath 185213 -21545 -3500 500 500

teams: Fury, Oath
loc: 185213 -21545 -3500
arena size: 500x500

arena_setup.ini:
Código:

[etc]
TeleportDelay=2

[Buff]
BuffCnt=10

//Mental shield lvl 4
BuffID0=1035
BuffLv0=4

//Shield lvl 3
BuffID1=1040
BuffLv1=3

//Greater Empower lvl 3
BuffID2=1059
BuffLv2=3

//Might lvl 3
BuffID3=1068
BuffLv3=3

//Focus lvl 3
BuffID4=1077
BuffLv4=3

//Concentration lvl 6
BuffID5=1078
BuffLv5=6

//Resist Wind lvl 3
BuffID6=1189
BuffLv6=3

//Wind Walk lvl 2
BuffID7=1204
BuffLv7=2

//Guidence lvl 3
BuffID8=1240
BuffLv8=3

//Death Whisper lvl 3
BuffID9=1242
BuffLv9=3

[Skill]
DefaultAllow=1
ExpSkillCnt=4

//Cancel
ExpSkillID0=1056

//Return
ExpSkillID1=1050

//Resurrection
ExpSkillID2=1016

//Mass Ressurection
ExpSkillID3=1054

[Item]
DefaultAllow=1
ExpItemCnt=11

//Infinity Blade
ExpItemID0=6611

//Infinity Cleaver
ExpItemID1=6612

//Infinity Axe
ExpItemID2=6613

//Infinity Rod
ExpItemID3=6614

//Infinity Crusher
ExpItemID4=6615

//Infinity Scepter
ExpItemID5=6616

//Infinity Stinger
ExpItemID6=6617

//Infinity Fang
ExpItemID7=6618

//Infinity Bow
ExpItemID8=6619

//Infinity Wings
ExpItemID9=6620

//Infinity Spear
ExpItemID10=6621

command.ini:
Código:

[cmd]
CmdCnt=10
Cmd0="//announce Hello server, Event in minutes"
Cmd1="//announce Ola server, Evento em alguns minutos"
Cmd2="//announce Look in the Event Gludin Village"
Cmd3="//announce Form their Party, for the Event"
Cmd4="//announce Formem suas Party, para o Evento"
Cmd5="//announce Party Vs Party (PvP)"
Cmd6="//eventmatch dispelall 1"
Cmd7="//eventmatch useskill 1 1016 7"
Cmd8="//eventmatch useskill 1 1306 8"
Cmd9="//eventmatch useskill 1 1050 9"

Mass Res.
//eventmatch useskill 1 1016 10
Mass CP recharge
//eventmatch useskill 1 1306 11
Party Return
//eventmatch useskill 1 1050 12



Horários baseados na GMT -3. Agora são 10:02 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.