Jump to content

[Guide] Adding Custom Items (no weapon/mob) for Clients 2012-04-10 and similar


Kido

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   18
  • Joined:  11/19/11
  • Last Seen:  

You shouldn't do a server if you can't even :

 

1. Use your common sense to understand those item variables, bonuses and what they do

2. Read and understand the guide carefully

 

Btw this is the most detailed guide of addin custom items imo.

Edited by crowmaster
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

crowmaster 

-_- i already understood  the guide and the bouns i  only dont understand what does the code do 

+ i cant wear the thingsi already added so i was assking about the  cood cuz its possible to be from it

 

by code i mean the item_db code

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

crowmaster 

-_- i already understood  the guide and the bouns i  only dont understand what does the code do 

+ i cant wear the thingsi already added so i was assking about the  cood cuz its possible to be from it

 

by code i mean the item_db code

 

 

hmm alright, look here

 

structure

ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Class,Gender,Loc,wLV,eLV,
Refineable,View,{Script},{OnEquip_Script},{OnUnequip_Script}

for yur wings, asuming that it should go in a lower headgear, it would be like this:

YOURDitemDI,YourITemNameWith_AsSpace,YourItemNameWithSpace,5,0,0,0,,0,,0,0xFFFFFFFF,63,2,1,,1,0,YourViewID,{ YourItemBonusScript },{ YourItemOnEquipBonusScript },{ YourItemOnUnEquipBonusScript }

The important thing here is the Job, class and gender, in the example above i made it for all classes any job can be wearned by male and female

 

ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Class,Gender,Loc,wLV,eLV,

Refineable,View,{Script},{OnEquip_Script},{OnUnequip_Script}

 

YOURDitemDI,YourITemNameWith_AsSpace,YourItemNameWithSpace,5,0,0,0,,0,,0,0xFFFFFFFF,63,2,1,,1,0,YourViewID,{ YourItemBonusScript },{ YourItemOnEquipBonusScript },{ YourItemOnUnEquipBonusScript }

 

0xFFFFFFFF: All Jobs

 

YOURDitemDI,YourITemNameWith_AsSpace,YourItemNameWithSpace,5,0,0,0,,0,,0,0xFFFFFFFF,63,2,1,,1,0,YourViewID,{ YourItemBonusScript },{ YourItemOnEquipBonusScript },{ YourItemOnUnEquipBonusScript }

 

63: All Classes

 

YOURDitemDI,YourITemNameWith_AsSpace,YourItemNameWithSpace,5,0,0,0,,0,,0,0xFFFFFFFF,63,2,1,,1,0,YourViewID,{ YourItemBonusScript },{ YourItemOnEquipBonusScript },{ YourItemOnUnEquipBonusScript }

 

2: Any gender

 

Use the Wiki as reference:

 

http://rathena.org/wiki/Custom_Items#Structure

 

 

Uh yeah, before launching a server you should must have at least basic knowledge like adding items, changing the drops and exp, changing the max level, Basic Scripting http://rathena.org/wiki/Basic_Scripting , basic SRC modifications like setting up a client or defining if renewal or pre.renewal, how to change the login background http://rathena.sourceforge.net/tools/login_background/ , how to make a loading screen http://rathena.org/wiki/Loading_Screens , how to make a logo for your server http://rathena.org/wiki/Scr_logo.bmp etc.

 

If players notice your lack of knowledge they may quit your server.

 

Well good luck, if you have any questions repply with your issue, if what i said above doesn't work, please post your item script.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

thx helped alot trying now


ok last question and sorry for asking u much i added     many hats now and all    ok but when i try to add the luffy hat and wear it  and error happens not when i wear it when  but  becuz  it change the charcter  outfit so is  that another guide

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

thx helped alot trying now

ok last question and sorry for asking u much i added     many hats now and all    ok but when i try to add the luffy hat and wear it  and error happens not when i wear it when  but  becuz  it change the charcter  outfit so is  that another guide

 

whenever you get an error or an unwanted result, post the script or the error with a screen, if the hat in changing the outfil of your character is more like an item_bonus script error

 

np you can ask as much as you want, just try to provide evidence so the problem can be more clear and fixed quickly

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

ok      tell me what to add in the item_bouns   
Module Name: D:\Ragnarok\DesTinyRO.exe
Time Stamp: 0x4e099611 - Tue Jun 28 10:51:29 2011


Exception Type: 0xc0000005

0x0042ef30    DesTinyRO.exe

eax: 0x0012f670    ebx: 0x00000010
ecx: 0x00000000    edx: 0x00000000
esi: 0x0c6ccfd8    edi: 0x00000054
ebp: 0x00000190    esp: 0x0012f66c

