[Release] Holy Symbol[Updated again]

Page 1 of 3 123 LastLast
Results 1 to 25 of 51
  1. #1
    Account Upgraded | Title Enabled! doyos is offline
    MemberRank
    Apr 2008 Join Date
    267Posts

    [Release] Holy Symbol[Updated again]

    Today a friend let me on her priest in order to get the holy symbol packet information. So I bring to you a working holy symbol.

    First of all, Skills.cpp:
    Code:
    // Holy Symbol
    	player.type = 0x1;
    	player.byte = 4;
    	player.value = SKILL_X;
    	skillsinfo[2311003].player.push_back(player); // Priest
    	skillsinfo[5101002].player.push_back(player); // Super GM
    Now open Mobs.cpp and find a line similar to:

    Code:
    Levels::giveEXP(player, mobinfo[mob->getMobID()].exp
    And replace it with:

    Code:
    float exprate = 1;
    
    	// Account for Holy Symbol
    	float hsrate = 0;
    	if(player->skills->getActiveSkillLevel(2311003)>0){
    		hsrate = Skills::skills[2311003][player->skills->getActiveSkillLevel(2311003)].x;
    	}
    	else if(player->skills->getActiveSkillLevel(5101002)>0){
    		hsrate = Skills::skills[5101002][player->skills->getActiveSkillLevel(5101002)].x;
    	}
    	hsrate = hsrate/100;
    	exprate = exprate+(exprate*hsrate);
    
    	Levels::giveEXP(player, mobinfo[mob->getMobID()].exp * exprate);
    In order for GM HS to work, you need to add an entry for it in the skills database. If you are using my SQL database, do the following:

    Code:
    INSERT INTO skilldata (skillid, time, x) VALUES (5101002, 1800, 50);
    If you're using the archaic XML crap, make your own XML as I do not supply them. :P

    You can change exprate to whatever you want it to be for your server. Personally, I have mine tiered dued to the nature of exp requirements so that people can level quickly at pretty much any level yet be able to breath between levels in the lower levels, but you can do as you will with it. Cheers. =]
    Last edited by doyos; 30-04-08 at 08:13 PM. Reason: Fixed a small syntax error that would cause copypastas some problems


  2. #2
    Account Upgraded | Title Enabled! DarkZero88 is offline
    MemberRank
    Apr 2008 Join Date
    357Posts

    Re: [Release] Holy Symbol

    Doyos i need to tell you something..... I LOVE YOU FFS >=O

  3. #3
    Account Upgraded | Title Enabled! zander145 is offline
    MemberRank
    Apr 2008 Join Date
    Norfolk, VALocation
    966Posts

    Re: [Release] Holy Symbol

    Ty for the release, i would love it but its a private server and i can play w/ the exp rate anyway xD great release tho <3

  4. #4
    Account Upgraded | Title Enabled! DarkZero88 is offline
    MemberRank
    Apr 2008 Join Date
    357Posts

    Re: [Release] Holy Symbol

    well not for you, for the other one that plays and want more exp ?

  5. #5
    Valued Member Jamoora is offline
    MemberRank
    Apr 2008 Join Date
    115Posts

    Re: [Release] Holy Symbol

    Omg, where do we repalce the code that goes to Skills.cpp? Im a noob srry, I just can't find the right area.

  6. #6
    Account Upgraded | Title Enabled! zander145 is offline
    MemberRank
    Apr 2008 Join Date
    Norfolk, VALocation
    966Posts

    Re: [Release] Holy Symbol

    They can whisp me or smega and i'll change it for them, and if they ask 2 much i just do !exprate 0 xD

  7. #7
    Valued Member ikacymage is offline
    MemberRank
    Apr 2008 Join Date
    128Posts

    Re: [Release] Holy Symbol

    i didnt find similair lines for //holy symbol so i didnt know where to add the first code...

  8. #8
    Account Upgraded | Title Enabled! DarkZero88 is offline
    MemberRank
    Apr 2008 Join Date
    357Posts

    Re: [Release] Holy Symbol

    well Zander, not everyone will want the exprate to be higher i mean its just for the comfort of everyone and the fact that more skills are working

  9. #9
    Valued Member ikacymage is offline
    MemberRank
    Apr 2008 Join Date
    128Posts

    Re: [Release] Holy Symbol

    "float exprate = 1;"
    does this change it by percent? ex: my servers intitial exp is 10 if i set it to 2 would it change their temporary exp to 20?

  10. #10
    Account Upgraded | Title Enabled! zander145 is offline
    MemberRank
    Apr 2008 Join Date
    Norfolk, VALocation
    966Posts

    Re: [Release] Holy Symbol

    If u think i was trying to put the release down ur wrong 0-0 i was just saying something not trying to start a arguement >.>

  11. #11
    Account Upgraded | Title Enabled! doyos is offline
    MemberRank
    Apr 2008 Join Date
    267Posts

    Re: [Release] Holy Symbol

    Quote Originally Posted by zander145 View Post
    Ty for the release, i would love it but its a private server and i can play w/ the exp rate anyway xD great release tho <3
    This skill is pretty much the most important skill a priest will ever have. Not only for a party, but in general. Even if you can alter the EXP rates to be really high, a priest pretty much requires this to level as fast as other classes. Also, skills are important to have working. Cheers.

    ikacymage: It's a multiplier. 1 = 1x, just look at the math in the code.

  12. #12
    Valued Member ikacymage is offline
    MemberRank
    Apr 2008 Join Date
    128Posts

    Re: [Release] Holy Symbol

    where do i put the first code im confused o_O

  13. #13
    Account Upgraded | Title Enabled! doyos is offline
    MemberRank
    Apr 2008 Join Date
    267Posts

    Re: [Release] Holy Symbol

    Quote Originally Posted by ikacymage View Post
    where do i put the first code im confused o_O
    Make sure you're using rev008. This isn't for 007. The skill coding is different for the two, so just pay attention to the code.

  14. #14
    Account Upgraded | Title Enabled! Derek3771 is offline
    MemberRank
    Aug 2006 Join Date
    204Posts

    Re: [Release] Holy Symbol

    Dang I need the XML lol.
    ]

    Also on chiasoft it was already release.

  15. #15
    Valued Member ikacymage is offline
    MemberRank
    Apr 2008 Join Date
    128Posts

    Re: [Release] Holy Symbol

    oh alright lol im using 07 >< not 08 is there a working one for 07?

  16. #16
    Account Upgraded | Title Enabled! DarkZero88 is offline
    MemberRank
    Apr 2008 Join Date
    357Posts

    Re: [Release] Holy Symbol

    Quote Originally Posted by Derek3771 View Post
    Dang I need the XML lol.
    ]

    Also on chiasoft it was already release.
    Correct me if i am wrong but the XML is already in your database O_O

  17. #17
    Account Upgraded | Title Enabled! theonendonly is offline
    MemberRank
    Apr 2008 Join Date
    411Posts

    Re: [Release] Holy Symbol

    Quote Originally Posted by ikacymage View Post
    oh alright lol im using 07 >< not 08 is there a working one for 07?
    someones going to have to convert it =P
    thers a guide on how to but yea someone make it compatible for rev7 pl0x [=

  18. #18
    Account Upgraded | Title Enabled! doyos is offline
    MemberRank
    Apr 2008 Join Date
    267Posts

    Re: [Release] Holy Symbol

    Quote Originally Posted by DarkZero88 View Post
    Correct me if i am wrong but the XML is already in your database O_O
    The priest one is, just not the GM one.

    @Derek3771: I don't pay as much attention to the boards(not just chiasoft, this one and others as well) as I should, so I often have no idea what's going on there. lol

    EDIT: You sure you're not seeing my release of it on chiasoft? That's the only one in the release section. lol

  19. #19
    Account Upgraded | Title Enabled! DarkZero88 is offline
    MemberRank
    Apr 2008 Join Date
    357Posts

    Re: [Release] Holy Symbol

    well doyos wont he just need to copy paste it ? if the gm one is there ?

  20. #20
    Account Upgraded | Title Enabled! doyos is offline
    MemberRank
    Apr 2008 Join Date
    267Posts

    Re: [Release] Holy Symbol

    Quote Originally Posted by DarkZero88 View Post
    well doyos wont he just need to copy paste it ? if the gm one is there ?
    Well GM holy symbol at level 1 is liked max priest holy symbol without any MP useage and it lasts a half hour, so that wouldn't entirely work but with minimal extra effort to edit the file it would.

  21. #21
    Account Upgraded | Title Enabled! DarkZero88 is offline
    MemberRank
    Apr 2008 Join Date
    357Posts

    Re: [Release] Holy Symbol

    OOO TRUE but yeah would actually work whit lil bit of effort xP

  22. #22
    Valued Member LeoDirk is offline
    MemberRank
    Apr 2008 Join Date
    140Posts

    Re: [Release] Holy Symbol

    Nice addition, had to convert it to rev 7 for my server though, not too hard. Oh I'm pretty sure
    Code:
    float exprate = 1;
    
    	if(player->skills->getActiveSkillLevel(2311003)>0){ // Account for Holy Symbol
    		float hsrate = Skills::skills[2311003][player->skills->getActiveSkillLevel(2311003)].x;
    		hsrate = hsrate/100;
    		exprate = exprate+(exprate*hsrate);
    	}
    
    	Levels::giveEXP(player, mobinfo[mob->getMobID()].exp * exprate);
    Should be

    Code:
     float exprate = 1;
    
    	if(player->skills->getSkillLevel(2311003)>0 || player->skills->getSkillLevel(5101002)>0){ // Account for Holy Symbol
    		float hsrate = Skills::skills[2311003][player->skills->getActiveSkillLevel(2311003)].x;
    		hsrate = hsrate/100;
    		exprate = exprate+(exprate*hsrate);
    	}
    
    	Levels::giveEXP(player, mobinfo[mob->getMobID()].exp * exprate);
    EDIT: oops, the one above here is for rev7 for GM HS to work too, if you want it for rev8 just replace 'getSkillLevel' with 'getActiveSkillLevel'

    Lol edit again, that doesnt work, ill fix it in a sec just now tested it.

  23. #23
    Member Lorrenzo is offline
    MemberRank
    Apr 2008 Join Date
    OH - - - IOLocation
    97Posts

    Re: [Release] Holy Symbol

    Thanks, although I can't use the sql database stuff..
    All my npcs and maps are messed

  24. #24
    Account Upgraded | Title Enabled! theonendonly is offline
    MemberRank
    Apr 2008 Join Date
    411Posts

    Re: [Release] Holy Symbol

    im using DB and works perfectly ^_^
    leodirk be sexybeast and convert teh whole guide for rev7 [=

  25. #25
    Valued Member LeoDirk is offline
    MemberRank
    Apr 2008 Join Date
    140Posts

    Re: [Release] Holy Symbol

    Quote Originally Posted by theonendonly View Post
    im using DB and works perfectly ^_^
    leodirk be sexybeast and convert teh whole guide for rev7 [=
    Gotta ask Doyos if thats alright first, don't want to piss her off =x haha. Is it alright if I post this for Rev 7? I'll give proper credit.



Page 1 of 3 123 LastLast

Advertisement