-
Posts
63 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Mastagoon
-
-
here you go :
- script max_castle_guild_members -1,{ OnInit: //settings here setarray .maps$, "prtg_cas01","prtg_cas03"; // insert your woe castles here .max_members_in_castle = 15; // set the maximum number of guild members in a castle //don't edit this for(.@i = 0; .@i < getarraysize(.maps$); .@i++) { if(!getmapflag(.maps$[.@i], mf_loadevent)) setmapflag .maps$[.@i], mf_loadevent; } end; OnPCLoadMapEvent: if(inarray(.maps$, strcharinfo(3)) == -1 || ) end; if(getmapguildusers(strcharinfo(3), getcharid(2)) > .max_members_in_castle) { dispbottom "There can only be "+.max_castle_guild_members+" guild members inside a castle during woe."; warp "SavePoint",0,0; } end; }
-
it doesn't work on duplicates because you're hard-coding the npc name.
each duplicate has a unique name, you need to use that in your code.simply changeQuotehideonnpc "bsw";
Quotehideonnpc strnpcinfo(3)
as for your second question, look into Patskie's answer -
i did not find a solution, instead i'm just using tmux to run the server.
-
Hello everyone.
i was using my RO server on debian OS with no problems, until yesterday i lost the ability to run the server using ./athena-start
whenever i use ./athena-start start i get the following error:
i did a ./configure && make clean && make server, there doens't seem to be any errors
i tried cloning a fresh clean rathena from github, i did a make clean & make server and i'm getting the same error
this is what my clean athena directory looks like:
notes:
all the screenshots are from a fresh athena server, there are no modifications at all
when i tried using ./atena-start and then start, i get this error instead:
any help would be appreciated, thank you.
Please help on this script regarding event trigger on monster
in Scripting Support
Posted
i think you're getting the error message because you accidentally added an on-kill event for your monsters
just edit the code at line 110
from
monster @currentroom$,0,0,"--ja--",.guardianmobs[rand(0,(getarraysize(.guardianmobs)-1))],1";
to
monster @currentroom$,0,0,"--ja--",.guardianmobs[rand(0,(getarraysize(.guardianmobs)-1))],1;
(remove the " at the end)
and the problem should disappear