Jump to content

Eross

Members
  • Posts

    349
  • Joined

  • Last visited

Everything posted by Eross

  1. Hi ! How to make commands available for vip players only ? like example @alootid , players who are vip only can use this command ... Thanks
  2. Hi! Good day! I want to ask like whats the title of my question here .. I want to disable another NPC while other one is working .. Example , I have two FLOATING RATES script ..The one is free and working since ONINIT continously, and the other is paid by zeny donations .. The free npc will run and and change rates every hour, but if the paid one starts working, the other one should stop working while my donation floating rates is working in 2 days.. How will I tell the other script to stop ? My free floating rate has .1 to .9 only while paid floating rates has 2 to 4 modifier. Thanks
  3. Does anyone have this guys ? Badly need it . Simple php function that will show if WOE is ongoing or if not ,just show how much time left before WOE starts ... Thankyou !!!
  4. Hi ! how will I do that ? can you atleast give me a hint ? Do I need to patch the Shared palettes in NEMO sir ?
  5. Hi ! Is it possible to organize my palette files and rename it on english ? Ive seen a server that did this ... Renamed and organized per jobs ..Please help me understand how
  6. Can anyone help me or just give me exact instruction on how to install it on my website ?? Im a newbie ,,thankyou https://github.com/Akkarinage/ROChargenPHP
  7. How to install this ??? Im newbie thankyou
  8. 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 Bump anyone please?
  9. 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
  10. 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
  11. Hi ! how will I enable this feature ? .. The Monster Spawn map and Monster skills ???? Thanks
  12. Eross

    Get total exp

    Yeah I think its a source code thingy also ...thats why I requested .. hehehe thanks for this idea tho sir
  13. I want to request for a script that will get all the total exp the player gained since the login
  14. Yes but to show in one command the monster in map -_-
  15. 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 !
  16. 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 ? Hi ! I tried it sir but bank still open even it has zero balance bump.. Hi ! im trying to make a condition that will check players account variable "#" .. Can you help me please else if (`CONDITION GOES HERE TO CHECK IF PLAYER HAS #BANKING == 1`) { clif_messagecolor(&sd->bl, color_table[COLOR_RED], "You haven't open a bank account yet.", false, SELF); // Banking is disabled } Credits to @Emistry Update: Nevermind guys i made it using pc_readregstr(sd, add_str("#bank"))
  17. 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 .
  18. How to show server time and autotrader counts on my html website ?? I have no idea thanks
  19. Yes thankyou sir , I configured this on my web but nothing happened ... can you teach me ?
  20. Hi ! how to connect this on HTML ? I just want to show status and online players on my html website ...Thankyou and Godbless
  21. 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
  22. 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";
  23. 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
×
×
  • Create New...