stack 0012f66c - 0012fa6c
0012F66C : 94 A5 B9 40 38 FC 12 00 8E 35 75 00 FF FF FF FF
0012F67C : CF EF 42 00 00 00 00 00 00 00 00 00 3E 99 47 00
0012F68C : 00 00 00 00 00 00 00 00 7C A5 B9 40 00 77 80 00
0012F69C : D8 CF 6C 0C 10 41 03 0C D8 0E 85 00 03 00 00 00
0012F6AC : 68 A6 98 0C E0 50 65 12 00 00 00 00 54 00 00 00
0012F6BC : F9 FF FF FF 01 00 00 00 01 00 00 00 00 00 00 00
0012F6CC : 00 00 00 00 AE 22 92 77 00 00 00 00 DC 0E 85 00
0012F6DC : 18 00 00 00 9D 20 92 77 00 00 00 00 00 00 00 00
0012F6EC : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0012F6FC : 00 00 04 3E 00 00 78 3E 00 00 00 00 00 00 00 00
0012F70C : 60 01 EB 01 68 37 03 0C 02 00 00 00 00 00 00 00
0012F71C : 0F 00 00 00 0C 1A 79 00 08 1A 79 00 20 2F 20 33
0012F72C : 00 00 79 00 FC 19 79 00 02 00 00 00 00 00 00 00
0012F73C : 20 00 00 00 EC 19 79 00 64 F7 12 00 58 3A 97 72
0012F74C : 00 00 39 00 00 00 00 00 18 00 00 00 DC 0E 85 00
0012F75C : 70 0F EC 01 B0 D8 06 0C 7C F7 12 00 58 3B 97 72

Launch Info
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

Job : Novice



 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

/swt i'm telling you to psot the whole script of your item

 

i mean this part

ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Class,Gender,Loc,wLV,eLV,
Refineable,View,{Script},{OnEquip_Script},{OnUnequip_Script}

so i can see why it changes your character outfil  D:

 

put something simple like

bonus bStr,1;
{ bonus bStr,1; },{OnEquip_Script},{OnUnequip_Script}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

thats a  pic for the error


ok  sorry didnt c the post


22024,nekoring_hat,nekoring_hat,4,,,0,,0,,1,0xFFFFFFFF,63,2,256,,1,1,960,{ bonus bAgi,3; bonus bFlee,2; bonus bAspdRate,1; },{ },{ }
22025,luffy_hat,luffy_hat,4,,,0,,0,,1,0xFFFFFFFF,63,2,257,,1,1,961,{ bonus bAgi,8; bonus bAspdRate,1; },{ },{ }
22026,hanging_dolls,hanging_dolls,4,,,0,,0,,1,0xFFFFFFFF,63,2,257,,1,1,962,{ bonus bAgi,2; bonus bStr,2; },{ },{ }
22027,diamond_dust,diamond_dust,4,,,0,,0,,1,0xFFFFFFFF,63,2,257,,1,1,963,{ bonus bAgi,2; bonus bDex,2; },{ },{ }

post-19494-0-29419500-1405811731_thumb.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Hmm i don't see any problem there. Then it should be the sprite, please provide how you added them in the following text files

 

idnum2itemdisplaynametable.txt

data/idnum2itemdesctable.txt

data/idnum2itemresnametable.txt

data/itemslotcounttable.txt

data/luafiles514/lua files/datainfo/accessoryid.lub

data/luafiles514/lua files/datainfo/accname.lub

 

Also, the name of the sprite.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

yup i did all of that 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

yup i did all of that 

 

Well, seems like you won't provide anything more. I suggest to re-do the guide, for me it'w working so i guess you skipped something. If you solve your mistake please let us all know so if someone runs in the same mistake may fix it too.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

do u mean it worked for u  that  u tried  the luffy hat  ? cuzi think  the problem in the spr

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

do u mean it worked for u  that  u tried  the luffy hat  ? cuzi think  the problem in the spr

 

Oh nope lol i don't have the luffy hat, nor the .spr and .act files

 

hmm maybe you didn't added it correctly yo the foler

 

try again this?

vA4PTt4.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

i will try now for how long would u be online

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

I will be checking this as much as i can, i'm a bit busy at the momment.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

ok


done all of that byt still same error


but *

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

ok

done all of that byt still same error

but *

 

Hmm alright i will make later a video that will follow my guide.

 

For now you can rely in the Wiki http://rathena.org/wiki/Custom_Items

 

So, when i get some free time i will do the video.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/03/13
  • Last Seen:  

 i think the problem is from the luffy spr

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...