-
Posts
51 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Nyaniverse
-
I'm trying to match the points to their names and aid on another table, but somehow the points are not going to their assigned aid, any clues on how to properly set it? .@sql$ = " SELECT `account_id`,`value` " + " FROM `acc_reg_num`" + " WHERE `key` = '#s_alltime' " + " AND `value` >= 1" + " ORDER BY `value` DESC LIMIT 20"; query_sql(.@sql$,.@aid,.@total); query_sql("SELECT `aid`,`name` FROM `test_db`",.@said,.@name$); //comparing who's going to be in the ranking for(.@i = 0; .@i < getarraysize(.@aid); .@i++) if(inarray(.@said[0],.@aid[.@i]) != -1){ .@all_time$[.@i] = .@name$[inarray(.@aid[0],.@said[.@i])]; .@all_time[.@i] = .@total[inarray(.@aid[0],.@said[.@i])]; }
-
Gepard Shield has a known by pass, players who don't own such third party, of course can't take advantage of it, but it still poses a great issue. I suggest adding hard delays to skills that are susceptible to NDLs, example: champ skills, bowling bash, and such Good luck.
-
Check mapflags, you'll be able to easily identify which mapflag to use.
-
[solved] Super Novice Death Counter Resetter
Nyaniverse replied to jamesandrew's question in Script Requests
prontera,150,150,4 script Resetter 69,{ if(PC_DIE_COUNTER > 0 && countitem(501) >= 10){ delitem 501,10; PC_DIE_COUNTER = 0; mes "Your PC_DIE_COUNTER has been reset to 0."; close; } mes "No die counter or not enough Red Potion."; close; } It's just a rough script but you should be able to make it work the way you want it, it has everything you need- 1 reply
-
- 1
-
-
That might be the problem, if im not mistaken, it reflects perfectly fine on my end. I might be wrong though, so let's see if anyone else can put in more info for us.
-
Are you using latest rAthena?
-
Where's the whole item script? You might be adding it on the wrong area.
-
Hmm, I just made the script to help me facilitate who's in my streamer program and such, so I do have to manually put them in or remove them. So yes, it's very manual. It was created to only assist in managing my streamer program, without having to touch my script or having to reload npcs every time I had to add/remove someone from the list. Edit: This question actually made me re-think the script and made it more interesting -- I'll post the updated showcase soon~ New Features Initial search can be set either for username or regular character name Now an option to wipe all 'supplies' from the database (requires custom item ids to work properly, or else it will delete all other supplies) - if enabled, supplies reset at 00:00 server time, wiping all supplies (online and offline) Now has a feature that distributes supplies to streamers on a daily basis, logs the time they claimed supply for checking purposes Now has a feature that separates supplies for 'Casual' streamers from 'Official' streamers Has a built-in announce feature when claiming supplies, allows said streamer to broadcast (once per day) that they claimed their supply and will go live soon
-
Hello everynyan! I was messing around in my local server and thought of an NPC that easily helps manage my list of streamers without having to go into my server files to tweak them manually~ Thus I showcase my own streamer manager NPC~ complete with a "countdown" to their designated supply reset day~ Features: Easily add/remove streamers via their in-game name, regardless if they're online or offline! Automatic supply reset for hassle-free management Online streamers will be notified automatically when they are added to the supply NPC Configurable settings such as announcements, items given as supply, item bound-type and more! Username searching feature Additional option to wipe all supplies sent to streamers (can be configured what IDs that will be removed) Daily supply distribution with automatic reset at X time, available logs to check when stream/supply was claimed Separate supply list for 'Casual' and 'Official' streamers Has streamer ranking that settles every week for weekly, and every 1st of the month for monthly, keeps a record for all-time ranking as well When streamer is removed, data will not show on rankings, but ranking information is preserved, so if streamer is added back, they will go back to their previous rank/point Added previous week/month ranking on options Added option for GM to reset weekly/monthly rankings or both I would love to hear your opinions about this NPC and if you think I can improve it somewhere, please feel free to mention it below! Cheers, nyan~
-
I'll throw you treat, it's up to you how to figure out how to get the colors and set the colors. prontera,155,186,5 script Fashionista#name 845,{ .@current = get_color_nick(); setarray .@colors$,"C8B928","177ABD","F35BE6","D7ECB2","AE8B29" ,"FBF79A","73558C","EB57B8","25B7EF","442BFB" ,"D6E2F9","D7FE28","6A98B1","A764E0","14D5D4"; for(.@i = 0; .@i < getarraysize(.@colors$); .@i++) .@menu$ += "^"+.@colors$[.@i]+""+strcharinfo(0)+"^000000:"; .@select = select(.@menu$) - 1; .@color = .@select + 1; if(countitem(58503) < 1){ message strcharinfo(0),"You do not have "+getitemname(58503)+"!"; end; } menu "Buy this ^"+.@colors$[.@select]+"color?",-; if(.@current == .@color){ message strcharinfo(0),"This is your current name color"; end; } delitem 58503,1; set_color_nick(.@color); message strcharinfo(0),"Enjoy your new color!"; end; }
-
Have you tried setting it to 100% chance to auto-cast? Try adding a different skill and see if it works as well, to debug it.
-
bonus4 bAutoSpellOnSkill,sk,x,y,n; Adds a n/10% chance to autospell skill x at level y when using skill sk This should be the one that you are looking for
-
Hello everynyan! I'm here to showcase my own Race to MAX! NPC~ It's just your traditional race to max level NPC with fancier text, easier controls and have a detailed information about the winners of the race. I would love to hear feedback about this NPC and if you have any suggestions, please feel free to comment down below! Features are as follows Configurable settings for which classes can be included in the race Configurable rewards list Time stamp of when player achieved max level Colored identifications on each Class category to signify if there are winners, no winners yet or they have winners but still have slots to fill GM options to easily reset the Race NPC and it's data Automatically hides Registration NPC when no event is active Accounts can only participate in the race once
- 1 reply
-
- 2
-
-
You can reference your question by looking at the default custom Healer that comes with rAthena.
-
View File Guild/Party GM Assist NPC Hello everynyan, this is a free release for all our event GMs out there This should help out in events with easier recalls, barricades, announcements and such! If you have any suggestions or bugs, please feel free to inform me. Commands as follows dispbottom "@event usage: "; dispbottom "------------------"; dispbottom "@event left (teleport left-side)"; dispbottom "@event right ((teleport right-side)"; dispbottom "@event recall (recall parties)"; dispbottom "@event debuff (debuff all)"; dispbottom "@event supply (give supply all)"; dispbottom "@event start (start event)"; dispbottom "@event stop (stop event)"; dispbottom "@event partycount (count online members)"; dispbottom "@event mode (selects Guild or Party mode)"; dispbottom "@event repot (announces for repots)"; dispbottom "@event winner (announces who's the winner)"; dispbottom "------------------"; Submitter Nyaniverse Submitted 11/26/23 Category PvP, GvG, WoE, Battleground Video Content Author Nyani
-
Version 2.1
156 downloads
Hello everynyan, this is a free release for all our event GMs out there This should help out in events with easier recalls, barricades, announcements and such! If you have any suggestions or bugs, please feel free to inform me. Commands as follows dispbottom "@event usage: "; dispbottom "------------------"; dispbottom "@event left (teleport left-side)"; dispbottom "@event right ((teleport right-side)"; dispbottom "@event recall (recall parties)"; dispbottom "@event debuff (debuff all)"; dispbottom "@event supply (give supply all)"; dispbottom "@event start (start event)"; dispbottom "@event stop (stop event)"; dispbottom "@event partycount (count online members)"; dispbottom "@event mode (selects Guild or Party mode)"; dispbottom "@event repot (announces for repots)"; dispbottom "@event winner (announces who's the winner)"; dispbottom "------------------";Free -
script blacksmith refining item that cannot be refined
Nyaniverse replied to IsabelaFernandez's question in Scripting Support
You're right, I apparently copied the one I sent previously. Edited it to have the getequipid check. -
script blacksmith refining item that cannot be refined
Nyaniverse replied to IsabelaFernandez's question in Scripting Support
Here you go. prontera,164,168,4 script Dwarf 600,{ .@item = 7420; .@quan = 0; .@freeRef = 7; .@paidRef = 10; setarray .@blacklist, 501,502,503,504,505; //add banned item here switch(select("Refino Gratis", "Refino Pago")){ case 1: setarray .@items[0],EQI_SHOES,EQI_GARMENT,EQI_HEAD_TOP,EQI_ARMOR,EQI_HAND_L,EQI_HAND_R;] for(.@i = 0; .@i < getarraysize(.@items); .@i++){ if(inarray(.@blacklist[0],getequipid(.@items[.@i])) != -1){ message strcharinfo(0),"Invalid item"; end; } } for(.@i = 0; .@i < getarraysize(.@items); .@i++){ if(getequiprefinerycnt(.@items[.@i]) < .@freeRef){ specialeffect2 154; successrefitem .@items[.@i],.@freeRef - getequiprefinerycnt(.@items[.@i]); } } end; case 2: setarray .@items[0],EQI_SHOES,EQI_GARMENT,EQI_HEAD_TOP,EQI_ARMOR,EQI_HAND_L,EQI_HAND_R; if (countitem(.@item) < .@quan){ mes "Voce nao tem os items necessarios: " + .@quan + "x "+ getitemname(.@item); close; } for(.@i = 0; .@i < getarraysize(.@items); .@i++){ if(inarray(.@blacklist[0],getequipid(.@items[.@i])) != -1){ message strcharinfo(0),"Invalid item"; end; } } for(.@i = 0; .@i < getarraysize(.@items); .@i++){ // prevent the item consuption if(getequiprefinerycnt(.@items[.@i]) != .@paidRef) .@flag = 1; if(getequiprefinerycnt(.@items[.@i]) < .@paidRef){ specialeffect2 154; successrefitem .@items[.@i],.@paidRef - getequiprefinerycnt(.@items[.@i]); } } if (.@flag == 1) delitem 7420,10; end; } OnInit: waitingroom "Refinador Mestre",0; } -
script blacksmith refining item that cannot be refined
Nyaniverse replied to IsabelaFernandez's question in Scripting Support
Ah yes, sorry it was my mistake, please edit this line if(inarray(.@blacklist[0],.@items[.@i]) != -1){ to this if(inarray(.@blacklist[0],getequipid(.@items[.@i])) != -1){ -
script blacksmith refining item that cannot be refined
Nyaniverse replied to IsabelaFernandez's question in Scripting Support
Here, have a try prontera,164,168,4 script Dwarf 600,{ .@item = 7420; .@quan = 0; .@freeRef = 7; .@paidRef = 10; setarray .@blacklist, 501,502,503,504,505; //add banned item here switch(select("Refino Gratis", "Refino Pago")){ case 1: setarray .@items[0],EQI_SHOES,EQI_GARMENT,EQI_HEAD_TOP,EQI_ARMOR,EQI_HAND_L,EQI_HAND_R; for(.@i = 0; .@i < getarraysize(.@items); .@i++){ if(inarray(.@blacklist[0],.@items[.@i]) != -1){ message strcharinfo(0),"Invalid item"; end; } if(getequiprefinerycnt(.@items[.@i]) < .@freeRef){ specialeffect2 154; successrefitem .@items[.@i],.@freeRef - getequiprefinerycnt(.@items[.@i]); } } end; case 2: setarray .@items[0],EQI_SHOES,EQI_GARMENT,EQI_HEAD_TOP,EQI_ARMOR,EQI_HAND_L,EQI_HAND_R; if (countitem(.@item) < .@quan){ mes "Voce nao tem os items necessarios: " + .@quan + "x "+ getitemname(.@item); close; } for(.@i = 0; .@i < getarraysize(.@items); .@i++){ if(inarray(.@blacklist[0],.@items[.@i]) != -1){ message strcharinfo(0),"Invalid item"; end; } // prevent the item consuption if(getequiprefinerycnt(.@items[.@i]) != .@paidRef) .@flag = 1; if(getequiprefinerycnt(.@items[.@i]) < .@paidRef){ specialeffect2 154; successrefitem .@items[.@i],.@paidRef - getequiprefinerycnt(.@items[.@i]); } } if (.@flag == 1) delitem 7420,10; end; } OnInit: waitingroom "Refinador Mestre",0; } -
Hello everynyan! This free script is to help facilitate GvG events with crude but simple commands to make conducting events easier for all our event GMs out there~ Usage dispbottom "@event usage: "; dispbottom "------------------"; dispbottom "@event left (teleport left-side)"; dispbottom "@event right ((teleport right-side)"; dispbottom "@event recall (recall parties)"; dispbottom "@event debuff (debuff all)"; dispbottom "@event supply (give supply all)"; dispbottom "@event start (start event)"; dispbottom "@event stop (stop event)"; dispbottom "@event partycount (count online members)"; dispbottom "------------------"; Customizable Options //set your supplies if you wish setarray .supply_ids, 501,502,503; setarray .supply_amt, 1 ,2 ,3; //add maps that you want to allow the @event command to work on //make sure to update the OnPartyRecall event as well //make sure you add setwall and barricade spawns on those new maps as well setarray .map$, "guild_vs1", "2012rwc_06", "2012rwc_08"; GvGManager.txt
- 1 reply
-
- 2
-
-
-
[solved] Add Zeny Cost to Custom Warper
Nyaniverse replied to jamesandrew's question in Script Requests
You can add your checks here function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); if(BaseLevel > 50 && Zeny < 1000){ mes "You need 1,000 Zeny."; close; } if(BaseLevel > 50) Zeny -= 1000; warp getarg(0),getarg(1,0),getarg(2,0); end; } -
Most MVPs have their own special mobs, adding a blacklist of those IDs can easily solve this issue. This is actually really good point, I will be adding this feature to this system! Thank you!
-
Hello everynyan! I'm here to present my Interactive Nyani Bot Killer! Intro, *ehem ehem*, we all know that botting is rampant across all Ragnarok Online servers, and there's only so much you can do. And I was thinking, why not make the bot check as interactive as possible? This way, it would be very hard to create a "macro" or bypass for your bot checker! And here I am, presenting my own bot killer system which is simple, and possibly, can not be bypassed. (Or not, who knows, we'll have to see~) More showcases to follow~ Features are as follows! Configurable settings for rewards and buffs Configurable settings for how many monsters to kill before checking is conducted Configurable settings for allowing certain jobs to bypass bot check (Alchemist / Creator) Configurable settings for how many failed attempts before getting jailed Add as many rooms as I want Kill counts will be retained even after logging out or getting disconnected Chat room shuffles every 5 minutes, or on demand (@command) NEW! Added a blacklist for mob ids, so that it can be skipped when doing checks (MVPs, etc) - credit to @Chaos92 for the idea NEW! Added a blacklist for maps, allowing for flexibility on where kills will be counted NEW! Added multiple areas for bot checking, simulating a randomized chatroom location, making bypassing this bot check even harder! NEW! Added check for boosts (XP/JXP/ITEMBOOST) and added the option to extend said buffs by X minutes!
-
set .@failrate,getarg(1); to set .@failrate,36;