Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

Page 4 of 9 FirstFirst 123456789 LastLast
Results 46 to 60 of 124
  1. #46
    Member longway is offline
    MemberRank
    Sep 2012 Join Date
    Alexandria, EgyLocation
    76Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    hay blacksheep25 or witchymoo
    realy copun have bug,s he freez my login screen (for know i use Kara DB , same DB you used witchymoo)

  2. #47
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Quote Originally Posted by longway View Post
    hay blacksheep25 or witchymoo
    realy copun have bug,s he freez my login screen (for know i use Kara DB , same DB you used witchymoo)
    I use RevoLand DB released here. and IF we are using same DB you won't get any problem ;)

    Try cleaning your char inventory first, clean everything from the SQL, then try login again. Some of items you put in the SP are disabled in your db or media.

  3. #48
    Member longway is offline
    MemberRank
    Sep 2012 Join Date
    Alexandria, EgyLocation
    76Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    ^^ can you come T.V and take look in it ? if you have time?

  4. #49
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    The fastest way to clear character inventory:
    Code:
    USE [SRO_VT_SHARD]
    GO
    DECLARE @CharID INT = <YourCharIDHere>
    DECLARE @TSlots INT = 0
    DECLARE @CharSlot INT = 0
    SELECT @TSlots = COUNT(Slot) from _Inventory WHERE CharID = @CharID
    WHILE @CharSlot <= @TSlots
    BEGIN
        EXEC [_STRG_DEL_ITEM_NoTX] 1, @CharID, @CharSlot
        SET @CharSlot = @CharSlot + 1
    END
    Put your char ID there and run it.

  5. #50
    Member longway is offline
    MemberRank
    Sep 2012 Join Date
    Alexandria, EgyLocation
    76Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    ok i will clear my inventory and try and tell if it work or no

    Bro now scroll work but when i tel port nothing get ?
    Last edited by longway; 01-12-13 at 09:56 AM.

  6. #51
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Quote Originally Posted by longway View Post
    ok i will clear my inventory and try and tell if it work or no

    not work dud
    Then delete the char, "dud". Your problem isn't unique one but since you don't understand it (based on your other posts in other threads I read), I can no longer help you beyond this point. good luck.

    Quote Originally Posted by longway View Post
    ok i will clear my inventory and try and tell if it work or no

    Bro now scroll work but when i tel port nothing get ?
    Code:
    EXEC [_ADD_AUTOEQUIP_GEAR], 'charname', 7
    See what you get.

  7. #52
    Member longway is offline
    MemberRank
    Sep 2012 Join Date
    Alexandria, EgyLocation
    76Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Code:
    EXEC [_ADD_AUTOEQUIP_GEAR], 'charname', 7
    See what you get.[/QUOTE]

    Msg 105, Level 15, State 1, Line 1
    Unclosed quotation mark after the character string '_ADD_AU
    '.
    Msg 102, Level 15, State 1, Line 1
    Incorrect syntax near '_ADD_AU
    '.

    Work now thx i found the error ^^

    witchymoo
    can telll me i i need to removed D1 to D3 from Auto Equipment from where ? in _Add_AUTOEQUIP_GEAR

  8. #53
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Code:
            WHEN @CurLevel < 13 THEN '01'
            WHEN @CurLevel < 21 THEN '02'
            WHEN @CurLevel < 29 THEN '03'
    Modify _AddLogChar as well:
    Code:
        -- Character reached certain level
        IF (@Data2 = 37 OR @Data2 = 47 OR @Data2 = 57 OR @Data2 = 69 OR @Data2 = 81)

  9. #54
    Proficient Member P0kemonMast is offline
    MemberRank
    Jun 2012 Join Date
    156Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Alright i tried this , and so far the automatic equipment works fine. Haven't had any issues. I haven't tested with every single char tho. But so far so good.

  10. #55
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Quote Originally Posted by P0kemonMast View Post
    Alright i tried this , and so far the automatic equipment works fine. Haven't had any issues. I haven't tested with every single char tho. But so far so good.
    You can test on every single race and equip by giving those char Coupon instead of waiting them to level up :)

  11. #56
    Proficient Member Royalblade is offline
    MemberRank
    Jan 2013 Join Date
    167Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Good job Witchy Moo.

    Seems like you know what your doing, however this thing is slow as fuck.. I mean.. really slow.
    Why do you do this via codenames?

    The whole thing can be done in less than 100 lines and without using 150 variables.
    I won't give you the whole code, but let me tell you what i mean.

    You get the gender and check for EU/CH
    You put a while loop for slot 1 to 12 and != 8 first.
    Select the id64 and refobjid for each slot (use whileloops intflag)

    Select the typeids1-4 for the current equipped items in case id64 is not null.
    Load variables (params, refitemids, variances) from a custom made table which has a gender column, basic_level column and a one for EU/CH distinguishment.

    You might also add these to refobjcommon.. your choice. However, It's better to make a new properly indexed smaller table for it, due to the fact that you can explicitly allow certain items and disallow others... easier to configure your data that way.

    In case that the slot was empty.. simply load top 1 highest id where basic_level <= @level.
    You can make a case above somewhere to load the mastery or the charlevel into @level, depending on the race.

    Then you make a update _Items if id64 is nto null else make fn add initial equip for slot @intflag

    That should be around 60-80 lines.

  12. #57
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Hey there

    Well, It's actually a good idea, out of 109 slots I can actually limit the whileloop only to 12

    however, about item code, i use it so whoever using this SP can only set something simple like "A_RARE" or something, in case they wanna change equips. If I put item codes, they have find the code of corresponding items and put in setting, it's not really that simple for "instant users".

    About item detection, I tried to make it as flexible as it can, so either players only wear 1 item it doesn't matter.

    Bottomline, it's for simplicity and flexibility to whoever use it. If you have simpler code that can provide same simplicity and flexibility would be nice if you can share.

    thank you :)

  13. #58
    Proficient Member Royalblade is offline
    MemberRank
    Jan 2013 Join Date
    167Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    Soz, I ain't the knight who shares ^^

    There is no real dev community left. If you release something, people will use it to make money. They don't share shit and keep opening more and more 'new servers with new systems'.

    Rather than that, make things difficult enough so that only experienced people can use it... it shouldn't work outside the box without any 'knowledge'.

  14. #59
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    As you wish ;)

    Anyway, I agree at some part.

  15. #60
    Proficient Member concucu021 is offline
    MemberRank
    Jan 2012 Join Date
    150Posts

    Re: Alternative new [Auto Equipment] system (by coupon OR automatic, your choice) :)

    not work for me.

    when use item



    then,im execute query, wait wait and not complete



    but, close SR_Gameserver


    This Query complete




Advertisement