Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: CustomBuyVip - Files Louis Update 13  (Visto 2092 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline lostalejandro_ Posteado: February 27, 2019, 08:31:47 PM | Modificado: March 01, 2019, 11:38:23 AM by lostalejandro_

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 63
  • Gracias recibida: 511
  • ve
Hola amigos,
 
Desde hace unos días empezó un problema con el BuyVip, antes funcionaba perfectamente, pero ahora cuando compro VIP con puntos WCoinC El VIP se compra correctamente pero no se descuenta el cash de la cuenta, osea si tengo 30.000 WCoinC y el primer plan VIP cuesta 10.000, despues de comprar se agrega el VIP exitosamente pero sigo teniendo 30.000 puntos de WCoinC

Gracias por su ayuda,

Dejo el CustomBuyVip.txt de la carpeta /Data/Custom
Spoiler for Hiden:
//=================================================================================================================
//-- Sistema para comprar VIP dentro do jogo
//-- Buy VIP System
//-- Press End key in game
//=================================================================================================================
//   #Index   #Exp+   #Drop+   Days   #Coin1   #Coin2   #Coin3   #VipName
//=================================================================================================================
   0      50      20      30      10000   0      0      "VIP(30)"
   1      50      20      60      15000   0      0      "VIP(60)"
   2      50      20      90      18000   0      0      "VIP(90)"
end

También el CustomBuyVip.txt de la carpeta MainInfo
Spoiler for Hiden:
/=================================================================================================================
//-- Sistema para comprar VIP dentro do jogo
//-- Buy VIP System
//-- Press End key in game
//=================================================================================================================
//   #Index   #Exp+   #Drop+   Days   #Coin1   #Coin2   #Coin3   #VipName
//=================================================================================================================
   0      50      20      30      10000   0      0      "VIP(30)"
   1      50      20      60      15000   0      0      "VIP(60)"
   2      50      20      90      18000   0      0      "VIP(90)"
end

Y el CustomMessage.txt da la carpeta Main Info
Spoiler for Hiden:
0
//Index   Message
0         "Level: %d | Resets: %d"
1         "Reconnecting..."
2         "Logging in..."
3         "Waiting character list..."
4         "Waiting character info..."
5         "VIP Store"
6         "Welcome to the VIP Store, %s"
7         "Select a VIP plan and gain advantages!"
8         "It does not work with MasterEXP or in Party"
9         "Buy %s"
10        "Value:"
11        "WC: %d"
12        "WP: %d"
13        "GP: %d"
14        "Warning! By clicking on the button the VIP will be purchased!"
15        "Blood Castle:"
16        "Devil Square"
17        "Chaos Castle"
18        "Illusion Temple:"
19        "Online Lottery:"
20        "Custom Quiz:"
21        "Custom Bonus:"
22        "Custom Arena:"
23        "Custom Drop:"
24        "King of Mu:"
25        "Events"
26        "Buy VIP"
27        "Ranking"
28        "Commands"
44        "Options"
45        "Buy Value: %s Zen"
46        "Buy Value: %s WC"
47        "Buy Value: %s WP"
48        "Buy Value: %s GP"
49        "Sell Value: %s Zen"
50     "Finances:"
51     "WC:"
52     "WP:"
53     "GP:"
54     "Welcome!"
55        "Sell Value: %s WC"
56        "Sell Value: %s WP"
57        "Sell Value: %s GP"
58     "WC"
59     "WP"
60     "GP"
61        "Sell Value: %s Jewel of Bless"
62        "Sell Value: %s Jewel of Soul"
63        "Sell Value: %s Jewel of Chaos"
64        "Value: %s"
65        "TvT Event:"
66        "Confirm"
67        "Would you really like to buy this item?"
68        "MResets:"
end

1
//Index   Message
0         "Nível: %d | Resets: %d"
1         "Reconectando..."
2         "Entrando..."
3         "Listando personagens..."
4         "Entrando no personagem..."
5         "Premium Shop"
6         "Welcome to premium shop, %s!"
7         "Buy the premium status and get special vipers!"
8         "Not work with master experience and party!"
9         "Buy %s"
10        "Price:"
11        "WC: %d"
12        "WP: %d"
13        "GP: %d"
14        "Warning! By clicking the button, the vip will be bought!"
15        "Blood Castle:"
16        "Devil Square"
17        "Chaos Castle"
18        "Illusion Temple:"
19        "Sorteio Online:"
20        "Custom Quiz:"
21        "Custom Bonus:"
22        "Custom Arena:"
23        "Custom Drop:"
24        "Rei do Mu:"
25        "Eventos"
26        "Comprar VIP"
27        "Ranking"
28        "Comandos"
44        "Opções"
44        "Options"
45        "Valor de compra: %s Zen"
46        "Valor de compra: %s WC"
47        "Valor de compra: %s WP"
48        "Valor de compra: %s GP"
49        "Valor de venda: %s Zen"
50     "Finances:"
51     "WC:"
52     "WP:"
53     "GP:"
54     "Bem Vindo!"
55        "Valor de venda: %s WC"
56        "Valor de venda: %s WP"
57        "Valor de venda: %s GP"
58     "WC"
59     "WP"
60     "GP"
61        "Valor de venda: %s Jewel of Bless"
62        "Valor de venda: %s Jewel of Soul"
63        "Valor de venda: %s Jewel of Chaos"
64        "Valor: %s"
65        "TvT Event:"
66        "Confirmar"
67        "Deseja realmente comprar esse item?"
68        "MResets:"
end

2
//Index   Message
0         "Nivel: %d | Resets: %d"
1         "Reconectando..."
2         "Iniciando sesión..."
3         "Listado caracteres..."
4         "Entrando en el carácter..."
5         "Shopping VIP"
6         "Bem vindo ao shopping vip, %s!"
7         "Assine um plano vip e ganhe vantagens!"
8         "Não funciona com master exp e party!"
9         "Comprar %s"
10        "Valor:"
11        "WC: %d"
12        "WP: %d"
13        "GP: %d"
14        "Cuidado! Ao clicar no botão o vip será comprado!"
15        "Blood Castle:"
16        "Devil Square"
17        "Chaos Castle"
18        "Illusion Temple:"
19        "Sorteio Online:"
20        "Custom Quiz:"
21        "Custom Bonus:"
22        "Custom Arena:"
23        "Custom Drop:"
24        "Rei do Mu:"
25        "Eventos"
26        "Comprar VIP"
27        "Ranking"
28        "Opções"
28        "Comandos"
44        "Opções"
45        "Buy Value: %s Zen"
46        "Buy Value: %s WC"
47        "Buy Value: %s WP"
48        "Buy Value: %s GP"
49        "Sell Value: %s Zen"
50     "Finances:"
51     "WC:"
52     "WP:"
53     "GP:"
54     "Welcome!"
55        "Sell Value: %s WC"
56        "Sell Value: %s WP"
57        "Sell Value: %s GP"
58     "WC"
59     "WP"
60     "GP"
61        "Sell Value: %s Jewel of Bless"
62        "Sell Value: %s Jewel of Soul"
63        "Sell Value: %s Jewel of Chaos"
64        "Value: %s"
65        "TvT Event:"
66        "Confirmar"
67        "Deseja realmente comprar esse item?"
68        "MResets:"
end

Gracias:


Offline piscis007 #1 Posteado: February 28, 2019, 07:04:40 PM

  • Diseñador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 461
  • Gracias recibida: 1679
  • ve
Hola amigos,
 
Desde hace unos días empezó un problema con el BuyVip, antes funcionaba perfectamente, pero ahora cuando compro VIP con puntos WCoinC El VIP se compra correctamente pero no se descuenta el cash de la cuenta, osea si tengo 30.000 WCoinC y el primer plan VIP cuesta 10.000, despues de comprar se agrega el VIP exitosamente pero sigo teniendo 30.000 puntos de WCoinC

Gracias por su ayuda,

Dejo el CustomBuyVip.txt de la carpeta /Data/Custom
Spoiler for Hiden:
//=================================================================================================================
//-- Sistema para comprar VIP dentro do jogo
//-- Buy VIP System
//-- Press End key in game
//=================================================================================================================
//   #Index   #Exp+   #Drop+   Days   #Coin1   #Coin2   #Coin3   #VipName
//=================================================================================================================
   0      50      20      30      10000   0      0      "VIP(30)"
   1      50      20      60      15000   0      0      "VIP(60)"
   2      50      20      90      18000   0      0      "VIP(90)"
end

También el CustomBuyVip.txt de la carpeta MainInfo
Spoiler for Hiden:
/=================================================================================================================
//-- Sistema para comprar VIP dentro do jogo
//-- Buy VIP System
//-- Press End key in game
//=================================================================================================================
//   #Index   #Exp+   #Drop+   Days   #Coin1   #Coin2   #Coin3   #VipName
//=================================================================================================================
   0      50      20      30      10000   0      0      "VIP(30)"
   1      50      20      60      15000   0      0      "VIP(60)"
   2      50      20      90      18000   0      0      "VIP(90)"
end

Y el CustomMessage.txt da la carpeta Main Info
Spoiler for Hiden:
0
//Index   Message
0         "Level: %d | Resets: %d"
1         "Reconnecting..."
2         "Logging in..."
3         "Waiting character list..."
4         "Waiting character info..."
5         "VIP Store"
6         "Welcome to the VIP Store, %s"
7         "Select a VIP plan and gain advantages!"
8         "It does not work with MasterEXP or in Party"
9         "Buy %s"
10        "Value:"
11        "WC: %d"
12        "WP: %d"
13        "GP: %d"
14        "Warning! By clicking on the button the VIP will be purchased!"
15        "Blood Castle:"
16        "Devil Square"
17        "Chaos Castle"
18        "Illusion Temple:"
19        "Online Lottery:"
20        "Custom Quiz:"
21        "Custom Bonus:"
22        "Custom Arena:"
23        "Custom Drop:"
24        "King of Mu:"
25        "Events"
26        "Buy VIP"
27        "Ranking"
28        "Commands"
44        "Options"
45        "Buy Value: %s Zen"
46        "Buy Value: %s WC"
47        "Buy Value: %s WP"
48        "Buy Value: %s GP"
49        "Sell Value: %s Zen"
50     "Finances:"
51     "WC:"
52     "WP:"
53     "GP:"
54     "Welcome!"
55        "Sell Value: %s WC"
56        "Sell Value: %s WP"
57        "Sell Value: %s GP"
58     "WC"
59     "WP"
60     "GP"
61        "Sell Value: %s Jewel of Bless"
62        "Sell Value: %s Jewel of Soul"
63        "Sell Value: %s Jewel of Chaos"
64        "Value: %s"
65        "TvT Event:"
66        "Confirm"
67        "Would you really like to buy this item?"
68        "MResets:"
end

1
//Index   Message
0         "Nível: %d | Resets: %d"
1         "Reconectando..."
2         "Entrando..."
3         "Listando personagens..."
4         "Entrando no personagem..."
5         "Premium Shop"
6         "Welcome to premium shop, %s!"
7         "Buy the premium status and get special vipers!"
8         "Not work with master experience and party!"
9         "Buy %s"
10        "Price:"
11        "WC: %d"
12        "WP: %d"
13        "GP: %d"
14        "Warning! By clicking the button, the vip will be bought!"
15        "Blood Castle:"
16        "Devil Square"
17        "Chaos Castle"
18        "Illusion Temple:"
19        "Sorteio Online:"
20        "Custom Quiz:"
21        "Custom Bonus:"
22        "Custom Arena:"
23        "Custom Drop:"
24        "Rei do Mu:"
25        "Eventos"
26        "Comprar VIP"
27        "Ranking"
28        "Comandos"
44        "Opções"
44        "Options"
45        "Valor de compra: %s Zen"
46        "Valor de compra: %s WC"
47        "Valor de compra: %s WP"
48        "Valor de compra: %s GP"
49        "Valor de venda: %s Zen"
50     "Finances:"
51     "WC:"
52     "WP:"
53     "GP:"
54     "Bem Vindo!"
55        "Valor de venda: %s WC"
56        "Valor de venda: %s WP"
57        "Valor de venda: %s GP"
58     "WC"
59     "WP"
60     "GP"
61        "Valor de venda: %s Jewel of Bless"
62        "Valor de venda: %s Jewel of Soul"
63        "Valor de venda: %s Jewel of Chaos"
64        "Valor: %s"
65        "TvT Event:"
66        "Confirmar"
67        "Deseja realmente comprar esse item?"
68        "MResets:"
end

2
//Index   Message
0         "Nivel: %d | Resets: %d"
1         "Reconectando..."
2         "Iniciando sesión..."
3         "Listado caracteres..."
4         "Entrando en el carácter..."
5         "Shopping VIP"
6         "Bem vindo ao shopping vip, %s!"
7         "Assine um plano vip e ganhe vantagens!"
8         "Não funciona com master exp e party!"
9         "Comprar %s"
10        "Valor:"
11        "WC: %d"
12        "WP: %d"
13        "GP: %d"
14        "Cuidado! Ao clicar no botão o vip será comprado!"
15        "Blood Castle:"
16        "Devil Square"
17        "Chaos Castle"
18        "Illusion Temple:"
19        "Sorteio Online:"
20        "Custom Quiz:"
21        "Custom Bonus:"
22        "Custom Arena:"
23        "Custom Drop:"
24        "Rei do Mu:"
25        "Eventos"
26        "Comprar VIP"
27        "Ranking"
28        "Opções"
28        "Comandos"
44        "Opções"
45        "Buy Value: %s Zen"
46        "Buy Value: %s WC"
47        "Buy Value: %s WP"
48        "Buy Value: %s GP"
49        "Sell Value: %s Zen"
50     "Finances:"
51     "WC:"
52     "WP:"
53     "GP:"
54     "Welcome!"
55        "Sell Value: %s WC"
56        "Sell Value: %s WP"
57        "Sell Value: %s GP"
58     "WC"
59     "WP"
60     "GP"
61        "Sell Value: %s Jewel of Bless"
62        "Sell Value: %s Jewel of Soul"
63        "Sell Value: %s Jewel of Chaos"
64        "Value: %s"
65        "TvT Event:"
66        "Confirmar"
67        "Deseja realmente comprar esse item?"
68        "MResets:"
end

con respecto a tu configuración en

Citar
//=================================================================================================================
//-- Sistema para comprar VIP dentro do jogo
//-- Buy VIP System
//-- Press End key in game
//=================================================================================================================
//   #Index   #Exp+   #Drop+   Days   #Coin1   #Coin2   #Coin3   #VipName
//=================================================================================================================
   0      50      20      30      10000   0      0      "VIP(30)"
   1      50      20      60      15000   0      0      "VIP(60)"
   2      50      20      90      18000   0      0      "VIP(90)"
end

0 1 2 hacen referencia a

Citar
   0   "Vip Bronze"
   1   "Vip Prata"
   2   "Vip Ouro"

para tu configuracion de ejemplo vip bronze en 30 60 y 90 dias seria

Citar
//=================================================================================================================
//-- Sistema para comprar VIP dentro do jogo
//-- Buy VIP System
//-- Press End key in game
//=================================================================================================================
//   #Index   #Exp+   #Drop+   Days   #Coin1   #Coin2   #Coin3   #VipName
//=================================================================================================================
   0      50      20      30      10000   0      0      "VIP(30)"
   0      50      20      60      15000   0      0      "VIP(60)"
   0      50      20      90      18000   0      0      "VIP(90)"
end

revisa en el MainInfo de la carpeta MAIN_INFO que otras opciones te aparecen

“No hay que ver para creer, sino creer para ver”

Gracias:


Offline lostalejandro_ #2 Posteado: February 28, 2019, 10:13:57 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 63
  • Gracias recibida: 511
  • ve
Hola @piscis007 coloque tu configuración y cambié la config del maininfo y dejé solo 1 de las opciones VIP ya que solo se mostraba 1 opcion y las demas vacias, pero aún así no descuenta los WCoinC, te dejo la config de mi maininfo.

Spoiler for Hiden:
//=================================================================================================================
//-- Enable Premium Shop (Habilitar o shopping para comprar Vip, CustomBuyVip.txt)
//=================================================================================================================
EnableVipShop = 1
VipTypes = 1

A parte unas capturas de lo que aparece en el GameServer al darle click al botón, estoy empezando a creer que es un error del SQL Server 2008.

1
Spoiler for Hiden:





Gracias:


Offline piscis007 #3 Posteado: February 28, 2019, 10:54:59 PM

  • Diseñador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 461
  • Gracias recibida: 1679
  • ve
lo mas seguro es que no este haciendo buena conexión revisa en tu db - programacion - procedimientos almacenados - busca la tabla WZ_SetCoin y le das click derecho modificar y verifica si la query es igual a esta que te dejo sino es igual cambiala

Citar
USE [MuOnline]
GO
/****** Object:  StoredProcedure [dbo].[WZ_SetCoin]    Script Date: 03/01/2019 04:51:56 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_SetCoin]
@Account varchar(10),
@Name varchar(10),
@Value1 int,
@Value2 int,
@Value3 int
AS
BEGIN

SET NOCOUNT ON
SET XACT_ABORT ON

-- Tipo 1: Update Cash | Wcoin
   IF @Value1 > 0 or @Value1 < 0
   BEGIN
      UPDATE CashShopData SET WCoinC = WCoinC + @Value1 WHERE AccountID = @Account
      --Para Season 4
      --UPDATE MEMB_INFO SET Cash = Cash + @Value1 WHERE memb___id = @Account
   END
   
-- Tipo 2: Update Gold | WcoinP
   IF @Value2 > 0 or @Value2 < 0 
   BEGIN
      UPDATE CashShopData SET WCoinP = WCoinP + @Value2 WHERE AccountID = @Account
      --Para Season 4
      --UPDATE MEMB_INFO SET Gold = Gold + @Value2 WHERE memb___id = @Account
   END

-- Tipo 3: Update PcPoints | GoblinPoints
   IF @Value3 > 0 or @Value3 < 0
   BEGIN
      UPDATE CashShopData SET GoblinPoint = GoblinPoint + @Value3 WHERE AccountID = @Account
      --Para Season 4
      --UPDATE PcPointdata SET PcPoint = PcPoint + @Value3 WHERE AccountID = @Account
   END
   

SET NOCOUNT OFF
SET XACT_ABORT OFF

END



“No hay que ver para creer, sino creer para ver”

Gracias:


Offline seedmaker #4 Posteado: March 01, 2019, 04:56:05 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 140
  • Gracias recibida: 573
  • ph
Other Problem dont know if just only on my server but when i buy Vip and works fine but when i stay log in maybe 24 hours but i bought the vip with 1 month  the Vip will be gone dont know why xD


Offline seedmaker #5 Posteado: March 01, 2019, 04:57:19 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 140
  • Gracias recibida: 573
  • ph
Same Problem with Command using WCoinC WCoinP Goblin Point  i already checked the source on Louis Release but dont know how to fix it Hahahaha!


Offline lostalejandro_ #6 Posteado: March 01, 2019, 11:38:13 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 63
  • Gracias recibida: 511
  • ve
lo mas seguro es que no este haciendo buena conexión revisa en tu db - programacion - procedimientos almacenados - busca la tabla WZ_SetCoin y le das click derecho modificar y verifica si la query es igual a esta que te dejo sino es igual cambiala

Citar
USE [MuOnline]
GO
/****** Object:  StoredProcedure [dbo].[WZ_SetCoin]    Script Date: 03/01/2019 04:51:56 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_SetCoin]
@Account varchar(10),
@Name varchar(10),
@Value1 int,
@Value2 int,
@Value3 int
AS
BEGIN

SET NOCOUNT ON
SET XACT_ABORT ON

-- Tipo 1: Update Cash | Wcoin
   IF @Value1 > 0 or @Value1 < 0
   BEGIN
      UPDATE CashShopData SET WCoinC = WCoinC + @Value1 WHERE AccountID = @Account
      --Para Season 4
      --UPDATE MEMB_INFO SET Cash = Cash + @Value1 WHERE memb___id = @Account
   END
   
-- Tipo 2: Update Gold | WcoinP
   IF @Value2 > 0 or @Value2 < 0 
   BEGIN
      UPDATE CashShopData SET WCoinP = WCoinP + @Value2 WHERE AccountID = @Account
      --Para Season 4
      --UPDATE MEMB_INFO SET Gold = Gold + @Value2 WHERE memb___id = @Account
   END

-- Tipo 3: Update PcPoints | GoblinPoints
   IF @Value3 > 0 or @Value3 < 0
   BEGIN
      UPDATE CashShopData SET GoblinPoint = GoblinPoint + @Value3 WHERE AccountID = @Account
      --Para Season 4
      --UPDATE PcPointdata SET PcPoint = PcPoint + @Value3 WHERE AccountID = @Account
   END
   

SET NOCOUNT OFF
SET XACT_ABORT OFF

END



Muchas gracias amigo, tema solucionado!  cerrado


Offline Cloud #7 Posteado: March 01, 2019, 11:50:15 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 138
  • Gracias recibida: 12015
  • ar
Cierro tema ya que el usuario Estuvo conforme con las respuestas positivas


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
3 Replies
1567 Views
Last post September 18, 2018, 11:35:41 AM
by Marote
1 Replies
1446 Views
Last post September 28, 2018, 06:58:07 AM
by ZabiinoOo
1 Replies
1028 Views
Last post November 24, 2018, 03:36:33 PM
by lostalejandro_
3 Replies
1260 Views
Last post December 12, 2018, 07:14:56 AM
by MonicaCisneros
2 Replies
961 Views
Last post February 09, 2019, 08:47:24 PM
by dlgstone87