Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. About MvP and mini-boss, we don't have any settings in mob_db to set mini-boss, its also an MvP (correct if I am wrong.) and about Drop Rate: it checks the drop rate from sql directly, and it is affected by the following settings on config/servers.php 'DropRates' => array( // The rate the common items (in the ETC tab, besides card) are dropped 'Common' => 100, 'CommonBoss' => 100, // The rate healing items (that restore HP or SP) are dropped 'Heal' => 100, 'HealBoss' => 100, // The rate usable items (in the item tab other then healing items) are dropped 'Useable' => 100, 'UseableBoss' => 100, // The rate at which equipment is dropped 'Equip' => 100, 'EquipBoss' => 100, // The rate at which cards are dropped 'Card' => 100, 'CardBoss' => 100, // The rate adjustment for the MVP items that the MVP gets directly in their inventory 'MvpItem' => 100 ),
  2. you might have intravision enabled (ex: maya card)
  3. Pack the msgstringtable.txt into the First GRF that is been loaded by DATA.ini. eg. DATA.ini looks like [Data]0=FirstGRF.grf1=YourRO.grf2=data.grf then, you should pack the grf into "FirstGRF.grf" and not in "YourRO.grf" since the first one is given priority, and it might happen that first one is having msgstringtable already, so its not reading msgstringtable form YourRO.grf.
  4. - script hourlypoints -1,{OnPCLoginEvent: if(#limit == 1) { dispbottom "You have already reached the maximum points per day."; dispbottom "Wait until the next day for the timer to start."; } else { dispbottom "Hourly Points has been initiated in this account.";} set #Clock,#minute; set .@i, (gettime(7) * 365 * 24) + (gettime(8) * 24) + gettime(3);// this will set time of origional loging if(.@i >= (#LastClock + .ResetHours)){ set #LastClock,.@i; set #Clock,0; } else { set #minute,#Clock; } attachnpctimer(); startnpctimer(); end;OnTimer60000: if(#limit == 1) { stopnpctimer(); } else { setarray .@h_maps$[0],"vend_zone","vip_lounge"; for (set .@a, 0; .@a < getarraysize(.@h_maps$); set .@a, .@a + 1) { if(strcharinfo(3) == .@h_maps$[.@a]) { dispbottom "Hourly points is restricted in this map."; dispbottom "Please change map and relog if you wish to continue Hourly points."; stopnpctimer(); end; } } set #minute, #minute + 1; if(#minute == 60){ set .point_amt, 1; set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Free Donation points for staying in-game for 1 hour"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Donation Points"; } if(#minute == 120){ set .point_amt, 2; set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Free Donation points for staying in-game for 2 hours"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Donation Points"; } if(#minute == 240){ set .point_amt, 4; set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Free Donation points for staying in-game for 4 hours"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Donation Points"; } if(#minute == 480){ set #minute,0; set #limit,1; set .point_amt, 13; set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Free Donation points for staying in-game for 8 hours"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Donation Points"; sleep2 2000; dispbottom "You have already reached the maximum points per day."; dispbottom "Wait until 12:01 for the timer to start."; } stopnpctimer(); initnpctimer(); } end;OnInit: set .ResetHours,24; end;OnClock0001: query_sql "DELETE FROM `acc_reg_num_db` WHERE `key`='#minute' OR `key`='#limit'"; //Delete all entries for offline players query_sql "SELECT `account_id` from `char` where `online`=1", .@account_id; for (.@i=0; .@i < getarraysize(.@account_id); .@i++){ //Delete all cached entries of online players if (attachrid(.@account_id[.@i])){ #limit = 0; #minute = 0; } } .@size = getarraysize(.@account_id); deletearray .@account_id[0],.@size; initnpctimer(); end;} Here's the script, but too bad practice to make player online for 8 hours in a day acc_reg_num_db, and we should also loop through active accounts and make it 0, since variables not fetched everytime and it might result in #minute to be added up.
  5. Why is that, when I diff my client with NEMO Patcher and then apply SecureGRF I get error (0xc0000142) while If I use XDiff, or other patchers, and apply SecureGRF, the client runs fine?
  6. "OnPCLoginEvent:" is commented on your script... or if you don't want it to be run on Login, try this one: http://upaste.me/40a31236669d3d23c
  7. Maybe your MySQL is turned off..or run command prompt, go to your hercules directory and run this map-server.exe > map-server.logand show us map-server.log contents. here map-server.log : [status]: Memory manager initialised: log/map-server.exe.leaks Hercules Development Team presents _ _ _ | | | | | | | |_| | ___ _ __ ___ _ _| | ___ ___ | _ |/ _ '__/ __| | | | |/ _ / __| | | | | __/ | | (__| |_| | | __/__ _| |_/___|_| ___|__,_|_|___||___/ http://herc.ws/board/ [info]: Hercules 32-bit for Windows [info]: Git revision (src): '80cccfbc241f2ee566b43c5f577ca63abe6e1e86' [info]: Git revision (scripts): '80cccfbc241f2ee566b43c5f577ca63abe6e1e86' [info]: OS version: 'Windows 7 Professional Service Pack 1 (build 7601) [x86_64]' [info]: CPU: 'x86_64 CPU, Family 6, Model 42, Stepping 7 [4]' [info]: Compiled with Microsoft Visual C++ 2010 (v1600) [info]: Compile Flags: N/A Any error or warning on command prompt? My best guess is you have invalid user/pass for MySQL(or mysql isn't running) or maybe some missing files in conf folder...
  8. Have you compiled the server? (I can't guess any other solution with just this much information...)
  9. Maybe your MySQL is turned off.. or run command prompt, go to your hercules directory and run this map-server.exe > map-server.log and show us map-server.log contents.
  10. This File enables those npc's: npc/other/poring_war.txt
  11. File Name: Data/texture/유저인터페이스/basic_interface/nc_cashshop.bmp
  12. Everyone is welcome to give suggestion +1 For Additional options on item_db.conf.
  13. Blank screen means, her pc is able to connect to that IP and port properly, so its absolutely clientside error, which you might have overlooked.
  14. Its Guild Ranking, so all kills are currently counted..
  15. please do those commands from her PC at command prompt, and why you have put space after 142, Format is "telnet IP Port"
  16. try 'telnet ip.xx.xx.xx port' of any of the server if the server receive unknown connect then client file is the problem and solution I don't really understand this part. the 'telnet ip.xx.xx.xx port', is it a command I need to run? Also, the servers IP or her IP? run it in command prompt or on "run" of windows. Put Server IP and port of any one server(char/login/map) example: "telnet 123.50.25.50 6121"
  17. I recommend you to check her RO folder, she might have some other servers, or check clientinfo.xml that she is having, it might have something else..
  18. maybe langtype problem? try changing langtype to 0 or 1, or post your clientinfo.xml @Mhalicot, I think it should be in Client-Side support..
  19. Where is your test server located? on the same vps of main server?
  20. #include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "../common/HPMi.h"#include "../map/clif.h"#include "../map/atcommand.h"#include "../map/script.h"#include "../map/pc.h"#include "../common/HPMDataCheck.h"HPExport struct hplugin_info pinfo ={ "@dance", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "0.1b", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};ACMD(dance){int msg;msg = rand()%9;switch(msg){ case 0: case 1: case 3: case 5: case 7: case 9: clif->specialeffect(&sd->bl, 400, ALL_CLIENT); if (msg==0 || msg==1) {clif->specialeffect(&sd->bl, 413, ALL_CLIENT);} else if(msg==3){clif->specialeffect(&sd->bl, 415, ALL_CLIENT);} else if(msg==5){clif->specialeffect(&sd->bl, 458, ALL_CLIENT);} else if(msg==7){clif->specialeffect(&sd->bl, 501, ALL_CLIENT);} else{clif->specialeffect(&sd->bl, 550, ALL_CLIENT);} break; case 2: case 4: case 6: case 8: clif->specialeffect(&sd->bl, 300, ALL_CLIENT); if (msg==2){clif->specialeffect(&sd->bl, 414, ALL_CLIENT);} else if (msg==4){ clif->specialeffect(&sd->bl, 426, ALL_CLIENT); } else if (msg==6){ clif->specialeffect(&sd->bl, 466, ALL_CLIENT); } else { clif->specialeffect(&sd->bl, 540, ALL_CLIENT); } }return true;}/* Server Startup */HPExport void plugin_init (void){ clif = GET_SYMBOL("clif"); atcommand = GET_SYMBOL("atcommand"); script = GET_SYMBOL("script"); skill = GET_SYMBOL("skill"); addAtcommand("dance",dance);} Try it..
  21. Yes, it can check folders, just input the directory instead of file..
  22. - script JobLvTen -1,{OnPCJobLvUpEvent:if (JobLevel==10){ getitem 502,1; //Any Other Code dispbottom "You get a bonus for reaching job lvl.10";}end;}
  23. other emulators out are also easy to use. its having same configuration as in eA/rA/Hercules. (eAmod is a fork of eAthena)
  24. bug has been reported on http://herc.ws/board/tracker/issue-8176-lastet-commit-cant-compile-successfully-on-linux/ , Please wait, till its fixed, or use an older version.
  25. that would fix the accname error, it just states that you don't have any entries about it in accessoryid.lub(so adding one S would fix it) Or you have other accname error now?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.