Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!

Auto Grand Reset made for WebShop

View previous topic View next topic Go down

Auto Grand Reset made for WebShop

Post  m4s4cru on Tue Aug 02, 2011 12:05 pm

This works with last savoy webshop (0.9 if i remember right) , also its made for MSSQL 2000, didnt test on 2k5/8
1. create column name GrandResets with default value (0) in table character,

2. create MSSQL Job which runs per 1-2 hours or more if u want.

3. mssql job config > use db muonline, put this in command window

PHP Code:
update mc
set mc.CREDITS = mc.CREDITS + 50000
from MEMB_CREDITS mc
inner join dbo.Character ch with (nolock) on
ch.accountid COLLATE DATABASE_DEFAULT = mc.memb___id COLLATE DATABASE_DEFAULT and
ch.Resets >= 200
inner join memb_stat ms with (nolock) on
ms.memb___id COLLATE DATABASE_DEFAULT = ch.accountid COLLATE DATABASE_DEFAULT and
ms.connectstat = 0

if @@rowcount > 0 begin
update chr set
chr.clevel = 1,
chr.Experience = 5000,
chr.LevelUpPoint = 500,
chr.MapNumber = 0,
chr.MapPosX = 130,
chr.MapPosY = 130,
chr.PkTime = 0,
chr.PkCount = 0,
chr.PkLevel = 3,
chr.strength = 100,
chr.Dexterity = 100,
chr.vitality = 100,
chr.energy = 100,
chr.Leadership = 100,
chr.Resets = 1,
chr.GrandResets = chr.GrandResets + 1

from Character chr
inner join memb_stat ms with (nolock) on
ms.memb___id COLLATE DATABASE_DEFAULT = chr.accountid COLLATE DATABASE_DEFAULT and
ms.connectstat = 0
where
chr.Resets >= 800 AND chr.money > 1000000
end
This script will add 50 000 credits to a character which is level 800 or more and have more than 1 000 000 zen.,
it will also "GrandReset" the character backing the stats to 100 , level to 1, resets to 1, and level up points to 500. if the account is not connected.

Credits:
SantaAna
crazyboy
avatar
m4s4cru
Admin
Admin

Mesaje : 172
Data de inscriere : 2011-07-29
Varsta : 26

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum