-
Content Count
618 -
Joined
-
Last visited
-
Days Won
15
Reputation Activity
-
Mumbles reacted to antonycbueno in Recommended Quest Problem
With some friend help the problem is solved...
I just put in option diff the following text in "recommendedquest.lub" to read my file "System/recommendedquest" without the extension.
-
Mumbles got a reaction from evilpuncker in Variant Mining
Updates:
2.0 - Optimised for Hercules emulators. 2.1 - Updated algorithms. 2.2 - Added randomised disappearing and respawning.
Please see first post for download link.
-
Mumbles got a reaction from Kuroyama in @go command
So the documentation for nowarpto is correct, then; lost track of what the original issue was for a sec lol.
In your last reply, you mentioned replacing mf_nowarp with mf_nowarpto:
} else if (getgroupid() < getarg(4) || getmapflag(getarg(0), mf_nowarp)) {
However, the intent of this line is to prevent warping if the player's Group ID isn't high enough OR if the destination has a nowarp flag, regardless of Group ID. You can bypass this for GMs by changing the expression a little (I'm sure there's a prettier way to do it, but I'm not feeling up to it):
} else if (getgroupid() < getarg(4) || getmapflag(getarg(0), mf_nowarp) && getgroupid() < getarg(4)) {
In regard to your original inquiry, the behaviour of nowarp is to prevent the use of @go to a destination; to prevent the use of @go from a map flagged with nowarp (despite this not being the intent of the nowarp flag), you can still prevent warping by adding an expression similar to my original suggestion:
} else if (getmapflag(strcharinfo(3), mf_nowarp)) { message strcharinfo(0), "You are not authorised to warp from this map.";
If you would like to prevent warping from specific maps, I would recommend moving forward with the filter/blacklist route — hell, you could even prevent both nowarp-flagged and specific maps from being warped to if you wanted to.
-
Mumbles got a reaction from Ridley in identifyall()
identifyall was solely added as an atcommand, wasn't it?
I made this as a script-command based on reiterations of identify() so users could make an inline function in their quest, event, or utility scripts.
The benefits are trivial and would mostly suit low-rate servers with a low zeny pool, but they're beneficial nonetheless. ¯\_(ツ)_/¯
This script-command version of identifyall() provides the following:
A return value for the number of items identified Enables the possibility of using the amount of items identified to create individual cost or bulk pricing i.e. 10 items identified for 400 Z (base cost for 10x items identified @ 40 Z each) i.e. 23 items identified for 805 Z (bulk cost for 23x items identied @ 35 Z each, when identifying 20 or more at once) Allows for the number of items identified (and the maths on cost) to be displayed to the user, for informational purposes Eliminates redundant scripting by alternatively using atcommand "@identifyall"; in a script and still needing to gather the number of items identified Allows for use of identifyall as a script-command rather than an atcommand, particularly under circumstances when using atcommands in general are restricted, limited, or undesirable With some modification, this can be changed into a global function so it can be used across multiple scripts With a little imagination and creativity, identifyall as a script-command can be used for interfacing with various utilities, zeny sinks, and other features. Like I said -- this little script command would find its niche mostly in low-rate servers, but it'll be here if it's needed.
-
Mumbles got a reaction from Ridley in Daifuku - Graphics giveaway prize not given
If anyone came crying, it'd appear to be you. To answer your question, though -- no; I just had the misfortune of coming across your cancerous post on the front page.
Poor you -- you wasted a whole few moments of your pathetic life waiting for something that was free; of no cost to you whatsoever. And for all your efforts, you didn't get it. Geez. How sad.
I've collaborated with Daifuku in the past, and I've admittedly pushed her limits in order to meet a deadline -- but never once did I disrespect her or cause her to feel like abandoning a project was a better solution. You've got to be a pretty foul human being to make someone as nice as her pass on you.
If you want a prize, take a life lesson instead as a consolation: Treat people with dignity and respect, and maybe next time you won't be such a loser.
-
Mumbles reacted to SyncMaster in Daifuku - Graphics giveaway prize not given
I have a little feeling that with this post you lost your chances to negotiate instead of force it. If was with a different person, you had lost your prize when you said "don't try to do a giveawat if you don't even have time available to do it".
It's 22 to reclaim, 29 justified waiting days + 16 waiting days. Without counting the days she warn that was off, you didn't even wait what she waited for the winner.
And, for life, depending on the draw or contest/tender, you have 5 to 7 business days to claim the prize or the vacancy.
-
Mumbles got a reaction from Ridley in Daifuku - Graphics giveaway prize not given
People get busy; we all have lives outside of these boards (believe it or not), and it should be expected that our real-world responsibilities and obligations take precedence over our business online.
You obviously had your own priorities (in this case, your health), and were unable to contact Daifuku in a timely manner to redeem your prize. Fortunately, she was still willing to work with you instead of choosing a runner-up. Considering that she had been willing to be flexible with you a month after the fact, you should have been similarly acquiescent when she had contacted you a few days after the date she said she'd respond by — but instead, you harassed her to the point that she ultimately rescinded her giveaway.
I haven't posted here in years, but seeing this post was triggering. To say that Hercules deserves better is ridiculous and insulting. Hercules holds a high standard for staff members; Daifuku wouldn't have earned her position if she wasn't of good moral character, untalented, or undeserving. If anything, Daifuku deserves better than to be treated like some sort of servant.
Did you lose anything of value by entering her giveaway? Did you lose sleep while you were waiting for a response? I'd hope not. Maybe evaluate how you communicate with people when they are doing something out of their own free will and generosity — especially when it's at no cost to you.
-
Mumbles got a reaction from Daifuku in Daifuku - Graphics giveaway prize not given
People get busy; we all have lives outside of these boards (believe it or not), and it should be expected that our real-world responsibilities and obligations take precedence over our business online.
You obviously had your own priorities (in this case, your health), and were unable to contact Daifuku in a timely manner to redeem your prize. Fortunately, she was still willing to work with you instead of choosing a runner-up. Considering that she had been willing to be flexible with you a month after the fact, you should have been similarly acquiescent when she had contacted you a few days after the date she said she'd respond by — but instead, you harassed her to the point that she ultimately rescinded her giveaway.
I haven't posted here in years, but seeing this post was triggering. To say that Hercules deserves better is ridiculous and insulting. Hercules holds a high standard for staff members; Daifuku wouldn't have earned her position if she wasn't of good moral character, untalented, or undeserving. If anything, Daifuku deserves better than to be treated like some sort of servant.
Did you lose anything of value by entering her giveaway? Did you lose sleep while you were waiting for a response? I'd hope not. Maybe evaluate how you communicate with people when they are doing something out of their own free will and generosity — especially when it's at no cost to you.
-
Mumbles got a reaction from Begin in @go command
Utility: @go command
Original concept by : http://herc.ws/board/topic/14-utility-added-feature-jtynnes-go-command-alternative-txt-format/
Description:
Alternative @go command. Allows for unlimited aliasing, as well as level and group restrictions for each destination. Additional options to add a delay, prevent use when dead, and charge per use are available; default cost is defined with '.cost', but this parameter can be set manually with 'go()'. These extra features are disabled by default.
Be mindful that the delay uses a temporary player variable, '@go_delay'; if the player logs out, this variable will be cleared. If you would like for a more secure delay, replace all instances of '@go_delay' with 'go_delay'.
Download:
https://github.com/datmumbles/Scripts/raw/master/cmd/go.txt
-
Mumbles got a reaction from KodoKTempuR in Req> NPC Gatcha
Here's a version that pulls a "rare" item from the array .rare_id and determines whether or not you have received it, defined by the chance allocated after it (format: <item constant/ID>, <chance>):
prontera,147,174,5 script Odd Fellow::randomstuff 1_M_WIZARD,{ /*----------------------------------------------------- Script -----------------------------------------------------*/ mes .npc_name$; mes "Hello there! For "+ .coin_amount +" "+ getitemname(.coin_id) +", I'll give you a random item!"; next; mes .npc_name$; if (countitem(.coin_id) < .coin_amount) { mes "Come back when you have "+ .coin_amount +" "+ getitemname(.coin_id) +"!"; close; } mes "Would you like to give it a try?"; next; if (select("Sure, why not!:No, thanks") == 2) { mes .npc_name$; mes "Okay, come back if you change your mind!"; close; } // Generate random prize ID do { .@prize_id = rand(.prize_min_id, .prize_max_id); } while (getitemname(.@prize_id) == "null"); // Determine index location of rare item to randomly pick from do { .@rare_index = rand(getarraysize(.rare_id)); } while (.@rare_id % 2); // Determine whether or not to change prize to rare item if (!rand(.rare_id[.@rare_index + 1])) { .@prize_id = .@rare_id; } mes .npc_name$; mes "Here you go! You got "+ .prize_amount +" "+ getitemname(.@prize_id) +"!"; getitem .@prize_id, .prize_amount; close; /*----------------------------------------------------- Configuration -----------------------------------------------------*/ OnInit: .npc_name$ = "[Odd Fellow]"; .coin_id = Poring_Coin; // Coin constant/ID .coin_amount = 1; // Count amount required .prize_min_id = 501; // Prize minimum ID .prize_max_id = 30000; // Prize maximum ID .prize_amount = 1; // Prize amount rewarded // Rare item constants/IDs and chance in x to obtain rare item (default: 5 [20%]) setarray .rare_id[0], Apple, 10, Red_Potion, 20, Jellopy, 30, Fluff, 4, Clover, 5; end;} -
Mumbles got a reaction from akbare in how can i remove man from morroc npc
Man From Morroc is in npc/quests/quests_nameless.txt
-
Mumbles got a reaction from humble in Homunculus Evolution
Utility: Homunculus Evolution
As per themon's request: http://herc.ws/board/topic/2426-humonculus-evolver/
Description:
Allows players to evolve their homunculus in exchange for a catalyst and a fee. If the player has a fully evolved homunculus, an option to mutate it into a Homunculus S will be given if the setting is enabled.
Please see the configuration settings under the 'OnInit' label to see what you can change. Do NOT modify the homunculus settings unless you have custom IDs/homunculi.
This script is optimised solely for Hercules emulators.
Download:
https://github.com/datmumbles/Scripts/raw/master/util/homevo.txt
-
Mumbles got a reaction from humble in Variant Mining
Utility: Variant Mining
As per xienne15's request: http://herc.ws/board/topic/1886-simple-mining/
Description:
A simple mining system; allows for interacting players to excavate minerals by "mining" them with special equipment and tools. Minerals disappear and respawn randomly; chance is determined by configuration.
Configuration is mostly done in arrays so that settings may be changed with no modifications to the script. Duplicate in additional locations as needed; update the value of '.var_amount' correspondingly.
Download:
https://github.com/datmumbles/Scripts/raw/master/util/mining.txt
-
Mumbles got a reaction from MikZ in Instant Third-Class Jobs
Utility: Instant Third-Class Jobs
As per spectator's request: http://herc.ws/board/topic/882-rinstant-job-changer/
Description:
Allows player to choose a third-class job upon initial login; if the player fails to choose a class for any reason, (s)he will be prompted again upon next login.
Download:
https://github.com/datmumbles/Scripts/raw/master/util/thirds.txt
-
Mumbles got a reaction from thiagoaxll in Hercules Radio
Utility: Hercules Radio
As per youtube's request: http://herc.ws/board/topic/1676-rhelp/
Description:
A radio NPC that plays preset selection of client-side songs (these songs are to be placed in the 'BGM' folder).
The command '@radio' was added as a convenience, to allow songs to be played wherever the invoking player may be. Songs are played on the map in which the NPC was invoked, meaning that if a player is in pay_gld and types '@radio', (s)he and everyone on the map will hear the selected song. Each time a song is played, a lock is set for the preset minutes; this lock prevents the NPC from being accessed. A countdown in minutes and seconds is be displayed to reflect the remaining time until the next song can be played.
Download:
https://github.com/datmumbles/Scripts/raw/master/util/radio.txt
-
Mumbles got a reaction from Nagad in Points to Item Exchanger
Released yesterday evening: http://herc.ws/board/topic/4173-utility-coin-trader/
-
Mumbles got a reaction from Zia in Points to Zeny Exchanger
Utility: Points to Zeny Exchanger
As per themon's request: http://herc.ws/board/topic/2774-zeny-to-cash-point/
Description:
Allows players to exchange points for zeny and vice-versa. Point variable, exchange rate, and minimum exchange can be configured easily below the 'OnInit' label.
Optimised for Hercules emulators.
Download:
https://github.com/datmumbles/Scripts/raw/master/util/points2zeny.txt
-
Mumbles got a reaction from Graystone in Points to Zeny Exchanger
Utility: Points to Zeny Exchanger
As per themon's request: http://herc.ws/board/topic/2774-zeny-to-cash-point/
Description:
Allows players to exchange points for zeny and vice-versa. Point variable, exchange rate, and minimum exchange can be configured easily below the 'OnInit' label.
Optimised for Hercules emulators.
Download:
https://github.com/datmumbles/Scripts/raw/master/util/points2zeny.txt
-
Mumbles got a reaction from Shio in Variant Mining
Utility: Variant Mining
As per xienne15's request: http://herc.ws/board/topic/1886-simple-mining/
Description:
A simple mining system; allows for interacting players to excavate minerals by "mining" them with special equipment and tools. Minerals disappear and respawn randomly; chance is determined by configuration.
Configuration is mostly done in arrays so that settings may be changed with no modifications to the script. Duplicate in additional locations as needed; update the value of '.var_amount' correspondingly.
Download:
https://github.com/datmumbles/Scripts/raw/master/util/mining.txt
-
Mumbles got a reaction from minx123 in command kill all mvp when @reloadscript
Or you could just not @reloadscript lol
But anyway, here you go:
http://upaste.me/2f9618109227d4fcd
-
Mumbles reacted to minx123 in command kill all mvp when @reloadscript
@doom
Kills everyone on the server.
zzz.. not monster..
-
Mumbles got a reaction from Kong in @go command
You could probably do without getmapxy() since the script is attached to a player when run; strcharinfo(3) will return the attached player's map name. I'd say you were correct in changing mf_nowarp to mf_nowarpto, should the function of nowarpto be that players cannot warp to the map (duh; though sometimes the documentation isn't tell-all).
Someone should really update the documentation for both mapflags, as they are either lacking in information or documented incorrectly. /swt
-
Mumbles got a reaction from Zirius in "name of party" to party_id
Right, in which case just change line 4:
query_sql "SELECT `party_id` FROM `party` WHERE `name` ='"+ getarg(0) +"'", .@party_id;
to this:
query_sql "SELECT `party_id` FROM `party` WHERE `name` ='"+ escape_sql(getarg(0)) +"'", .@party_id; -
Mumbles reacted to Yommy in "name of party" to party_id
you should also be careful if you are thinking to accept user input.
mes "Enter the party name!"
they can enter something bad like
hax'; UPDATE `login` SET `group_id` = 99 WHERE `user_id` = 'Yommy
-
Mumbles reacted to Dastgir in "name of party" to party_id
To avoid this kind of thing, one should use escape_sql ScriptCommand