Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Add(Custom!)/Edit awakes @ Awakening Scrolls

Newbie Spellweaver
Joined
Jul 31, 2008
Messages
70
Reaction score
43
Simple guide made by Maples & CaptainBri (me2)

Files you'll need:
-Randomoption.inc (server files --> resource)
-DefineAttribute.h (server files --> resource)

I suggest you copy these 2 files to for example your desktop.
This is because if you mess the files up, you have a backup @ your resource map.

EDITING THE AWAKES!

Ok. First we'll edit the awakes. Open up the file "randomoption.inc" (from your desktop)

You'll see a bunch of codes, for example:
Code:
[B][COLOR="Red"]Awakening    35    35    30     // ¿É¼ÇÀÌ 1,2,3°³ ºÙÀ» È®·ü[/COLOR][/B]
{            
[COLOR="Green"]    DST_STR        7             // ÇØ´ç DST°ªÀÌ ºÙÀ» È®·ü
    -28    100000    
    -25    2938270    
    -22    6486111    
    -19    11047619    
    -16    17129630    
    -13    25644444    
    -10    38416667    
    -7    59703704    
    -4    102277778    
    -1    236255776    
    1    236255776            
    4    102277778            
    7    59703704            
    10    38416667            
    13    25644444            
    16    17129630            
    19    11047619            
    22    6486111
    25    2938272
    28    100000
    }[/COLOR]

Red part: Don't mess with it unless you know what you're doing.
Green part: We are going to work on this.

Quite easy, for example you want 3 awakes:
50% chance for a 10 str awake
40% chance for a 15 str awake
10% chance for a 20 str awake

It is important you make it 100%! No more no less, or your server will not handle the awakes properly!

Okay, so change the code from above to:

Code:
	DST_STR				7
        {					
	-28	00000000		
	-25	00000000			
	-22	00000000
	-19	00000000
	-16	00000000
	-13	00000000
	-10	00000000
	-7	00000000
	-4	00000000
	-1	00000000
	1	00000000
	4	00000000
	7	00000000
	10	00000000
	13	00000000
	16	00000000
	19	00000000
	28	500000000
	29	400000000		
	30	100000000	
        }

As you can see, "100000000" = 10%
So "500000000" = 50%

You can do this with every awake there is. Do not copy and paste the code from above! Every awake has its own code that you'll need to edit!

You need atleast 3 awakes in the files to make it work (as far as I know, correct me if I'm wrong :sleep:)

If you want only 1 awake to appear, edit the awakes like this way:

Code:
    DST_DEX                7
        {                    
    -28    00000000        
    -25    00000000            
    -22    00000000
    -19    00000000
    -16    00000000
    -13    00000000
    -10    00000000
    -7    00000000
    -4    00000000
    -1    00000000
    1    00000000
    4    00000000
    7    00000000
    10    00000000
    13    00000000
    16    00000000
    19    00000000
    10    000000001
    15    000000001        
    20    999999998    
        }

Simple as that.


ADDING CUSTOM AWAKES

Open up DefineAttribute.h and randomoption.inc
Scroll down to this part:
Code:
// DestParam1 Ãß°¡
// ij¸¯ÅÍ °ü·Ã
#define DST_STR

Beneath this piece of code are all the awakes you can add to awakening scrolls.
Browse trough them to discover cool awakes :)

Today we're gonna add the "Lucky Box" awake to cash-shop pets.
Look for the "giftbox" code in DefineAttribute:

#define DST_GIFTBOX
Ah found it!

Now copy the green part.
Go to randomoption.inc, scroll all the way down to the bottom.
And add the awakening code, like this:

Code:
    DST_SPELL_RATE            7
        {                
        18    000000001                    
        19    000000001                    
        20    999999998                    
    }                
    DST_GIFTBOX            7
    {
        5    500000000
        10    400000000
        20    100000000
    }
}

ALWAYS USE THE #TAB# key! Or else the awakes won't work!

Repeat the step with other awakes. You actually only need to chance the DST_****** code.

Some populair codes:
Code:
DST_MELEE_STEALHP = Steal HP (Normally found on slotted ultimate weapons.)
DST_GIFTBOX (Lucky Box awake like I've demonstrated above.)
DST_EXPERIENCE (EXP in % awake, unbelievable populair :w00t:)
And alot more!

Well, this was my guide. Have fun editing your awakes!
 
i sell platypus
Loyal Member
Joined
Jun 26, 2009
Messages
2,640
Reaction score
1,326
Awakening scrolls?

Else a good guide, although that stuff is kinda self explained by looking at the guide.
 
Newbie Spellweaver
Joined
Jul 31, 2008
Messages
70
Reaction score
43
Awakening scrolls?

Else a good guide, although that stuff is kinda self explained by looking at the guide.

Yeah, like the scrolls you use to awake equipment, CS, pets and CS pets :) Probably not what you ment with the comment "Awakening scrolls?", but whatever :p

Thanks for the comment!
 
Last edited:
i sell platypus
Loyal Member
Joined
Jun 26, 2009
Messages
2,640
Reaction score
1,326
Yeah, like the scrolls you use to awake equipment, CS, pets and CS pets :) Probably not what you ment with the comment "Awakening scrolls?", but whatever :p

Thanks for the comment!

