Skin_Gratis
Novato XPZ
Resolvi postar o CustomArena e esse Mapa para PVP Automatico que modifiquei nesse mapa o sera todo automatico o Players quando mover para o evento ele ira ficar PK automaticamente e ao termino do evento os players serão movidos para a cidade
CustomArena
Código:
0
//Index Year Month Day DoW Hour Minute Second
0 * * * * 10 0 0
1 * * * * 11 0 0
2 * * * * 14 0 0
3 * * * * 16 0 0
4 * * * * 19 0 0
5 * * * * 21 0 0
6 * * * * 22 0 0
end
1
//Index Name WarningTime NotifyTime EventTime CloseTime StartGate FinalGate MinUser MaxUser MaxDeath MinLevel MaxLevel MinMasterLevel MaxMasterLevel MinReset MaxReset MinMasterReset MaxMasterReset DW DK FE MG DL SU RF
0 "SMxSM" 5 1 5 2 450 1 2 100 10 0 400 * * * * * * 1 0 0 0 0 0 0
1 "BMxBM" 5 1 5 2 452 1 2 100 10 0 400 * * * * * * 0 1 0 0 0 0 0
2 "ELFxELF" 5 1 5 2 454 1 2 100 10 0 400 * * * * * * 0 0 1 0 0 0 0
3 "MGxMG" 5 1 5 2 456 1 2 100 10 0 400 * * * * * * 0 0 0 1 0 0 0
4 "DLxDL" 5 1 5 2 457 1 2 100 10 0 400 * * * * * * 0 0 0 0 1 0 0
5 "SUxSU" 5 1 5 2 458 1 2 100 10 0 400 * * * * * * 0 0 0 0 0 1 0
6 "RFxRF" 5 1 5 2 459 1 2 100 10 0 400 * * * * * * 0 0 0 0 0 0 1
end
Muserver Move.txt
Código:
49 "SMxSM" 2000 0 400 * * 0 450
50 "BMxBM" 2000 0 400 * * 0 452
51 "ELFxELF" 2000 0 400 * * 0 454
52 "MGxMG" 2000 0 400 * * 0 456
53 "DLxDL" 2000 0 400 * * 0 457
54 "SUxSU" 2000 0 400 * * 0 458
55 "RFxRF" 2000 0 400 * * 0 459
Muserver Gate.txt
Código:
449 0 99 194 124 198 127 0 0 0 400 * * 0
450 0 40 220 15 235 30 0 0 0 400 * * 0
452 0 40 220 15 235 30 0 0 0 400 * * 0
454 0 40 220 15 235 30 0 0 0 400 * * 0
456 0 40 220 15 235 30 0 0 0 400 * * 0
457 0 40 220 15 235 30 0 0 0 400 * * 0
458 0 40 220 15 235 30 0 0 0 400 * * 0
459 0 40 220 15 235 30 0 0 0 400 * * 0
Cliente Move.bmd
Código:
49 "SMxSM" "SMxSM" 0 400 450 400
50 "BMxBM" "BMxBM" 0 400 452 400
51 "ELFxELF" "ELFxELF" 0 400 454 400
52 "MGxMG" "MGxMG" 0 400 456 400
53 "DLxDL" "DLxDL" 0 400 457 400
54 "SUxSU" "SUxSU" 0 400 458 400
55 "RFxRF" "RFxRF" 0 400 459 400
Procedure
Código:
USE [MuOnline]
GO
/****** Object: StoredProcedure [dbo].[WZ_CustomArenaRanking] Script Date: 11/27/2015 22:13:41 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_CustomArenaRanking]
@Account varchar(10),
@name varchar(10),
@ArenaNumber int,
@UserScore int,
@UserRank int
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
IF(@ArenaNumber = 0)
BEGIN
IF(@UserRank = 1)
BEGIN
UPDATE CashShopData SET GoblinPoint=GoblinPoint + 110 WHERE AccountID=@Account
UPDATE Character SET ScoreArenaCustom = ScoreArenaCustom + @UserScore WHERE AccountID=@Account and Name=@Name
UPDATE Character SET RankArenaCustom = RankArenaCustom + @UserRank WHERE AccountID=@Account and Name=@Name
END
END
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
//------------------------------//
//Coordenadas 40 229 22
//------------------------------//
Creditos : Eu pq sou fodastico e sem mi mi pfvr
CustomArena
Código:
0
//Index Year Month Day DoW Hour Minute Second
0 * * * * 10 0 0
1 * * * * 11 0 0
2 * * * * 14 0 0
3 * * * * 16 0 0
4 * * * * 19 0 0
5 * * * * 21 0 0
6 * * * * 22 0 0
end
1
//Index Name WarningTime NotifyTime EventTime CloseTime StartGate FinalGate MinUser MaxUser MaxDeath MinLevel MaxLevel MinMasterLevel MaxMasterLevel MinReset MaxReset MinMasterReset MaxMasterReset DW DK FE MG DL SU RF
0 "SMxSM" 5 1 5 2 450 1 2 100 10 0 400 * * * * * * 1 0 0 0 0 0 0
1 "BMxBM" 5 1 5 2 452 1 2 100 10 0 400 * * * * * * 0 1 0 0 0 0 0
2 "ELFxELF" 5 1 5 2 454 1 2 100 10 0 400 * * * * * * 0 0 1 0 0 0 0
3 "MGxMG" 5 1 5 2 456 1 2 100 10 0 400 * * * * * * 0 0 0 1 0 0 0
4 "DLxDL" 5 1 5 2 457 1 2 100 10 0 400 * * * * * * 0 0 0 0 1 0 0
5 "SUxSU" 5 1 5 2 458 1 2 100 10 0 400 * * * * * * 0 0 0 0 0 1 0
6 "RFxRF" 5 1 5 2 459 1 2 100 10 0 400 * * * * * * 0 0 0 0 0 0 1
end
Muserver Move.txt
Código:
49 "SMxSM" 2000 0 400 * * 0 450
50 "BMxBM" 2000 0 400 * * 0 452
51 "ELFxELF" 2000 0 400 * * 0 454
52 "MGxMG" 2000 0 400 * * 0 456
53 "DLxDL" 2000 0 400 * * 0 457
54 "SUxSU" 2000 0 400 * * 0 458
55 "RFxRF" 2000 0 400 * * 0 459
Muserver Gate.txt
Código:
449 0 99 194 124 198 127 0 0 0 400 * * 0
450 0 40 220 15 235 30 0 0 0 400 * * 0
452 0 40 220 15 235 30 0 0 0 400 * * 0
454 0 40 220 15 235 30 0 0 0 400 * * 0
456 0 40 220 15 235 30 0 0 0 400 * * 0
457 0 40 220 15 235 30 0 0 0 400 * * 0
458 0 40 220 15 235 30 0 0 0 400 * * 0
459 0 40 220 15 235 30 0 0 0 400 * * 0
Cliente Move.bmd
Código:
49 "SMxSM" "SMxSM" 0 400 450 400
50 "BMxBM" "BMxBM" 0 400 452 400
51 "ELFxELF" "ELFxELF" 0 400 454 400
52 "MGxMG" "MGxMG" 0 400 456 400
53 "DLxDL" "DLxDL" 0 400 457 400
54 "SUxSU" "SUxSU" 0 400 458 400
55 "RFxRF" "RFxRF" 0 400 459 400
Procedure
Código:
USE [MuOnline]
GO
/****** Object: StoredProcedure [dbo].[WZ_CustomArenaRanking] Script Date: 11/27/2015 22:13:41 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_CustomArenaRanking]
@Account varchar(10),
@name varchar(10),
@ArenaNumber int,
@UserScore int,
@UserRank int
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
IF(@ArenaNumber = 0)
BEGIN
IF(@UserRank = 1)
BEGIN
UPDATE CashShopData SET GoblinPoint=GoblinPoint + 110 WHERE AccountID=@Account
UPDATE Character SET ScoreArenaCustom = ScoreArenaCustom + @UserScore WHERE AccountID=@Account and Name=@Name
UPDATE Character SET RankArenaCustom = RankArenaCustom + @UserRank WHERE AccountID=@Account and Name=@Name
END
END
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
//------------------------------//
//Coordenadas 40 229 22
//------------------------------//
Creditos : Eu pq sou fodastico e sem mi mi pfvr