Jump to content

Brynner

Community Contributors
  • Content Count

    559
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Brynner

  1. i already did that sir. but still not working.
  2. does anyone already know how to remove this warning? srcmapharmony.c(225): warning C4013: 'chrif_harmony_request' undefined; assuming extern returning int this is the affected line. chrif_harmony_request((uint8*)data, id); thanks in advance.
  3. is this discount gonna work on all class?or how to get discount?
  4. Brynner

    NoviceVSZombie

    how to fix this script? on this current script. if you die inside and 1 player left. the reward npc but when the player got killed few seconds upon the start of the event. the zombie still keep respawning. and also if the player leave during the event. and when only one player left. it will be declared as we have a winner? and also every round the respawn of the zombie will be double. round 1 = 1 zombie round 2 = 2 zombie round 3 = 4 zombie round 4 = 8 zombie round 5 = 16 zombie still keep on respawing until 1 player left. just like that. thanks in advance. and also if only 1 player join the event. the event will be cancelled. //This event is constructed on a basis on RFYL by aN00B1s//ZvN mod by Sanasol//[English] by cutelilkittie and Soryia- script announce_nvz -1,{// Event Start TimeOnClock0200: //2amOnClock0400: //4amOnClock0600: //6amOnClock0800: //8amOnClock1000: //10amOnClock1200: //12noonOnClock1400: //2pmOnClock1600: //4pmOnClock1800: //6pmOnClock2000: //8pmOnClock2200: //10pmOnClock0030: //12am midnightannounce "The Novice Vs. Zombie Event will begin in 3 minutes.",0;killmonsterall "quiz_01";sleep 5000;announce "The NPC 'Novice vs. Zombie' has appeared in Prontera!",0;enablenpc "Novice vs. Zombie";sleep 55000;announce "Event: Novice Vs. Zombie will begin in 2 minutes. You better get ready!",0;sleep 60000;announce "Event: Novice Vs. Zombie will begin in 1 minute!",0;sleep 30000;mapannounce "quiz_01","In 30 seconds the monster will appear!",0;sleep 25000;announce "Event: Novice Vs. Zombie will begin in ~5~",0;sleep 1000;announce "~4~",0;sleep 1000;announce "~3~",0;sleep 1000;announce "~2~",0;sleep 1000;announce "~1~",0;sleep 1000;announce "Event: 'Novice Vs. Zombie' has begun!!",0,0x00FF00;monster "quiz_01",42,369,"Zombie",1015,1;disablenpc "Novice vs. Zombie";sleep 10000;monster "quiz_01",42,369,"Zombie-2",1015,1;sleep 10000;monster "quiz_01",42,369,"Zombie-3",1015,1;sleep 10000;monster "quiz_01",42,369,"Zombie-4",1015,1;initnpctimer;end;OnTimer5000:if ( getmapusers("quiz_01") == 0 ){killmonsterall "quiz_01";announce "'Novice Vs. Zombie' has ended. All of the Zombies are gone.",0;disablenpc "Prize";stopnpctimer;end;}else if ( getmapusers("quiz_01") > 1 ){if ($@NvZCounter >= 5){ switch(rand(0,2)){ case 0: mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; break; case 1: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL alive? Are you sure you're not cheating?",0,0x00FF00; break; case 2: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL ALIVE? Seriously, I'm gonna have to report you.",0,0x00FF00; break; }} else { mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00;}sleep 10000;set $@NvZCounter,$@NvZCounter+1;initnpctimer;end;}initnpctimer;end;OnPCDieEvent:getmapxy .@mapnvz$,.@xnvz,.@ynvz,0;if ( .@mapnvz$ == "quiz_01") {sleep2 1;warp "prontera",156,223;atcommand "@alive "+ strcharinfo(0);dispbottom "You have lost...";}sleep2 1000;if ( getmapusers("quiz_01") == 1 ) {killmonsterall "quiz_01";mapannounce "quiz_01","You have won, please approach to Prize NPC.",0;enablenpc "Prize";set $@NvZCounter,0;stopnpctimer;end;}end;}quiz_01,42,369,3 script Prize 72,{if (sex == 1) {announce "In 'Novice Vs. Zombie', " + strcharinfo (0) + " has won! Let's congratulate him!",0;}else {announce "In 'Novice Vs. Zombie'" + strcharinfo (0) + " has won! Let's congratulate her!",0;};getitem 7960,5;warp "prontera",156,223;sleep2 250;disablenpc "Prize";end;}prontera,160,180,3 script Novice vs. Zombie 1015,{if (BaseLevel > 1) goto L_No;if (class == 0) goto L_event;if (class > 0) goto L_No;L_event:mes "[^0000FFNovice Vs. Zombie^000000]";mes "Brains brain brain brain brainybrain brain brain brain Zahhh Brain?";mes "^696969Do you wish to participate in the Novice Vs. Zombie Event?^000000";next;switch(select("Yes","No")) {case 1:sc_end SC_ALL;percentheal 100,100;warp "quiz_01",42,369;end;break;case 2:mes "[^0000FFNovice Vs. Zombie^000000]";mes "Brains brainnnss.. brains? Mind.";mes "^696969It's really fun! Come join us when you change your mind.^000000";close;break;L_No:mes "[^0000FFNovice Vs. Zombie^000000]";mes "Brains!!!!!!! D=<";mes "^696969You are not a level 1 novice! Cheater!^000000";close;}OnInit:disablenpc "Novice vs. Zombie";disablenpc "Prize";end;}
  5. the client close after putting wrong password?or the client close even you put the correct password?
  6. have you try the 2012-06 packets? no sir.. tell me what should i do in order to connect using 2012-07-16. try to use the higher packet_db version for 2012-06 that are already available. i'm not sure if its gonna work.
  7. have you try the 2012-06 packets?
  8. map name,x,y,x,y monster monstername monsterid,quantity,max respawn time in milliseconds,min respawn time in milliseconds,and the NPC event (in the "NPC_name::NPC_event_name" form) so this the structure of monster script? i'm still confuse on the last. "and the NPC event (in the "NPC_name::NPC_event_name" form) to be run after a monster spawned by this top order command is killed." just like this. pay_fild09,198,217,30,30 monster Green Plant 1080,10,360000,180000,0pay_fild09,198,217,30,30 monster Shining Plant 1083,1,1800000,900000,1 what is the difference there except the name and monster id, quantity and time. thanks again.
  9. the coordinates and time has already explained. but how about on the last ?.
  10. wow thanks. this is great.
  11. how about on this sir? maximumtime?,minimumtime?,? regarding on the time interval? 180000,90000,1 and some is 180000,90000,0? what is the diff? what is the use of minimum time here?if i make it zero the fix respawn time is 30mins right?
  12. map name,x,y,?,? monster monstername monsterid,quantity,maximumtime?,minimumtime?,? i just want to know what is the ?.thanks in advance.
  13. use the correct packet that will match to 2012-04-24. thanks for the reply but still no luck. what packet error did you got?and also have you diff your client with SkipPacketHeaderObfuscation?
  14. use the correct packet that will match to 2012-04-24.
  15. what did you mean by Kro client? did you mean Kro data ? is there any easy way ? make sure they use the latest version of kRO. always patch their rsu-kro-rag-lite and rsu-kro-renewal-lite how about if i'll update just the data files for storage ? if your kro is outdated. you'll got many problem regarding on the missing sprite on something more important. rA is following the renewal features. to avoid any problem better to keep youor kro updated or else you'll gonna make more threads regarding on error something like that.
  16. Brynner

    Hi!

    pwede mo padin naman gamitin ung tortoise svn eh.
  17. what is the difference between this and the others? 2013 Ragexe Areahttp://herc.ws/board/topic/289-2013-ragexe-area/#entry1767 KRO 2013 Client Releasehttp://herc.ws/board/topic/609-kro-2013-client-release/#entry4319
  18. check your ip's configuration. make it sure that it is match to your clients ip.
  19. what did you mean by Kro client? did you mean Kro data ? is there any easy way ? make sure they use the latest version of kRO. always patch their rsu-kro-rag-lite and rsu-kro-renewal-lite
  20. hi i just want to request Healer/ Buff System script. Healer/ Buff System: The healer does a 100% heal, Agility and Blessing buff and remvoes any negative status effects. The healer also allows guild leaders to purchase additional buffs. These buffs are quite expensive but the entire guild gets the benefit. thanks in advance.
  21. static int count_mob(struct block_list *bl, va_list ap){ struct mob_data *md = (struct mob_data*)bl; int id = va_arg(ap, int); if (md->class_ == id) return 1; return 0;}ACMD_FUNC(mapmoblist){ char temp[100]; bool mob_searched[MAX_MOB_DB]; bool mob_mvp[MAX_MOB_DB]; // Store mvp data.. struct s_mapiterator* it; unsigned short count = 0, i, mapindex = 0; int m = 0; memset(mob_searched, 0, MAX_MOB_DB); memset(mob_mvp, 0, MAX_MOB_DB); if (message && *message) { // Player input map name, search mob list for that map mapindex = mapindex_name2id(message); if (!mapindex) { clif->message(fd, "Map not found"); return -1; } m = map_mapindex2mapid(mapindex); } else { // Player doesn't input map name, search mob list in player current map mapindex = sd->mapindex; m = sd->bl.m; } clif->message(fd, "--------Monster List--------"); sprintf(temp, "Mapname: %s", mapindex_id2name(mapindex)); clif->message(fd, temp); clif->message(fd, "Monsters: "); //Looping and search for mobs it = mapit_geteachmob(); while (true) { TBL_MOB* md = (TBL_MOB*)mapit->next(it); if (md == NULL) break; if (md->bl.m != m || md->status.hp <= 0) continue; if (mob_searched[md->class_] == true) continue; // Already found, skip it if (mob_db(md->class_)->mexp) { mob_searched[md->class_] = true; mob_mvp[md->class_] = true; // Save id for later continue; // It's MVP! } mob_searched[md->class_] = true; count = map_foreachinmap(count_mob, m, BL_MOB, md->class_); sprintf(temp, " %s[%d] : %d", mob_db(md->class_)->jname, md->class_, count); clif->message(fd, temp); } mapit->free(it); clif->message(fd, "MVP: "); // Looping again and search for mvp, not sure if this is the best way.. for (i = 1000; i < MAX_MOB_DB; i++) { //First monster start at 1001 (Scorpion) if (mob_mvp[i] == true) { count = map_foreachinmap(count_mob, m, BL_MOB, i); sprintf(temp, " %s[%d] : %d", mob_db(i)->jname, i, count); clif->message(fd, temp); } }return true;} thanks in advance.
×
×
  • Create New...

Important Information

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