Jump to content

AnnieRuru

Script Developers
  • Content Count

    1677
  • Joined

  • Last visited

  • Days Won

    245

Everything posted by AnnieRuru

  1. I just recheck the script, and I forgot to put mapflags ... hahaha just edited the script http://upaste.me/d59f108154ef949e3 it seems hercules has a special mapflag 'src4instance', which means, flag that map as an instance map it will always redirect players or monsters to the instanced map instead of source map not sure it can fix this ... instance variable or not ... though by reading source ... I don't think so ... try post your edited script and see ? I can read chinese
  2. http://upaste.me/152010878fd9fbcb0 no offense to the author, but I always want to rewrite this script as it was very unoptimized change poring_w01 into poring_c01 if you are using older clients
  3. herehttp://herc.ws/board/topic/4570-battleground-system-without-waitingroom/ . . . no, that person has been protected in "Admin" aura my custom battleground script commands only needs 3, but official hercules battleground script commands has 12 !! BUILDIN_DEF(queue,""),BUILDIN_DEF(queuesize,"i"),BUILDIN_DEF(queueadd,"ii"),BUILDIN_DEF(queueremove,"ii"),BUILDIN_DEF(queueopt,"ii?"),BUILDIN_DEF(queuedel,"i"),BUILDIN_DEF(queueiterator,"i"),BUILDIN_DEF(qicheck,"i"),BUILDIN_DEF(qiget,"i"),BUILDIN_DEF(qiclear,"i"),BUILDIN_DEF(bg_create_team,"sii"),BUILDIN_DEF(bg_join_team,"i?"),.. why use so many script commands when I only need to use 3 ?
  4. http://www.eathena.ws/board/index.php?showtopic=177918 I tag it as [bug] but still peoples are still using it yes the script isn't bug at all but I don't want members using this outdated script ... I always want to rewrite this script but ... just couldn't find the time ... I've improved so much since then and right now I'm able to make any kind of script ... no it doesn't because I don't have the time to rewrite this script,currently I'm more focus in making battleground/instance scripts but I just tested it still working fine on current hercules didn't notice there is already 2k+ downloads ...
  5. make a box with type 18 then in the script field use getitem2 Valkyrie_Armor, 1,1,7,0, 0,0,0,0;
  6. show your warper npcsome people use toasty warper ... some people use warper script inside SVN ... we dunno which one you are using . . like leloush saidadd nowarpto mapflag to all those maps so players can't warp to those maps remember that GM99 can bypass nowarpto mapflag so try it with normal player account
  7. if you are using rathena, sure it'll give errors because the instance system is totally different on these 2 emulatorsat least tell what's emulator you are using and quote the errors from map-server.exe
  8. there are 2 other members has already using this script and they say its working fine so the problem is only at your side anyways, I make the debugmes for you, check your map-server.exe and display until which line http://upaste.me/a73f1086889cc8be0 [Debug]: script debug : 0 110000776 : OnInstanceInit working correctly[Debug]: script debug : 0 110000776 : round 1 is able to start correctly[Debug]: script debug : 0 110000776 : monster ID 1001 can be spawn correctly[Debug]: script debug : 0 110000776 : monster ID 1001 can be spawn correctly[Debug]: script debug : 2000000 110000776 : round 2 is able to start correctly[Debug]: script debug : 0 110000776 : monster ID 1031 can be spawn correctly[Debug]: script debug : 0 110000776 : monster ID 1032 can be spawn correctly[Debug]: script debug : 2000000 110000776 : round 3 is able to start correctly[Debug]: script debug : 0 110000776 : monster ID 1111 can be spawn correctly[Debug]: script debug : 0 110000776 : monster ID 1113 can be spawn correctly[Debug]: script debug : 2000000 110000776 : The party can end this instance correctlyshould be like this
  9. its not triple post, I split topic so answering your question doesn't conflict with other member's post spoon feed btw http://upaste.me/4eaa1086717a3d067
  10. yes. . yes, it disable map-wise because of the mapflagusing partylock or guildlock is meant for event script where you don't want players to invite/leave the party/guild to exploit the events http://rathena.org/wiki/Mapflag#partylock
  11. which map ? pvp map or non-pvp map ? the coding will be quite different on non-pvp map (target as enemy) or pvp-map (target as neutral)
  12. I actually see a missing closing bracket instead of suggesting a new parenthesis how about showing a few lines above and below so that I can understand what it actually means no idea what it is when just showing the conditions
  13. scripting goddess is noob in source ... ok ?in rathena forum I have scripting badge, but didn't get a source lvl1 badge ... because I'm noob in source coding the question I'm asking is about my custom mod doesn't work on battleground queue system but works with waitingroom ... so the problem is on the svn itself ...
  14. http://upaste.me/43f410863b29f741e that's weird when I test on normal battleground script using waitingroom system, it works [Debug]: script debug : 0 110000009 : Battleground Normal Start[Info]: Character 'EnnyRuru' logged off.[Debug]: script debug : 2000001 110000009 : Battleground Normal EnnyRuru quit battleground[Debug]: script debug : 0 110000009 : Battleground Normal Ends[Debug]: script debug : 2000001 110000008 : EnnyRuru has logout.. but then I try again on the half-baked battleground queue, the OnQuit event doesn't work [Debug]: script debug : 0 110000007 : Battleground Queue Start[Debug]: script debug : 2000000 110000007 : Battleground Queue AnnieRuru has dead[Debug]: script debug : 2000001 110000007 : Battleground Queue EnnyRuru has dead[Info]: Character 'AnnieRuru' logged off.[Debug]: script debug : 2000000 110000008 : AnnieRuru has logout<OnDead> works, but <OnQuit> doesn't work ... funny ... ... damn ... do I seriously need to learn how to use 12 script commands to make my queue battleground work ... because hercules' flavious battleground OnQuit uses HQO_OnLogout and it doesn't bug on that script
  15. http://rathena.org/board/topic/92930-about-party/?p=246451 I think already answered over there ...
  16. battle.c case AL_HOLYLIGHT: skillratio += 25; if (sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_PRIEST) skillratio *= 5; //Does 5x damage include bonuses from other skills? break;officially ... priest soul link will grant 5x damageso ... you want to reduce it ? just change *=5 into *=2 ...
  17. you mean add a deny timer to those players who already join the eventthen if they already played, they can't play again in another 3 hours ? have you tried debug the script ?like put debugmes on every single variable in the script otherwise, post your edited script
  18. if (src->type == BL_PC && target->type == BL_MOB)[change intoif ( ( src->type == BL_PC ) && ( target->type == BL_MOB ) ).. . you didn't show the 2nd one but change mapindex_name2id into mapindex->name2id ... hmm ... so that's dota battleground script ... I've heard rumors about it last year during my stay in rathena forum of course it doesn't work in hercules
  19. you mean you are still using the damn old emulator where has_instance2 is not supported ?try check your script_commands.txt and see your emulator support has_instance2 or not https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L7971 maybe try change has_instance2( "guild_vs2" ) into instance_id(1) otherwise, I can't support people using such old emulator #define MAX_PARTY 12 inside mmo.h @Hadeszeus turn off the gvg mapflag
  20. no such thing if you want the waitingroom can only accept the same party members, you have to do source modifications and ... I don't like party vs party script ... use battleground ...
  21. http://upaste.me/d59f108154ef949e3 @leloush how issit possible to have 20 participants when the maximum party members can have is 12 ? and ... @karazu how can you read my mind ?
  22. perfectly built script, I can only see 1 bug and 2 improvements 1. bindatcmd "claim",strnpcinfo(3)+"::OnClaim"; bindatcmd "code",strnpcinfo(3)+"::OnEditCode";when you write an atcommand that player can usealways set charcommand level to 99 or 100 its simple to reproduce when pvp/gvg, type '#claim <player name that you hated>' and will send a chat box on the player, cause him to have a moment of pause because need to type something yet again ... this kind of knowledge can only acquire when you have work on a live server =/ 2. so change into like this bindatcmd "claim",strnpcinfo(3)+"::OnClaim", 0, 100; bindatcmd "code",strnpcinfo(3)+"::OnEditCode", 99, 100;so you don't have to ( getgmlevel() < 99 ) end; 3. query_sql "SELECT `nameid`, `amount` FROM `reward_codes` WHERE `code` = '" + escape_sql(.@pc$) + "'", .@item, .@amt; if ( !.@item ) dispbottom "Either invalid code or the code is already claimed by other people";can be simplify as if ( !query_sql( "SELECT `nameid`, `amount` FROM `reward_codes` WHERE `code` = '" + escape_sql(.@pc$) + "'", .@item, .@amt ) ) dispbottom "Either invalid code or the code is already claimed by other people";
  23. https://github.com/HerculesWS/Hercules/blob/master/db/sc_config.txt SC_INCMHPRATE, 1 SC_INCMSPRATE, 1
  24. - script main -1,{OnInit: .minplayer2start = 5; end;OnStart: if ( getwaitingroomstate( 0, "left" ) < .minplayer2start || getwaitingroomstate( 0, "right" ) < .minplayer2start ) end; announce "blahblah start !", bc_all; donpcevent "left::OnStart"; donpcevent "right::OnStart"; delwaitingroom "left"; delwaitingroom "right"; disablenpc "left"; disablenpc "right"; end;}prontera,157,187,5 script left 100,{ end;OnInit: sleep 1; waitingroom strnpcinfo(0), getvariableofnpc( .minplayer2start, "main" ) +1, "main::OnStart", getvariableofnpc( .minplayer2start, "main" ); end;OnStart: warpwaitingpc "guild_vs2", 9, 50; end;}prontera,160,187,5 script right 100,{ end;OnInit: sleep 1; waitingroom strnpcinfo(0), getvariableofnpc( .minplayer2start, "main" ) +1, "main::OnStart", getvariableofnpc( .minplayer2start, "main" ); end;OnStart: warpwaitingpc "guild_vs2", 90, 50; end;}same people ?http://rathena.org/board/topic/92911-what-is-the-problem/
×
×
  • Create New...

Important Information

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