[Guide] How to add Custom Jobs

1<<31 (i.e 2147483648, which is limit of int, in which we store the jobmask)1<<32 and 1<<33 are greater than 2.147 bil, thus it gets too big to be used,For allowing more id, change the variable datatype: as Neo Said About Case 17:maybe MAPID_AKATSUKI and MAPID_ANBU have values 17, that's why, change to 18/19
Same problem, different reason :
QP0Wavn.png
You might have some big value for MAPID_SHINOBI
 
You might have some big value for MAPID_SHINOBI
I just realize now that I end in Hercules. This problem is in my Rathena emulator. I don't want a complete class, I just need the job to use as costumes with sc_start ou changebase. There are something that I can do? Since it's just for costume I can skip that step?

Where I can find the luafiles? PCID.lua??.

@edit again : forget, I found.. 

http://herc.ws/board/topic/1974-release-custom-job-custom-shield-patches/

@edit again : forget, didn't work.

hexed info : Hexed 2014-10-22b

 
nZ87cs4.png


 
Last edited by a moderator:
the LUA files you need to edit are INSIDE the NEMO folder in the SUPPORT folder,  add yiur changes into them and merge them into your GRF

 
@@Neo

My client crashes when i trying to login... I tried with default lubs of nemo, and only happens with the option "Enable custom Jobs."
And i have the lubs in the correct folder, all is fine with my previous client ( 2013-08-07aRagexe )

Now i'm using 2013-12-23cRagexe.

Why...?

Thanks!
 

I tested 2014-10-22b also and still happens, the client crashes.

 
Last edited by a moderator:
Please help me , I'm having problems when I open my Hexed 2013-08-07a with luafiles admin that Neomind posted . I diff with patch custom jobs . I'm having the following problem of the photo below .

Client 2013-08-07a

Diffed with Custom Job

this problem:

a9qn85.jpg


 
I created a new class with new were, however when equip equipment they are great as if they were in a normal class "large", follows the screenshot.

 
g1yHcxv.png
7kScCwu.png
JMITpQw.png
4Ug7leb.png


when compiling am getting this warning

itemdb.c:542:20: warning: left shift count >= width of type [-Wshift-count-overflow]
 
@@Neo

 
Last edited by a moderator:
If you want it to appear as a Doram you will have to use the client which supports it. Doram uses different set of tables.

Did you add the job to Baby_List inside PCIds.lub? 

 
 Posted Today, 06:54 AM
If you want it to appear as a Doram you will have to use the client which supports it. Doram uses different set of tables.

Did you add the job to Baby_List inside PCIds.lub? 
yes, add baby_list.

however the items are still large.

kHptw4d.png
izpl3FV.png


which client you refer me to solve this problem, since 2015 10 29 is not being supported by herc, I add packs and other things to get constant errors on the map server.

@@Neo

 
Last edited by a moderator:
 Posted Today, 06:54 AM
If you want it to appear as a Doram you will have to use the client which supports it. Doram uses different set of tables.

Did you add the job to Baby_List inside PCIds.lub? 
yes, add baby_list.

however the items are still large.

kHptw4d.png
izpl3FV.png


which client you refer me to solve this problem, since 2015 10 29 is not being supported by herc, I add packs and other things to get constant errors on the map server.

@@Neo
Equipped items will be large (all oficial items are hats and the wings/bags) check the Summoner Head, it use same size of Human Character.

 
Where do you find the other lub files? I don't have these ones.
 
PCIDs.lub, PCNames.lub, PCPaths.lub, PCHands.lub, PCPals.lub
 
Where do you find the other lub files? I don't have these ones.
 
PCIDs.lub, PCNames.lub, PCPaths.lub, PCHands.lub, PCPals.lub
In NEMO Folder

@@fxfreitas

how do I change it?
Good Question, I'm not sure, but items follow character Scale, so they only will be small if the sprite got resized (to be more small). Theres no way in my knowledge to change a item size in specific job class.

 
Last edited by a moderator:
BDrR7Qi.png


I don't have any errors, custom job works, but i am getting this warning.

 
The following job ids does not have base and job exp tables, just read .-.

Add exp tables for them .-.
The problem is i don't even have a job that having that ID. i know how to read. I wonder why i am getting that.

 
Back
Top