Server Merging + Item ID's
So I've got a little question.
Lets just say I want to merge 2 servers together.
What happens if there are items with the same unique ID numbers?
Will one of the items disappear? Or doesn't the server care.
What about the .itm files in the "LogItemData" are these files read by the game in any way, or are they just item log files for backup purposes.
Are the item stats stored on the character and warehouse files? Or are the stats pulled from the said "LogItemData" folder.
Thanks for your help.
Re: Server Merging + Item ID's
I never did server merge but I think all you need is a script that will change accounts and char names.
In server folder we have some migration tools like: emigration.exe and convert.exe those two can show you the way =P
- I think that nothing will happen when two items will have same ID. You can clone your items right now and nothing will happen.
I don't remember but I think there was a tool that was looking for duplicated IDs.
- Items in LogItemData can be deleted any time, the are only useful for admin (restoring items).
- Items that are stored in warehouse are stored in .war files, Items in player inventory are stored in .dat files.
__EDIT__
App to check duplicated IDs:
http://pt.gregooverse.net/?c=program...k_program_dupe
"He" might know more if duplicated item ID will create any problem but I myself duplicated whole accounts without problem so I guess not :)
Migration tools I mentioned are in server packs Fusion_Dev_Repack_kpt_1871 and McMadness Repack Server, they might be official tools but I'm not sure, they also could be created by Chinese hackers.
If you dig more you might be able to find one more tool for server merging but I think it was doing same thing as those two.
Re: Server Merging + Item ID's
Items with similar IDs aren't a problem as long as they don't end up in the same inventory.
If they do, they character will be disconnected and both items will disappear.
For the .itm files as far as I know they are just read when you do a get @_ or a put @_
Re: Server Merging + Item ID's
I agree. They (.itm files) tend to be created (from what I could tell) when an item is dropped on the floor, and there is no log with that ID already existing.
Outside of the .itm files, the item ID (which is actually only the numbers after the @ in the .itm name, as far as I could tell) is only kept in the character file, (.dat) and warehouse. (.war)
I've not merged servers, but have imported a character from one server into another. As Gregoo says, the server usually detects when two items of the same name appear in the inventory, then the character is DC with an item dupe hacking attempt log. :( I've also seen it do this when two characters drop different items with the same ID on the floor during the same server session though... even if the actual item isn't anything like its ID counterpart.
I didn't understand much at the time, and was just trying to get the character imported successfully. I'd done backup zips of all characters on the target server, and of the character I was importing from another server. The easy solution was to find the items which conflicted and destroy one and recreate it with a new ID. (just spawn a similar item, preferably one which doesn't need to be aged ^_^)
To do that with a large number of characters would be hard work, I think. You may want to think hard on an alternate method, but I'm not sure what that method may be.
Re: Server Merging + Item ID's
Thanks guys, I appreciate the help!