Jump to content

khenma

Members
  • Content Count

    202
  • Joined

  • Last visited

Everything posted by khenma

  1. yes i did, well, what can i do po, but wait. hehe
  2. dont know where to put the parse line here View: 1 Script: <" if (getrefine()>5) bonus2 bSubEle,Ele_Neutral,min(getrefine(),12)-5; ">
  3. khenma

    buffer npc

    why im getting cursed after buffs?
  4. Solved by Clicking open, not run as admin..
  5. solved na.!! dapat pla OPEN hindi Run as Admin.. haaayyy...
  6. ung hercules po? bagong revision na po ginamit ko pero ganun pa din.. babagong checkout ko lng po eh 14974 revision n po ito
  7. fresh compile lng po yan eh kakastart ko lng kanina mag SVN repo.. may 2 failed dun sa una eh pag cocompile... ung no.2 nmn,,.. after ko mag run-server.bat yan lng lumalabas, actually po nag checkout n ulit ako ng panibago 3 mins ago.
  8. tanung lng po... di ko kasi mapagana hercules server ko. I followed all the steps carefully, but still no luck.. Problems: 1. under MVS2010 got 2 failed,2 succeded. (attached below) 2 Starting the server. (see attached photos) Note: Im using Worckbench 5.2 salamat po
  9. I followed all the steps carefully, but still no luck.. Problems: 1. under MVS2010 got 2 failed,2 succeded. (attached below) 2 Starting the server. (see attached photos) Note: Im using Worckbench 5.2
  10. like for example: while someone is talked to npc and attached to it, then when she/he/character is away (in morroc) to the npc (npc from prontera), then on specific time the npc will send/reminds the player to do something or to come back to the npc for some reason. the message will be in a format of : mes "example message"; next; mes "example message 2"; mes "example message 3"; close; Thanks
  11. so do you mean that the ticket is only valid for one draw? if that so, is it possible to automatically delete the ticket after the draw,? for ex. you buy ticket for the 3PM draw, then after announcing the winning ticket, your ticket after 3PM will be deleted, cause i notice that after the draw, your ticket still exists,. anyway thanks.
  12. why is the winning ticket id doesnt match to my own ticket .... despite that the winning number is the same with my own ticket number? ex. winning number : [2] [5] Ticket ID 999999 my ticket: [2] [5] Ticket ID 444444 Suppose to be Win,, but when i claim the prize, invalid ticket number? here is the script: try this //===== Hercules Script ======================================//= Lottery//===== By: ==================================================//= acky//===== Current Version: =====================================//= 1.2.1a//===== Description: =========================================//= Daily lottery draw//===== Additional Comments: =================================//= Numbers drawn daily (Time is configured line 29)//= *Added GM-Riggability//= *Ability to renew ticket//= *Improved interface//= *Fixed minor bug where first load didn't work.//= 1.2.1a fix due to new script engine//============================================================- script lotterygenerator1 -1,{OnInit: set $L_TicketPrice1,5000; // TICKET COST set $L_Prize_Money1,50000000; // JACKPOT AMOUNT set $L_Prize_Money_Small,1000000; // SECONDARY PRIZE if ($LID == 0) goto L_GenID1; end; //Modify for own timeOnClock0000:OnClock0100:OnClock0200:OnClock0300:OnClock0400:OnClock0500:OnClock0600:OnClock0700:OnClock0800:OnClock0900:OnClock1000:OnClock1100:OnClock1200:OnClock1300:OnClock1400:OnClock1500:OnClock1600:OnClock1700:OnClock1800:OnClock1900:OnClock2000:OnClock2100:OnClock2200:OnClock2300: // CHECKS IF LOTTERY IS RIGGED if ($L_Rigged1 == 1) goto L_Rigged_Draw1; // GENERATES RANDOM NUMBERS 1-5Pick11: set $LW7,rand (1,5);Pick21: set $LW8,rand (1,5); if ($LW8 == $LW1) goto Pick21; // BROADCASTS DRAWL_Broadcast1: announce "Lottery: Welcome to today's EZ2 lotto draw!",8; announce "The numbers are as follows: [" + $LW7 + "] [" + $LW8 + "]",8; announce "Congratulations to the winners of today's EZ2 lotto draw!",8; // GENERATES DRAW ID CODEL_GenID1: set $LID2,$LID; // SETS TOMORROW'S ID NUMBER set $LID,rand (1000000,9999999); end; // SETS DRAW TO RIGGED NUMBERSL_Rigged_Draw1: set $LW7,$LR7; set $LW8,$LR8; set $L_Rigged1,0; goto L_Broadcast1;}prontera,147,173,5 script Lotto EZ2 1_F_ORIENT_02,{L_Begin1: mes "[Lottery]"; mes "Winning Lotto Numbers ("+$LID2+"):"; mes "^0000FF[" + $LW7 + "] [" + $LW8 + "]^000000"; if ($LID > 1000000) mes "Your Ticket ("+#LID+"):"; if ($LID > 1000000) mes "^FF0000[" + #LW7 + "] [" + #LW8 + "]^000000"; mes "Next Draw-ID: ^FF0000" + $LID + "^000000."; next; if (getgmlevel() > 90) goto L_GM1; menu "Claim Prize",L_Claim1,"Buy New Ticket",L_Buy1,"Cancel",L_Cancel1;// PURCHASE TICKETL_Buy1: if (#LID == $LID && #L1 != 0) goto L_DoubleTicket1; mes "[Lottery]"; mes "Tickets cost ^0000FF" + $L_TicketPrice1 + "z^000000."; mes "The Jackpot is ^FF0000" + $L_Prize_Money1 + "z^000000."; next; menu "Buy Ticket",-,"Cancel",L_Cancel1; if (Zeny < $L_TicketPrice1) goto L_NoZeny1; Zeny -= $L_TicketPrice1; mes "[Lottery]"; mes "Would you like your numbers hand picked or computer generated?"; next; menu "Lucky Pick",L_ComputerGen1,"Hand Picked",L_HandPick1,"Renew Ticket",L_Renew1;// RENEW LAST TICKETL_Renew1: if ($LID < 1000000) goto L_Invalid1; set #LID,$LID; goto L_Confirm21;L_ComputerGen1:// SELECTS RANDOM NUMBERS set @L7,0; set @L8,0;Pick11: set @L7,rand (1,5);Pick21: set @L8,rand (1,5); if (@L8 == @L1) goto Pick21; mes "[Lottery]"; mes "The computer has selected the following numbers:"; mes "^0000FF" + @L7 + " " + @L8 + "^000000"; next; menu "Confirm",L_Confirm1,"Re-Generate",L_ComputerGen1;// HAND PICK LOTTERY NUMBERSL_HandPick1: mes "[Lottery]"; mes "Please pick your numbers (1-5):"; set @L7,0; set @L8,0;Input11: input @L7; if (@L7 < 1 || @L7 > 5) goto Input11; mes @L7;Input21: input @L8; if (@L8 < 1 || @L8 > 5) goto Input21; if (@L8 == @L7) goto Input21; mes @L8; next; mes "[Lottery]"; mes "Your numbers are:"; mes "^0000FF" + @L7 + " " + @L8 + "^000000"; next; menu "Confirm",L_Confirm1,"Re-Pick",L_HandPick1;L_Confirm1: set #LW7,@L7; set #LW8,@L8; set #LID,$LID;L_Confirm21: mes "[Lottery]"; mes "The live broadcasted draw is at every hour."; mes "You can claim your ticket between then and the next draw."; next; mes "[Lottery]"; mes "Good luck!"; close;L_Claim1: // CHECKS TICKET VALIDILITY if (#LID != $LID2) goto L_Invalid1; // CHECKS HOW MANY NUMBERS MATCHED set @LPrize,0; if (#LW7 == $LW7) set @LPrize,@LPrize+1; if (#LW7 == $LW8) set @LPrize,@LPrize+1; if (#LW8 == $LW7) set @LPrize,@LPrize+1; if (#LW8 == $LW8) set @LPrize,@LPrize+1; if (@LPrize == 2) goto LWinBig1;// NO WINNER mes "[Lottery]"; mes "Bad luck, it appears you do not hold a winning ticket."; next; mes "[Lottery]"; mes "Better luck next time!."; close;// MATCHED ALL SIXLWinBig1: mes "[Lottery]"; mes "You have matched all two numbers!"; mes "Jackpot!"; mes "You've won ^0000FF" + $L_Prize_Money1 + "z^000000."; Zeny += $L_Prize_Money1; announce "Lottery: " + strcharinfo(0) + " has won the JACKPOT of " + $L_Prize_Money1 + "z!",8; set #LID,0; close;// NO ZENYL_NoZeny1: mes "[Lottery]"; mes "You can't afford a lottery ticket."; close;// INVALID TICKETL_Invalid1: mes "[Lottery]"; mes "I'm sorry but it appears that you have an invalid ticket."; close;// DOUBLE TICKETL_DoubleTicket1: mes "[Lottery]"; mes "It appears that you already have a ticket for today."; mes "You may only purchase one ticket per draw."; close;L_Cancel1: mes "[Lottery]"; mes "Come back soon!"; close;// GM MENU (Lets you manually do draws)L_GM1: menu "Claim Prize",L_Claim1,"Buy New Ticket",L_Buy1,"[GM]Do Draw Now",-,"[GM]Rig the Lottery",L_GM_Rig1,"Cancel",L_Cancel1; // CHECKS IF LOTTERY IS RIGGED if ($L_Rigged1 == 1) goto L_Rigged_Draw1; // GENERATES RANDOM NUMBERS 1-5GMPick11: set $LW7,rand (1,5);GMPick21: set $LW8,rand (1,5); if ($LW8 == $LW7) goto GMPick21;// BROADCASTS DRAWL_Broadcast1: announce "Lottery: Welcome to the special GM's lotto draw!",8; announce "The numbers are as follows: [" + $LW7 + "] [" + $LW8 + "]",8; announce "Congratulations to the winners!",8;// GENERATES DRAW ID CODEL_GenID1: set $LID2,$LID; // SETS TOMORROW'S ID NUMBER set $LID,rand (1000000,9999999); close;// SETS DRAW TO RIGGED NUMBERSL_Rigged_Draw1: set $LW7,$LR8; set $LW8,$LR8; set $L_Rigged1,0; goto L_Broadcast1;// ALLOWS GM TO DO A RIGGED DRAWL_GM_Rig1: mes "[Lottery]"; mes "Please pick your numbers (1-5):"; set $LR7,0; set $LR8,0;GMInput11: input $LR7; if ($LR7 < 1 || $LR8 > 5) goto GMInput11; mes $LR7;GMInput21: input $LR8; if ($LR8 < 1 || $LR8 > 5) goto GMInput21; if ($LR8 == $LR7) goto GMInput21; mes $LR8; next; mes "[Lottery]"; mes "Lottery rigged for next draw."; set $L_Rigged1,1; close;}
  13. anyone knows how to setup hamachi or do you have any guides ? & where to download the reliable hamachi files? thanks
  14. every 3 hours of 24 hours the exp should be thrice or twice.
  15. I already changed the slotcount into 4 but still it doesn't shows the card slots below the item desc in my item_db2.conf slots:4 in iteminfo.lua slots:4
  16. im using 20130807 client. if i edit the iteminfo.lua, does it shows the card slots on the item info when we right click the item?? what i mean here is only the slots below the item description (as shown in the picture, the card slots is missing at athe bottom) ...
  17. i already edited the itemslotcountable.txt but still card slots dont appear/shown in every item info
  18. I made a rental item and i want to change the minutes (please see the picture below) into 3 days. suppose to be in 3 days. i have this script command " rentitem 1288,259200; " Thanks.!
  19. very well thanks...... my bad.... it already works.... but only slow..
  20. set up to yes also in this setting, your pet must be LOYAL type @petfriendly 1000 in your server I'm sorry about my answer lately, I haven't notice that this setup is for Pet Intimacy, i have this : still dont attack... i already type @petfriendly 1000 and the pet is already loyal level 10 //--------------------------------------------------------------// Hercules Battle Configuration File// Originally Translated by Peter Kieser <[email protected]>// Made in to plainer English by Ancyker//--------------------------------------------------------------// Note 1: Value is a config switch (on/off, yes/no or 1/0)// Note 2: Value is in percents (100 means 100%)// Note 3: Value is a bit field. If no description is given,// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)//--------------------------------------------------------------// Rate for catching pets (Note 2)pet_catch_rate: 80// Can you name a pet more then once? (Note 1)pet_rename: no// The rate a pet will get friendly by feeding it. (Note 2)pet_friendly_rate: 100// The rate at which a pet will become hungry. (Note 2)pet_hungry_delay_rate: 80// If your pet is hungry by how much will the friendlyness decrease by. (Default is 5)// Note: The friendlyness is 0-1000 total, at 0 the pet runs away.pet_hungry_friendly_decrease: 5// Does the pet need its equipment before it does its skill? (Note 1)pet_equip_required: no// When the master attacks a monster, whether or not the pet will also attack. (Note 1)pet_attack_support: yes// When the master receives damage from the monster, whether or not the pet attacks back. (Note 1)pet_damage_support: yes// Minimum intimacy necessary for a pet to support their master. Default is 900 // (intimacy goes from 0 to 1000). At this minimum, support rate is 50% of pet's normal value.// At max (1000) support rate is 150%.pet_support_min_friendly: 950// Same as above, but this is to use the pet_script field with official pet abilities.pet_equip_min_friendly: 950// Whether or not the pet's will use skills. (Note 1)// Note: Offensive pet skills need at least pet_attack_support or // pet_damage_support to work (they trigger while the pet is attacking).pet_status_support: yes// Rate at which a pet will support it's owner in battle. (Note 2)// Affects pet_attack_support & pet_damage_support.pet_support_rate: 100// Does the pets owner receive exp from the pets damage?pet_attack_exp_to_master: no// The rate exp. is gained from the pet attacking monsterspet_attack_exp_rate: 100// Pet leveling system. Use 0 to disable (default).// When enabled, a pet's level is a fixed % of the master's. (Note 2)// If 200%, pet has double level, if 50% pet has half your level, etc.pet_lv_rate: 50// When pet leveling is enabled, what is the max stats for pets?pet_max_stats: 99// When pet leveling is enabled, these are the imposed caps on// min/max damage. Note that these only cap atk1 and atk2, if you // enable pet_str, their max damage is then their base_atk + pet_max_atk2pet_max_atk1: 1000pet_max_atk2: 2500// Are pets disabled during Guild Wars?// If set to yes, pets are automatically returned to egg when entering castles during WoE times// and hatching is forbidden within as well.pet_disable_in_gvg: no
  21. replace 950 to 1000 then recompile.. and also increase this i already did.. no error/warning in console but the map-server.bat crashed... client closed also
  22. make it max, try to set it to 1000. it will work sometime but i got warning message on console: min 0 max 950 defaulting to 900...
  23. it will attack, if you only read the whole setup, you will understand why I'm pretty sure you missed some setup. // Rate for catching pets (Note 2)pet_catch_rate: 80// Can you name a pet more then once? (Note 1)pet_rename: no// The rate a pet will get friendly by feeding it. (Note 2)pet_friendly_rate: 100// The rate at which a pet will become hungry. (Note 2)pet_hungry_delay_rate: 80// If your pet is hungry by how much will the friendlyness decrease by. (Default is 5)// Note: The friendlyness is 0-1000 total, at 0 the pet runs away.pet_hungry_friendly_decrease: 5// Does the pet need its equipment before it does its skill? (Note 1)pet_equip_required: no// When the master attacks a monster, whether or not the pet will also attack. (Note 1)pet_attack_support: yes// When the master receives damage from the monster, whether or not the pet attacks back. (Note 1)pet_damage_support: no// Minimum intimacy necessary for a pet to support their master. Default is 900 // (intimacy goes from 0 to 1000). At this minimum, support rate is 50% of pet's normal value.// At max (1000) support rate is 150%.pet_support_min_friendly: 950// Same as above, but this is to use the pet_script field with official pet abilities.pet_equip_min_friendly: 950// Whether or not the pet's will use skills. (Note 1)// Note: Offensive pet skills need at least pet_attack_support or // pet_damage_support to work (they trigger while the pet is attacking).pet_status_support: yes// Rate at which a pet will support it's owner in battle. (Note 2)// Affects pet_attack_support & pet_damage_support.pet_support_rate: 100// Does the pets owner receive exp from the pets damage?pet_attack_exp_to_master: no// The rate exp. is gained from the pet attacking monsterspet_attack_exp_rate: 100// Pet leveling system. Use 0 to disable (default).// When enabled, a pet's level is a fixed % of the master's. (Note 2)// If 200%, pet has double level, if 50% pet has half your level, etc.pet_lv_rate: 50// When pet leveling is enabled, what is the max stats for pets?pet_max_stats: 99// When pet leveling is enabled, these are the imposed caps on// min/max damage. Note that these only cap atk1 and atk2, if you // enable pet_str, their max damage is then their base_atk + pet_max_atk2pet_max_atk1: 1000pet_max_atk2: 2500// Are pets disabled during Guild Wars?// If set to yes, pets are automatically returned to egg when entering castles during WoE times// and hatching is forbidden within as well.pet_disable_in_gvg: no this i what i setup/... doesnt work
×
×
  • Create New...

Important Information

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