IPB

Welcome Guest ( Log In | Register )



4 Pages V  « < 2 3 4  
Reply to this topicStart new topic
02/11/2009 - Kro Maintenance
Tenebrae
post Feb 17 2009, 04:28 PM
Post #46


Rogue Centurion, Waiting to See Denial of Access
****

Group: eA Level 5 (Super)
Posts: 473
Joined: 23-February 06
Member No.: 146,249



CODE
#define JOBL_2_1 0x100 //256
#define JOBL_2_2 0x200 //512
#define JOBL_2 0x300
//#define JOBL_3_1 0x400
//#define JOBL_3_2 0x800
//#define JOBL_3 0x1200

#define JOBL_UPPER 0x1000 //4096
#define JOBL_BABY 0x2000  //8192



I'm pretty sure something isn't right in the way I attempted to make a level 3 job define.. as 0x1200 I would think means Advanced 2-2 classes. So if there's a more proper way to do this..


EDIT: Actually, there's also taking into consideration the duplicates of each job due to the choice of going straight 2 to 3 or trans 2 to 3..

This post has been edited by Tenebrae: Feb 17 2009, 04:47 PM
Go to the top of the page
 
+Quote Post
Diablo
post Feb 17 2009, 07:57 PM
Post #47


Diablo
****

Group: eA Level 5 (Super)
Posts: 422
Joined: 16-June 06
From: Mexico
Member No.: 172,496



mmmm first u made the sum in decimal instead of hexadecimal.. second u forgot that theres alrady a upper define....
Go to the top of the page
 
+Quote Post
NikTsuki
post Feb 17 2009, 08:55 PM
Post #48


eA Learner
***

