Register for your free account! | Forgot your password?

You last visited: Today at 17:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



x5 awakening?

Discussion on x5 awakening? within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
x5 awakening?

So I've been trying to have a x5 awakening. I changed the MAX_RANDOM_OPTION to 5 and some other stuff in the randomoption.cpp. I added two more parameter in the randomoption.inc for the x4 and x5 chance. compiled it no problem but when I tested it. I got 3 awakening and a -5 or -10 from the item level. I've been checking the code of deducting level. and I found this.


I've changed those to:

Now I'm getting this



can anyone help me with this one? any help is greatly appreciated.. Thank you.
kamoteshake is offline  
Old 06/06/2014, 08:00   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
Try with 0x6000000000000000 and 0x12000000000000000
alfredico is offline  
Old 06/06/2014, 10:43   #3
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
Instead of trying random things and throwing wild answers, try to analyze what the actual problem is.

Do you even understand how this works? 0x6... and 0x12 is just as wrong as 0x1 and 0x2


As far as i see, adding more than 3 slots to awakenings is not easily possible, as all awakenings are saved in one variable, connected via bit-operations.

To achieve this, the best way would be changing the variable into a array, but this also requires editing the database.
Mognakor is offline  
Old 06/06/2014, 13:48   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
that's why im asking for help.. I really dont get it.. I converted 64 to hex. which is 0x40 and 128 which is 0x80 so I thought if I double it up or something. it will give more space for 2 more slots for the awakening. that's why I changed it to 0x100 and 0x200 which is 256 and 512.. but. how will it know it's actually 0x100 and not just 0x1? im really confused.
kamoteshake is offline  
Old 06/06/2014, 13:50   #5
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
Please learn how things actually work instead of randomly assuming things.
Mognakor is offline  
Old 06/06/2014, 14:02   #6
 
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
uhmm.. well yeah. how does it work? I thought it's 64 cause there's a comment at the leveling down saying //64. could you tell me how this works?
kamoteshake is offline  
Old 06/09/2014, 18:27   #7
 
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
any suggestions on how to get this x5 awakening working? I read about bitwise operation and bit manipulation. and started to try to mess with it again. but still no luck. is it possible to fit 5 awakes + the leveling deduction in just one variable? I was thinking about Mognakor's suggestion of making the variable into an array. but I dont know how to save it to the database and hot to fetch it. any other suggestion? thanks.
kamoteshake is offline  
Old 06/09/2014, 21:14   #8
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
It most likely is not, i'm not even sure if 4 slots work, you need 10 bit per slot just for the awakening amount (+1 +2 +3 etc.) and at least 6 bits for the type (ADOCH, Crit, Movementspeed etc.)

For 3 Slots this sums up to at least 48 Bit of a 64 bit variable, 2 bit are used for leveldown so this leaves 14 bit, which is allready not enough for a 4th slot, even with this optimistic thoughts.
Mognakor is offline  
Thanks
1 User
Old 06/09/2014, 21:26   #9
 
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
yeah. that what I was thinking. so. if imma make the variable into an array. what is the best way of saving it to the database? or make another variable for the other 2 awakes? but I think that's more complicated than making it to an array.
kamoteshake is offline  
Reply


Similar Threads Similar Threads
Awakening bot
08/17/2012 - Flyff Trading - 17 Replies
Verkaufe hier einen awakening bot von Qeggl. Wenn sie diesen bot kaufen bekommen sie einen 1a flyff awakening bot mit folgenden funktionen: - Unlimited awakes. - Zu erreichende Mindestawake. - Ein anrecht darauf die neuen versionen zu bekommen sobald sie released werden. - support meinerseits. - optimal in jeder fenstergröße zu benutzen.
ich suche nen awakening bot
06/25/2012 - Flyff Private Server - 0 Replies
gibt es immo irgendwelche bot in der art ? ich such keinen speed awa bot, sondern einen wo ich eingeben kann 3x25int oder sowas. hoffe auf antwort! p.s. der ist für insanity flyff gedacht!
Awakening Bot!?
05/22/2012 - Flyff Private Server - 27 Replies
Hey liebe E*PvPers ich wollte mal nachfragen, ob es inzwichen wieder ein Awakening Bot gibt?^^ Wenn ja, kann jemand den Namen bzw. link Posten??? Hab jetzt schon google benutzt... aber leider nix gefunden, was noch funktioniert, bzw zu langsam ist...^^ Falls es etwas gibt, lasst es mich bitte wissen, am besten per PN oder Answer hier im Forum ;)
[Help] Awakening in Database
01/19/2012 - Flyff Private Server - 1 Replies
Where can I find awakening in Database I need to recover my character er with awakes. I recover Inventory but I cant finds awakening
Awakening Block?
11/07/2011 - Flyff Private Server - 24 Replies
Wie Kann ich einstellen das man wen man Pet drausen hatt nicht awan Kan?



All times are GMT +1. The time now is 17:23.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.