instead of making a new one, why not you try the current existing script ??
npc/custom/quests/quest_shop.txt
or
https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/
==‘’ that file are used for you to make sure certain item can be use in certain maps...
since you want your custom item can be use only in battleground map, then just add in your custom item id there.
you can just use this instead of asking for source mod
db/re/item_noequip.txt
//----------------------------------------------------------------------------
// Battlegrounds
//----------------------------------------------------------------------------
12218,8 //Assumptio_5_Scroll
14590,8 //Pty_Assumptio_Scroll
if( !( eaclass() & EAJL_UPPER ) ){
mes "only trancendent class can use";
close;
}
you can refer here
https://github.com/rathena/rathena/blob/master/doc/ea_job_system.txt
your revision is updated, but your script is outdated.
getcastledata doesnt support event label in updated revision.
you can switch to other woe script or use the latest one in repo.
try
http://upaste.me/r/08da32
( CTRL + F5 refresh )
what you mention from above post is different from your first post, it's you who are confused with your own request.
Next time explain it more clearly.
try this
http://upaste.me/r/166aa7
Sorry all the text has mess up .. my pc doesnt support thai language.
Next time please submit a translated version if possible, this is english forum after all.
For your information,
I believe there might be some code inside the module folder since module folder mostly deal with the database update/retrieve data.
It may look fixed but your addon may not work if you have some file missing.