Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: No puedo limitar el número de veces "RESET " por día, alguien me puede ayudar,  (Visto 1345 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline onlinezajzaj Posteado: December 28, 2018, 08:08:56 PM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 700
  • Gracias recibida: 18232
  • vn
No puedo limitar el número de veces  "RESET " por día, alguien me puede ayudar, gracias!
(I can't limit the number of times  "Reset " By day, someone can help me, thanks!)

Citar
CommandResetCount_AL0 = 1
CommandResetCount_AL1 = 1
CommandResetCount_AL2 = 1
CommandResetCount_AL3 = 1   
CommandResetLimit_AL0 = 0
CommandResetLimit_AL1 = 0
CommandResetLimit_AL2 = 0
CommandResetLimit_AL3 = 0
CommandResetLimitDay_AL0 = 10
CommandResetLimitDay_AL1 = 10
CommandResetLimitDay_AL2 = 10
CommandResetLimitDay_AL3 = 10
CommandResetLimitWek_AL0 = 70
CommandResetLimitWek_AL1 = 70
CommandResetLimitWek_AL2 = 70
CommandResetLimitWek_AL3 = 70
CommandResetLimitMon_AL0 = 2100
CommandResetLimitMon_AL1 = 2100
CommandResetLimitMon_AL2 = 2100
CommandResetLimitMon_AL3 = 2100

Chuyên cung cấp Server MU -  Dạy dev MU online - Giá rẻ.
TEACHER MU ONLINE VIỆT NAM / TRAO ĐỔI KINH NGHIỆM MU ONLINE TOP 1 tại VIỆT NAM
WhatApps/Zalo : +886983042918 - ONLINEZAJZAJ : https://zalo.me/caongochavt
https://www.paypal.me/teacherzajzaj

Offline onlinezajzaj #1 Posteado: December 28, 2018, 08:09:35 PM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 700
  • Gracias recibida: 18232
  • vn
No puedo limitar el número de veces  "RESET " por día, alguien me puede ayudar, gracias!
(I can't limit the number of times  "Reset " By day, someone can help me, thanks!)

Citar
CommandResetCount_AL0 = 1
CommandResetCount_AL1 = 1
CommandResetCount_AL2 = 1
CommandResetCount_AL3 = 1   
CommandResetLimit_AL0 = 5
CommandResetLimit_AL1 = 5
CommandResetLimit_AL2 = 5
CommandResetLimit_AL3 = 5
CommandResetLimitDay_AL0 = 10
CommandResetLimitDay_AL1 = 10
CommandResetLimitDay_AL2 = 10
CommandResetLimitDay_AL3 = 10
CommandResetLimitWek_AL0 = 70
CommandResetLimitWek_AL1 = 70
CommandResetLimitWek_AL2 = 70
CommandResetLimitWek_AL3 = 70
CommandResetLimitMon_AL0 = 2100
CommandResetLimitMon_AL1 = 2100
CommandResetLimitMon_AL2 = 2100
CommandResetLimitMon_AL3 = 2100

Chuyên cung cấp Server MU -  Dạy dev MU online - Giá rẻ.
TEACHER MU ONLINE VIỆT NAM / TRAO ĐỔI KINH NGHIỆM MU ONLINE TOP 1 tại VIỆT NAM
WhatApps/Zalo : +886983042918 - ONLINEZAJZAJ : https://zalo.me/caongochavt
https://www.paypal.me/teacherzajzaj

Gracias:


Offline mariano12 #2 Posteado: December 28, 2018, 09:46:21 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 16
  • Gracias recibida: 8
  • bh
Especifica más cuantos resets quieres y te puedo ayudar


Offline onlinezajzaj #3 Posteado: December 28, 2018, 10:38:17 PM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 700
  • Gracias recibida: 18232
  • vn
Especifica más cuantos resets quieres y te puedo ayudar


Puedes arreglar ayudarme:

1 día "RESET" 10 veces, al día siguiente puede "RESET" para continuar, y sólo 10 "RESET" 1 en tal límite

Chuyên cung cấp Server MU -  Dạy dev MU online - Giá rẻ.
TEACHER MU ONLINE VIỆT NAM / TRAO ĐỔI KINH NGHIỆM MU ONLINE TOP 1 tại VIỆT NAM
WhatApps/Zalo : +886983042918 - ONLINEZAJZAJ : https://zalo.me/caongochavt
https://www.paypal.me/teacherzajzaj

Offline louis #4 Posteado: December 29, 2018, 06:43:54 AM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • C++ Coder
  • +11 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 844
  • Gracias recibida: 36390
  • br
Update 36 is ready!!!

Gracias:


Offline onlinezajzaj #5 Posteado: December 31, 2018, 06:57:08 PM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 700
  • Gracias recibida: 18232
  • vn
Como esta su procedure wz_GetResetInfo?


Code: [Select]
USE [MuOnline]
GO
/****** Object:  StoredProcedure [dbo].[WZ_GetResetInfo]    Script Date: 01/01/2019 07:55:57 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_GetResetInfo]
@Account varchar(10),
@Name varchar(10)
AS
BEGIN

SET NOCOUNT ON
SET XACT_ABORT ON

DECLARE @Reset int
DECLARE @ResetDay int
DECLARE @ResetWek int
DECLARE @ResetMon int

SELECT @Reset=ResetCount,@ResetDay=0,@ResetWek=0,@ResetMon=0 FROM Character WHERE AccountID=@Account AND Name=@Name

SELECT @Reset AS Reset,@ResetDay AS ResetDay,@ResetWek AS ResetWek,@ResetMon AS ResetMon

SET NOCOUNT OFF
SET XACT_ABORT OFF

END


Por favor, ayúdame, donde arreglarlo!!

¡Gracias!

Chuyên cung cấp Server MU -  Dạy dev MU online - Giá rẻ.
TEACHER MU ONLINE VIỆT NAM / TRAO ĐỔI KINH NGHIỆM MU ONLINE TOP 1 tại VIỆT NAM
WhatApps/Zalo : +886983042918 - ONLINEZAJZAJ : https://zalo.me/caongochavt
https://www.paypal.me/teacherzajzaj

Offline skarious #6 Posteado: January 01, 2019, 08:49:26 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 241
  • Gracias recibida: 29
  • py
Si no me equivoco en el primer select donde dice b@resetday tenes que poner la cantidad de reset que quieras por día. (no estoy seguro) pero es. Lo que intérprete


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
6 Replies
6370 Views
Last post June 30, 2017, 04:34:22 PM
by hardpower
5 Replies
3999 Views
Last post October 02, 2017, 12:25:55 AM
by Orizon
1 Replies
984 Views
Last post November 11, 2018, 06:28:02 PM
by Natzugen
2 Replies
604 Views
Last post October 23, 2019, 12:34:43 PM
by Bladimir Barbaro
2 Replies
385 Views
Last post March 29, 2021, 02:02:09 PM
by lautat1