User:Plutocracy

From OuroDev
Revision as of 21:33, 25 April 2019 by Plutocracy (talk | contribs) (Created page with "== Useful Snippets == ====== Move Character Between Accounts ====== <nowiki>UPDATE [cohdb].[dbo].[Ents] SET Active = '1', AuthId='<ID>', AuthName='<Accname>' WHERE Name = '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Useful Snippets

Move Character Between Accounts
UPDATE [cohdb].[dbo].[Ents]
SET Active = '1', AuthId='<ID>', AuthName='<Accname>'
WHERE Name = '<character name>'
Set Access Level 10 (Admin) for Character
UPDATE [cohdb].[dbo].[Ents] SET [AccessLevel] = 10 WHERE [Name] = 'charnamehere'
RegEx for Adding Transient Flags to maps.db
Find: ^.+End
Replace: \tTransient 1\n$0
  • Allows city zone mapserver instances to unload, but may cause unexpected behavior with door mission entrances.