Jump to content

Evelynn

Members
  • Posts

    93
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Evelynn

  1. Does anyone have jTynne's @go bind script? His webhost is down or not running anymore so I can't download the file. Would be nice if you could share it! Thanks.
  2. Regardless of what lvl it is, it will always and only increase your attack by 50.
  3. Status.c case SC_IMPOSITIO: val2 = 5*val1; // Atk increase break; to case SC_IMPOSITIO: val2 = 50; // Atk increase break;
  4. casanova, if you read your console messages, it tells you. Set your map_athena.conf // char_athena.conf server user and password and make sure they match with your database's server username / pw in your login table. By default it's s1 and p1, but in your case, your database server user and pw do not match.
  5. Before the bonus, use if (BaseClass!=Job_Thief) {} This will apply for every other job except Thief.
  6. There has already been a request for this. Click here You can just remove the timer.
  7. I errored due to using the new Miruku. I switched to my 20130801 RO Folder and everything works fine now.
  8. map,x,y,d script NPC 999,{ if ($@talk ) { mes "Someone else is talking to me"; close; } mes "Hello"; set $@talk,1; close2; sleep2 10000; hideonnpc "NPC"; sleep2 300000; hideoffnpc "NPC"; set $@talk,0; end; } Didn't test. Somewhat made it quickly. Tell me if there is any errors.
  9. When using right click with items( to see their collection view ), does anyone else error from doing so? I have tried using 2013 05 13 and 2013 03 20. It errors on both. Is this natural or am I doing something wrong? Neverfind found this issue. item ____ was checked on.
  10. Oh wow lol... Does any of these clients support 64k hair styles?
  11. Hmm I was giving this a try to see where I would end up. I have spent hours on this trying to figure out what is wrong but I am stumped. I downloaded the new Miruku and the 2013 08 01 client from nickyzai. I applied my diffs to create my executable. I moved both my System and Data folder into both of my RO root folders for Miruku and 20130801NickyZai I inserted luatolub.bat inside my luafiles544 folder and launched it, turning all of my files into lubs. I then created compressed my data folder into a grf and tried launching the game via loki launcher. I got into the the login screen perfectly fine. Everything works, I was able to log in. I got everything up and running however for some odd reason my client closes everytime I try to log into the game. It also errors from creating a new char and just changing the hairstyles. Does anyone have any ideas on why this is happening?
  12. Make sure you change in the SQL login table to your new s1/p1.
  13. { bonus bAgi,3; bonus bMaxHPrate,-10; bonus bUnbreakableWeapon,0; },{set @requipid,1202; set @refine, getequiprefinerycnt(4); set @card1, getequipcardid(4,0); set @card2, getequipcardid(4,1); set @card3, getequipcardid(4,2); set @card4, getequipcardid(4,3); set @accid, getcharid(3);},{ sleep2 100; equip2 @requipid,@refine,0,@card1,@card2,@card3,@card4,@accid; message strcharinfo(0),"You cannot take this item off";} This isn't very efficient since I kind of sped through it. Some flaws you might encounter with this are... 1. Once player logs off, temporary variables will be reset ( Meaning they will be able to unequip after they relog ). A solution to this is to use a permanent variable. However this could overflow your server depending on how many players are using this item. It wouldn't hurt if it were just a few selected variables though... 2. Unequiping and equiping the same item might have a infinite loop within each other however if you add a condition to it ( if something is set so that one doesn't overwrite the other ). 3. I added the sleep2 just incase the client or server doesn't register the item being in your inventory at the time of unequip. This only applies to weapons (4), if you wish to change it for others... EQI_HEAD_TOP (1) - Upper Headear EQI_ARMOR (2) - Armor (jackets, robes) EQI_HAND_L (3) - Left hand (weapons, shields) EQI_HAND_R (4) - Right hand (weapons) EQI_GARMENT (5) - Garment (mufflers, hoods, manteaus) EQI_SHOES (6) - Footgear (shoes, boots) EQI_ACC_L (7) - Accessory 1 EQI_ACC_R (8) - Accessory 2 EQI_HEAD_MID (9) - Middle Headgear (masks, glasses) EQI_HEAD_LOW (10) - Lower Headgear (beards, some masks) EQI_COSTUME_HEAD_LOW (11) - Lower Costume Headgear EQI_COSTUME_HEAD_MID (12) - Middle Costume Headgear EQI_COSTUME_HEAD_TOP (13) - Upper Costume Headgear EQI_COSTUME_GARMENT (14) - Costume Garment You can also make this into a function so that you don't have to have such a huge item_db script. Other than that... have fun experimenting. -------------------------------------------------------------------------------------------------------------- EDIT -------------------------------------------------------------------------------------------------------------- I made them into functions for you. I didn't the idea of having a long line of code for each individual item that will have this function... Anywho, play around with it to your liking. I also changed all the temporary variables into permanent character variables. Sample of using the functions via item_db for your items if any other. 1202,Knife_,Knife,4,50,,400,17,,1,4,0xFE9F7EEF,7,2,2,1,1,1,1,{},{ callfunc "reEquipInfo_"; },{ callfunc "reEquipWeapon_"; } This function is called upon when you equip the item and gets all the item information rqw = requipweapon_* function script reEquipInfo_ { set @rq_tem_id, getequipid(4); if ( !rqweapon ) { set rqw_id,getequipid(4); // Item ID of Equipment Position 4 ( Weapon ) set rqw_refine, getequiprefinerycnt(4); // Refine level of Equipment Position 4 set rqw_card1, getequipcardid(4,0); // Card 1 of Equipment Position 4 set rqw_card2, getequipcardid(4,1); // Card 2 of Equipment Position 4 set rqw_card3, getequipcardid(4,2); // Card 3 of Equipment Position 4 set rqw_card4, getequipcardid(4,3); // Card 4 of Equipment Position 4 set rqw_accid, getcharid(3); // Get user Account ID set rqweapon,1; // ReEquip Variable for later checks / removals. } end; } This function is called when your item is unequipped. Then using the information from reEquipInfo_ to do it's job. function script reEquipWeapon_ { if ( @rq_tem_id != rqw_id){ end; } else if ( rqweapon ){ sleep2 100; equip2 rqw_id,rqw_refine,0,rqw_card1,rqw_card2,rqw_card3,rqw_card4,rqw_accid; message strcharinfo(0),"You cannot take this item off"; end; } end; } NOTE: Just so you know, I don't like doing the work for people right off the bat. Thus why I gave you ideas on how you would achieve your goal. This way you can try on your own and learn. Failure is okay, atleast you've attempted.
  14. That is just a guideline. ( How to use equip2 ). You do not need to put it anywhere. It is to help you determine what goes where within the equip2 script function. Parameters in other words.
  15. Try changing what Julio stated and try again. Make sure the map coordinates on the @go function / mapindex are correct. If this doesn't work, try with another map, like a town just to test it.
  16. I do not think there is such function implemented in rA. Thus the reason why I gave you an alternative option to go for by using equip2. If the user tries to take it off, it'll just re-equip itself again. You can also create a NPC using the method I stated as well.
  17. What you want to do OnEquip is the following. Create a variable that stores the current weapon's refine level. Create another variable that stores the weapon's card IDs. Do this for all 4 slots. I just searched up Xantara's equip2 script function. Click Here equip2 <item id>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; Create variables for each detail stated above. Then when using equip2, you would insert the variables you created into the areas accordingly. -------------------------------------------------------------- It is similar if you want to unequip, but right now you are wanting to re-equip the item, so it's quite different. When re-equipping, you want to make sure that you have enough information to tell the server which item you are talking about exactly. If it doesn't have enough information, and you have like say 2-3 of the same items in your inventory, it doesn't know which one you are talking about.
  18. What do you mean by the 'Game Crashes' Do you mean your server crashes or just the client? If it is your client that is crashing. Notice if it is crashing prior to the load or after the load. When it is crashing prior to the map load, it means you do NOT have the map file. When it is crashing after the load, there is something else that is erroring you, like an NPC. If its a server crash, then it's probably what Julio stated.
  19. 1101,Sword,Sword,4,100,,500,25,,1,3,0x000654E3,7,2,2,1,2,1,2,{Script},{OnEquip},{OnUnequip} OnEquip area, you'd want to store the equipment's information such as the ID, REFINE, CARD 1, CARD 2, ... etc I don't know if rAthena normally has equip2, but im sure there's a .diff/.patch for it. in OnUnEquip, you use the equip2 script function with all the information you gathered so it knows exactly what item you are talking about to re-equip it.
  20. I believe that area takes the class sprite itself. If you want to change it, you'd have to hex it to change it to someplace else because the only way to edit it is by changing the class sprite itself.
  21. If you mean not being able to take off the item at all anymore then, you can do on Unequip to equip the specific item again using the script command equip2. This should be an option inside the item db. Similar to some items / cards, when you take an equipment off you lose # of HP.
  22. First, are you spamming EC on a GM account with skill_unconditional set to true? If this is the case, it is the reason why you are able to spam it. As a normal player you wouldn't be able to.
  23. The way you can change that is in the map.h. ( The source ). I don't know if you meant this or not, but this area determines if the class is 1st 2nd or 3rd class. src/map/map.h#L92 //Novice And 1-1 Jobs MAPID_NOVICE = 0x0, MAPID_SWORDMAN, MAPID_MAGE, MAPID_ARCHER, MAPID_ACOLYTE, MAPID_MERCHANT, MAPID_THIEF, MAPID_TAEKWON, MAPID_WEDDING, MAPID_GUNSLINGER, MAPID_NINJA, MAPID_XMAS, MAPID_SUMMER, MAPID_HANBOK, MAPID_GANGSI,
  24. grftools will work fine. I don't believe you can edit the actual file while it's inside the grf. You don't have to extract the whole grf. Pinpoint the file you want to extract. Highlight it, then extract.
×
×
  • Create New...