Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. yes...because we dont need to save it permanently.... we only need a permanent variable to store total online time..not the "different" between login time and logout time.. your method that shown in above... the "time" variable will be reset and assigned with new value everytime they login and logout....
  2. should be like this... OnPCLoginEvent: @login_time = gettimetick(2); end; OnPCLogoutEvent: #online_time += ( gettimetick(2) - @login_time ); end;
  3. no variable....annie's script doesnt save the data into a account or players variable ...she store all the data into the SQL Database... you need to create another SQL Query to extract the data and save it into a variable and update it ~
  4. use this.... OnInit: setarray .pub_title$[0],"Paket","Buff","Link"; while( 1 ){ delwaitingroom; waitingroom .pub_title$[ .i % 3 ],0; .i++; sleep 2000; } end;
  5. if you are using client with date 20120618 or onward....edit the itemInfo.lub
  6. you can try this.. http://pastebin.com/raw.php?i=eMH1W8WT Note : since i didnt add much restriction or checking condition in the source...it would not work under certain condition.. example...cant have duplicated same memo maps ...( need to remove the existing before the updated memo will shown )
  7. default svn wont support more than 2.142..... Billion of zeny.....it's the limit of the variable can store... if you wan to increase the limit....i think there will be alot thing for you to edit in the source file and database .....
  8. i think it's come from your custom script ... double check the script you are using...
  9. trunk/doc/effect_list.txt 183. Self Destruction
  10. trunk/conf/battle/skill.conf // Minimum allowed delay for ANY skills after casting (in miliseconds) (Note 1) // Note: Setting this to anything above 0 can stop speedhacks. min_skill_delay_limit: 100 every skill will have minimum delay based on this... and please dont double post your topic...1 topic is more than enough....
  11. remove && !checkchatting()
  12. you can try this.. http://pastebin.com/raw.php?i=cCkyzKy2 but i dont know which function can retrieve the map name ~
  13. try remove these.. trunk/src/map/atcommand.c j = 0; for (i = 0; i < MAX_MOB_DROP; i++) { int droprate; if (mob->dropitem[i].nameid <= 0 || mob->dropitem[i].p < 1 || (item_data = itemdb_exists(mob->dropitem[i].nameid)) == NULL) continue; droprate = mob->dropitem[i].p; if (item_data->slot) sprintf(atcmd_output2, " - %s[%d] %02.02f%%", item_data->jname, item_data->slot, (float)droprate / 100); else sprintf(atcmd_output2, " - %s %02.02f%%", item_data->jname, (float)droprate / 100); strcat(atcmd_output, atcmd_output2); if (++j % 3 == 0) { clif_displaymessage(fd, atcmd_output); strcpy(atcmd_output, " "); } } if (j == 0) clif_displaymessage(fd, msg_txt(1246)); // This monster has no drops. else if (j % 3 != 0) clif_displaymessage(fd, atcmd_output); // mvp if (mob->mexp) { sprintf(atcmd_output, msg_txt(1247), mob->mexp); // MVP Bonus EXP:%u clif_displaymessage(fd, atcmd_output); strcpy(atcmd_output, msg_txt(1248)); // MVP Items: j = 0; for (i = 0; i < MAX_MVP_DROP; i++) { if (mob->mvpitem[i].nameid <= 0 || (item_data = itemdb_exists(mob->mvpitem[i].nameid)) == NULL) continue; if (mob->mvpitem[i].p > 0) { j++; if (j == 1) sprintf(atcmd_output2, " %s %02.02f%%", item_data->jname, (float)mob->mvpitem[i].p / 100); else sprintf(atcmd_output2, " - %s %02.02f%%", item_data->jname, (float)mob->mvpitem[i].p / 100); strcat(atcmd_output, atcmd_output2); } } if (j == 0) clif_displaymessage(fd, msg_txt(1249)); // This monster has no MVP prizes. else clif_displaymessage(fd, atcmd_output); }
  14. show your script...we dont know how you edited the script..
  15. @ryokomvp make sure you have PCRE enabled.. beside...please alway refer to your map server when any npcs are not working...there should be some useful message for you to debug it... refer PCRE
  16. shorten you skill tabs name...the teleport skill should be located at the misc. tab ~
  17. http://rathena.org/board/tracker/issue-7052-npc-malfunction-when-used-monster-sprite/
  18. use other way to trigger it...for example OnTouch or OnPCLoadMapEvent and etc
  19. using this showevent *showevent <state>, <color>; Show a colored mark in the mini-map like "viewpoint" and an emotion on top of a NPC. This is used to indicate that a NPC has a quest or an event to certain player/s. state can be: 0 = disable ( Used to disable and remove the mark and the emotion from the NPC. ) 1 = exclamation emotion ( Used to show an important quest event to certain player. ) 2 = interrogation emotion ( Used to show an non-important quest event to certain player. ) Other value may cause client crashes. color can be: 0 = yellow "Quest" 1 = orange "Job" 2 = green "Event" 3 = an MVP flag other values show a transparent mark in the mini-map.
  20. isnt that we have a setting that can manipulate this ? trunk/conf/battle/gm.conf // requires RENEWAL_DROP to be enabled (src/map/config/renewal.h) // modifies @mobinfo to display the users' real drop rate as per renewal_drop formula // modifies @iteminfo to not display the minimum item drop rate (since it can't tell the mob level) atcommand_mobinfo_type: 0 i think enable users to select which settings they want would be better.
  21. OnPCDieEvent: if( strcharinfo(3) == "mapname" ) warp "prontera",155,181; end;
  22. trunk/src/config/renewal.h /// game renewal server mode /// (disable by commenting the line) /// /// leave this line to enable renewal specific support such as renewal formulas #define RENEWAL disable this to change your emulator back to PRE-RE
×
×
  • Create New...