PDA

View Full Version : |Suporte| Premiação PvP Automatico



Roy
05/01/2017, 10:24 PM
Galera,estou com 1 evento de PvP automático no meu MU,mas ele não está premiando.
Estou utilizando a seguinte procedure .

USE [MuOnline]
GO
/****** Object: StoredProcedure [dbo].[WZ_CustomArenaRanking] Script Date: 05/01/2016 15:29:00 ******/
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




[Only registered and activated users can see links]
BEGIN




[Only registered and activated users can see links]
BEGIN


[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
END




END




SET NOCOUNT OFF
SET XACT_ABORT OFF




END

E também já tentei trocar a parte de
[Only registered and activated users can see links]
Para
[Only registered and activated users can see links]

Se tiver como alguém ajudar,o muserver é muemu Season 4.

addictedbr
06/01/2017, 06:12 AM
Não se trata apenas da parte final.
[Only registered and activated users can see links]

CashShopData, contém as colunas: WcoinC, WcoinP e GoblinPoint.
Logo, ao rodar a query vai dar erro informando que não tem a coluna "GOLD". A não ser que esteja utilizando essa coluna já criada na tabela CashShopData para um webshop. Ai sim funciona, mas se for pra premiação interna você deverá escolher entre as três citadas: WcoinC, WcoinP e GoblinPoint.

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


[Only registered and activated users can see links]
BEGIN


[Only registered and activated users can see links]
BEGIN


[Only registered and activated users can see links]


END


END


SET NOCOUNT OFF
SET XACT_ABORT OFF


END


------------------------------------------------------------------------------------------------------------------
ou

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


[Only registered and activated users can see links]
BEGIN


[Only registered and activated users can see links]
BEGIN


[Only registered and activated users can see links]


END


END


SET NOCOUNT OFF
SET XACT_ABORT OFF


END


-------------------------------------------------------------------------------------------

ou

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


[Only registered and activated users can see links]
BEGIN


[Only registered and activated users can see links]
BEGIN


[Only registered and activated users can see links]


END


END


SET NOCOUNT OFF
SET XACT_ABORT OFF


END

maniacoo
06/01/2017, 11:57 AM
Tópico movido para a área correta, preste mais atenção da próxima vez!

Roy
06/01/2017, 02:05 PM
addictedbr, o problema é que meu servidor tem apenas 3 moedas,que fica na tabela "MEMB_INFO" e não tem essa tabela "CashShopData" .
As moedas são,Gold,Gold2 e Points

HorrorStory
06/01/2017, 06:42 PM
@addictedbr ([Only registered and activated users can see links]), o problema é que meu servidor tem apenas 3 moedas,que fica na tabela "MEMB_INFO" e não tem essa tabela "CashShopData" .
As moedas são,Gold,Gold2 e Pointsamigo o sistema de pvp esta funcionando normal?, bom tente rodar isso
[Only registered and activated users can see links]

Roy
06/01/2017, 08:24 PM
HorrorStory, sim está funcionando normal,e acho que não é AccountID e sim memb___id
Olha a print.
[Only registered and activated users can see links]

addictedbr
08/01/2017, 12:55 AM
Basta mudar essa parte para coluna e tabela desejada e substituir na query que mandei:

[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]
[Only registered and activated users can see links]

Gold,Gold2 e Points

Roy
10/01/2017, 06:07 PM
addictedbr , não está premiando,mesmo assim :/

louis
25/01/2017, 11:46 PM
Você falou que seu servidor as moedas ficam na tabela memb_info, esse evento parece ser do MUemu onde a tabela é a CashShopData, se se servidor não é o MuEmu como você colocou o evento nele?

poderia dar mais informações?