Here is a theory about the database -> Targeting _Items in Shard.
Problem:
My Server currently has over 13million items in the _Items table, which is ******* insane considering we have only been on for 1 month but with over 120,000 characters + 40,000 users.
Now what i found is that these files are seriously lacking performance and incomplete, and there is no way any server with that many items in the database will say "We have 0% lag" because thats just bull **** and fake! And i assume im not the only one who realized this..
Solution:
- I Already modified 40% of my files stored procedures for better performance, but thats not good enough. So here is my real solution.
Step 1) Remove Items from the database when a user drops them [100%]
Step 2) Remove Items from the database when a char is deleted [100%]
Step 3) Remove Items from the database where items dont exist in "Pet inventory / Inventory / Guild ware house / Ware house" [100%]
Here is a theory about the database -> Targeting _Items in Shard.
Problem:
My Server currently has over 3million items in the _Items table, which is ******* insane considering we have only been on for 1 month but with over 120,000 characters + 40,000 users.
Now what i found is that these files are seriously lacking performance and incomplete, and there is no way any server with that many items in the database will say "We have 0% lag" because thats just bull **** and fake! And i assume im not the only one who realized this and there are few people who are smart around here.
Solution:
- I Already modified 40% of my files stored procedures for better performance, but thats not good enough. So here is my real solution.
Step 1) Remove Items from the database when a user drops them [40%]
Step 2) Remove Items from the database when a char is deleted [10%]
Step 3) Remove Items from the database where items dont exist in "Pet inventory / Inventory / Guild ware house / Ware house" [0%]
I would like to hear some thoughts about this?
i think is a good idea
maybe items from chars that where deleted time ago, not immediately
but is a good idea
Better find a solution for the thing that causes that. If you have 3m items in database its probably because you start a char with about 100 items and when people just create new chars to get new nova+5 weapons to pimp their gear thats how you get stacked so much items.
So maybe make wipe for existing problem and add nova items to npc so you wont get 40k accounts and such problem?
What you are saying, though being a good idea, is not that easy to do.
From here on, take in account I have never seen any file nor DB of SRO in action.
The best approach to do what you are proposing would be a C++ (or C#) application which looped through the entire items table and cheking up spawn date + ownership deleted them or not.
Until here it is "kinda easy" to do, the problems come now:
1. If you delete an item from the DB which is just being used by the server, it would crash.
2. If you delete an item from DB but server keeps it in memory and further requests are made to the item, server would keep acting as the item existed while it didn't
3. If a player is next to the item when deleted from DB, the player could still view the item (no despawn packet could be send at all) though item didn't exist.
4. Anything like those 3.
The only solution to the above problems would be doing maintainance to the server each X days, and then restarting the server. But as you may understand that would imply not being able to despawn items at the moment (just as isro and so).
I cant create search loops with 1000 people on... that will destroy the server :P
Although you raise some interesting problems, Well, hopefully im right by saying this statment "i know 100% how to remove an item from the game".
My issues comes with after removing the unsed items, which is being scared of getting duplicates but i monitored how the game adds items to the database, and it doesnt fill holes, it justs continues with the Primary Counter Key.
We removed 7 million items from the game! and fixed every VSRO problems! and We are the first to do it!!!
Now what happens:
- If you delete a character, all items related will be deleted
- If you drop an item and it disappears, it will be deleted from the game.
Mission successful, no lags, no duplicates, no holes!!!
In Need of Developers 06/09/2011 - Dekaron Private Server - 24 Replies As the title says.
We are currently running on a dedi, using KingTuts Action 9 Release Client.
Working on starting a new gaming network. I Need Graphics Designers, and skilled developers, that can add, fix, and tweak. Add me at [email protected] if you are interested, and please, if your not interested, don't leave a nasty comment about why it is that you aren't.
More people then 40 people in isle of conquest 08/29/2009 - WoW Exploits, Hacks, Tools & Macros - 1 Replies Hello,
needed
warlock 1 or more the more how faster
waterwalking elixer or an dk
people to summon
isle of conquest has water around it
instand high walz like ab wsg etc you can easy run out the battleground
and go to unknown area's
Moonbox Theory (Just a theory, don't flame =D) 01/17/2009 - Conquer Online 2 - 10 Replies Looks like my theory was wrong. Looks like all Moonboxes are Moonbox. If you can prove that it isn't, by all means let me know =P
[Help]People can't Kill people in a normal attack. 11/10/2008 - CO2 Private Server - 0 Replies People can't attack each other in a PK place in a normal attack they only can attack each other with a skill(fastblade and other)
and before it worked now it is not =/
Any help?