Sorry I was thinking about thoose which ex. FlyForFantasy got, they arent the only ones with em.
 
Skilled Illusionist
Joined
Jan 23, 2009
Messages
344
Reaction score
54
I wonder, lets say I want DST_GIFTBOX on my gaunts, where do I add it so the awake can be on the gaunts?
 
Newbie Spellweaver
Joined
Jul 31, 2008
Messages
70
Reaction score
43
I wonder, lets say I want DST_GIFTBOX on my gaunts, where do I add it so the awake can be on the gaunts?

Only adding it to the gauntlets would require some higher coding skills, which I don't have :p (for ex. boots only get adoch).
You can however add the awakes to:
Code:
-Normal equipment (ex. Blain parts)
-CS sets (ex. Snowman parts)
-Normal Pets (ex. Tiger)
-CS pets (ex. Baby Aibatt
 
Skilled Illusionist
Joined
Feb 22, 2010
Messages
352
Reaction score
31
Only adding it to the gauntlets would require some higher coding skills, which I don't have :p (for ex. boots only get adoch).
You can however add the awakes to:
Code:
-Normal equipment (ex. Blain parts)
-CS sets (ex. Snowman parts)
-Normal Pets (ex. Tiger)
-CS pets (ex. Baby Aibatt

It's possible on the source, I'm not sure tho, I didn't downloaded it. Otherwise it isnt possible I guess.:tongue:
 
i sell platypus
Loyal Member
Joined
Jun 26, 2009
Messages
2,640
Reaction score
1,326
It's possible on the source, I'm not sure tho, I didn't downloaded it. Otherwise it isnt possible I guess.:tongue:

You can do everything in the world with the source if you know how to press the right buttons.
 
Elite Diviner
Joined
Oct 10, 2008
Messages
461
Reaction score
82
Source is Useless, and backdored.
 
Joined
Jun 13, 2010
Messages
418
Reaction score
113
Very nice guide. :) I'll definently use it.
It might help if you post more awakening options (or atleast the working ones) Because not all of them work :eek:
 
Newbie Spellweaver
Joined
Oct 10, 2010
Messages
35
Reaction score
0
First, let me say very nice guide, this will come in use. I have some questions though:

1) How do you set it up so you can get certain awakes on certain items? Like for example:

Jump height +50/+100/+150% ONLY available on Grown Pets
EXP +50/+100/+150% ONLY available on CS sets.

2) As Cait said, does anybody know how to only allow certain awakes on certain parts of the set? Like not allow ADOCH on gaunts, and only allow MP/HP/FP/STR/DEX/INT/STA awakes on helm.

3) Could you for example, change STR awake to:

Code:
	DST_STR				7
        {					
	-28	00000000		
	-25	00000000			
	-22	00000000
	-19	00000000
	-16	00000000
	-13	00000000
	-10	00000000
	-7	00000000
	-4	00000000
	-1	00000000
	1	00000000
	4	00000000
	7	00000000
	10	500000000
	13	300000000
	16	00000000
        [COLOR="Blue"]17[/COLOR]      150000000
	19	00000000
        [COLOR="blue"]20[/COLOR]      50000000
	28	00000000
	29	00000000		
	30	00000000	
        }

What I did their was ADD the BLUE numbers into the code, to allow a 5% chance at getting +20 STR as an awake?
 
Newbie Spellweaver
Joined
Jul 31, 2008
Messages
70
Reaction score
43
First, let me say very nice guide, this will come in use.

Thanks :)

I have some questions though:

1) How do you set it up so you can get certain awakes on certain items? Like for example:

Jump height +50/+100/+150% ONLY available on Grown Pets
EXP +50/+100/+150% ONLY available on CS sets.

Blessing 35 35 30 = Blessing of the goddess (on CS clothing)
Awakening 35 35 30 = Normal awakening scroll
SystemPet 35 35 30 = Normal pets gotten from an Egg.
EatPet 35 35 30 = CS pets (Pickup Pets/Buff Pets)

Just edit your code beneath one of these codes, and it will come on that certain category.

2) As Cait said, does anybody know how to only allow certain awakes on certain parts of the set? Like not allow ADOCH on gaunts, and only allow MP/HP/FP/STR/DEX/INT/STA awakes on helm.

Would require some more pro-skillz, which I don't have ;) Try asking the pro-coders here around on RageZone (Can't give examples)

3) Could you for example, change STR awake to:

What I did their was ADD the BLUE numbers into the code, to allow a 5% chance at getting +20 STR as an awake?

Yea, that's possible, always keep it 100% in total, like you did. Go and test the awakes to see that they work :)
 
Initiate Mage
Joined
Oct 22, 2010
Messages
2
Reaction score
0
can you help me where i can find
-Randomoption.inc
-DefineAttribute.h

step by step please

---------- Post added at 12:41 AM ---------- Previous post was at 12:15 AM ----------

or where i can download it
 
Newbie Spellweaver
Joined
Jul 31, 2008
Messages
70
Reaction score
43
can you help me where i can find
-Randomoption.inc
-DefineAttribute.h

step by step please

---------- Post added at 12:41 AM ---------- Previous post was at 12:15 AM ----------

or where i can download it

I assume you got the source.
So,

Go into "V15_Files"
Then into "Resources"
There you should find the files.

Good luck :)
 
Back
Top