Jump to content

maynard

Members
  • Posts

    159
  • Joined

  • Last visited

Everything posted by maynard

  1. thanks.It is working in my eathena svn 14993
  2. Sir no error in cmd, the npc appear and disappear but theres no chatroom or countdown.
  3. Put chatbox above npc with timer that cools down,Npc will appear for 1 hour then after 1 hour it will disabled and you can see the cooldown timer if how many time left before it will appear again. OnClock0000: OnClock0600: OnClock1200: OnClock1800: announce "blah blah blah.",0; enablenpc "Lord High"; end; OnClock0100: OnClock0700: OnClock1300: OnClock1900: announce "Thats it I'm done.",0; disablenpc "Lord High"; end; Like this one
  4. edit please to check weight before converting cash points to poring coin. The coin drops if you are overweight. prontera,137,171,5 script CoinExchanger 510,{ mes "[Exchanger]"; mes " ... "; next; switch(select("Poring Coin to Cash Point:Cash Points to Poring Coin")) { case 1: mes "How many Points you want?"; mes "NOTE: 1 Poring Coin = 1 CASHPOINT"; mes " "; mes "Enter number of Points to exchange with."; input .@Point; if (.@Point < 1 || .@Point > countitem(7539)) { // Edit POD Id here mes "You Don't have enought Poring Coin or the Entered Value is Not allowed."; close; } set #CASHPOINTS, #CASHPOINTS + .@Point; // Edit Point Variable dispbottom "You have total of " + #CASHPOINTS; delitem 7539,.@Point; // Edit this mes "Exchange successfully done."; close; case 2: mes "How many Poring Coin you want?"; mes "NOTE: 1 CASHPOINT = 1 Poring Coin"; mes " "; mes "Enter number of PODS to exchange with."; input .@POD; if (.@POD < 1 || .@POD > #CASHPOINTS) { // Edit Point Variable here mes "You Don't have enought CashPoints or the Entered Value is Not allowed."; close; } getitem 7539,.@POD; // Edit Point Variable set #CASHPOINTS, #CASHPOINTS - .@POD; // Edit Point Variable dispbottom "You have total of " + #CASHPOINTS + "."; mes "Exchange successfully done."; close; } }
  5. sorry i didnt explain properly, what i mean to say is every time you reborn the item will be change. 1st reborn apple,1;banana,1; grape,1; 2nd reborn osiris doll,5; 3rd reborn baphomet doll,5; 4th reborn 7292,5; and so on, Dont know how to make script, I can only copy paste from different script and then put together.Anyway thank you sir and if you have time I will wait. For now i'll stick with it and be gratefull to the original creator of script.
  6. How to change the item and quantity for every reborn? I want different Item for every reborn. http://rathena.org/b...hreborn-system/
  7. please post your item script, then tell us what job can wear it.
  8. sir how to set the required item to be different every reborn?
  9. ewan ko lang if bawal or hinde, ung iba kasi ang ginagawa is nag DL ng ibang p.server then kukunin lang nila ung custom na want nila. extract mo lang ung grf..
  10. paps ung sa subnet inayos mo din ba? confsubnet_athena.conf subnet: 255.255.255.0:<You're IP>:<You're IP>
  11. paps, change mo nga ung langtype to 8, try mo lang, then post mo kasi ung SVN mo ska ung client mo if ano ginamit mo.
  12. hmm dont know if this will work, lagyan mo ng mapflag nowarp noteleport noreturn
  13. check mo ito. http://www.eathena.ws/board/index.php?showtopic=284595
  14. hmm sir try mo kaya ung ung computer ip mo. bk sakaling gumana. sample: 192.168.2.100 pra malaman mo ip ng computer mo, punta ka sa cmd then type mo ipconfig.
  15. I need a script that will give points if he kill the player. This will only be activate if there are atleast 5 players in a map.map is guild_vs3 The Npc will message the player.NPC will pick random player to kill and will change if he killed it. If you kill the player you will get reward points (1-10 points random) and the npc will give you another target. The target will only last for 5minutes then after that time and you cant kill the player it will change to another target. there must be 5 player and if suddenly become 4 it will stop giving points and automatically the reward system will disabled.until it become 5 players again. sample message: [npc name] Kill "player name" and get points. "player name" is wasted you got points.(1-10 random points) you failed to kill "player name".//if the target killed you You loose points.(1-10 random points)
  16. I try using @monsterignore because I want to make a certain map pvp and its bug because if I warp to the other map no one can hit me because I just warp and did not walk outside so the immunity is still there.So I give up with finding this kind of script that can make a certain portion of the map become pvp. I hope someone make this happen.
  17. Please help I change the gold room into points, I somehow made it work, The problem is in case 3 its always zero.Theres a tax if you farm and I cant get the tax that earn. Whenever I claim or look if I earn more tax its always 0. Here's the script. payon,237,197,5 script Guild Gold Room 813,{ set .Guild,getcastledata( "prtg_cas01",1 ); if(getgmlevel () >=90) { mes "NPCNAME"; mes "Hello GM!What do you want to do"; next; switch(select("Reset PESO Points:Player View:Cancel")) { case 1: mes "NPCNAME"; mes "Okay reseting the PESO points."; next; mes "NPCNAME"; mes "Okay I reseted the Points."; set #PESO,#PESO - 2000000000; close; case 2: goto OnPlayer; case 3: close; } } OnPlayer: if( getcharid(2) == .Guild ){ mes "^FF0000Current Tax : "+$Tax+" %"; mes "Total Earning : "+$Earn+" PESOPOINTS."; } mes "This Gold Room is currently owned by ^FF0000"+getguildname( .Guild )+" Guild^000000."; mes "You may hunt gold inside the room, but with a ^FF0000"+$Tax+" % Tax Rate^000000."; mes "Each kill in the Room you will gain 1 Points and each point equal to 10 PESO."; next; switch( select( "Hunt Gold", "Claim POINTS", ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Claim Earn", ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Change Tax" )){ Case 1: warp "lou_dun02",0,0; end; Case 2: mes "You have "+#PESO+" Points."; if( !#PESO ) close; mes "How many you want to points claim ?"; input @Amount,0,#PESO; if( !@Amount ) close; next; set #PESO,#PESO - @Amount; set .@Gain,(( @Amount * 10 ) - ( @Amount * 10 * $Tax / 100 )); set #PESOPOINTS,#PESOPOINTS + .@Gain; mes "Gained ^FF0000"+.@Gain+"^000000 POINTS due to Tax Rate of "+$Tax+" %"; close; Case 3: mes "Total Earning : "+$Earn+" POINTS."; if( select("Claim It:Cancel") == 2 ) close; mes "How much you want to claim ?"; do{ input @Amount,0,$Earn; if( !@Amount ) close; if( ( #PESOPOINTS + @Amount ) > 1000000000 ) mes "Limit Exceed..."; }while( ( #PESOPOINTS + @Amount ) > 1000000000 ); mes "Gained "+@Amount+" #PESOPOINTS."; set #PESOPOINTS,#PESOPOINTS + @Amount; set $Earn,$Earn - @Amount; close; Case 4: mes "^FF0000Current Tax : "+$Tax+" %"; mes "Enter your New Tax Rate."; input $Tax,1,35; mes "^FF0000Updated Tax : "+$Tax+" %"; close; } OnInit: monster "lou_dun02",0,0,"Gold",2002,1000,strnpcinfo(0)+"::OnMobKill"; end; OnMobKill: monster "lou_dun02",0,0,"Gold",2002,1,strnpcinfo(0)+"::OnMobKill"; set $Earn,$Earn + ( 10 * $Tax / 100 ); set #PESO,#PESO + 1; dispbottom "Total PESO Point = "+#PESO+" Points."; end; } lou_dun02 mapflag nodrop lou_dun02 mapflag noexp lou_dun02 mapflag nowarpto lou_dun02 mapflag noSave lou_dun02 mapflag noteleport lou_dun02 mapflag novending lou_dun02 mapflag noreturn lou_dun02 mapflag nobranch lou_dun02 mapflag noloot lou_dun02 mapflag nomemo if they kill 1 monster they get 1 peso then exchange it to 1=10pesopoints. I want to make it work that they earn and get the tax from player.
  18. Its ok now.Thank you very much. I will reply again if there is a bug or error. Sir can you make this script to kafrapoints? Maybe I can use this for farming kafrapoints. 1 monster is 1 kafrapoints.
  19. script error in line 7 parse_line: expect command,missing function name or calling undeclared function
  20. missing 2 right curlys in line 82.
  21. I dont;t get it? how do i put it. What I mean is reset the the total zeny that they will going to earn.I want it back to zero. because even I remove the script or disable it, when I enable or put it again the total earnigs is there.
  22. The guild leader is gone and the zeny is in maximum that why it gives error in my map server. How can I delete the zeny. Can you add to the script, GM lvl 90 can reset the counter or remove the zeny. heres the SS and script prontera,155,181,5 script Sample 757,{ set .Guild,getcastledata( "prtg_cas01",1 ); if( getcharid(2) == .Guild ){ mes "^FF0000Current Tax : "+$Tax+" %"; mes "Total Earning : "+$Earn+" Zeny."; } mes "This Gold Room is currently owned by ^FF0000"+getguildname( .Guild )+" Guild^000000."; mes "You may hunt gold inside the room, but with a ^FF0000"+$Tax+" % Tax Rate^000000."; mes "Each kill in the Room you will gain 1 Points and each point equal to 100,000 zeny."; next; switch( select( "Hunt Gold", "Claim Zeny", ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Claim Earn", ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Change Tax" )){ Case 1: warp "mosk_que",0,0; end; Case 2: mes "You have "+#GoldPoint+" Points."; if( !#GoldPoint ) close; mes "How many you want to points claim ?"; input @Amount,0,#GoldPoint; if( !@Amount ) close; next; set #GoldPoint,#GoldPoint - @Amount; set .@Gain,(( @Amount * 100000 ) - ( @Amount * 100000 * $Tax / 100 )); set Zeny,Zeny + .@Gain; mes "Gained ^FF0000"+.@Gain+"^000000 Zeny due to Tax Rate of "+$Tax+" %"; close; Case 3: mes "Total Earning : "+$Earn+" Zeny."; if( select("Claim It:Cancel") == 2 ) close; mes "How much you want to claim ?"; do{ input @Amount,0,$Earn; if( !@Amount ) close; if( ( Zeny + @Amount ) > 1000000000 ) mes "Limit Exceed..."; }while( ( Zeny + @Amount ) > 1000000000 ); mes "Gained "+@Amount+" Zeny."; set Zeny,Zeny + @Amount; set $Earn,$Earn - @Amount; close; Case 4: mes "^FF0000Current Tax : "+$Tax+" %"; mes "Enter your New Tax Rate."; input $Tax,1,20; mes "^FF0000Updated Tax : "+$Tax+" %"; close; } OnInit: monster "mosk_que",0,0,"Gold",1002,100,strnpcinfo(0)+"::OnMobKill"; end; OnMobKill: monster "mosk_que",0,0,"Gold",1002,1,strnpcinfo(0)+"::OnMobKill"; set $Earn,$Earn + ( 100000 * $Tax / 100 ); set #GoldPoint,#GoldPoint + 1; dispbottom "Total Gold Point = "+#GoldPoint+" Points."; end; } mosk_que mapname nowarp mosk_que mapname nowarpto mosk_que mapname noSave mosk_que mapname noteleport mosk_que mapname nocommand 50
  23. Sir medyo magulo ka ata. Ask ko lang if why do you need Kro files? ang alam ko kasi ang kro is para sa client. Ano ba gusto mong mangyari? I mean dapat kasi give ka more details pra yung gustong tumulong eh di mahirapan. Paliwnag mo maige hehehe.
  24. Sirgusto mo i-online? VPS ba gagamitn mo or personal computer mo lang. sa akin kasi computer ko lang kaya ang gamit ko is no-ip. Lagay mo ung details kasi pra mas matulungan ka ng iba. na try mo na ba LAN lang muna? pag ok na sa lan saka ka mag plan na Online. If computer mo gagamitin mo use ka ng no-ip kasi pag no-ip kahit na dynamic ang ip mo ok lang.Kung static nmn ip mo siguro pwede na un mismomg Ip mo ang gagamitin. correct me if Im wrong.This is just based on some guide at experience ko lang.
×
×
  • Create New...