Register for your free account! | Forgot your password?

You last visited: Today at 14:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Query Increase Number of Monsters

Discussion on Query Increase Number of Monsters within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
srothanglong's Avatar
 
elite*gold: 0
Join Date: Apr 2019
Posts: 298
Received Thanks: 80
Post Query Increase Number of Monsters

Hello experts.
I want to ask for a query that increases monster spawn rate but not monster count. My server is loading 48k monsters so I don't want to increase it. Because exceeding 50k servers will error Pet. Now I want to ask a query to increase the spawn on kill.
(Appears immediately after killing but does not increase the number of monsters).
I found out from Google but the queries all increase the monster count. It makes my Database error because Excute too many times returns 0 resolved objects.
Thank you very much.
srothanglong is offline  
Old 03/13/2022, 08:43   #2
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,532
Received Thanks: 835
Quote:
Originally Posted by srothanglong View Post
Hello experts.
I want to ask for a query that increases monster spawn rate but not monster count. My server is loading 48k monsters so I don't want to increase it. Because exceeding 50k servers will error Pet. Now I want to ask a query to increase the spawn on kill.
(Appears immediately after killing but does not increase the number of monsters).
I found out from Google but the queries all increase the monster count. It makes my Database error because Excute too many times returns 0 resolved objects.
Thank you very much.
Hello!
I achieved something like this a long time ago, however I am not sure about the exact query.
One thing is for sure, though. To achieve your desired results you must look at Tab_RefNest, respectively dwDelayTimeMin and dwDelayTimeMax.
I've got 0 on dwDelayTimeMin and 1 on dwDelayTimeMax.

Not sure if this is the best approach so keep that in mind.

PHP Code:
USE SRO_VT_SHARD

declare   [MENTION=287308]Min[/MENTION]Lv int 1
declare   [MENTION=301174]maXl[/MENTION]v int 110
declare   [MENTION=332061]reSpawn[/MENTION]TimeMin int 
declare   [MENTION=332061]reSpawn[/MENTION]TimeMax int 

begin
       
--select D.*
       
update D set dwDelayTimeMin =   [MENTION=332061]reSpawn[/MENTION]TimeMindwDelayTimeMax =   [MENTION=332061]reSpawn[/MENTION]TimeMax
       from _RefObjCommon 
as A
       inner join _RefObjChar 
as B on A.Link B.ID and A.CodeName128 like 'MOB%' and A.Rarity and B.Lvl between   [MENTION=287308]Min[/MENTION]Lv and   [MENTION=301174]maXl[/MENTION]v
       inner join Tab_RefTactics 
as C on C.dwObjID A.ID
       inner join Tab_RefNest 
as D on D.dwTacticsID C.dwTacticsID and D.dwDelayTimeMin >= 0
end 

I am not sure if this is the right query so please be careful.


Edit: EPVP ruined the query by adding [MENTION] ...............
Judgelemental is offline  
Old 03/13/2022, 08:47   #3
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,532
Received Thanks: 835
I'll upload it in a .txt format and attach it.
If anybody sees something wrong here, feel free to change the query.

Judgelemental is offline  
Thanks
1 User
Old 03/13/2022, 10:02   #4
 
srothanglong's Avatar
 
elite*gold: 0
Join Date: Apr 2019
Posts: 298
Received Thanks: 80
Quote:
Originally Posted by Judgelemental View Post
I'll upload it in a .txt format and attach it.
If anybody sees something wrong here, feel free to change the query.

Have you checked it yet?
srothanglong is offline  
Old 03/13/2022, 11:10   #5
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,532
Received Thanks: 835
Quote:
Originally Posted by srothanglong View Post
Have you checked it yet?
It works for me. I used it a year ago but I tweaked it a little bit.
Judgelemental is offline  
Thanks
1 User
Old 03/13/2022, 12:06   #6

 
lidzy's Avatar
 
elite*gold: 5
Join Date: Sep 2019
Posts: 128
Received Thanks: 17
Quote:
Originally Posted by Judgelemental View Post
Hello!
I achieved something like this a long time ago, however I am not sure about the exact query.
One thing is for sure, though. To achieve your desired results you must look at Tab_RefNest, respectively dwDelayTimeMin and dwDelayTimeMax.
I've got 0 on dwDelayTimeMin and 1 on dwDelayTimeMax.

