Jump to content

Haruka Mayumi

Content Moderator
  • Posts

    474
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Haruka Mayumi

  1. Since you are exchanging it already.. the input is from 1 to 1000 input [email protected],1,1000; You just need to change this line and add 1 line after it.. should be like this input [email protected],0,1000; if([email protected]) end;
  2. prontera,155,181,3 script Yumi Test 94,{ for([email protected]=0;[email protected]<getarraysize(.Require);[email protected]++) [email protected]$ += (countitem(.Require[[email protected]]) ? "- Exchange ^0055FF"+.ReqAmount[[email protected]]+"^000000 "+getitemname(.Require[[email protected]])+" to ^0055FF"+.ExcAmount[[email protected]]+"^000000 "+getitemname(.Exchange[[email protected]])+":":":"); [email protected] = select([email protected]$)-1; message strcharinfo(0),"Input amount 1-1000"; input [email protected],1,1000; if(countitem(.Require[[email protected]]) < .ReqAmount[[email protected]]*[email protected]){ message strcharinfo(0),"Insufficient "+getitemname(.Require[[email protected]])+""; end; } if(!checkweight(.Exchange[[email protected]],[email protected]*.ExcAmount[[email protected]])){ message strcharinfo(0),"Insufficient inventory space"; end; } delitem .Require[[email protected]],.ReqAmount[[email protected]]*[email protected]; getitem .Exchange[[email protected]],[email protected]*.ExcAmount[[email protected]]; end; OnInit: setarray .Require[0],501,502,503,504,505; setarray .ReqAmount[0],1,1,1,1,1; setarray .Exchange[0],512,513,514,515,516; setarray .ExcAmount[0],50,25,20,30,45; end; }
  3. prontera,155,181,3 script Yumi Test 94,{ for([email protected]=0;[email protected]<getarraysize(.Require);[email protected]++) [email protected]$ += (countitem(.Require[[email protected]]) ? "- Exchange ^0055FF"+.ReqAmount[[email protected]]+"^000000 "+getitemname(.Require[[email protected]])+" to "+getitemname(.Exchange[[email protected]])+":":":"); [email protected] = select([email protected]$)-1; message strcharinfo(0),"Input amount 1-1000"; input [email protected],1,1000; if(countitem(.Require[[email protected]]) < .ReqAmount[[email protected]]*[email protected]){ message strcharinfo(0),"Insufficient "+getitemname(.Require[[email protected]])+""; end; } if(!checkweight(.Exchange[[email protected]],[email protected])){ message strcharinfo(0),"Insufficient inventory space"; end; } delitem .Require[[email protected]],.ReqAmount[[email protected]]*[email protected]; getitem .Exchange[[email protected]],[email protected]; end; OnInit: setarray .Require[0],501,502,503,504,505; setarray .ReqAmount[0],5,2,3,4,1; setarray .Exchange[0],512,513,514,515,516; end; }
  4. 1. Maybe you forgot to reloadquestdb. 2. Did you perhaps add it on import/quest_db.yml?. if yes, Don't forget to add the "Body:" after the header section. it should look like this.. Header: Type: QUEST_DB Version: 1 Body: - Id: 61000 Title: Hourly Rewards Cooldown TimeLimit: +60m
  5. prontera,155,181,3 script Yumi Test 94,{ for([email protected]=0;[email protected]<getarraysize(.Require);[email protected]++) [email protected]$ += (countitem(.Require[[email protected]]) ? "- Exchange with "+getitemname(.Require[[email protected]])+":":":"); [email protected] = select([email protected]$)-1; npctalk "Exchange with "+getitemname(.Require[[email protected]]); OnInit: setarray .Require[0],501,502,503,504,505; end; }
  6. I see that your IP on xml and the ip from error is not the same.. you probably forgot to fix it. if the IP is correct: Do you have gepard?.. this happens when your server gepard is on.. but your client side is off and vice versa.
  7. @ra11 hmm.. It should be scripting. and database management for rAthena.. C,C++ I learned them on school so I skipped it here lmao. Here's a link from where you should start.. there's Sample folder located in that link. You can try to understand it via script_commands.txt https://github.com/rathena/rathena/tree/master/doc Hmm.. a lot like... C,C++,SQL.. Some ruby expressions, (some yaml parsing knowledge if you want to be kind of updated) and some stuff for advance administering the server like networking to provide some better experience and protection, linux setup, windows setup, Php, javascript, html, bootstrap etc for web.. for client side.. Photoshop knowledge, Spriting, Lua Programming Language, Browedit, hex edit, resource hacking etc.. well I haven't mention them all since I forgot things I mostly don't use. also, some things I listed were not that much needed like bootstrap and javascript..
  8. prontera,145,193,3 script Dogoo 508,{ while(1){ mes .name$; mes "Hello there nyaa~ring"; mes "I'm a hired guide by gee-gee here."; mes "I help people that have trouble or lost on what to do."; next; [email protected]$ = ""; for([email protected]=0;[email protected]<getarraysize(.GuideMenu$);[email protected]++); [email protected]$ = [email protected]$ + .GuideMenu$ + ":"; [email protected]$ = [email protected]$ + "> Just passing by.."; [email protected] = select([email protected]$)-1; if([email protected] >= getarraysize(.GuideMenu$)){ mes .name$; mes "I see, Hope you have a fun adventures to come."; end; } callsub OnGuideSelect,[email protected]; next; } end; OnGuideSelect: //arg(0) = Selected Context; [email protected] = getarraysize(getd(".GuideContext_"+getarg(0)+"$")); for([email protected]=0;[email protected]<[email protected];[email protected]++){ mes .name$; mes getd(".GuideContext_"+getarg(0)+"$["[email protected]+"]"); next; } return; OnInit: .name$ = "[ ^FF5500Dogoo^000000 ]"; setarray .GuideMenu$[0], "> This is Menu 1","> This is Menu 2","> This is Menu 3"; setarray .GuideContext_0$[0], //This is Menu 1 "Menu 1 - First Bubble.", "Menu 1 - Second Bubble.", "Menu 1 - Third Bubble"; setarray .GuideContext_1$[0], //This is Menu 2 "Menu 2 - First Bubble.", "Menu 2 - Second Bubble"; setarray .GuideContext_2$[0], //This is Menu 3 "Menu 3 - First Bubble.", "Menu 3 - Second Bubble", "Menu 3 - Third Bubble.", "Menu 3 - Fourth Bubble"; end; } All you need to do is create .GuideContext_(MenuNumber-1)$[0],
  9. https://github.com/rathena/rathena/blob/master/doc/source_doc.txt
  10. prontera,155,181,3 script Test 94,{ setarray [email protected]$[1],"Option 1","Option 2","Option 3"; for([email protected]=1;[email protected]<=getarraysize([email protected]$);[email protected]++) [email protected]$ += (SaveOption[[email protected]] ? "":[email protected]$[[email protected]])+":"; [email protected] = select([email protected]$); mes "You have chosen option "[email protected]; mes "Option "[email protected]+" is now gone."; SaveOption[[email protected]] = 1; close; }
  11. Wrong Forums.. this error is from hercules.
  12. item_db is no longer .txt on latest rAthena which supports high id items..
  13. use clif_colormessage instead of clif_displaymessage clif_messagecolor(&sd->bl, color_table[COLOR_LIGHT_GREEN], atcmd_output, false, SELF);
  14. *noreturn Disables usage of map-warping items on a map: - Butterfly Wing (ID 602) - Yellow/Green/Red/Blue Butterfly Wing (IDs 14582-14585) - Siege Teleport Scroll (ID 14591) - Dungeon Teleport Scroll 1/2/3 (IDs 14527, 14581, 12352) The 'warpparty' and 'warpguild' script commands are also blocked for destinations outside the player's current map. you can also check ingame via @mapflag to see the mapflags associated on the map.
  15. I'm looking for a NEMO or better WARP patch to change the directory to read the .spr file of a robe/garment act.. New Clients such as 20200902 can use another directory to read the sprite of an act file. The image below shows you that .act and .spr are in the same directory. While on new clients.. the act and spr can be separated. Image Shown Below: 1. Sprite directory/path 2. Act directory/path So, the goal on this request is to make a patch to read the sprite from the another directory such as the Image shown for valkyrie wing.. Why need this for old clients? As we know, .spr can be more than 100kb+[Some custom can go 1mb+] , with the help of only reading 1 sprite file for the robe/garment.. we can lessen (125 * .spr size) for the grf. I saw the there are 2 path for robe in 20200902 client while there's only 1 path on older clients. i saw this through a hex editor. Hoping that Neo, 4144 or Functor could help on this.
  16. \trunk\npc\warps\cities\morocc.txt //morocc,160,183,0 warp moc002 2,1,moc_castle,94,181 This is before episode of destruction of morocc. he can enable it on warps + npcs + maps_athena.conf
  17. Since i'm lazy to read the whole content and just saw this.. I will answer only this one. you can do it by adding a variable to the player which contains timestamp
  18. Moved to appropriate forum. You can use the Report Post so we can immediately see it. Thank you~
  19. There's already a command for this.. Here's the Link.
  20. Did you add it as headgear?.. better edit it.. if you add it as garment/robe.. then it's layer issues depends on your client version as @Panic says..
  21. Well. There's GitHub desktop which is very useful for beginners because of it's friendly interface.. Base on my experience there are only few commands on git bash that are not visible as interface in GitHub Desktop.. Although i mostly use git bash on my workstation. i also use github desktop to easily view the comparison of my changes.
  22. https://github.com/rathena/rathena/blob/35702c62c2c0c444a2eaa24df3f6d2cb3364ffae/npc/guild/agit_main.txt#L125 addrid an IF condition then use warp.
  23. Do you have any source modifications that might cause this?..
  24. you probably turn this off from conf/battle/player.conf // Revive dead player while warping? (Note 1) revive_onwarp: yes
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.