-
Posts
340 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Eross
-
Not just the suggestion sir .. What I was saying is .. If the player has no permission to use the said command ,it supposed to show @command is unknown command instead of showing it in public ... I mean the typed words ... If I type @item and my group level i== 0 , there should be a displaybottom and wont publish my @item in public chat
-
Hi guys ! I want to show a message '@<command_name> is Unknown Command.' instead of showing the typed command in public ... like example I dont have a permission to use @item ,but accidentally typed it ,this should only show a promt dispbottom with a suggestion command ... here are the example photos .. Instead of this : It should show like this : I hope someone can help me ... its embarssing to players who accidentally mistyped commands and kinda issue when player is playing with GM commands in public
-
Hi ! How to make the command that is not permited into player to return as message 'Unknown @command' ?? Like for example im a player with level 0 group .. I typed @item or any non-listed command for group 0 , instead of showing the message typed in public , it should show as Unknown @command ?? Coz its kinda embarassing .. I hope you understand my explanation lol ... Thanks best regards
-
Hi ! how will I enable this feature ? .. The Monster Spawn map and Monster skills ???? Thanks
-
Yeah I think its a source code thingy also ...thats why I requested .. hehehe thanks for this idea tho sir
-
I want to request for a script that will get all the total exp the player gained since the login
-
Yes but to show in one command the monster in map -_-
-
Hi ! where to configure the @servertime ? to remove permanent day time ?? ACMD_FUNC(servertime) { const struct TimerData * timer_data; time_t time_server; // variable for number of seconds (used with time() function) struct tm *datetime; // variable for time in structure ->tm_mday, ->tm_sec, ... char temp[CHAT_SIZE_MAX]; nullpo_retr(-1, sd); memset(temp, '\0', sizeof(temp)); time(&time_server); // get time in seconds since 1/1/1970 datetime = localtime(&time_server); // convert seconds in structure // like sprintf, but only for date/time (Sunday, November 02 2003 15:12:52) strftime(temp, sizeof(temp)-1, msg_txt(sd,230), datetime); // Server time (normal time): %A, %B %d %Y %X. clif_displaymessage(fd, temp); if (battle_config.night_duration == 0 && battle_config.day_duration == 0) { if (night_flag == 0) clif_displaymessage(fd, msg_txt(sd,231)); // Game time: The game is in permanent daylight. else clif_displaymessage(fd, msg_txt(sd,232)); // Game time: The game is in permanent night. } else if (battle_config.night_duration == 0) if (night_flag == 1) { // we start with night timer_data = get_timer(day_timer_tid); sprintf(temp, msg_txt(sd,233), txt_time(DIFF_TICK(timer_data->tick,gettick())/1000)); // Game time: The game is in night for %s. clif_displaymessage(fd, temp); clif_displaymessage(fd, msg_txt(sd,234)); // Game time: After, the game will be in permanent daylight. } else clif_displaymessage(fd, msg_txt(sd,231)); // Game time: The game is in permanent daylight. else if (battle_config.day_duration == 0) if (night_flag == 0) { // we start with day timer_data = get_timer(night_timer_tid); sprintf(temp, msg_txt(sd,235), txt_time(DIFF_TICK(timer_data->tick,gettick())/1000)); // Game time: The game is in daylight for %s. clif_displaymessage(fd, temp); clif_displaymessage(fd, msg_txt(sd,236)); // Game time: After, the game will be in permanent night. } else clif_displaymessage(fd, msg_txt(sd,232)); // Game time: The game is in permanent night. else { const struct TimerData * timer_data2; if (night_flag == 0) { timer_data = get_timer(night_timer_tid); timer_data2 = get_timer(day_timer_tid); sprintf(temp, msg_txt(sd,235), txt_time(DIFF_TICK(timer_data->tick,gettick())/1000)); // Game time: The game is in daylight for %s. clif_displaymessage(fd, temp); if (DIFF_TICK(timer_data->tick, timer_data2->tick) > 0) sprintf(temp, msg_txt(sd,237), txt_time(DIFF_TICK(timer_data->interval,DIFF_TICK(timer_data->tick,timer_data2->tick)) / 1000)); // Game time: After, the game will be in night for %s. else sprintf(temp, msg_txt(sd,237), txt_time(DIFF_TICK(timer_data2->tick,timer_data->tick)/1000)); // Game time: After, the game will be in night for %s. clif_displaymessage(fd, temp); sprintf(temp, msg_txt(sd,238), txt_time(timer_data->interval / 1000)); // Game time: A day cycle has a normal duration of %s. clif_displaymessage(fd, temp); } else { timer_data = get_timer(day_timer_tid); timer_data2 = get_timer(night_timer_tid); sprintf(temp, msg_txt(sd,233), txt_time(DIFF_TICK(timer_data->tick,gettick()) / 1000)); // Game time: The game is in night for %s. clif_displaymessage(fd, temp); if (DIFF_TICK(timer_data->tick,timer_data2->tick) > 0) sprintf(temp, msg_txt(sd,239), txt_time((timer_data->interval - DIFF_TICK(timer_data->tick, timer_data2->tick)) / 1000)); // Game time: After, the game will be in daylight for %s. else sprintf(temp, msg_txt(sd,239), txt_time(DIFF_TICK(timer_data2->tick, timer_data->tick) / 1000)); // Game time: After, the game will be in daylight for %s. clif_displaymessage(fd, temp); sprintf(temp, msg_txt(sd,238), txt_time(timer_data->interval / 1000)); // Game time: A day cycle has a normal duration of %s. clif_displaymessage(fd, temp); } } return 0; } It only show this It should have be look like this guys THANKS !
-
Thankyou for your answer sir ! .. How about block bank button if player value is !#bank_eligible ??? So player need to quest it to activate the bank and use the feature ?
-
Good day ! I want to ask for a script that will get monster name,ID ,and count in an input map .. for example I do @getmob prt_fild01 .. then there will be a dispbottom that will show mobs on that map ... Fabre [1007] - 30 Pupa [1008] - 20 etc .
-
im not using flux cp sir
-
How to show server time and autotrader counts on my html website ?? I have no idea thanks
-
Yes thankyou sir , I configured this on my web but nothing happened ... can you teach me ?
-
Hi ! how to connect this on HTML ? I just want to show status and online players on my html website ...Thankyou and Godbless
-
Can anyone help me how to exactly add these features on my html site ??? Im a total noob in php Im trying to do it for 2 days ..help plaese
-
header image doesnt show on full size screen ... It only shows in media size .... dropdowns doesnt work as it has to be .. Thanks .. nice work btw
-
find this on your KOE Script OnEmpDead: and add these sleep 1500; donpcevent "KoEbarricade::OnInit" after monster "koe",50,50, "EMPERIUM", 1288, 1, "KoE::OnEmpDead";
-
OnEmpDead: $koegid = getcharid(2); announce "The current King of Emperium Hill is the ["+ strcharinfo(2) +"] guild.", bc_all; donpcevent "::OnRevKoE"; maprespawnguildid "koe", $koegid, 2; killmonster "koe", "KoE::OnEmpDead"; sleep 500; if ( .start ) monster "koe",50,50, "EMPERIUM", 1288, 1, "KoE::OnEmpDead"; sleep 1500; donpcevent "KoEbarricade::OnInit" end; } Try that sir
-
can you show your KOE script here ... you can try to hideonnpc and hideoffnpc then sett the cell to cell_walkable,0; upon killing the emperium
-
dispbottom not correct - Edited Mining Script
Eross replied to macmac88's question in Scripting Support
You have to write the condition statement like this .. dispbottom "You've successfully mined the ore."; if(MineExp < 100000 && (@minechance >= 2 && @minechance <= 6)) dispbottom "You've gained 1 Mining Exp."; if(MineExp < 100000 && (@minechance >= 7 && @minechance <= 11)) dispbottom "You've gained 2 Mining Exp."; if(MineExp < 100000 && (@minechance >= 12)) dispbottom "You've gained 3 Mining Exp."; in your else question always watch our for your curly brackets .. if(@minechance >= 12){ set MineExp,MineExp+3; if(@minechance >= 7) set MineExp,MineExp+2; if(@minechance >= 2) set MineExp,MineExp+1; if(@minechance == 2) getitem 985,1; //elunium else if(@minechance == 3) getitem 984,1; //oridecon else if(@minechance == 4) getitem 7915,1; //bronze coin else if(@minechance == 5) getitem 6223,1; //carnium else if(@minechance == 6) getitem 6224,1; //bradium else if(@minechance == 7) getitem 7916,1; //silver coin else if(@minechance == 8) getitem 6241,1; //hd elunium else if(@minechance == 9) getitem 6240,1; //hd oridecon else if(@minechance == 10) getitem 7619,1; //enriched elunium else if(@minechance == 11) getitem 7620,1; //enriched oridecon else if(@minechance == 12) getitem 6225,1; //hd carnium else if(@minechance == 13) getitem 6226,1; //hd bradium else if(@minechance == 14) getitem 7517,1; //gold coin else if(@minechance == 15) getitem 674,1; //mithril coin else if(@minechance == 16) getitem 677,1; //platinum coin misceffect 154; goto Lsuccess; } after 'if(@minechance >= 12)' and after 'goto Lsuccess' ... you cant add elseif in between of 2 ifs .... -
making the NPC hide after woe and unhide 30mins before woe
Eross replied to AinsLord's question in Scripting Support
- script SupplyTrigger -1,{ OnSat1930: OnSun1930: enablenpc "Guild Supply#1"; enablenpc "Guild Supply#2"; enablenpc "Guild Supply#3"; // enablenpc "Guild Supply#4"; end; OnAgitEnd: OnAgitEnd2: disablenpc "Guild Supply#1"; disablenpc "Guild Supply#2"; disablenpc "Guild Supply#3"; end; } louyang,226,106,4 script Guild Supply#1 998,{ setarray [email protected]_id, 12529,20,14003,20; // <Item_ID>,<Item_Amount>,{...}; [email protected]$ = "["+strnpcinfo(0)+"]"; [email protected] = getcharid(2); [email protected] = (getguildmaster([email protected]) == strcharinfo(0))?1:0; mes [email protected]$; mes "Welcome!"; mes ([email protected])?"Have you claimed your supplies today?":"You have no business with me."; next; if (select((([email protected])?"Claim Supplies":"")+":Leave") == 2) close; query_sql("SELECT COUNT(*) FROM `guild_member` WHERE `guild_id`="[email protected], [email protected]); if ([email protected] < 10) { mes [email protected]$; mes "You have not enough guild members to claim the supplies."; close; } [email protected]$ = gettimestr("%Y%m%d",9); [email protected] = [email protected] / 128; [email protected] = [email protected] % 128; if (getd("$GS_"[email protected]+"$["[email protected]+"]") != [email protected]$) { mes [email protected]$; mes "Here you go!"; close2; setd "$GS_"[email protected]+"$["[email protected]+"]", [email protected]$; for ([email protected] = 0; [email protected] < getarraysize([email protected]_id); [email protected] += 2) getitem [email protected]_id[[email protected]],[email protected]_id[[email protected]+1]; end; } mes [email protected]$; mes "You have taken your supplies today."; close; //OnInit: //waitingroom "[Guild Supply]",0; //end; } alberta,31,229,0 duplicate(Guild Supply#1) Guild Supply#2 653 prontera,165,318,1 duplicate(Guild Supply#1) Guild Supply#3 653 //louyang,207,97,0 duplicate(Guild Supply#1) Guild Supply#4 653 i also tried it will appear on a certain time of the day and disappear certain time of the same day errors all is fine but everytime i reload the serve NPC stays its not being hidden i tried putting On Init: still same - script SupplyTrigger -1,{ OnSat1930: OnSun1930: hideoffnpc "Guild Supply#1"; hideoffnpc Supply#2"; hideoffnpc"Guild Supply#3"; // hideoffnpc "Guild Supply#4"; end; OnInit: OnAgitEnd: OnAgitEnd2: hideonnpc "Guild Supply#1"; hideonnpc "Guild Supply#2"; hideonnpc "Guild Supply#3"; end; } -
making the NPC hide after woe and unhide 30mins before woe
Eross replied to AinsLord's question in Scripting Support
Try hideonnpc and hideoffnpc instead -
Sorry for bringing up this ancient post guys ..This still works in latest rA however, character gets frozen and cant move entirely after few seconds
-
Thankyou !
-
Hi ! Im using 3 grf on my server , 1 is for main 2 is for palettes and 3 for events ... Question , If im going to encrypt all of those GRF ,does the cps.dll work for all of my grf ?? Im using @Tolkien's GRF EDITOR .. Thankyou !