Return of the Pharaohs▣Cap 110▣PvE▣Fresh opening 01.08.2014▣Join us!

08/01/2014 17:50 wayback#556
what about sun's fron npc are fb?or clean?
08/01/2014 17:51 hyjdla12#557
Did the server already start (I don't mean beta)?
I'd like to play a nice SRO server finally! :)
08/01/2014 17:51 SkillsGoPewPew#558
Quote:
Originally Posted by wayback View Post
what about sun's fron npc are fb?or clean?
Yes clean.

Quote:
Originally Posted by hyjdla12 View Post
Did the server already start (I don't mean beta)?
I'd like to play a nice SRO server finally! :)
No will start in 3 hours and 5 minutes.
08/01/2014 17:54 megam#559
oXo what did you add in Holy Water Temple i wish you added gold coins for fair play

read page 38&39 for more bugs and unbalance
08/01/2014 17:54 oame1993#560
Quote:
Originally Posted by oXo™ View Post
I wish we knew how to limit the union.
You can make the system add automatically 2 guilds when that person creates a guild and make the system to give an error whenever he tries to ban them
08/01/2014 17:56 SkillsGoPewPew#561
Quote:
Originally Posted by megam View Post
oXo what did you add in Holy Water Temple i wish you added gold coins for fair play
Yes added gold coins and silver coins.
08/01/2014 17:58 megam#562
Quote:
Originally Posted by oXo™ View Post
Yes added gold coins and silver coins.
NICE OXO YOUR THE BEST ! :)
08/01/2014 17:59 alpmaster#563
best server!
08/01/2014 17:59 SkillsGoPewPew#564
Quote:
Originally Posted by oame1993 View Post
You can make the system add automatically 2 guilds when that person creates a guild and make the system to give an error whenever he tries to ban them
If you knwo more add me on skype or if you got the system.
08/01/2014 17:59 maniek1309#565
server stars in 3h or 4h?
08/01/2014 18:00 Jimmy*#566
Quote:
Originally Posted by oXo™ View Post
I wish we knew how to limit the union.
Code:
USE [SRO_VT_SHARD]

GO
/****** Object:  StoredProcedure [dbo].[_Guild_Create]    Script Date: 14.06.2014 16:53:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO




--
ALTER PROCEDURE [dbo].[_Guild_Create]
    @guildName    varchar(64),
    @CreaterID    int
as
    if (exists (select id from _Guild where Name = @guildName))
    begin
        return -1000
    end
    if (exists (select CharID from _GuildMember where CharID = @CreaterID))
    begin
        return -1001
    end
begin transaction
    
    declare @guildID    int
    declare @FoundationDate  smalldatetime
    
    set @FoundationDate = GetDate()
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_1', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_2', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_3', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_4', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_5', 1, 0, @FoundationDate,0,0)


    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName, 5, 0, @FoundationDate,0,0)
    set @guildID = @@identity
    
    if (@@error <> 0 or @@rowcount = 0 or @guildID = 0)
    begin
        rollback transaction
        return -5
    end


    --길드장은 퍼미션이 0xffffffff !!
    declare @rvalue int
    exec @rvalue = _Guild_FnAddMember @guildID, @CreaterID, 0, @FoundationDate,0xffffffff
    if (@@error <> 0 or @rvalue <= 0)
    begin
        rollback transaction
        return @rvalue
    end
    
    -- 길드 창고를 생성하자
    exec @rvalue = _Guild_CreateChest_NoTX @guildID
    if (@@error <> 0 or @rvalue <= 0)
    begin
        rollback transaction
        return @rvalue
    end


commit transaction
    return @guildID
here you go the query make it 2 as union limit
08/01/2014 18:02 SkillsGoPewPew#567
Quote:
Originally Posted by Kevin1337* View Post
Code:
USE [SRO_VT_SHARD]

GO
/****** Object:  StoredProcedure [dbo].[_Guild_Create]    Script Date: 14.06.2014 16:53:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO




--
ALTER PROCEDURE [dbo].[_Guild_Create]
    @guildName    varchar(64),
    @CreaterID    int
as
    if (exists (select id from _Guild where Name = @guildName))
    begin
        return -1000
    end
    if (exists (select CharID from _GuildMember where CharID = @CreaterID))
    begin
        return -1001
    end
begin transaction
    
    declare @guildID    int
    declare @FoundationDate  smalldatetime
    
    set @FoundationDate = GetDate()
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_1', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_2', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_3', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_4', 1, 0, @FoundationDate,0,0)
    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName+'_ULimit_5', 1, 0, @FoundationDate,0,0)


    insert _Guild(Name, Lvl, GatheredSP, FoundationDate,Alliance,Booty) values @guildName, 5, 0, @FoundationDate,0,0)
    set @guildID = @@identity
    
    if (@@error <> 0 or @@rowcount = 0 or @guildID = 0)
    begin
        rollback transaction
        return -5
    end


    --길드장은 퍼미션이 0xffffffff !!
    declare @rvalue int
    exec @rvalue = _Guild_FnAddMember @guildID, @CreaterID, 0, @FoundationDate,0xffffffff
    if (@@error <> 0 or @rvalue <= 0)
    begin
        rollback transaction
        return @rvalue
    end
    
    -- 길드 창고를 생성하자
    exec @rvalue = _Guild_CreateChest_NoTX @guildID
    if (@@error <> 0 or @rvalue <= 0)
    begin
        rollback transaction
        return @rvalue
    end


commit transaction
    return @guildID
here you go the query make it 2 as union limit
I will test it now.
08/01/2014 18:02 megam#568
About people who asks for vote4silks it will be disable becasue who has dynamic IP can get huge silks with alot of accounts he will add 2silk/hour to prevent cheats in vote4silks
08/01/2014 18:03 gokhan81#569
After several hours to unfold?
08/01/2014 18:04 SkillsGoPewPew#570
Quote:
Originally Posted by megam View Post
About people who asks for vote4silks it will be disable becasue who has dynamic IP can get huge silks with alot of accounts he will add 2silk/hour to prevent cheats in vote4silks
Really sorry but the Vote4Silk is on account, not on IP.