NoOne
Members-
Content Count
14 -
Joined
-
Last visited
-
Days Won
1
NoOne last won the day on October 24 2022
NoOne had the most liked content!
About NoOne
-
Rank
Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
akbare reacted to a question: send item in all players in map
-
hello my senpai in hercules!!! can someone make a video of guide how to add map in linux/puty? i am stuck here for about 3 days now. im aspiring map creator but i cant put my work in my test server since im using linux. thank you very much! im sorry for the trouble
-
try mo sa conf/map/battle/exp.conf
-
hello guys can i ask what is the problem of my costume armor sprite. i try to make my custom wing equip to costume garment i can equip it but no sprite but when i put it on upper lower mid HG or upper lower mid Costume i can see the sprite/wing in my character. anyone can help me? thanks
-
Fast and reliable. i love the design. i received my order within 24 hours. thank you sir! ❤️
-
Soul Linker Disable During WoE/GVG Change the animation of Body Relo of Monk Hunter Traps in GVG only affect Enemy Guild/Player via paypal send me a pm
-
hello im looking for help willing to pay to fix my server with server crash/error willing to pay thru paypal thanks!
-
function ITEML function
NoOne replied to AnnieRuru's topic in Quest, Shops, Functions & Algorithms Releases
i got this error anyone can help? -
anyone who have socket enchanter script for herc? thanks
-
hello anyone can help me how to have the #main chat cooldown so the players can only use it once every 15 seconds?
-
thank you sir! one more thing can i remove the limit? because theres 160 players on the map and only 120+ receive the item when i use @itemmap
-
Hello guys! thank you for reply! and it works! my only problem now is i want to send bind item is that possible? thank you! //================= Hercules Script======================================= //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ //================= License=============================================== //= This file is part of Hercules. //= http: //herc.ws - http: //github.com/HerculesWS/Hercules //= //= Copyright (C) Emistry //= Copyright (C) Ridley //= //= Hercules is free software: you can redistribute it and/or modify //= it under the terms of the GNU General Public License as published by //= the Free Software Foundation, either version 3 of the License, or //= (at your option) any later version. //= //= This program is distributed in the hope that it will be useful, //= but WITHOUT ANY WARRANTY; without even the implied warranty of //= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //= GNU General Public License for more details. //= //= You should have received a copy of the GNU General Public License //= along with this program. If not, see <http: //www.gnu.org/licenses/>. //========================================================================= //= @itemall to give item to all players online //= @itemmap to give item to all players on same map as you //================= Description=========================================== //= Use command to track a specific player //================= Current Version======================================= //= 1.0a //========================================================================= - script atcmd_item FAKE_NPC,{ // configuration start OnInit: bindatcmd("itemmap", strnpcinfo(NPC_NAME) +"::OnAtcommanda", 14, 99); // who can use it? bindatcmd("itemall", strnpcinfo(NPC_NAME) +"::OnAtcommandb", 14, 99); // who can use it? .max = 50; // max amount of items to give out at once end; // configuration end OnAtcommanda: .@type = 1; // @itemmap .@gmmap$ = strcharinfo(PC_MAP); OnAtcommandb: if (.@atcmd_numparameters <= 1) { // need to input something message(strcharinfo(PC_NAME), sprintf(_$("Usage: %s <Item ID>, <Amount"), .@atcmd_command$)); message(strcharinfo(PC_NAME), sprintf(_$("%s failed."), .@atcmd_command$)); end; } .@itemid = atoi(.@atcmd_parameters$[0]); // check item .@amount = atoi(.@atcmd_parameters$[1]); if (getitemname(.@itemid) == "null") { message(strcharinfo(PC_NAME), "Item not found."); end; } else if (.@amount == 0 || .@amount > .max) { message(strcharinfo(PC_NAME), sprintf(_$("Invalid amount of Items. Needs to be between 1 and %d."), .max)); end; } .@self_id = getcharid(CHAR_ID_ACCOUNT); if (!.@type) .@users = getusers(1); else .@users = getusers(0); while (.@count < .@users) { // Emistry Function query_sql("SELECT `account_id`, `name` FROM `char` WHERE `online` = 1 ORDER BY `account_id` LIMIT 128 OFFSET "+.@offset, .@aids, .@name$); .@i = 0; .@size = getarraysize(.@aids); while (.@i < .@size) { if (.@aids[.@i] != .@self_id) { if (.@type == 1) { getmapxy(.@map$, .@x, .@y, 0, .@name$[.@i]); if (.@map$ == .@gmmap$) { getitem(.@itemid, .@amount, .@aids[.@i]); .@gave++; } } else { getitem(.@itemid, .@amount, .@aids[.@i]); .@gave++; } } .@count++; .@i++; } .@offset = .@offset + .@size; deletearray(.@aids, .@size); deletearray(.@name$, .@size); } dispbottom(sprintf(_$("Gave %d x %s to %d Players."), .@amount, getitemname(.@itemid), .@gave)); }
-
hello can i ask for script example i want to send 10pcs ESB and 10pcs Bubble Gum Box in all player in Geffen? then a command @gatheringON to trigger it or a NPC that only lvl 99 GM can trigger? thank you in advance