Auto class rank

Results 1 to 9 of 9
  1. #1
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    Auto class rank

    I've searched the forum, and did find a guide on how to change the starter settings when creating a new char.
    and I'd like to do auto rank up, but there's no colum for it in cabal_newchardata_table..

    Anyone got an idea on how to do this?


  2. #2
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Auto class rank

    There is no column because it is part of the "style" value in the character table.

    http://forum.ragezone.com/f460/tips-...s-rank-427839/

    Many things make up the style value:
    http://forum.ragezone.com/f459/php-s...-style-448801/

  3. #3
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    Re: Auto class rank

    So what has to be done, so I get class rank 19 at server start?

  4. #4
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Auto class rank

    The class values in the newEtcData table for the template set you are using becomes the style in the db. There is no easy way to change it because the server expects values 1-6 to read the template data, change those and the server won't be able to find the template data as all it is given is a style number (1-6). It would involve change to db layouts and stored procedures that i'm simply not doing to mine.

    Honestly, why does nobody realise that messing with things given to you by quests is a bad idea.

    EDIT: Oh well, if you really want. Open cabal_sp_newchar and find this query. The @style value is what gets given to the char, it's 1-6, just add 152.
    Code:
    		insert into cabal_character_table( CharacterIdx, Name, LEV, [EXP], [STR], DEX, [INT], PNT, Rank, Alz,
    			WorldIdx, [Position], Style, HP, MP, SP, SwdPNT, MagPNT, RankEXP, Flags, WarpBField, MapsBField, Reputation, Reserved1 )
    		select  @characteridx, @charname, LEV, [EXP], [STR], [DEX], [INT], [PNT], Rank, Alz,
    				WorldIdx, Position, @style, HP, MP, SP, SwdPNT, MagPNT, RankEXP, Flags, WarpBField, MapsBField, Reputation, Reserved1
    		from #TempTable

  5. #5
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    Re: Auto class rank

    Hmm ok, that's beyond my knowledge..
    I was more thinking of a trigger that does it..

  6. #6
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Auto class rank

    You posted before i finished the edit so cheeky bump.

  7. #7
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    Re: Auto class rank

    Quote Originally Posted by chumpywumpy View Post
    You posted before i finished the edit so cheeky bump.
    Shall I replace @style with 152 or do like this @152?

    edit: I replaced it with 152 and logged in and created a char, it worked but i had 50k atk,def rate etc
    and 2280034 mana/hp lol

  8. #8
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Auto class rank

    no, @style+152 (it needs to be added to the existing)

  9. #9
    Account Upgraded | Title Enabled! MaximumSatan is offline
    MemberRank
    May 2009 Join Date
    SwedenLocation
    317Posts

    Re: Auto class rank

    Working now, thank you very much.



Advertisement