I placed in query, but this not reset. What he could be?
Printable View
good very nice, i can run in 1.02j ... all it ok simple and good XD !
if it is possible to add the option to clean the inventory, or that single it allows to do reset without item put.
sorry me english XD
bb
check this autoreset --> whit inventori and spell
Here is the web for create cryps fro quarys --> AUTORESETQuote:
--
-- Don`t delete this headline. It`s ingored by MSSQL
-- and will not cause any destructive effects ;]
--
--
-- SQL AutoReset script generated by »Autoreset Generator«
-- On day: 2006-11-13 at: 02:14
--
-- Autoreset Generator
--
--
-- AutoReset from level: 400 to level: 1
-- Increasing amount of additional points: 520 from reset
-- Increasing reset cost: 75KK from reset
--
-- Stats decrease to the basic value
-- Inventory will be cleared
-- Spells/skills will be cleared
--
-- Reset will affect only on non-connected characters
-- GMs won`t be reset
-- Characters will be warped to Lorencia
--
--
-- AutoReset is correct for column name: `Reset` in `Character` table
-- with default value: `0`
--
--
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (520 * (Reset + 1)), Money = Money - (75000000 * (Reset + 1)), Strength = 18, Dexterity = 18, Vitality = 15, Energy = 30, Inventory = NULL, MagicList = NULL, 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 >= (75000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (520 * (Reset + 1)), Money = Money - (75000000 * (Reset + 1)), Strength = 28, Dexterity = 20, Vitality = 25, Energy = 10, Inventory = NULL, MagicList = NULL, 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 >= (75000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (520 * (Reset + 1)), Money = Money - (75000000 * (Reset + 1)), Strength = 22, Dexterity = 25, Vitality = 20, Energy = 15, Inventory = NULL, MagicList = NULL, 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 >= (75000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = LevelUpPoint + (520 * (Reset + 1)), Money = Money - (75000000 * (Reset + 1)), Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, Inventory = NULL, MagicList = NULL, 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 >= (75000000 * (Reset + 1))) AND (ConnectStat = 0) AND (ctlcode < 8);
Thank Man . But For Darklord(Class 64) the command still whit the same stats, not reset de comand stat. Any help for Reset the comand Stats??? Please Thanks
PD: Sorry for my bad English xD
Good Luck. :winky:Code:UPDATE Character
SET clevel = 1, Experience = 0, LevelUpPoint = 1000 * (Reset + 1), Money = Money - (50000000), Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, Leaderpoint = 26, MapNumber = 0, MapPosX = 130, MapPosY = 130, PkTime = 0, PkCount = 0, PkLevel = 0, Reset = Reset + 1
FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id
COLLATE Latin1_general_CI_AI
WHERE (class = 64) AND (clevel >= 380) AND (Money >= (50000000)) AND (ConnectStat = 0) AND (Reset < 500);
replace the word Leaderpoint to Leadership