Jump to content

dfabsgwapings

Members
  • Content Count

    165
  • Joined

  • Last visited

Everything posted by dfabsgwapings

  1. What happened to the support team of hercules? So sad...
  2. Because thats the only part of the script that is not working to what i want..
  3. Bump to this topic. Does anyone knows how to do this or fix this? Please help.
  4. hi everyone, can anyone help me fixing this part of my script? getpartymember(getcharid(1),0); getpartymember(getcharid(1),1); getpartymember(getcharid(1),2); for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { set .@nb,query_sql("SELECT * FROM char_reg_num_db WHERE char_id = "+$@partymembercid[.@i]+"", .@charid,.@key$,.@index,.@value ); if (( .@charid != $@partymembercid[.@i] ) && ( .@key$ != "BloodQuest" ) && ( .@value != 6 )){ mes "I'm sorry but one or some of your party member is not allowed to participate in Blood Quest."; close; } } mes "Which battlefield will you attempt?"; if ( BloodQuest == 6 ) { switch(select("It's Bloody Rain")){ case 1: .@prty = getcharid(1); set .PQStatus,1; donpcevent "BloodyRain::OnStart"; warpparty "hell", 112, 136, .@prty, "prontera"; end; } } what i am trying to do here is when the party leader click the npc and tried to start the quest the whole party will be warp to the quest map if the party meets the requirement of the NPC. The only requirement is if the members was able to talk to a pre-requisite npc and get the variable of ( BloodQuest == 6 ) the whole party will be able to begin the quest, however if some of the member did not meet the requirement the party will not be able to start the quest until the member will be able to talk to a pre-requisite npc or remove from the party. I hope someone can help me..
  5. @Legend I tried to do it however it only give the Variable on 1 player and once they do the quest again it gives the others the variable automatically while they are not yet done doing the quest. This is the part of my script wherein the Boss is summoned and how the script work once the Boss is killed. Hope this one can help you solve the problem. OnFinalRound: monster "poring_w02",97,96,"--ja--",3003,1,"BloodyRain::OnMyFinalBossDead"; end; OnMyFinalBossDead: mapannounce "poring_w02","Satan: Nooooooooooo.", bc_map,0xFF0000; .@party_id = getcharid(1); getpartymember .@party_id, 1; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == "poring_w02" ) set BloodyQuest,7; set .MobPetDead,0; set .PR_Round,0; set getvariableofnpc(.PQStatus,"Tree of Blood"),getvariableofnpc(.PQStatus,"Tree of Blood") - 1; } } detachrid; sleep 5000; warpparty "prontera", 152, 150, .@party_id, "poring_w02"; end; What I am doing is when the whole party killed a boss quest, all of the member will set the BloodyQuest to 7.
  6. Can anyone fix this for me please.. What I am doing is when the whole party killed a boss quest all of the member will have set Flower,1; and my current script that I have is .@party_id = getcharid(1); getpartymember .@party_id, 1; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymembercid[.@i]; if ( strcharinfo(3) == "poring_w03" ) set Flower,7; sleep 5000; warpparty "prontera", 152, 150, .@party_id, "poring_w03"; } } end; and what my script doing is only the one who killed the boss is the one was able to get the set Flower,1; What I need is all of the party members should have set Flower,1; Please help me guys.. Thanks in advance
  7. Hi everyone can any help me on how to figure this out? All party member will start having 20 tickets. If they accept a certain task all party members ticket will reduced by one and the gettimetick will attach to each party member. please help me fix this. Thanks .@party_id = getcharid(1); getpartymember .@party_id, 1; getpartymember .@party_id, 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { set .@nb,query_sql("SELECT ticket,time FROM rdc WHERE account_id = "+$@partymemberaid[.@i]+"", .ticket,.time ); if ( .ticket[.@i] == 20 ){ set .time[.@i],gettimetick(2) + 604800; set .ticket[.@i],.ticket[.@i] - 1; query_sql("UPDATE `rdc` SET `time` = '"+.time[.@i]+"', `ticket` = '"+.ticket[.@i]+"' WHERE account_id = "+$@partymemberaid[.@i]+""); } else { set .ticket[.@i],.ticket[.@i] - 1; query_sql("UPDATE `rdc` SET `ticket` = '"+.ticket[.@i]+"' WHERE account_id = "+$@partymemberaid[.@i]+""); } callfunc "InstDrake"; }
  8. Hi guys, as the title said naghahanap po ako ng pdng makasamang tumulong sa Server na ginawa ko. Ang hirap po kasing magisang gumawa eh. Up and Running na po ung server at may iilang players na rin po ako. Server Information Name : Iplay-RebornRO Website : http://iplay-rebornro.com/ Rates:100x/100x/20x Max Level:255/120 Max Stat:255 Max ASPD:196 Sana po may magkainterest. Just pm me guys in our Facebook Page and Ill reply to it as soon as I read it. Thanks everyone and God Bless.
  9. dfabsgwapings

    SQL

    Hi everyone, how can I get the account ID of each accounts when they login and attach their account ID in SQL, and once their account ID is already in SQL and when they relog, their account ID will no longer be attached to the SQL. Meaning their account ID will only be attached to the SQL once. Please help me out with this.
  10. Hi everyone can anyone help me make a script for this one? Once the player wear this type of accessory it will give some additional stats to the homunculus example: Increases Homunculus STR and VIT by 15 Then once the player unequip the accessory it will remove the stats to the homunculus as well. Thanks in advance
  11. Thanks Legend its working fine... I hope the Developers of Hercules can include equipments being restricted by using the map_zone_db.conf @Legend I just have a little suggestion. Instead of warping the character out of the map is it possible to just automatically unequip the item when the player tries to use it?
  12. according to Legend also by reading this article http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/ I can disable a specific item to a map. Yes it's right, it's perfectly working BUT why is it only disabling the usable items? What about an equipment? a headgears? or any wearable items? Are they not allowed to be disabled? This is what I did On map_zone_db.conf { name: "Not Allowed" disabled_items: { Greed_Scroll: true, ID1101: true // Sword } } I even tried this { name: "Not Allowed" disabled_items: { Greed_Scroll: true, Sword: true // Sword } } and in zone.txt ordeal_1-2 mapflag zone Not Allowed This one is only disabling the Greed_Scroll but not the Sword or any equippable items. I tried to change the Sword to Red_Potion And both items are starting to be restricted (Greed_Scroll and Red_Potion) Why the map_zone_db.conf is not disabling those equippable items? Is there a way to restrict an equippable item or NONE? Hope someone can answer this one SPECIAL THOSE STAFF of Hercules...
  13. Bump to this topic. Anyone knows the process?
  14. @Legend Can you please help me out on how to use the map_zone_db.conf? I really dont understand how to use it. Let say I want to restrict the player by wearing the Angra Manyu to ordeal_1-2 map. Or if the player enters the map while wearing it, the Angra Manyu will automatically unequip to the player and they will not be able to equip it as long as the player is inside the map. Please help me out on how how to do this..
  15. I really don't know how to do it. Can you please make an example to me...
  16. Hi there. the script is working however one thing only. they can enter the enter without the homun however they can summon the homun inside the map. How can I restrict them summoning a homun on a specific map? Hi mrlongshen, im kinda confuse using the map_zone_db.conf. next to name is the name of the map that I want this to take effect is that right? sorry noob question
  17. Nyone got an idea to do this guys?
  18. Thanks for thw information Legend. Ill try it later once i got home
  19. Hi Legend thanks for the script ill try that later but one question wha about disabling the incubator? Cause player might summon there pet using the incubator once inside the map.
×
×
  • Create New...

Important Information

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