Jump to content

sotf

Members
  • Posts

    173
  • Joined

  • Last visited

Everything posted by sotf

  1. ^Thanks! I will try this one. Will give feedback later.
  2. Hi! I was planning to put a restriction on Ygg box (item id 14232) on some specific maps. I attempted to do it myself but I can't seem to make it work Here is what I did: 14232,Yggdrasilberry_Box_,Yggdrasil Berry 10 Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == prontera ) { message Access Denied!; } else { getitem 607,10; } },{},{} Can somebody please tell me what's wrong with this? And how do I fix it? TIA!
  3. ^how to I add that to my server? (Sorry I am very noobish when it comes to this) edit: nvm, figured this one out myself and what are the other ways? Thanks! I modified the script you gave me to fit our server. You were a great help, thanks again!
  4. Hi! Here I am once again asking for your help guys, I hope you don't mind. Well I am planning to add custom MVP Bosses on our server, and since they're quite strong and hard to kill, can I request for a script that when a player defeats them, it will automatically announce it thru the whole server. For bragging rights of course (and for security purpose as well, preventing GMs to spawn feed players, because I plan for them to drop quest requirements as well) Example: <player_name> of <guild_name> has slain <defeated_monster_name> at <map_name>! (if possible, with an option where I can change the color of the message) (and something where I could just input the mob IDs of the mob I want this to take effect on) Thanks in advance!
  5. Hi! I just updated my rAthena to the latest revision, and I got a few issues. On the first NPC, I sometimes get nothing from it. and on the second NPC I am stuck at this *see photo below*
  6. Thank you so much! It works now! I'll just edit them a bit to fit the needs of our server! I will let you guys know about it once I set it all up
  7. I get this error: [Error]: Loading NPC file: npc/custom/gachabuyer.txt script error on npc/custom/gachabuyer.txt line 51 parse_simpleexpr: unmatch ')' 46 : 47 : } 48 : return .@size_shop; 49 : 50 : OnBuyItem: * 51 : if( !checkweight2'(' .item_exchangeID,.item_count ) ) { 52 : message strcharinfo(0),"You need additional weight capac ity to complete this trade."; 53 : close; 54 : } 55 : set .@count, getarraysize( @bought_nameid ); 56 : for( set .@i, 0; .@i < .size_count; set .@i, .@i + 1 ) {
  8. ^Thank you so much! I will test this as soon as I can!
  9. BUMP! Please help me on this one too, thanks in advance!
  10. ^Thanks! It now works. Now I am wondering, what will my players do if they have too much of the same costume? How would they dispose of it they will get back a part of their expenses with the tickets? Is it possible to have an NPC that shows a selection of costumes and sells one by one for let's say.... 7539 (Poring Coin) Something like this: So basically that's what I would like the NPC to be like, I just don't know how to code these stuffs If possible, again, could the npc be like where I can input the IDs of the sellable costumes and the item and amount I'd like the NPC to give the players when they sell one? Thanks in advance! (Sorry for the late replies, been busy these past few weeks)
  11. rAthena Development Team presents ____ ___ __ __ / __ \/ | / /_/ /_ ___ ____ ____ _ / /_/ / /| |/ __/ __ \/ _ \/ __ \/ __ `/ / _, _/ ___ / /_/ / / / __/ / / / /_/ / /_/ |_/_/ |_\__/_/ /_/\___/_/ /_/\___,_/ http://rathena.org/board/ [info]: SVN Revision: '1612512'. Modification, I changed the ID for the tickets(for testing purposes) I always do @reloadscript everytime I put new scripts/npc file. And yes I am always stuck on that part
  12. Uh so I did everything you told me(as far as I know lol) But.... [Debug]: Data: number value=0 [Debug]: Function: set [Debug]: Source (NPC): yuio at prontera (155,177) [Error]: script:set: not a variable [Debug]: Data: number value=0 [Debug]: Source (NPC): yuio at prontera (155,177) ^what does that mean?
  13. I am sure that I am using rAthena. What do you mean by 'You must reloadscript for OnInit Label' ?
  14. Wow thank you so much! This will be a great help! I will test this as soon as possible! Thanks again! Hey, I just tested your script but I am stucked at this part. No items, no close button, no anything *photo attatched*
  15. Ah thanks! Uh no not really, the IDs are mixed. Is it possible to have a NPC script like that where I can just edit to input the IDs of those normal and rare costumes? Because the IDs are really really really mixed haha! Anyways, thank you for the respond!
  16. *bump* I hope bumping is allowed
  17. Hi rAthena boards! I was wondering if you could help me on this one. Our server has tons of Costume Headgears, I mean seriously. Tons. Now, what I want to have(if Possible) is a Gacha NPC that gives you a random Costume Headgear when you gave it a ticket/item of some sort. And also if it could have 2 different kinds of ticket, a premium one(via donate) and a regular one which can be acquired in-game. If I give the npc the premium ticket, I would have a greater chance to get rare costume. And if I give it the regular one, I would have a lesser chance to get rare costume. I hope you awesome guys could help me on this one! Thanks in advance!
×
×
  • Create New...