-
Content Count
2178 -
Joined
-
Last visited
-
Days Won
66
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by evilpuncker
-
Okay, I'm with a kind of a newbie issue, wanted to edit the pc_has_second_costume to include soul linker and star gladiator too, but its not working, seems my logic is failed static bool pc_has_second_costume(struct map_session_data *sd) { nullpo_retr(false, sd); // FIXME: JOB_SUPER_NOVICE_E(4190) is not supposed to be 3rd Job. (Issue#2383) if ((sd->job & JOBL_THIRD) != 0 && (sd->job & MAPID_BASEMASK) != MAPID_NOVICE || (sd->job & MAPID_UPPERMASK) != MAPID_SOUL_LINKER || (sd->job & MAPID_UPPERMASK) != MAPID_STAR_GLADIATOR) return true; return false; } same with my script: .@choose = select( "Hair Style", "Hair Color", "Cloth Color", (!(eaclass() & EAJL_THIRD) || BaseJob == Job_SuperNovice || Class != Job_Star_Gladiator || Class != Job_Soul_Linker )? "": _("Body Style") ) -1; btw why don't we have an official has_second_costume script command though, so we don't need to repeat code
-
[Showcase] Lhz Dun Mobs Update aka Bio Lab Family
evilpuncker replied to w0wZukuBg's topic in Spriting & Palette Showcase
this is so dope 😲 -
Help converting small piece of code to hercules
evilpuncker replied to evilpuncker's question in Source Support
you mean the day? I don't get it xD now its confused me, btw this is the script I'm using: //set_attendance_requirement(); allow the player to get the attendance function script set_attendance_requirement { setd "#Attendance_" + gettime(DT_YYYYMMDD),true; return; } //get_attendance_requirement(); return true if the requirement already met function script get_attendance_requirement { return getd("#Attendance_" + gettime(DT_YYYYMMDD)); } - script DailyLogin -1,{ OnPCLoginEvent: if (Baselevel < 75) { dispbottom "You must be at least level 75 before you qualify for Daily Attendance."; end; } if (get_attendance_requirement()) { dispbottom "You already got the attendance today."; end; } if (#DailyReward > gettimetick(2)) { dispbottom .n$+": You can't currently receive the Daily Reward, you still have to wait "+callfunc("Time2Str", #DailyReward); dispbottom .n$+": After this, visit the Attendance NPC in Prontera."; end; } set #DailyReward,0; dispbottom .n$+": Stay active for "+( (.rew_login%3600 == 0)?.rew_login/3600+" Hour(s)":.rew_login/60+" Minute(s)")+" to receive the Daily Reward."; dispbottom .n$+": Then talk to the Attendance NPC in Prontera."; attachnpctimer; initnpctimer; end; OnTimer60000: // Every Minute stopnpctimer; set #daily,#daily + 60; if(#daily == .rew_login) { set #daily,0; set #DailyReward,Daily + 1; dispbottom .n$+": You can now receive your Daily Reward. Please visit the Attendance NPC in Prontera.",.bc_self; end; } attachnpctimer; initnpctimer; end; OnInit: set .n$, "[Attendance]"; set .rew_time, 72000; // Timer until next Reward in seconds // How long does someone have to stay online to recieve the reward in seconds // Default: 3600 = 1 Hour // Minimum: 60 = 1 Minute, because the Timer checks every Minute set .rew_login, 3600; end; } prontera,147,175,6 script Attendance Checker 888,{ if (Baselevel < 75) { dispbottom "You must be at least level 75 to get your daily attendance bonus."; end; } if (get_attendance_requirement()) { mes "You already got the attendance today."; end; } mes .n$; mes "Welcome, "+strcharinfo(0)+"!"; if (!#DailyReward) { mes "I'm sorry, but you can't recieve your Daily Reward yet. You still have to wait for "+callfunc("Time2Str",(getvariableofnpc(.rew_login,"DailyLogin")-#daily)+gettimetick(2)); next; mes "Talk to me when the timer is finished."; close; } mes "Your attendance has been verified. Click at the arrow button below your Alt+V."; set_attendance_requirement(); set #DailyReward,gettimetick(2) + .rew_time; set Daily,#DailyReward; set #DailyReward,0; next; mes "Press Alt+V and click Attendance Check"; next; mes "Then click the prize of the day. Your item will be sent via RODex."; next; mes "Check your RODex mail to get your item."; close; } -
Help converting small piece of code to hercules
evilpuncker replied to evilpuncker's question in Source Support
they changed it on https://github.com/HerculesWS/Hercules/commit/0b86f2b46bcace0967a04fbc3d85a4c9e3df3c32 (finally!) now its account based, thank you for the plugin! -
Hello everyone, I'm trying to add the attendance system requirement to hercules, and there is a small code that need to be added to the clif_parse_attendance_reward_request function, I managed to fix a few errors but there is still some that I wasn't able to fix, the code is the following: char attendance_requirement[NAME_LENGTH]; sprintf(attendance_requirement, "#Attendance_%d", date_get(DT_YYYYMMDD)); if (!pc_readaccountreg2str(sd, attendance_requirement)) { clif->msgtable_color(sd, "You don't meet the requirement.", COLOR_RED); return; } the errors:
-
hey @AnnieRuru this is a nice script, the most complete one that I found, I have only one question and a few suggestions if you plan to do any update to it: question: - how do I change the class check so I could show the body style menu to a few more classes (soul linker and star gladiator) suggestions: - add a setting to block cloth color change if you have a body style > than 0 (people using custom palettes will love this because body style palette is different than current one) - make the npc change the color only if the user chose option: "I want this color", otherwise just make it show the colors but if user close the npc or exit, revert to original color - arrange the menu dynamically so if I select the Previous option, it will become the first menu option so I can browse the colors backward easily, until I select Next again not so useful suggestion, but kinda a dream: - option to save/load style set (cloth, hair color and hair style), just like those npc that save builds, saving them with an account variable so for example you could save a style that you liked and then instead of having to browse between everything again in another char, you just talk with npc and load that same style you saved before
-
thank you so much! going to test it right now
-
welcome back annie ❤️ hope you stay longer (but we are kinda dead ) and I have a suggestion if you looking to release anything: a mapflag to prevent pet tamming 😁
-
hi @Rytech is it possible, for example, to add new bodystyles? lets say, add 4th jobs clothes as bodystyle 2? what is the folder structure?
-
RO Patcher Lite, v4.2.2.1316 - last updated 2023/12/18
evilpuncker replied to Ai4rei's topic in Client-Side Releases
thank you for still supporting it! its the only way I can keep up with my kRO updated! -
what is a fault? I just downloaded it with no error (using method 1)
-
use nemo patcher: http://nemo.herc.ws/
-
Well, the entire (private) ragnarok scene has been like this for years already, people are coming and going all the time
-
thanks, that fixes one of the issues I posted here, hope @Dastgir can take a look when he got free time
-
hey! just so you know, I get an HTTP ERROR 500 on your signature link xD
-
@Oxxy this need an update to work on latest hercules
-
that is kinda obvious, the old theme is cached in your browser, you need to clear its cache, usually pressing CTRL+F5
-
oh look who's still around😁
-
I miss you ☹️
-
I'm so glad to see that the project is still going on!
-
-
- tree of savior
- graphic
-
(and 3 more)
Tagged with: