USE [SRO_VT_SHARD]
GO
UPDATE dbo.Tab_RefNest SET dwmaxtotalcount = dwmaxtotalcount/1.25
Press Thanks if i helped
Change SRO_VT_SHARD if you have another name and run this query .
Press Thanks if i helped.
Eminem, as an example
Code:
SELECT CONVERT(INT,1/1.25)
You would set all spawns with a current amount of 1 to 0 (most likely all uniques)
You're better off using something like..
Code:
Declare @Rate float = 2.0;
UPDATE dbo.Tab_RefNest SET dwmaxtotalcount = CASE WHEN CONVERT(INT,ROUND(dwmaxtotalcount/@Rate,0)) = 0 THEN 1 ELSE CONVERT(INT,ROUND(dwmaxtotalcount/@Rate,0)) END
You would set all spawns with a current amount of 1 to 0 (most likely all uniques)
You're better off using something like..
Code:
Declare @Rate float = 2.0;
UPDATE dbo.Tab_RefNest SET dwmaxtotalcount = CASE WHEN CONVERT(INT,ROUND(dwmaxtotalcount/@Rate,0)) = 0 THEN 1 ELSE CONVERT(INT,ROUND(dwmaxtotalcount/@Rate,0)) END
I recommend you to prepare at first a proper SELECT statement to cover all monster you'd like to change up.
e.g.
Code:
SELECT ref.ID,ref.CodeName128, tabrn.*
FROM Tab_RefNest as tabrn
JOIN Tab_RefTactics as tabrt on tabrn.dwTacticsID = tabrt.dwTacticsID
JOIN _RefObjCommon as ref on tabrt.dwObjID = ref.ID
WHERE
TypeID1 = 1 AND TypeID2 = 2 AND TypeID3 = 1 AND Rarity = 3 AND [Service] = 1
When you completed your desired resultset you may start with building the UPDATE statement, example follows.
Code:
Declare @Rate float = 1.0;
UPDATE dbo.Tab_RefNest
SET dwmaxtotalcount = CASE WHEN CONVERT(INT,ROUND(dwmaxtotalcount*@Rate,0)) = 0 THEN 1 ELSE CONVERT(INT,ROUND(dwmaxtotalcount*@Rate,0)) END
FROM Tab_RefNest as tabrn
JOIN Tab_RefTactics as tabrt on tabrn.dwTacticsID = tabrt.dwTacticsID
JOIN _RefObjCommon as ref on tabrt.dwObjID = ref.ID
WHERE
TypeID1 = 1 AND TypeID2 = 2 AND TypeID3 = 1 AND Rarity = 3 AND [Service] = 1
-> all unique spawns (Rarity 3 = usually unique) * @Rate
can any one please tell me how to add Query with some pics , cus it always need to save a DB but didn't work :S
[i have mssql 2005]
or just tell me under what table cuz i need also to make last plus items more than +8 but in DB when i tried to make it more than +12 it told me to save the DB again but no changes (
[Question] How to DISABLE mobs Spawn , without uniques spawn , etc ? 09/12/2016 - SRO Private Server - 6 Replies i am making a PVP server , i want to make start level 110 and cap level 130
so the other areas are not important , and also they could take RAM , CPU and it may cause some LAGGGGGS !
so can you tell me any ideas how to disable it ? Thanks
Mobs Spawn 07/01/2012 - SRO Private Server - 1 Replies hello
Mobs Spawn slightly , I want to do more.There is almost no mob
ShardManager process reduce + reduce log + delete logs 01/25/2012 - SRO PServer Guides & Releases - 12 Replies Hey all how r u?okey enough :facepalm:
GOAL
doesnt recording the database logs
EFFECT
* ShardManager msgCount values reduce 9000+ to 5-10
* youve got lower lag because we'll delete recording logs
* die for logs:D:D
Wo spawn mobs 01/28/2011 - Minecraft - 12 Replies wo spawn mops also creeper,spinne.monster usw am besten auf welchen stein?
Moob Spawn reduce or what? 11/27/2010 - Silkroad Online - 9 Replies Idk why but now i dont see moobs in anywhere O_O im in pt 8/8...24/7 in maya server and there in all spot all moobs never have a good spawn :S
all server have the same cr@p problem(joymax do it..Now we need more plus to lvl up ^,^)? :S