Jump to content

superman1001

Members
  • Posts

    25
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1342 profile views

superman1001's Achievements

Poring

Poring (1/15)

0

Reputation

  1. i want to make an npc that will give named swords[4] (id 1102), for example: if the char is named "char01" it will give "car01's sword". if i use getnameditem 1102,getcharid(0); it give a "char01's sword" without slots. so i used this: getitem2 1102,1,1,0,0,255,0,getcharid(0)&0xffff,(getcharid(0)>>16)&0xffff; same as getnameditem... so i tryed this: getitem2 1102,1,1,0,0,0,0,getcharid(0)&0xffff,(getcharid(0)>>16)&0xffff; it give a non-named sword[4] with 2 empty slots and 2 slots with an apple inside... so how to got a char01's sword[4] ?
  2. and a guide or a complete list about bonuses such as bAllStats, bBaseAtk, bMatkRate, bHPDrainRate, etc?
  3. ok thx, so how to execute pure sql in npc script?
  4. Where can i find a complete guide for npc script? and a complete npc functions script reference? and how to read/write to db?
  5. already put in the db, the problem is they are shown as not-usable items in the inventory, so i can't wear even if i double click on them...
  6. the tuxedo and wedding dress are shown as non-wereable item. How to make them wereable? thx
  7. When a Santa's Bag (12132) is used, it change the job skin into santa for 10 min. During this time the char is not able to attack. is it possibile to enable char attach when santa bags is in use? thx
  8. i was looking for something like this: http://rathena.org/b...ite/#entry75235 Ok, i check the free ids, here is the full table: http://sdrv.ms/OkFIdD there are some range not shown in the wiki and some wiki information are wrong. what happen if i put a two-handed sword in the one-handed sword range?
  9. what are the difference of ea and rathena?
  10. so i can't adding all weapon i want? and i can't use custom item id? O.o ..and where have i to put the spr/act?! i already read the custom item wiki, btw there is no any information about weapon folders......
  11. where have i to put the sprites? and how to configure lua files for weapon?
  12. i got problems with some sprites, the sprites are displayed on the character foot! how can i fix it?
  13. let me try... i used ShinsDiffPatcher with weediffgenerator 1.0.2 to make custom ids up to 30.000 then i used luac5.1.4 to rebuild accname.lub and accessoryid.lub (the wiki is wrog, the right params are: -o accessoryid.lub accessoryid.lua) then i setted view_id to 0, restarted server.. and... now when the client load it show this error: btw when i log on and - if u use view_id 0, i can wear it, but nothing is shown - if i use view_id 25001 i see this error: http://img152.images...00/44455045.png wow, i solved it, for now... there was an error in accessoryid.lua, and the spr must have a lower case name... i try do add another one..
  14. there is a thing i don't understand in the "lua guide": so have i to edit the files, delete the modified files and recompile them? how is it possible?
  15. how to use these files? i will check and eventually re-diff as soon as possible
×
×
  • Create New...