Not sure if this is the best approach so keep that in mind.

PHP Code:
USE SRO_VT_SHARD

declare   [MENTION=287308]Min[/MENTION]Lv int 1
declare   [MENTION=301174]maXl[/MENTION]v int 110
declare   [MENTION=332061]reSpawn[/MENTION]TimeMin int 
declare   [MENTION=332061]reSpawn[/MENTION]TimeMax int 

begin
       
--select D.*
       
update D set dwDelayTimeMin =   [MENTION=332061]reSpawn[/MENTION]TimeMindwDelayTimeMax =   [MENTION=332061]reSpawn[/MENTION]TimeMax
       from _RefObjCommon 
as A
       inner join _RefObjChar 
as B on A.Link B.ID and A.CodeName128 like 'MOB%' and A.Rarity and B.Lvl between   [MENTION=287308]Min[/MENTION]Lv and   [MENTION=301174]maXl[/MENTION]v
       inner join Tab_RefTactics 
as C on C.dwObjID A.ID
       inner join Tab_RefNest 
as D on D.dwTacticsID C.dwTacticsID and D.dwDelayTimeMin >= 0
end 

I am not sure if this is the right query so please be careful.


Edit: EPVP ruined the query by adding [MENTION] ...............
suggest to use this query it works perfectly
lidzy is offline  
Thanks
1 User
Old 03/13/2022, 13:42   #7
 
srothanglong's Avatar
 
elite*gold: 0
Join Date: Apr 2019
Posts: 298
Received Thanks: 80
Quote:
Originally Posted by lidzy View Post
suggest to use this query it works perfectly
Thank you! Have you checked it already?
srothanglong is offline  
Old 03/13/2022, 15:31   #8

 
lidzy's Avatar
 
elite*gold: 5
Join Date: Sep 2019
Posts: 128
Received Thanks: 17
Quote:
Originally Posted by srothanglong View Post
Thank you! Have you checked it already?
yes but you have to be carefully take a backup before change anything
and depend on how many GS will working on so you can increase/decrease monsters easly
lidzy is offline  
Old 03/13/2022, 16:27   #9
 
srothanglong's Avatar
 
elite*gold: 0
Join Date: Apr 2019
Posts: 298
Received Thanks: 80
Quote:
Originally Posted by lidzy View Post
yes but you have to be carefully take a backup before change anything
and depend on how many GS will working on so you can increase/decrease monsters easly
Is not! I don't need to increase the number of spawned monsters. I just need to increase its appearance.
srothanglong is offline  
Old 03/13/2022, 19:44   #10

 
lidzy's Avatar
 
elite*gold: 5
Join Date: Sep 2019
Posts: 128
Received Thanks: 17
Quote:
Originally Posted by srothanglong View Post
Is not! I don't need to increase the number of spawned monsters. I just need to increase its appearance.
you can set it from this query also
this query increase/decrease
lidzy is offline  
Old 03/13/2022, 19:54   #11
 
elite*gold: 0
Join Date: Nov 2021
Posts: 36
Received Thanks: 0
SET TRN.dwMaxTotalCount *
qhuongli is offline  
Reply


Similar Threads Similar Threads
Requesting a query to increase/decrease mobs pls
07/25/2017 - SRO Private Server - 3 Replies
I don't know which one is good, I've tried: https://www.elitepvpers.com/forum/sro-pserver-ask -experts/1524408-req-how-increase-mobs-spawn-rate- vsro.html https://www.elitepvpers.com/forum/sro-pserver-gui des-releases/3779780-release-perfect-query-change- spawn-rate.html Well the first 1 tends to over do it.. even if you change the calculation, second one ruins the ratios. Or i could increase the dead mobs manually?
Increase the number of Kings to version 5095 is possible?
05/29/2014 - CO2 Private Server - 2 Replies
Increase the number of Kings to version 5095 is possible?
How can i increase the number of (max Capability)? in Sea Emulator
05/21/2010 - SRO Private Server - 8 Replies
hello How can i increase the number of (max Capability)? in Sea Emulator >> and its defult is 20 , and thnx :)



All times are GMT +1. The time now is 14:35.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.