Group: eA Level 3 (Normal)
Posts: 111
Joined: 23-January 09
From: Inside Intel (wait.. shouldn't it be the other way around?)
Member No.: 279,005



QUOTE (Tenebrae @ Feb 17 2009, 04:28 PM) *
CODE
#define JOBL_2_1 0x100 //256
#define JOBL_2_2 0x200 //512
#define JOBL_2 0x300
//#define JOBL_3_1 0x400
//#define JOBL_3_2 0x800
//#define JOBL_3 0x1200

#define JOBL_UPPER 0x1000 //4096
#define JOBL_BABY 0x2000  //8192


Meh, i used

JOBL_3_1 0x400
JOBL_3_2 0x500
JOBL_3 0x600

Are you meant to add them? Then in your case itD be 0xC00, not 1200 (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif) . Always remember 0x means hexadecimal number next 8D
As far as my numbers are correct, so far they worked perfectly, but im not too familiar with bitmasking, so im not sure if they will work for all their purposes.
Oh and for distinguishing trans or not.. when mapping the classes, just omit / add JOBL_UPPER, that one does the trick ^^;

packets are my problem now x.x without fixing this i cant finish the skills and test the ones i did.

This post has been edited by NikTsuki: Feb 17 2009, 09:01 PM
Go to the top of the page
 
+Quote Post
Tenebrae
post Feb 17 2009, 10:11 PM
Post #49


Rogue Centurion, Waiting to See Denial of Access
****

Group: eA Level 5 (Super)
Posts: 473
Joined: 23-February 06
Member No.: 146,249



Well since JOBL_2_1 is defined as 0x100, JOBL_2_2 as 0x200, and JOBL_2 as 0x300, I figured the result of defining both 2-1 and 2-2 would mean 2nds overall are the added result of the alternatives. So this may work:

CODE
#define JOBL_3_1 0x400
#define JOBL_3_2 0x800
#define JOBL_3 0xC00


So theoretically, JOBL_3 handles 3rd jobs changed from normal 2nds. JOBL_3|JOBL_UPPER handles 3rd jobs changed from trans 2nds. More specifically:

JOBL_3_1|0x1 means a normal Knight that went straight to Rune Knight.

JOBL_3_2|JOBL_UPPER|0x1 = Crusader -> Rebirth -> Paladin -> Royal Guard.

(0x1 meaning swordsman)

Though the values defined for 3rds in the code may be the wrong way to go about this. *Looks at 0x00ff and 0x0fff*
Go to the top of the page
 
+Quote Post
NikTsuki
post Feb 17 2009, 10:52 PM
Post #50


eA Learner
***

Group: eA Level 3 (Normal)
Posts: 111
Joined: 23-January 09
From: Inside Intel (wait.. shouldn't it be the other way around?)
Member No.: 279,005



Well, if you think about it, there'd be no way to go from rune knight without ever going through at least knight, so the mapid would be

JOBL_3_2|JOBL_2_2|0x1 Being 0x1 swordman to knight to rune knight
same for trans but adding the JOBL_UPPER

I'm figuring this would work like adding something, so far it worked right for me, seems like this controls the items being used or not by the right classes, so far i had no problem with that. My rune knight only uses knight / swordman items, same for the other classes. If anyone finds this aint working right and have a better idea then i'm all up for it o-o;
Go to the top of the page
 
+Quote Post
malufett
post May 19 2009, 02:40 AM
Post #51


The Quality Maker ---Louisian[SLU]---
*****

Group: eA Level 5 (Super)
Posts: 613
Joined: 24-January 09
From: Baguio City, Philippines 2600
Member No.: 279,032



QUOTE (pakpil @ Feb 11 2009, 07:33 PM) *
CODE
#define OPTION_WRAG 0x00100000


I could not test it fully because it need 2009-02-11-Sakexe. This option gives you the Wrag but do not mount it.

(IMG:http://img502.imageshack.us/img502/187/wragifd8.jpg)


hello sir..

can I know how did you look ar find this one
#define OPTION_WRAG 0x00100000

I am so confused about it because there's too many numbers to use but why that number is used how did you find it..

can you teach me sir..
(IMG:http://www.eathena.ws/board/style_emoticons/default/ani_meow.gif)
Go to the top of the page
 
+Quote Post
Silmeria
post May 19 2009, 05:33 AM
Post #52


No one's Other Half.
****

Group: eA Level 5 (Super)
Posts: 357
Joined: 20-March 09
From: Exire
Member No.: 284,161



I'd guess he or diablo(?) somehow figured out the packets and made their own eA support RagexeRE, they just don't give out RE support, for reasons stated, and obvious as well.
Go to the top of the page
 
+Quote Post
lemongrass
post May 19 2009, 08:06 PM
Post #53


Hello my name is bun, kackbun!
****

Group: eA Level 5 (Super)
Posts: 449
Joined: 3-January 07
From: austria/österreich
Member No.: 209,079



map/status.h
CODE

enum {
OPTION_NOTHING = 0x00000000,
OPTION_SIGHT = 0x00000001,
OPTION_HIDE = 0x00000002,
OPTION_CLOAK = 0x00000004,
OPTION_CART1 = 0x00000008,
OPTION_FALCON = 0x00000010,
OPTION_RIDING = 0x00000020,
OPTION_INVISIBLE = 0x00000040,
OPTION_CART2 = 0x00000080,
OPTION_CART3 = 0x00000100,
OPTION_CART4 = 0x00000200,
OPTION_CART5 = 0x00000400,
OPTION_ORCISH = 0x00000800,
OPTION_WEDDING = 0x00001000,
OPTION_RUWACH = 0x00002000,
OPTION_CHASEWALK = 0x00004000,
OPTION_FLYING = 0x00008000, //Note that clientside Flying and Xmas are 0x8000 for clients prior to 2007.
OPTION_XMAS = 0x00010000,
OPTION_TRANSFORM = 0x00020000,
OPTION_SUMMER = 0x00040000,
};


even if i don't know why he used define and didnt add it into the enum (IMG:http://www.eathena.ws/board/style_emoticons/default/smile.gif) you can also do the same for dragon and mechanic thingy
Go to the top of the page
 
+Quote Post

4 Pages V  « < 2 3 4
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 3rd September 2010 - 06:05 PM
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft