lazy to count it....make use of your calculator....
or you can also write it like this..
addtimer ( 5 * 3600000 ),strnpcinfo(0)+"::OnUpdate";
or any equivalent method.....
but if based on the script....it should use 1 hours instead of 5 hours..
if you are going to use 5 hours...then you have to edit part of the script...
trunk/db/re/mob_skill_db.txt
edit this
1904,Bomb Poring@NPC_SELFDESTRUCTION,any,173,1,10000,3000,0,no,self,always,0,,,,,,,
increase the explosion range...and add a casting time so that it work as "Timer"
you need this ..
http://rathena.org/board/topic/59578-mapflags-noitem-and-noskill2/page__hl__noitem
and after you have added the diff file..add the mapflag with your desired settings...( refer that topic to configure the mapflags. )
you can use
@fakename [TAG] Name
if you want to display the party / guild after used @fakename...apply this
http://rathena.org/board/topic/60188-fakename-show-guildparty/page__hl__fakename
or you can edit this part..
trunk/src/common/mmo.h
//For character names, title names, guilds, maps, etc.
//Includes null-terminator as it is the length of the array.
#define NAME_LENGTH (23 + 1)
and make sure you edit the SQL character table to store more characters in name string..xD
ALTER TABLE `ragnarok`.`char` CHANGE COLUMN `name` `name` VARCHAR(40) NOT NULL DEFAULT '' ;
edit this...
VARCHAR(40)
@stydianx
well...now you dont need to write the script yourself....use Shopper tool to generate shop scripts xD
https://rathena.org/board/index.php?/files/file/2597-shoper/
and about your warning....just set the item price to higher than it's default selling price...
and...this ..out of the topic already ~
edit this part....
( this part provide continuous spawn and updated amount from time to time )
while (1) {
monster "guild_vs5", 0,0, "Come On Baby!!!", 1904, 5 + .@extra;
sleep 5000;
if ( .stop ) end;
set .@extra, .@extra + rand(1,5);
set .@round, .@round +1;
}
refer here...
Monster
if you want ONLY 50 bomb poring...just simply change to this..
monster "guild_vs5", 0,0, "Come On Baby!!!", 1904, 50;
isnt that you can just use the Killedrid to check what monster they have killed ?
if you run another new npc label after each monster is killed.....it is the same as OnNPCKillEvent which run everytime a monster is killed.
so i think there is no need to add a new label if both work the same...
just in case if the server enabled this kind of items or @storage ( you mentioned )
Kafra Card
still got 3 ~ 4 years left before i can break annie record of 5 years...
My Target !!! 4.9999 years... xP
you can also do it like this..
when failed in refine.....
change your
downrefitem <equipment slot>;
into
while( getequiprefinerycnt( <equipment slot> ) > 10 )
downrefitem <equipment slot>;
you should show your script....we dont know how your script run...so we wont be able to provide corresponding answers...
we are not going to build the whole script here
what you want to do with that ? elaborate more ?
as mentioned in the Mob_event_variables
this is the way to save the variable to assign a value / string to variable....
pc_setglobalreg(sd, "variable name", value);
how to determine the script to run in specific event ?
that will depend on how you add this into your source file....
Awww.....i have forgetten the cart ..and storage too
maybe can do a SQL command to return the items inside inventory ... and edit certain items script to check on map before can be use..
and as well as disable commands for @mail / @storage
for noitem / nostorage mapflag...i think someone made this before....brb..searching for it now...
Found...
NoItem Mapflag
NoStorage Mapflag
set pvp3vs3_ori_look,0;
find all those similar part ...and edit it like what i show above...
you should specify you are using what emulator when you post a topic..
it feel like wasting of time when we script something that work fine ...but then suddenly you pop out and said..it is not working because...you are not using the same emulator as we are...
next time if you are requesting a script...you should specify that you are using eA / 3Ceam ...
you can try this..
http://pastebin.com/raw.php?i=KfqqeVSu
@darristan
i suggest to not use any visible NPC if the NPC do nothing unless the NPC provide any guide / helpful stuff to players...
and for the auto kill part...maybe he afraid the script will "spam" alot monster if there is no other player killed the previous summoned monster.
Edit :
but your script should be no problem with monster flooding ~ except the error during announce xD
LOL
erm..but i still prefer to disable player bring any item / disable to bring any healing / usable item into the map..
because...if disable all healing item...it would be alot of work to do in the trunk/db/re/item_noequip.txt
but..if the TS wanna disable only yggdrasilberry or few of them...then trunk/db/re/item_noequip.txt would be the best and easy choices...or edit the trunk/db/re/item_db.txt
and TS mentioned
so i think it would be better to check through the inventory ~ xD
hmm ?
http://pastebin.com/raw.php?i=btgzPSRM
the paste work fine for me.. O.O ??
any other face the same ? empty paste also ?
you mean this ??
trunk/src/config/renewal.h
/// renewal exp rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item exp rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
#define RENEWAL_EXP
it's inside the source file...you guys can easily edit that file to enable or disable these renewal feature to your like...