GmOcean
-
Content Count
371 -
Joined
-
Last visited
-
Days Won
8
Files posted by GmOcean
-
check_bound command
A simple command to check if the player currently has a bound item in their inventory. Thus eliminating the need to use getinventorylist; to do the check. Additionally, you can check for a number of parameters regarding that item.
*checkbound(<item_id>{,<bound_type>{,<refine>{,<attribute>{,<card_1>{,<card_2>{,<card_3>{,<card_4>}}}}}}});This command allows you to check whether or not the attached player has the specified bound item in their inventory.Valid bound types are: 1 - Account Bound 2 - Guild Bound 3 - Party Bound 4 - Character BoundOptional Parameters: refine - checks to see if the item is refined to the given number. attribute - whether the item is broken (1) or not (0) card 1,2,3,4 - checks to see if the specified cards are compounded on the item as well.
Example:
if( checkbound(1205) ){ mes "You have a bound Cutter"; close;} else { mes "You do not have a bound Cutter"; close;}
Example 2:
if( checkbound(1205, 2) ){ mes "You have a guild_bound Cutter"; close;} else { mes "You don't have the required item."; close;}
Example 3:
if( checkbound(1205, 2, 7) ){ mes "You have a +7 guild_bound Cutter."; close;} else { mes "You don't have the required item."; close;}
26 downloads
0 comments
Updated
-
Instance Check Commands
Additional Instance Check Commands to go along with the existing instance_check_party.
Commands:
*instance_check_guild(<guild_id>{,<amount>{,<min>{,<max>}}});This function checks if a guild meets certain requirements, returning 1 ifall conditions are met and 0 otherwise. it will only check online characters.amount - number of online guild members (default is 1).min - minimum level of all characters in the guild (default is 1).max - maximum level of all characters int he guild (default is max level in conf).Example:if( instance_check_guild(getcharid(2), 2, 1, 150) ){ mes "Your guild meets the Memorial Dungeon requirements.", mes "All online members are between levels 1-150 and at least two are online."; close;} else { mes "Sorry, your guild does not meet requirements."; close;}
*instance_check_ready(<IOT_TYPE>,<owner_id>{,amount{,min{,max}}});This function checks if the Char, Party, Guild, etc... meets certain requirements, returning 1 ifall conditions are met and 0 otherwise. It will only check online characters.IOT_TYPE: IOT_NONE - Not sure what this is, but will return 1 regardless of settings due to it being unknown. IOT_CHAR - Character ( Will only check for min or max level. Amount doesn't matter since only 1 character can enter IOT_CHAR instance ). IOT_PARTY - Party IOT_GUILD - Guildamount - number of online party members (default is 1).min - minimum level of all characters in the party (default is 1).max - maximum level of all characters in the party (default is max level in conf).Example:if( instance_check_ready(IOT_CHAR, getcharid(0), 1, 75) ){ mes "The player has met all the requirements to enter the instance.", mes "The player is at least level 75 and is online."; close;} else { mes "The player does not meet all the requirements or is offline."; close;}Example 2:if( instance_check_ready(IOT_PARTY, getcharid(1), 5, 10, 50) ){ mes "The party meets all the requirements to enter the instance.", mes "All online members are between the levels 10-50 and at least 5 members are online."; close;} else { mes "Sorry, your party does not meet all the requirements."; close;}Example 3:if( instance_check_ready(IOT_GUILD, getcharid(2), 36, 140, 150) ){ mes "The guild meets all the requirements to enter the instance."; mes "All online members are between the levels 140-150 and at least 36 of them are online."; close;} else { mes "Sorry, your guild does not meet the requirements."; close;}
[Credits: malufett for providing the base for which these commands were derived from].
24 downloads
0 comments
Submitted
-
Monster Search
=============================================================
Description
=============================================================
This script will allow users to search information about a
monster in-game, and then open up a page to that exact mob on
ratemyserver.net. Works for both re/non-re monsters.
=============================================================
Features
=============================================================
Choose between what website you want your server to use.
Or simply leave that upto your players by enabling all sites.
=============================================================
NOTE - Requires a client from 2011-10-10aRagexe.exe onwards.
NOTE2 - RateMyServer Link does not support custom mobs.
=============================================================
243 downloads
0 comments
Updated
-
Item Search
=============================================================
Description
=============================================================
This script will allow users to search information about an
item in-game. Supports both renewal/non-renewal items. It
will show the exact item if using the search directory
function. If however using the input method, this script will
will run a broadened search, or pull up the exact item if an
item ID is given instead of a name.
=============================================================
Features
=============================================================
Choose between what website you want your server to use.
Or simply leave that upto your players by enabling all sites.
=============================================================
NOTE - Requires a client from 2011-10-10aRagexe.exe onwards.
NOTE2 - RateMyServer Link does not support custom items.
=============================================================
340 downloads
0 comments
Updated
-
Slot Machine
By GmOcean in Events & Games
This script will allow users to spend zeny &/or an item for a chance to win a prize from the slot machine. Currently there are 2 versions. First is a Single Slot Machine, where only 1 slot is rolled. Second is the Triple Slot machine, where 3 slots are rolled. For either version, SUCCESS must be the only thing displayed in order to win.
To add the cutins, just place them in: data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/illust
/* =============================================================
/* NOTE - If using soundeffects you must add the ".wav" files
/* provided in the ".rar" file to your: data/wav folder located
/* in either your: ( Ragnarok folder ) OR ( .grf file )
/* =============================================================
I've included the PSD file, so you can edit it as you like.
1962 downloads
Updated
-
Effect List
A simple Utility script designed to make searching for effects in game easier.
285 downloads
0 comments
Submitted