The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
-
Posts
123 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by namerpus18
-
Hi thank you so much, it worked.
-
Good Day Everyone, Please help me I want to make all cards in my inventory show in the select menu. Thank you so much, ~NOOB prontera,164,200,4 script selectcard 112,{ getinventorylist(); setarray .@menulist[0],0; .@j = 0; for (.@i = 0; .@i < @inventorylist_count; ++.@i) { .@idd = @inventorylist_id[.@i]; .@type = getiteminfo(.@idd,2); if (.@type == 6) { .@menulist[@j] = .@idd; .@j++; dispbottom .@menulist[@j]; } } for (.@i = 0; .@i < getarraysize(.@menulist); ++.@i) { .@menu$ = .@menu$ + getitemname(.@menulist[.@i]); .@menu$ = .@menu$ + ":"; .@part = .@menulist[select(.@menu$)]; } .@part = .@menulist[select(.@menu$)]; end; }
-
Hello everyone, Can I ask for some help if someone has any script that uses clif_scriptinput that I can get a reference to? I want to learn how to use it. I want to learn to assign a value from an input to a variable. Thank you EDIT1: To be more detailed, I just want to make a @command where if you type the command it will pop up the input bar and assign that value to a variable inside the command script
-
[Error]: status_change_start: Invalid status change (888)!
namerpus18 replied to Stussies's question in Source Support
Hi can you share how you solved this error please? -
Hello everyone, Can anybody help me how should i put a new status change I am having this error everytime the system run sc_start4. I am not sure exactly what I am missing. Things I did already: 1. added src/map/script_constants.hpp export_constant(SC_BOT); 2. added doc/status_change.txt SC_BOT desc: autobot //I am not sure how this txt works val1: val4: 3. tried adding custom status at db/pre-re/status.yml - Status : SC_BOT //giving error says invalid status SC_BOT I am really sure how this list works 4. at src/map/status.hpp SC_BOT = 532, 5. I checked everywhere that has data for status changes but still failed. 6. I tried to follow this guide https://github.com/rathena/rathena/wiki/Adding_new_statuses but the files and some source functions are different now. Thank you so much and so much appreciate any help.
-
Help, please make my script line shorter.
namerpus18 replied to namerpus18's question in Scripting Support
This method is something new to me, I am not quite familiar specially this "implode" thing so i will read about it and I will try this today. Thank you so much always -
Help, please make my script line shorter.
namerpus18 replied to namerpus18's question in Scripting Support
I am sorry, I also tried that method but the thing is inside the quote should be a <condition> can be any expression similar to the <condition> in the 'if' command. I am not quite sure if doing for inside it is really possible. Thank you OnInit: questinfo(QTYPE_QUEST),QMARK_YELLOW, "checkquest (11114,HUNTING) == 2 || checkquest (11115,HUNTING) == 2 || checkquest (11116,HUNTING) == 2 || checkquest (11117,HUNTING) == 2 || checkquest (11118,HUNTING) == 2 || checkquest (11119,HUNTING) == 2 || checkquest (11120,HUNTING) == 2 || checkquest (11121,HUNTING) == 2 || checkquest (11122,HUNTING) == 2 || checkquest (11123,HUNTING) == 2"; -
Good Day everyone, I just need some help, if someone can help me shorten this script. My methods are too limited and i cant find a way to shorten it. Does it improve if i manage to optimize this script? I feel that this script alone takes a lot of checking. Thank you so much, if(getmonsterinfo(killedrid, MOB_MVPEXP) > 1 && isbegin_quest(19000) > 0 || isbegin_quest(19001) > 0 || isbegin_quest(19002) > 0 || isbegin_quest(19003) > 0 || isbegin_quest(19004) > 0 || isbegin_quest(19005) > 0 || isbegin_quest(19006) > 0 || isbegin_quest(19007) > 0 || isbegin_quest(19008) > 0 || isbegin_quest(19009) > 0 || isbegin_quest(19010) > 0 || isbegin_quest(19011) > 0 || isbegin_quest(19012) > 0 || isbegin_quest(19013) > 0 || isbegin_quest(19014) > 0 || isbegin_quest(19015) > 0 || isbegin_quest(19016) > 0 || isbegin_quest(19017) > 0 || isbegin_quest(19018) > 0 || isbegin_quest(19019) > 0 ) { .... }
-
OnNPCKillEvent: if(getmonsterinfo(killedrid, MOB_MVPEXP) > 1) { setarray .@arrayofMVP[0], 1511, 1039, 1272, 1046, 1389, 1112, 1115, 1252, 1086, 1251, 1147, 1059, 1150, 1087, 1190, 1038, 1157, 1159, 1583, 1312; addrid(1); for( .@i = 0;.@i != getarraysize(.@arrayofMVP); .@i++ ) { .@j = .@arrayofnumbers[.@i]; switch(.@j) { case 1511: completequest (19000,getcharid(0)); break; case 1039: completequest (19001,getcharid(0)); break; ... ... ... } setquest (.@quest_id+20,getcharid(0)); end; Hello everyone, So I am doing a custom quest for every player within the map to complete each quest for MVP. This OnNPCKillEvent: is supposed to get RID of all players within the map and complete the quest. But I tried it with no error on the server but the quest is not completing when the MVP is killed. I dont know what I did wrong. Thank you so much for always. FOUND IT: .@j = .@arrayofnumbers[.@i];
-
oh yah, that makes sense. this saves me a lot. Thank you so much. for now i will finish my project with this. I still have my original plan on the other thread involving source code I will come back to that after i finish this. Thank you for your help and time EDIT1: so i tested it out and added something. I am so happy with the result maybe i will also add the map where the MVP really spawn. OnNPCKillEvent: if(getmonsterinfo(killedrid, MOB_MVPEXP) > 1) { if(killedrid == 1190 | isbegin_quest(19000) ==1) { //check if the MVP is Orc Lord addrid(1); changequest (19000,19001,getcharid(0)); end; } } end; }
-
I added timelimit to submit the quest. switch(1850,1190,......................){ //mobid case 1: completequest 19000,getcharid(0); //questid break; case 2 completequest 19010,getcharid(0); break; case 3; ... .... .... .... } I dunno if it will work but gonna try this one to check what MVP is killed and check if the player has the quest. Thank you so much.
-
The more I analyze my code the more I see a lot is missing . Like, check what map and mvp the player in and if the quest fit together. Or else any mvp will just complete the 1st quest.
-
Hi Harvin, I am just making a workaround to achieve a rewarding system for MVP. And kinda achieve it now, somehow :). I made 2 quests "hunt Orc Lord 1/2" and "hunt Orc Lord 2/2" Then if the mvp is killed in the map i will change the quest from 1/2 to 2/2 where you just need to talk to the npc for reward. Still, a lot to do like putting maps and MVP on VECTOR or ARRAY i think? OnNPCKillEvent: if(getmonsterinfo(killedrid, MOB_MVPEXP) > 1) { addrid(1); changequest (19000,19001,getcharid(0)); } end; } I am just being resourceful and trying to use anything available for me and made this. Sorry if it's too noob code but here it is. I still want to limit the quest for each MVP to 1 per day. prontera,169,180,4 script Commander#1 4_M_UNCLEKNIGHT,{ if (isbegin_quest(19001) == 0) { mes "You don't have the quest needed."; close; end; } if (checkquest (19001,PLAYTIME!=2,getcharid(0))){ mes "Time limit is finished."; close; end; } else if (checkquest (19001,PLAYTIME==0,getcharid(0))){ completequest (19001,getcharid(0)); getitem 7615,1; mes "Thank you."; close2; //.@quest$ + 1 emotion 15; end; } }
-
Hello again and again everyone, I just need some help regarding this custom quest I made where players need to slay an MVP. I have a problem though, the quest can only complete if the player is the MVP. What I want is to happen is , as long the player hit the mob(MVP) they can complete the quest. The player can only complete one quest for each MVP Monster. I don't know what should I change in the src script or make a floating npc. Thank you so much EDIT1: Hello, I saw this script and I think it will work to complete the quest for players within the map. Not quite sure if I need to do checking first if the char have the quest or just straight up put "completequest <ID>{,<char_id>};" there. (But at least I want that those who only damaged the mob(MVP) to complete the quest.)) Thank you - script boss_rewards -1,{ OnNPCKillEvent: if(getmonsterinfo(killedrid, MOB_MVPEXP) > 1) { addrid(1); completequest <ID>{,<char_id>}; } end; }
-
one last thing. So you mean I cannot pull out md->dmglog[i].id once the monster is dead right? EDIT: I am guessing i need to struct my own data handling somewhere in log.ccp which i think not possible right now for me. I grasping bit by bit by reading all related lines of several scripts, analyzing small parts that I understand and finding logic behind it. Thanks a lot
-
oh so data will disappear once the mob die unless i make a separate struct data? about putting it on db sql i still need to check on it if its not too complicated i might consider. and about this for loop do you think i can use it too? //found this on exp computation coz im finding a way to use tdmg so I can filter out IDs depending on their tdmg though im not sure if i can use it double per = (double)md->dmglog[i].dmg/(double)md->tdmg; ================= for(i = 0; i < DAMAGELOG_SIZE && md->dmglog[i].id; i++) { //can i filter out IDs based on md->tdmg here? //and at the same time give reward base on tdmg? //DAMAGELOG_SIZE is 30 so do i need to change it to 100+ if i want to log more IDs?? } Thank you so much you helped me so much, I am checking how to use vector now
-
Help me - Roulette have problem. Can't go to Lv 2
namerpus18 replied to GubA's question in Database Support
I dont think I understand, I mean why is the roulette using only bronze up to the last stage in my roulette? I don't know full mechanics yet, i am reading the src code but I am noob when it comes to src code so I am still dont get it. What i guess is bronze suppose to be for stage 1-2 or 3, silver for stage 4 or so then gold up to the last stage. But my roulette dont use silver or gold even its in laat stage -
Thanks man, appreciate it so much
-
Hello everyone, Can you guys help me where can I change this section here like a banner in cashshop. I can't find any script or in src code. Thank you so much,
-
Help me - Roulette have problem. Can't go to Lv 2
namerpus18 replied to GubA's question in Database Support
Hello, I applied the fix for the stage 1 stuck problem, do you have a fix for the silver and gold coins not working? Like the one of your video that silver coin is consumed when you are about stage 3 Thank you -
Yeah, bound items can stack right. Can't see a way to stack this, well not a big deal I guess but kinda messy in inventory I made it rental instead of bound because it is a trend to create an account and collect this freebie daily and I think in this way that trend is not possible to do. Thank you
-
Hello everybody, Is it possible to make a script this usables stack together? I am not quite sure if this needs to be edited within the source code or simply a script. Thank you so much always
-
Hello everyone, I just wanna ask for help if how I can limit account registration per IP. I camt find it anywhere here. Like you can only register 2 accounts per IP address... Sorry I am not sure which section to ask this but i am guessing here. Thank you so much
-
[SOLVED] Server is up without any error BUT....
namerpus18 replied to namerpus18's question in Client-side Support
I tried to remake everything and it is now working. Thank you SOLVED -
[SOLVED] Server is up without any error BUT....
namerpus18 replied to namerpus18's question in Client-side Support
I open the server 6900 is closed, 5121 open,6121 open