you are missing 1 "}" at the end of the script...
and..what is the usage of this part ...? it never run in your script..
set .@Minimum, 8;
query_sql("SELECT `account_id` FROM `char` WHERE `guild_id` = "+getcharid(2)+";",.@i);
if (getarraysize(.@i) < .@Minimum) {
mes "Your guild must have at least "+.@Minimum+" members for you to receive a guild pack.";
close;
}
i believe it should be below this line..
case 1:
create a new sc script ....
or
you can just simply make use of these other sc script that are not using in your server...
SC_STRFOOD 203
SC_AGIFOOD 204
SC_VITFOOD 205
SC_INTFOOD 206
SC_DEXFOOD 207
SC_INCALLSTATUS 187
SC_INCSTR 188
SC_INCAGI 189
SC_INCVIT 190
SC_INCINT 191
SC_INCDEX 192
SC_INCLUK 193
SC_FOOD_STR_CASH 303
SC_FOOD_AGI_CASH 304
SC_FOOD_VIT_CASH 305
SC_FOOD_DEX_CASH 306
SC_FOOD_INT_CASH 307
SC_FOOD_LUK_CASH 308
you can just edit the trunk/db/re/mob_db.txt
or
add this part inside your gold manager...
OnMobKilled:
getitem 969,1;
end;
and use this..
guild_vs1,0,0,0,0 monster Golden Dokebi 1110,1000,0,0,"GOLDMANAGERNAME::OnMobKilled"
if you want only prontera...just remove the other map...and also this
set .@rand...........
just one line is enough.
set .map$,"prontera";
and coordinate is random by default.
above this line..
announce "assault event will start, the 1st two guilds that register will be participated in this event", 0;
add this.
OnMinute00:
OnMinute30:
the value behind OnMinute can be change to any value you want between 0 ~ 59 and with a interval of 30 minutes.
or....
if put above this line....
if ( .assault_on == 1 ) {
dispbottom "event has started";
end;
}
else if ( .assault_on == 2 ) {
dispbottom "event is going on";
end;
}
then would have to edit the dispbottom to announce or others..
what is not working....be specify .....
if you are refering to darristan's script in post#13
the hideonnpc / hideoffnpc part is wrong...you need a npc name for it.
For Example :
hideoffnpc strnpcinfo(0);
hideonnpc strnpcinfo(0);
show your script .....
and please read this next time before you post ~
http://rathena.org/board/forum-30/announcement-9-scripting-support-easy-as-1-2-3/
How to add a script ? read this... Adding_a_Script
when the event start..it will announce where the monster is spawned.
depend on these ...
if (.@rand == 1) set .map$,"prontera";
if (.@rand == 2) set .map$,"geffen";
if (.@rand == 3) set .map$,"morocc";
if (.@rand == 4) set .map$,"payon";
if (.@rand == 5) set .map$,"harmonia";
if (.@rand == 6) set .map$,"izlude";
trunk/conf/battle/client.conf
// Maximum allowed 'level' value that can be sent in unit packets.
// Use together with the aura_lv setting to tell when exactly to show the aura.
// NOTE: You also need to adjust the client if you want this to work.
// NOTE: Default is 99. Values above 127 will probably behave incorrectly.
// NOTE: If you don't know what this does, don't change it!!!
max_lv: 99
// Level required to display an aura.
// NOTE: This assumes that sending max_lv to the client will display the aura.
// NOTE: aura_lv must not be less than max_lv.
// Example: If max_lv is 99 and aura_lv is 150, characters with level 99~149
// will be sent as being all level 98, and only characters with level
// 150 or more will be reported as having level 99 and show an aura.
aura_lv: 99
but i think newer client doesnt support aura display for higher level yet...not sure.