-
Posts
474 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Haruka Mayumi
-
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;
-
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; }
-
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; }
-
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
-
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; }
-
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.
-
what is the knowledge required by rathena?
Haruka Mayumi replied to ra11's question in General Support
@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.. -
Simple Information NPC Script that has Menus
Haruka Mayumi replied to romanticnerd's question in Script Requests
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], -
https://github.com/rathena/rathena/blob/master/doc/source_doc.txt
-
how to make a menu disappear on npc
Haruka Mayumi replied to PoringSpr's question in Script Requests
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; } -
Wrong Forums.. this error is from hercules.
-
item_db is no longer .txt on latest rAthena which supports high id items..
-
How to change @whosell display message
Haruka Mayumi replied to Chasewalk's question in Source Support
use clif_colormessage instead of clif_displaymessage clif_messagecolor(&sd->bl, color_table[COLOR_LIGHT_GREEN], atcmd_output, false, SELF); -
How to enable butterfly wing bat_b02
Haruka Mayumi replied to Chasewalk's question in Scripting Support
*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. -
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.
-
\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
-
NPC - hideonnpc/hideoffnpc and another question
Haruka Mayumi replied to Fanthasy's question in Scripting Support
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 -
Moved to appropriate forum. You can use the Report Post so we can immediately see it. Thank you~
-
GM Command to generate random option enchants
Haruka Mayumi replied to thebloodlust's question in Script Requests
There's already a command for this.. Here's the Link. -
The wings are not displayed correctly!
Haruka Mayumi replied to gamka's question in Client-side Support
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.. -
i only get replies when i bought lol.
-
merging branches to main branch update error
Haruka Mayumi replied to kalabasa's question in Installation Support
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. -
Breaking emperium warps to specific area
Haruka Mayumi replied to anjasoleil1's question in Scripting Support
https://github.com/rathena/rathena/blob/35702c62c2c0c444a2eaa24df3f6d2cb3364ffae/npc/guild/agit_main.txt#L125 addrid an IF condition then use warp. -
Client map is not working properly
Haruka Mayumi replied to Poring King's question in Client-side Support
Do you have any source modifications that might cause this?.. -
you probably turn this off from conf/battle/player.conf // Revive dead player while warping? (Note 1) revive_onwarp: yes