Jump to content

nasagnilac

Members
  • Content Count

    121
  • Joined

  • Last visited

Everything posted by nasagnilac

  1. [ Error ] : sv_readdb: Insufficient columns in line 4082 of "db/ep14/mob_skill_db.txt" (found 18, need at least 19). I got this error when I transferred and run my files in linux server host. Any solution for this? in windows there is no problem.
  2. (07/31/2016 15:41:22) [ Error ] : --- failed assertion -------------------------------------------- (07/31/2016 15:41:22) [ Error ] : skill.c:174: 'skill_lv > 0' in function `skill_get_range' (07/31/2016 15:41:22) [ Error ] : ./map-server(assert_report+0x77) [0x63ce67] (07/31/2016 15:41:22) [ Error ] : ./map-server(skill_get_range+0xc3) [0x5a81a3] (07/31/2016 15:41:22) [ Error ] : ./map-server(skill_get_range2+0x5b) [0x5aa21b] (07/31/2016 15:41:22) [ Error ] : ./map-server(clif_devotion+0xc6) [0x4b3d86] (07/31/2016 15:41:22) [ Error ] : ./map-server(status_change_end_+0x141d) [0x60e74d] (07/31/2016 15:41:22) [ Error ] : ./map-server(do_timer+0x1aa) [0x641cda] (07/31/2016 15:41:22) [ Error ] : ./map-server(main+0x183) [0x646133] (07/31/2016 15:41:22) [ Error ] : /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fced62a2d5d] (07/31/2016 15:41:22) [ Error ] : ./map-server() [0x436689] (07/31/2016 15:41:22) [ Error ] : --- end failed assertion ---------------------------------------- I need your help to fix this error. Anyone can help me?
  3. Anything I need to adjust in this script?
  4. I made an LMS Script and I got this error [ Error ] : over 65k instances of 'LMS_NPC' script are being run I doubt that this is the cause of the server map crash. I hope someone can help me fixed this. - script Clock_Time FAKE_NPC,{ OnClock0230: OnClock0930: OnClock1430: OnClock2130: donpcevent "LMS_NPC::OnStart"; end; } - script LMS_NPC FAKE_NPC,{ OnStart: set $lms,1; setnpctimer 0; announce "[Event] The Last Man Standing event will be starting shortly.",16; sleep2 10000; announce "[Event] Those who want to play, please type @joinevent.",16; sleep2 10000; announce "[Event] After 1 Minute the registration will close.",16; sleep2 10000; announce "[Event] Please type @joinevent now if you want to join.",16; initnpctimer; end; OnTimer30000: announce "[Event] Last 30 seconds.",16; sleep2 5000; announce "[Event] If you want to join please type @joinevent.",16; end; OnTimer50000: announce "[Event] Last 10 seconds.",16; end; OnTimer55000: announce "[Event] 5!",16; end; OnTimer56000: announce "[Event] 4!",16; end; OnTimer57000: announce "[Event] 3!",16; end; OnTimer58000: announce "[Event] 2!",16; end; OnTimer59000: announce "[Event] 1!",16; end; OnTimer60000: announce "[Event] Time's up.",16; end; OnTimer61000: set $lms,0; donpcevent "LMS_NPC::OnEnable"; stopnpctimer; end; OnDoStart: if (compare(.@atcmd_parameters$, "on")) { if($lms){ dispbottom "Last Man Standing Event is still active."; end; } callsub OnStart; } end; OnDoPrize: if (strcharinfo(3) == .map$ && getmapusers(.map$) == 1 && $lms == 0) { announce "Congratulations "+strcharinfo(0)+", our Last Man Standing winner!.",16; getitem 32005,3; atcommand "@cash 10"; warp "SavePoint",0,0; } end; OnEnable: sleep2 5000; mapannounce .map$,"[Event] We are about to start the Last Man Standing event.",16; sleep2 10000; mapannounce .map$,"[Event] But before we start the event here's how to play the game...",16; sleep2 10000; mapannounce .map$,"[Event] This is a survival game where you need to eliminate all players inside this map.",16; sleep2 10000; mapannounce .map$,"[Event] Everytime you killed a player, you will receive 1 Yggdrasil Berry.",16; sleep2 10000; mapannounce .map$,"[Event] Be the last man who stand and be rewarded.",16; sleep2 10000; mapannounce .map$,"[Event] Okay let's start the game!",16; sleep2 5000; mapannounce .map$,"[Event] 5!",16; sleep2 1000; mapannounce .map$,"[Event] 4!",16; sleep2 1000; mapannounce .map$,"[Event] 3!",16; sleep2 1000; mapannounce .map$,"[Event] 2!",16; sleep2 1000; mapannounce .map$,"[Event] 1!",16; sleep2 1000; mapannounce .map$,"[Event] GO!",16; sleep2 1000; set .status,1; pvpon .map$; donpcevent "LMS_NPC::OnCheck"; end; OnCheck: while(.status){ sleep2 10000; if(getmapusers(.map$) == 1){ goto L_Winner; }else if(getmapusers(.map$) == 2){ goto L_Remain; }else if(getmapusers(.map$) == 0){ goto L_None; }else{ donpcevent "LMS_NPC::OnCheck"; } } end; L_Winner: pvpoff .map$; mapannounce .map$,"[Event] Please type ' @lmsprize ' for your rewards.",16; set .status,0; end; L_None: pvpoff .map$; set .status,0; announce "[Event] We don't have any winner on our Last Man Standing event. See you next time..",16; end; L_Remain: sleep2 10000; mapannounce .map$,"[Event] Last 2 Brave warriors are still alive!",16; sleep2 10000; mapannounce .map$,"[Event] You can use @showplayer to detect players who use hide, chase walk or even cloaking skill for 2 minutes.",16; donpcevent "LMS_NPC::OnCheck"; end; OnInit: bindatcmd "lms","LMS_NPC::OnDoStart",80,100; bindatcmd "lmsprize","LMS_NPC::OnDoPrize",0,100; bindatcmd "showplayer","LMS_NPC::OnDoShow",0,100; set .status,0; set .map$,"1@lhz"; set .mapx,138; set .mapy,134; set $lms,0; set .cdtime,5; end; OnDoShow: getmapxy(.@map$,.@x,.@y,0); if(.@map$ != .map$ && getmapusers(.map$) >= 2 && .status < 1){end;} set .@time,gettimetick(2); set .@cd,(60*.cdtime); if(.@time - #showplayer < .@cd) { set .@k,#showplayer - (gettimetick(2)-.@cd); set .@m,.@k % 3600 / 60; set .@s,.@k % 60; set .@m$, .@m+" minute"+((.@m <= 1)?"":"s"); set .@s$, .@s+" second"+((.@s <= 1)?"":"s"); set .@time$,""+.@m$+" "+.@s$+""; dispbottom ""+.@time$+" left before you can use it again."; end; } set #showplayer,gettimetick(2); sc_start SC_CLAIRVOYANCE,120000,0; end; } // -- -- -- Kills Configurations -- -- -- // - script Kills_Con FAKE_NPC,{ OnStart: setnpctimer 0; initnpctimer; end; OnTimer1000: mapannounce getvariableofnpc(.map$,"LMS_NPC"),"You have only 7 minutes to eliminate all opponents.",16; end; OnTimer240000: mapannounce getvariableofnpc(.map$,"LMS_NPC"),"3 minutes left.",16; end; OnTimer360000: mapannounce getvariableofnpc(.map$,"LMS_NPC"),"1 minute left.",16; end; OnTimer390000: mapannounce getvariableofnpc(.map$,"LMS_NPC"),"30 seconds left.",16; end; OnTimer410000: mapannounce getvariableofnpc(.map$,"LMS_NPC"),"10 seconds left.",16; end; OnTimer415000: mapannounce getvariableofnpc(.map$,"LMS_NPC"),"5 seconds left.",16; end; OnTimer420000: donpcevent "LMS_NPC::L_None"; end; OnTimer425000: mapwarp getvariableofnpc(.map$,"LMS_NPC"),"prontera",116,73,0; donpcevent "L_None::OnCheck"; stopnpctimer; end; OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$==getvariableofnpc(.map$,"LMS_NPC")){ set #kill_point, 0; mapannounce getvariableofnpc(.map$,"LMS_NPC"),""+strcharinfo(0)+" died, and out of the game!.",16; sleep2 1000; warp "SavePoint",0,0; end; } OnPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$==getvariableofnpc(.map$,"LMS_NPC")){ set #kill_point,#kill_point+1; if ( #kill_point % 1 == 0) { getitembound 607,1,1; end; } } } // -- -- -- Mapflags -- -- -- // 1@lhz mapflag nowarp 1@lhz mapflag nowarpto 1@lhz mapflag noteleport 1@lhz mapflag nosave 1@lhz mapflag nomemo 1@lhz mapflag nobranch 1@lhz mapflag pvp_noparty 1@lhz mapflag pvp_noguild 1@lhz mapflag noreturn 1@lhz mapflag zone Last Man Standing
  5. Some of the players can't connect to the server even their files are completed. When they are going to login their account it always says that failed to connect to server. I am not sure what software I need to uninstall to make it work. My client used gephard shield. I hope someone help me fix this problem. Thank You!
  6. Is it possible that I can recolor this image 5199.bmp to this caps with out using photoshop? 32002.bmp33001.bmp32003.bmp33000.bmp33004.bmp
  7. I have a problem with my client flag. clientinfo.xml <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>korea</servicetype> <servertype>sakray</servertype> <connection> <display>Chaos Server</display> <address>127.0.0.1</address> <port>6900</port> <version>30</version> <langtype>1</langtype> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> <image>loading07.jpg</image> </loading> <yellow> <admin>2000000</admin> <admin>2008085</admin> <admin>2008100</admin> <admin>2008117</admin> <admin>2008181</admin> <admin>2008285</admin> <admin>2009054</admin> <admin>2009148</admin> </yellow> </connection> </clientinfo> screenHercules014.bmp I am expecting the same as PH flag but its not.
  8. Good Day, I am updating my patcher and client it always says that update failed. I already configured the ClientSum and Path and still fails.
  9. My players don't receive any credits to their account after donating via paypal of flux. Anyone can help?
  10. Hello I have here a script where npc give players a 5 minutes call to relogin in able to have an exp boost. but the problem is when the script is not activated on its time I can still receive the exp boost. I want you to check if my timer is correct. Thnx in advance. //------------------------------------------------------------------------------------------------- - script Free Rewards FAKE_NPC,{ OnHour11: OnHour13: OnHour17: OnHour19: goto enable; enable: if(.svn){ query_sql "DELETE FROM `acc_reg_num_db` WHERE `key`='#expboost'"; }else{ query_sql "DELETE FROM `global_reg_value` WHERE `str`='#expboost'"; } set .available,1; set .rewards$,"EXP BOOST"; announce "[ FREE "+.rewards$+" ] Re-login now! You have only 5 minutes for FREE "+.rewards$+".",0; startnpctimer; end; OnTimer60000: announce "[ FREE "+.rewards$+" ] You have 4 minutes left to relogin.",0; end; OnTimer120000: announce "[ FREE "+.rewards$+" ] You have 3 minutes left to relogin.",0; end; OnTimer180000: announce "[ FREE "+.rewards$+" ] You have 2 minutes left to relogin.",0; end; OnTimer240000: announce "[ FREE "+.rewards$+" ] You have 1 minute left to relogin.",0; end; OnTimer300000: announce "[ FREE "+.rewards$+" ] Time's Up...!",0; stopnpctimer; goto reset; end; reset: set .available,0; end; OnInit: //------------------------------------------------------------------------------------------------- set .svn,1; // 0 - rAthena/eAthena, 1 - Hercules set .available,0; set .n$, "^FF0000[Free EXP BOOST]^000000"; bindatcmd "expboost","Free Rewards::OnDoEvent",80,100; // Admin reset command //------------------------------------------------------------------------------------------------- end; OnDoEvent: if ( compare( .@atcmd_parameters$, "reset" ) ) { if(.svn){ query_sql "DELETE FROM `acc_reg_num_db` WHERE `key`='#expboost'"; }else{ query_sql "DELETE FROM `global_reg_value` WHERE `str`='#expboost'"; } mes .n$; mes"FREE EXP BOOST has been reset."; close; }else if ( compare( .@atcmd_parameters$, "on" ) ) { mes .n$; mes "FREE EXP BOOST is now enabled."; close2; set .available,1; set .rewards$,"EXP BOOST"; announce "[ FREE "+.rewards$+" ] Re-login now! You have only 5 minutes for FREE "+.rewards$+".",0; startnpctimer; } end; OnPCLoginEvent: if(.available){ if(!#expboost){ set #expboost,1; sc_start SC_CASH_PLUSEXP,900000,150; sc_start SC_CASH_RECEIVEITEM,900000,150; end; } } end; }
  11. looks like it works. I will update you again if there is a problem thnx.
  12. Looks like this one is better but still don't receive any points if I set it to 60 minutes. - script hourlypoints FAKE_NPC,{ OnInit: set .point_name$,"reward points"; set .point_amt, 3; //Normal points gained. set .dlimit, 180; //Stop points if afk greater then in seconds. set .enable,1; set .level,0; bindatcmd "ht","hourlypoints::OnDoTimer",0,100; // Admin reset command end; OnDoTimer: if(BaseLevel >= .level){ set m,#timetick % 3600 / 60; set s,#timetick % 60; set m$, (60-m)+" minute"+((m <= 1)?"":"s"); set s$, (60-s)+" second"+((s <= 1)?"":"s"); set time$,""+m$+" "+s$+""; if(#idle){ dispbottom "You been idle for 3 minutes. Please relog again."; }else{ dispbottom "You have [ "+time$+" ] left in able to gain a reward points."; } } end; OnPCLoginEvent: if(BaseLevel >= .level){ set #idle,0; while(.enable){ if(checkvending() >= 1 && checkidle() >= .dlimit || checkchatting() == 1 && checkidle() >= .dlimit || checkidle() >= .dlimit) { dispbottom "The hourly points event haulted because you were vending, chatting, or idle."; set #idle,1; set #acctick,gettimetick(2); set #timetick,#timetick + (gettimetick(2) - #acctick); break; } set #acctick,gettimetick(2); sleep2 1000; set #timetick,#timetick + (gettimetick(2) - #acctick); set h,#timetick % 86400 / 3600 / 24; set m,#timetick % 3600 / 60; set s,#timetick % 60; set h$, h+" hour"+((h <= 1)?"":"s"); set m$, m+" minute"+((m <= 1)?"":"s"); set s$, s+" second"+((s <= 1)?"":"s"); set time$,""+h$+" "+m$+" "+s$+""; if(m >= 60){ set #RP,#RP + .point_amt; dispbottom "Gained "+.point_amt+" "+.point_name$+". Total "+#RP+" points."; set #timetick,0; }else if(m == 15 && s == 0 || m == 30 && s == 0 || m == 45 && s == 0){ dispbottom "You spend a total of [ "+time$+" ] playing."; } } } end; OnPCLogoutEvent: if(BaseLevel >= .level){ if(.enable){ set #acctick,gettimetick(2); set #timetick,#timetick + (gettimetick(2) - #acctick); } } end; }
  13. Some of my players said that they still dint get any reward points.
  14. Thnx. I will try this one.
  15. I have a problem in my Hourly Points System. Here's my script. My problem is the idle. Im not sure if it really works and stop the timer. and when it reach the 60 minutes player don't get any reward points. Please help me thnx - script hourlypoints FAKE_NPC,{ OnInit: set .point_name$,"reward points"; set .point_amt, 3; //Normal points gained. set .dlimit, 600; //Stop points if afk greater then in seconds. set .enable,1; set .level,0; bindatcmd "ht","hourlypoints::OnDoTimer",0,100; // Admin reset command end; OnDoTimer: if(BaseLevel >= .level){ set .@m,#timetick % 3600 / 60; set .@s,#timetick % 60; set .@m$, (60-.@m)+" minute"+((.@m <= 1)?"":"s"); set .@s$, (60-.@s)+" second"+((.@s <= 1)?"":"s"); set .@time$,""+.@m$+" "+.@s$+""; if(#idle){ dispbottom "You been idle for 10 minutes. Please relog again."; }else{ dispbottom "You have [ "+.@time$+" ] left in able to gain a reward points."; } } end; OnPCLoginEvent: if(BaseLevel >= .level){ set #idle,0; while(.enable && #idle == 0){ if(checkvending() >= 1 && checkidle() >= .dlimit || checkchatting() == 1 && checkidle() >= .dlimit || checkidle() >= .dlimit) { dispbottom "The hourly points event haulted because you were vending, chatting, or idle."; set #idle,1; set #acctick,gettimetick(2); set #timetick,#timetick + (gettimetick(2) - #acctick); end; }else{ set #acctick,gettimetick(2); sleep2 1000; set #timetick,#timetick + (gettimetick(2) - #acctick); set .@h,#timetick % 86400 / 3600 / 24; set .@m,#timetick % 3600 / 60; set .@s,#timetick % 60; set .@h$, .@h+" hour"+((.@h <= 1)?"":"s"); set .@m$, .@m+" minute"+((.@m <= 1)?"":"s"); set .@s$, .@s+" second"+((.@s <= 1)?"":"s"); set .@time$,""+.@h$+" "+.@m$+" "+.@s$+""; if(.@m >= 60){ set #RP,#RP + .point_amt; dispbottom "Gained "+.point_amt+" "+.point_name$+". Total "+#RP+" points."; set #timetick,0; }else if(.@m == 15 && .@s == 0 || .@m == 30 && .@s == 0 || .@m == 45 && .@s == 0){ dispbottom "You spend a total of [ "+.@time$+" ] playing."; } } } } end; OnPCLogoutEvent: if(BaseLevel >= .level){ if(.enable){ set #acctick,gettimetick(2); set #timetick,#timetick + (gettimetick(2) - #acctick); } } end; }
  16. Hello sir/mam, I just downloaded the latest file in the github or hercules but when compiling there is a problem. How can I fix this? 1>------ Rebuild All started: Project: login-server, Configuration: Debug Win32 ------2>------ Rebuild All started: Project: map-server, Configuration: Debug Win32 ------3>------ Rebuild All started: Project: mapcache, Configuration: Debug Win32 ------4>------ Rebuild All started: Project: char-server, Configuration: Debug Win32 ------1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppClean.targets(74,5): warning : Access to the path 'C:UsersWeDevGamesDesktopHercules-masterlogin-server.exe' is denied.4>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppClean.targets(74,5): warning : Access to the path 'C:UsersWeDevGamesDesktopHercules-masterchar-server.exe' is denied.2>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppClean.targets(74,5): warning : Access to the path 'C:UsersWeDevGamesDesktopHercules-mastermap-server.exe' is denied.1> grammar.c1> libconfig.c1> scanctx.c1> scanner.c1> strbuf.c4> grammar.c1> des.c1> mutex.c1> thread.c4> libconfig.c4> scanctx.c4> scanner.c4> strbuf.c4> mt19937ar.c4> conf.c4> core.c2> grammar.c2> libconfig.c2> scanctx.c2> scanner.c2> strbuf.c2> mt19937ar.c3> core.c3> console.c3> des.c3> grfio.c3> memmgr.c3> showmsg.c3> strlib.c3> sysinfo.c2> conf.c2> core.c1> account_sql.c4> console.c2> console.c2> db.c4> db.c1> HPMlogin.c2> des.c3> utils.c3> nullpo.c1> ipban_sql.c4> des.c3> mapcache.c1> login.c1> loginlog_sql.c2> ers.c4> ers.c4> HPM.c4> memmgr.c2> grfio.c1> conf.c2> HPM.c4> mapindex.c1> core.c4> mutex.c2> memmgr.c4> nullpo.c2> mapindex.c1> console.c2> md5calc.c1> db.c1> ers.c4> random.c2> mutex.c2> nullpo.c4> showmsg.c2> random.c4> socket.c1> HPM.c4> sql.c2> showmsg.c2> socket.c2> sql.c4> strlib.c4> sysinfo.c1> memmgr.c2> strlib.c1> md5calc.c1> nullpo.c1> random.c1> showmsg.c4> thread.c1> socket.c1> sql.c1> strlib.c4> timer.c2> sysinfo.c1> sysinfo.c2> thread.c4> utils.c4> HPMchar.c2> timer.c1> timer.c2> utils.c4> char.c2> atcommand.c2> battle.c1> utils.c4> geoip.c1> mt19937ar.c2> battleground.c4> int_auction.c4> int_elemental.c2> buyingstore.c2> channel.c4> int_guild.c4> int_homun.c2> chat.c2> chrif.c4> int_mail.c4> int_mercenary.c2> clif.c4> int_party.c4> int_pet.c4> int_quest.c1>LINK : fatal error LNK1104: cannot open file '..login-server.exe'4> int_storage.c4> inter.c4> loginif.c4> mapif.c2> date.c2> duel.c4> pincode.c2> elemental.c2> guild.c2> intif.c2> irc-bot.c2> itemdb.c2> log.c3> mapcache.vcxproj -> C:UsersWeDevGamesDesktopHercules-mastervcproj-10..mapcache.exe4>LINK : fatal error LNK1104: cannot open file '..char-server.exe'2> mail.c2> map.c2> mapreg_sql.c2> homunculus.c2> HPMmap.c2> instance.c2> mercenary.c2> mob.c2> npc.c2> npc_chat.c2> party.c2> path.c2> pc.c2> pc_groups.c2> pet.c2> quest.c2> script.c2> searchstore.c2> skill.c2> status.c2> storage.c2> trade.c2> unit.c2> vending.c2>c:userswedevgamesdesktophercules-mastersrcmapscript.c(18933): warning C4101: 'msg' : unreferenced local variable2>LINK : fatal error LNK1104: cannot open file '..map-server.exe'========== Rebuild All: 1 succeeded, 3 failed, 0 skipped ==========
  17. Thnx.. its working.. how about adding a loop here? what if the jobs are 2 priest 2 monk? There should be a 2 result that 2 same job is in the party.
  18. I made a script where can check duplicate class in a party. Disable Class Priest - High Priest Monk - Champion Enable Class Priest - Monk High Priest - Champion Here is the code. gonryun,26,112,4 script Test 1_M_PUBMASTER,{ // get the charID and accountID of character's party membersgetpartymember getcharid(1), 1;getpartymember getcharid(1), 2;if ( $@partymembercount != .register_num ) { mes "Please form a party of "+ .register_num +" to continue"; close;}// loop through both and use 'isloggedin' to count online party membersfor ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){ if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) attachrid ($@partymemberaid[.@i]); for ( set .@p, 0; .@p < getarraysize(.jobs); set .@p, .@p +1 ) if(BaseJob == .jobs[.@p]) // Problem 1 cant set a new value for each variables in .class$. set getd("+.class$[.@p]+"),getd("+.class$[.@p]+") + 1; // this part is to check if the variable value changed. mes ""+.@priest+" "; close; } //for ( set .@l, 0; .@l < getarraysize(.class$); set .@l, .@l +1 ){// if(getd(.class$[.@l]) == 2){// dispbottom "Your party has a duplicate job class of "+jobname(.jobs$[.@l])+".";// } //} OnInit:set .register_num, 2; // How many party members are required?setarray .jobs,"8";setarray .class$,".@priest";end;} All red text is the problem. Please help me,
  19. How can I move the text box in the client with red box because when I input numbers its hard to determine what you input. Some of the numbers part is missing. Anyone can help me on this? I already edit the image skin but nothing change. maybe the problem is in the client or src.
  20. Please help me bring back the old devotion skill where Reflect Shield and Auto Guard is still working on other player when cast with devotion.
  21. Do you mean by this example? - You cast "Absorb Spirit" on the enemy but in mid casting, the enemy hides and his spheres still get absorbed? You want it so that the hiding cancels the absorb cast/or doesn't absorb when in hiding? yes it is.
×
×
  • Create New...

Important Information

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