[Aportes] Scripts Para Sql
5 participantes
Página 1 de 1.
[Aportes] Scripts Para Sql
AGREGAR ESTOS SCRIPTS COMO TRABAJOS, QUE SE EJECUTEN CADA MINUTO SIN FECHA FINAL
Reset (Sin borrar nada)
[quote]
UPDATE Character
SET cLevel=('1') , experience=('0')
WHERE cLevel>349 [ /quote]
NOTA: Cambien 349 por el nivel que quieran que sea el reset
Reset (Borrando stat y pidiendo zen)
[quote]
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 18, Dexterity = 18, Vitality = 15, Energy = 30, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 0) OR (class = 1)) AND (clevel >= 400) AND (Money >= 500000000) AND (ConnectStat = 0);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 28, Dexterity = 20, Vitality = 25, Energy = 10, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 16) OR (class = 17)) AND (clevel >= 400) AND (Money >= 50000000) AND (ConnectStat = 0);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 22, Dexterity = 25, Vitality = 20, Energy = 15, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 32) OR (class = 33)) AND (clevel >= 400) AND (Money >= 50000000) AND (ConnectStat = 0);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 48) OR (class = 64)) AND (clevel >= 400) AND (Money >= 50000000) AND (ConnectStat = 0); [ /quote]
NOTA:
En VERDE el nivel del reset
En AMARILLO el zen que pide
En ROJO el numero de stat que da cada reset
Editenlo a su gusto
Autoreset de PK
[quote]
UPDATE Character
SET PkLevel = ('0'), PkTime = ('0'), PkCount = ('0')
Where PkLevel>2
Autoreparador de stat
[quote]
UPDATE Character
SET Strength = '32766'
WHERE Strength < '1'
UPDATE Character
SET Dexterity = '32766'
WHERE Dexterity < '1'
UPDATE Character
SET Vitality = '32766'
WHERE Vitality < '1'
UPDATE Character
SET Energy = '32766'
WHERE Energy < '1' [ /quote]
NOTA: Para versiones mx cambiar los 32767 por 65535.
Autoreparador de ZEN
[quote]
UPDATE Character
Set Money=('1000000')
WHERE Money<0 [ /quote]
NOTA: Cambiar el numero en AMARILLO por el zen que quieren que tenga al desbuguearlo
PARA QUE ESTOS SCRIPTS FUNCIONEN LOS PJS AFECTADOS TIENEN QUE SALIR DEL JUEGO 1 MINUTO
Reset (Sin borrar nada)
[quote]
UPDATE Character
SET cLevel=('1') , experience=('0')
WHERE cLevel>349 [ /quote]
NOTA: Cambien 349 por el nivel que quieran que sea el reset
Reset (Borrando stat y pidiendo zen)
[quote]
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 18, Dexterity = 18, Vitality = 15, Energy = 30, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 0) OR (class = 1)) AND (clevel >= 400) AND (Money >= 500000000) AND (ConnectStat = 0);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 28, Dexterity = 20, Vitality = 25, Energy = 10, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 16) OR (class = 17)) AND (clevel >= 400) AND (Money >= 50000000) AND (ConnectStat = 0);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 22, Dexterity = 25, Vitality = 20, Energy = 15, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 32) OR (class = 33)) AND (clevel >= 400) AND (Money >= 50000000) AND (ConnectStat = 0);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = (600 * (Reset + 1)), Money = Money - (50000000), Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, MapNumber = 0, MapPosX = 130, MapPosY = 130, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE ((class = 48) OR (class = 64)) AND (clevel >= 400) AND (Money >= 50000000) AND (ConnectStat = 0); [ /quote]
NOTA:
En VERDE el nivel del reset
En AMARILLO el zen que pide
En ROJO el numero de stat que da cada reset
Editenlo a su gusto
Autoreset de PK
[quote]
UPDATE Character
SET PkLevel = ('0'), PkTime = ('0'), PkCount = ('0')
Where PkLevel>2
Autoreparador de stat
[quote]
UPDATE Character
SET Strength = '32766'
WHERE Strength < '1'
UPDATE Character
SET Dexterity = '32766'
WHERE Dexterity < '1'
UPDATE Character
SET Vitality = '32766'
WHERE Vitality < '1'
UPDATE Character
SET Energy = '32766'
WHERE Energy < '1' [ /quote]
NOTA: Para versiones mx cambiar los 32767 por 65535.
Autoreparador de ZEN
[quote]
UPDATE Character
Set Money=('1000000')
WHERE Money<0 [ /quote]
NOTA: Cambiar el numero en AMARILLO por el zen que quieren que tenga al desbuguearlo
PARA QUE ESTOS SCRIPTS FUNCIONEN LOS PJS AFECTADOS TIENEN QUE SALIR DEL JUEGO 1 MINUTO
Creditos: SumG
Saludos-
Saludos-
Última edición por SolDerS el 2010-11-16, 10:28, editado 1 vez
JuuanF.-- Level III
-
~ New User ~
Mensajes : 222
Cash Point : 26921
Prestigio : 38
Registro : 13/11/2010
Localización : Buenos Aires
Edad : 29
Re: [Aportes] Scripts Para Sql
usa el [quote] [ /quote], porque asi no se entiende nada.!
Vanz.-- Level |V
-
~ New User ~
Mensajes : 414
Cash Point : 27658
Prestigio : 174
Registro : 09/11/2010
Localización : Rosario
Edad : 30
Re: [Aportes] Scripts Para Sql
APortazo me re sirvio Mi Pregunta es Los Scrip con el analizador De COnsultas ono aclara eso ! . Se agradece
Temas similares
» [APORTE] Scripts SQL
» [Aporte] Sentencias/Scripts SQL
» [Aporte]Nuevo Hookeador para Main.exe+Antihack=Seguridad para tu server + Imagenes !!
» [Aporte] Shops para Server Fast Creados por Near [ Para 99b o 99c ]
» Indice de Aportes WebShop.
» [Aporte] Sentencias/Scripts SQL
» [Aporte]Nuevo Hookeador para Main.exe+Antihack=Seguridad para tu server + Imagenes !!
» [Aporte] Shops para Server Fast Creados por Near [ Para 99b o 99c ]
» Indice de Aportes WebShop.
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.