Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 08:53

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

Advertisement



[Guide] Simple Query to Count Total Monster Spawns by Their Levels

Discussion on [Guide] Simple Query to Count Total Monster Spawns by Their Levels within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
witchymoo's Avatar
 
elite*gold: 40
Join Date: Jul 2013
Posts: 167
Received Thanks: 201
[Guide] Simple Query to Count Total Monster Spawns by Their Levels

hey

Here I'll share simple query about how to count total monster spawn categorized by their level, this should match total monster spawn you get when using gm command /worldstatus

This prolly useless to you but if you find it useful, feel free to develop it to match your needs

Now the boring part:
Code:
/*
 * Count total monster spawn categorized by level
 * Witchy Moo, 20150622
 */
SELECT d.CodeName128 AS 'Monster Code', e.Lvl AS 'Level', SUM(a.dwMaxTotalCount) AS 'Max Spawn'
	FROM Tab_RefNest a 
	INNER JOIN Tab_RefTactics b ON a.dwTacticsID = b.dwTacticsID
	JOIN Tab_RefHive c ON a.dwHiveID = c.dwHiveID
	JOIN _RefObjCommon d ON b.dwObjID = d.ID
	JOIN _RefObjChar e ON d.Link = e.ID
	JOIN _RefRegion f ON a.nRegionDBID = f.wRegionID
	WHERE d.Rarity IN (0,6)	-- Only select Regular and Elite, add 3,8 for uniques
	AND f.ContinentName NOT LIKE 'GOD_TOGUI'	-- Not including FGW monsters
	AND (d.[Service] = 1 AND d.Codename128 LIKE 'MOB_%' AND d.Codename128 NOT LIKE 'MOB_GOD_%')	-- Not including FGW monsters
	GROUP BY d.CodeName128, e.Lvl, d.Rarity ORDER BY e.Lvl ASC
Attached Images
File Type: jpg total-monster.jpg (63.7 KB, 169 views)
witchymoo is offline  
Thanks
10 Users
Old 06/24/2015, 13:54   #2


 
tschulian's Avatar
 
elite*gold: 294
Join Date: Sep 2013
Posts: 1,410
Received Thanks: 635
Usefull tho.
Thanks!
tschulian is offline  
Thanks
1 User
Old 06/26/2015, 08:29   #3
 
Justin1337*'s Avatar
 
elite*gold: 480
Join Date: Jan 2012
Posts: 655
Received Thanks: 579
Thanks witchymoo.
Justin1337* is offline  
Thanks
1 User
Old 06/27/2015, 07:41   #4
 
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
Good
Laag#82 is offline  
Thanks
1 User
Old 07/15/2015, 07:44   #5
 
elite*gold: 0
Join Date: Dec 2008
Posts: 38
Received Thanks: 14
Actually matches worldstatus command, so neat to have an accurate documentation for this.
ersers2 is offline  
Old 07/18/2015, 11:16   #6
 
elite*gold: 1
Join Date: Jul 2015
Posts: 207
Received Thanks: 60
useful as usual
B1Q B0SS is offline  
Reply

Tags
sql query monster count


Similar Threads Similar Threads
Monster Spawns - Big
09/18/2013 - CO2 Private Server - 4 Replies
So, is there anybody that could help in how to increase monster spawns at c# 5679?
[Help] NPC that spawns a monster.
07/11/2011 - CO2 Private Server - 4 Replies
I'm trying to code an NPC that will spawn a monster right next to it. Example: if(Control == 0) { GC.AddSend(Packets.NPCSay("Would you like me to spawn a Birdman?")); GC.AddSend(Packets.NPCLink("Yes!", 1)); GC.AddSend(Packets.NPCLink("No.", 255));
hello ?? need some help at my monster spawns please ...
07/09/2010 - CO2 Private Server - 2 Replies
hello ... i got some probs with the monsters .... it's dosn't spawn like how it must be .. when i kill .... even i waited a long time ... how to make more monsters spawns ??? please some one explain to me ...
Level 100 1450+ Total Levels
01/13/2010 - Runescape Trading - 2 Replies
Dragon Legs Dragon Helm Dragon Scimitar Dragon Dagger P+ Dragon Longsword Dragon Guantlets Dragon Boots Tokul Kuz Shield Whip 2 Million Cash
Monster Spawns
10/29/2008 - Conquer Online 2 - 1 Replies
Hi i'm doing my quest for monster hunter now but i don't realy know the spawns of the monsters (the quest above 120). Can someone (with alot of time lol) make some maps with the spawns or something?:D :pimp: Thank u



All times are GMT +1. The time now is 08:53.


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.