Not to sound rude or anything, but your posts go back and forth between English and German, which you obviously speak both quite well. May I make a simple request? Pick a language or post with a translation of both.
Again, I understand this is your choice, I just fail to see the point of bouncing back and forth. All it does is cause a person to need a translator for one post, but not another, and then again for the next.
I suppose if this works for only a DE client, it is sensible, but somehow, I doubt that.
Loose translation for everyone else:
"Here is a small script to balance character creation on both factions. It may not be for all, but it is useful, for some. UM is automatically unlocked.
Players simply log in, and create a toon on an automatically chosen faction screen. Players can bypass this by simply choosing the DELETE option once on the screen.
Insert the following changes into usp_Try_GameLogin_Taiwan:"
Code:
-- ********* SHAIYA ALLIANCE ********* --
-- Auto Team balance
-- By [Dev]HoaX (c)2011 - 2015
DECLARE @enabled bit
-- !- 1 = Enabled / 0 = Disabled -!
SET @ENABLED = 1
-- !------------------------------!
IF (@ENABLED = 1)
BEGIN
DECLARE @Country tinyint, @light int, @fury int, @exist int
SET @UserUID = (SELECT TOP 1 UserUID FROM PS_UserData.dbo.Users_Master WHERE UserID = @UserID)
SET @exist = (SELECT COUNT(UserUID) FROM PS_GameData.dbo.UserMaxGrow WHERE UserUID = @UserUID)
IF (@exist = 0)
BEGIN
SET @light = (SELECT COUNT(Country) FROM PS_GameData.dbo.UserMaxGrow WHERE Country = 0)
SET @fury = (SELECT COUNT(Country) FROM PS_GameData.dbo.UserMaxGrow WHERE Country = 1)
IF (@light <= @fury)
BEGIN
SET @Country = 0
END
IF (@light >= @fury)
BEGIN
SET @Country = 1
END
INSERT INTO PS_GameData.dbo.UserMaxGrow(ServerID, UserUID, Country, MaxGrow, Del)
VALUES(1, @UserUID, @Country, 3, 0)
END
END
-- ************************************** --
Credits to the OP.