Jump to content

xtiand

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by xtiand

  1. I got disconnected from the server whenever I choose Zeny or Cash, then I remembered I used mySQL for my item db.

     

     

    So, those of you who use mysql as well, just run this script. Hope it helps someone...

     

    (Change "item_db2" to whatever your custom item table name is. Not really necessary, but still..

     

     

    REPLACE INTO `item_db2` VALUES (30000,'Zeny','Zeny','3',NULL,'10','10',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','');
    REPLACE INTO `item_db2` VALUES (30001,'Cash','Cash','3',NULL,'10','10',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','');
  2. Congrats that you got it working! 

     

    What do you mean "use it out from client"?

     

    If you meant so that the sprite files aren't in your "data" folder, just put your data folder in a .grf file.

    That way users won't be able to touch, per se, your custom item's files.

  3. Hi,

     

    I use mySQL as my item db.

     

    I have two custom items that I set to be female specific. I use rathena wiki Custom Items as a guide.

    So, I set its equip_gender to 0. But whenever I made my male GM account wear it, he does wear it..

     

    So, then, I try to create two regular accounts, one male and one female. I try to make the regular female wear it and she wears it, but when I made my regular male try to wear it, he wears it.. Anyone have any idea how to solve this?

     

    Thanks! :)

  4. I dunno if anyone else figured it out, but the ugly balls are in data/texture/effect: 

     

    fireorb.bmp

    fire-1.bmp
    fire-2.bmp
    fire-3.bmp

     

    waterorb.bmp

    water-1.bmp
    water-2.bmp
    water-3.bmp

     

    lightningorb.bmp
    lightning-1.bmp
    lightning-2.bmp
    lightning-3.bmp

     

    stoneorb.bmp

    stone-1.bmp
    stone-2.bmp
    stone-3.bmp
     
    I'm not sure if the BMPs were used for anything else, but I didn't like any of it at all, so I just replaced them with balls I made myself..
  5. edit the data/msgstringtable.txt:

     

    In order for you to get the actual tab working, you would need to get an updated msgstringtable.txt. If you wish to change what's written in your tabs, find these lines:

    • Line: 1466 = Usable Items
    • Line: 1472 = Etc. Items
    • Line: 2051 = Equipment
    • and Line: 2052 = Personal/Favourite Tab

     

    EDIT: or just use mine.. I changed mine to U, E, Q, F :)msgstringtable.txt

  6. Thanks for replying! :)

    I guess so.. but, still, I don't want users to edit files like that...

    I tried to look for it, but all I found is changedirectorylist.lua/lub and I don't think it's that one cause it points the client to look in the folders thats listed in it.. Which lua file can I edit to change the directory?

  7. Hi,

     

    I was wondering which client date starts using iteminfo.lub instead of the idnum2 txt files? I've already tried searching for the answer but I can't seem to find it.. Also, what's the difference between iteminfo and cskroption.lub?

     

    Thanks! :)

  8. Awesome. Thanks!  :)

    I'm thinking that I will have to edit the idnum2...txt files and the itemslot...txt.. Cause there's no other way to add a description to the item.

    But what about the accname.lua and accessoryid.lua? Should I still edit those, as well?


    I'm using 2012-04-10aRagexeRE.exe. Should I still edit the iteminfo.lub instead of the txt files?..

     

    In case someone else needs the info: from what I've found and read, clients 2012-04-18 and above uses iteminfo.lub and clients 2012-04-10 and below uses the old table txt files. (Correct me if I'm wrong, though :))

     

    And thanks, Kenpachi and MStream, for the replies! :)

  9. I don't have an item_db2_re schema, just the three I mentioned in my first post.. but I can still just add the custom item in a new row in item_db2, right?

     

    As for the description and the other stuff, should I just follow the instructions under the "Item Placement on Data Folder" section on the wiki page? What about the lua/lub (accname and accessoryid) files, should I edit those, too?

     

    Thanks! :)

  10. Thanks for the reply. :)

     

    There's nothing else in my sql-files folder, though.. I tried to check the sql file's script itself for comments, but it just says notes about the database structure and some other note about atk...

     

    So I just have to add another row in either the item_db_re or item_db2 schema? What about the description, etc, etc?

    post-14898-0-92129600-1360752352_thumb.jpg

  11. Hi,

     

    I want to start using mysql for my item_db (as well as mob_db), so I was wondering if anyone can tell me how to add custom items to my mysql, or if there's a guide somewhere (i tried searching for it, but I can't find it..). I mean, do I just add another row for my custom item? and what about the description, drop-sprite, number of slots, and all those other stuff? Thanks! :)

     

    EDIT: also, i have the "item_db", "item_db_re", "item_db2" schemas; in which one do I add the custom item? :)

×
×
  • Create New...