iconrag
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by iconrag
-
-
case 4: if(!getcharid(2)){ mes "you don't have guild"; close; } if(!guild_has_permission(GUILD_PERM_STORAGE)){ mes "you don't have permission for the guild storage"; close; } query_sql("SELECT `time`,`name`,`nameid`,`amount` FROM `guild_storage_log` WHERE `guild_id` = '" + getcharid(2) + "' order by `id` ASC", .@time$ ,.@name$,.@item_id,.@amount); if(!.@item_id){ mes "there is no log yet"; close; } dispbottom "=========================================================",0xFFD64F; dispbottom "===================== Guild Storage Log =======================",0xFFD64F; dispbottom "=========================================================",0xFFD64F; for(.@i=0;.@i<getarraysize(.@item_id);.@i++) dispbottom .@time$[.@i] + " Player[" + .@name$[.@i] + "] Item Name[" + getitemname(.@item_id[.@i]) + "] Item Amount[" + .@amount[.@i] + "]",((.@amount[.@i] > 0)?0x03c6fc:0xFF0000); dispbottom "=========================================================",0xFFD64F;
Hello guys, Need help
i want to make this Guild Storage Logs show 30 last Logs Only
can someone help me ?
thanks -
hello guys, i have a problem with OnPCLoadMapEvent
so. one of my script is this one removing status effect in GVG Map ( aldeg_cas01, etc )
- script remove_assumptio -1,{ OnPCLoadMapEvent: sc_end SC_MINDBREAKER; sc_end SC_ASSUMPTIO; sc_end SC_SPIRIT; end; } aldeg_cas01 mapflag loadevent aldeg_cas02 mapflag loadevent aldeg_cas03 mapflag loadevent
and the other one is this on pvp ladder NPC Script
OnPCLoadMapEvent: if ( @dota_sql_kills == 0 && @dota_sql_deaths == 0 ) { if ( .maptrigger$ != "all" ) { getmapxy .@map$, .@x, .@y, 1; for ( set .@i, 0; .@i < .maptriggersize; set .@i, .@i +1 ) { if ( .@map$ == .maptrigger$[.@i] ) break; } if ( .@i == .maptriggersize ) end; } query_sql "select kills, deaths, streaks, unix_timestamp(streaktime) from pvpladder where char_id = "+ getcharid(0), @dota_sql_kills, @dota_sql_deaths, @dota_sql_streaks, @dota_sql_streaktime; } if ( getcharid(2) && getd(".dota_sql_"+ getcharid(2) +"_h") == 0 ) { query_sql "select currentown, highestown, unix_timestamp(owntime) from ownladder where guild_id = "+ getcharid(2), .@c, .@h, .@t; setd ".dota_sql_"+ getcharid(2) +"_c", .@c; setd ".dota_sql_"+ getcharid(2) +"_h", .@h; setd ".dota_sql_"+ getcharid(2) +"_t", .@t; } end; } pvp_y_2-2 mapflag loadevent
The problem is, The pvp_y_2-2 Map now reads OnPCLoadMapEvent that removes status effect, so when players enters pvp_y_2-2. the assumpio, spirit, and mind breaker is removed
Can someone please help? thank you ! -
23 minutes ago, Chaos92 said:
I think it might happen to another script too. Maybe you are using hourly reward scripts ?
If yes, some rewards script released in this forum are not working well already. Try disable that hourly reward scripts and see again if that issue occurs again or not.
it happens only to some 1 or 2 players from about 100 player online
after they access some fields using warper, but it doesnt affect others
any idea -
hello. im having a problem but only for some players
when accessing warper NPC
the menu disappears making them cannot move and need to re log
anyone knows how to fix this? thanks
this happens quite frequently
after relogging it will happen again
im using @Euphy's warper script
R> NPC that announce a guild name that has been defending Castle
in Script Requests
Posted
Hello guys, i need a help
i need an NPC that announce a guild which has already been defending castle during WoE for every 10 minutes
and then the guild will get 1 point every time they succeed defending emper for 10 minutes without broken during WoE
NPC will tell the points that the guild has achieved
thanks in advance