Jump to content

luizragna

Members
  • Content Count

    114
  • Joined

  • Last visited

  • Days Won

    6

Reputation Activity

  1. Upvote
    luizragna got a reaction from XtriC in Credit to Zeny changer   
    I maked with variable.
     
    Trader NPC:
    prontera,136,217,4 script Coin Trader 4_M_MANAGER,{ .@npc$ = "[Coin Trader]"; //NPC Name mes .@npc$; mes "Hello. I'm the Coin Trader"; mes "I can trade Zeny for Coin and vice versa"; mes "(1 Coin = 10.000.000z)"; mes "What you want trade?"; next; menu "Zeny for Coins",zc,"Coins for Zeny",cz,"Close",cl; cl: close; zc: mes .@npc$; mes "How many Coins do you want purchase"; mes "(1 Coin = 10.000.000z)"; input @zc; @qnt = @zc*10000000; if (Zeny - @qnt < 0){ mes "Do you not have zeny"; close; } set SCoin,SCoin + @zc; set Zeny,Zeny - @qnt; mes " "; mes "Thank You!"; mes "(Now do you have "+SCoin+" Coin(s) )"; close; cz: mes .@npc$; mes "How many Coins you want sell?"; mes "Do you have "+SCoin+" Coin(s)"; mes "(1 Coin = 10.000.000z)"; input @cz; @qnt = @cz*10000000; if (SCoin - @cz < 0) { mes "Do you not have sufficient Coins"; close; } if (Zeny + @qnt > 2000000000){ mes "Do you can't stay more than 2b Zeny"; close; } set SCoin,SCoin - @cz; set Zeny,Zeny + @qnt; mes " "; mes "Thank You!"; mes "(Now do you have "+SCoin+" Coin(s) )"; close; }  
    Coin Shop:
    prontera,141,217,4 script Coin Shop 4_F_TELEPORTER,{ mes "[Coin Shop]"; mes "Hello. Why do you want buy with yours Coins?"; mes "(Do you have "+SCoin+" Coin(s) )"; menu "Red Potion (3 Coins)",rp,"Knife[4] (7 Coins)",kn,"Cancell",cl; cl: close; rp: if (SCoin - 3 < 0) { mes "Do you not have sufficient Coins"; close; } SCoin = SCoin - 3; getitem 501,1; mes " "; mes "Thank You!"; mes "(Now do you have "+SCoin+" Coin(s) )"; close; kn: if (SCoin - 7 < 0) { mes "Do you not have sufficient Coins"; close; } SCoin = SCoin - 7; getitem 1202,1; mes " "; mes "Thank You!"; mes "(Now do you have "+SCoin+" Coin(s) )"; close; }  
  2. Upvote
    luizragna got a reaction from XtriC in Credit to Zeny changer   
    OK, I'll try to do it for you.
    You want the currency is for a player or account?
  3. Upvote
    luizragna got a reaction from Adel in ★Showcase★ Armellia Village   
    Nice map!
  4. Upvote
    luizragna reacted to Slicer in Custom skill cast effect   
    look in data/luafiles514/
  5. Upvote
    luizragna reacted to meko in The character stands still when use menu command   
    use close(); instead of end();
    also menu() is deprecated, so please use select()
  6. Upvote
    luizragna reacted to Daehyon in The character stands still when use menu command   
    aldebaran,120,122,3 script Teddy 4_CAT_SAILOR1,{ switch(select("- Yes:- No")) { case 1: specialeffect(6, SELF, playerattached()); close; case 2: close; } } Try this. @luizragna
  7. Upvote
    luizragna got a reaction from tathanvocuc017 in Fire Area   
    View File Fire Area
    Hello guys!
    This is my first script in the Hercules. Basically, do you receive damage while stay stepping.
    Main configurations: (I'm using the last version of hercules)
    //Damage Options: .DMG_Type = 1; // Type of damage - [0 - Normal] | [1 - Percentage of maximum health] .DMG_Attack = 5; // Damage per attack (1 to 100 if percentage damage) .DMG_Speed = 250; // Damage speed. The smaller faster (milisseconds) .CAN_Die = 0; // The character can die burned? - [0 - No] | [1 - Yes] // Effects: .DMG_Effect = 49; //When receive damage (Alternatives: 50 , 255 ) Default: 49 .FIRE_Effect = 25; //Flow Effect (Alternatives: 634 , 728, 920, 962) Default: 25 .EFFECT_Speed = 300; //The speed of loop effect (Advanced option. Not recommended change): //Time Options .TIME_DURATION_ON = 3000; // The time that the fire stay enable (milisseconds) .TIME_DURATION_OFF = 2000;// The time that the fire stay disable (milisseconds) .TIME_Quit = 500; // Burning time after leave of the danger area, (milisseconds) Cells configurations:
    //Bellow, do you configure the cells (Do you can add more, if want) pay_dun00,161,46,0 duplicate(FireArea) #FireArea11 HIDDEN_WARP_NPC,0,0 pay_dun00,161,45,0 duplicate(FireArea) #FireArea12 HIDDEN_WARP_NPC,0,0 pay_dun00,161,44,0 duplicate(FireArea) #FireArea13 HIDDEN_WARP_NPC,0,0 pay_dun00,160,46,0 duplicate(FireArea) #FireArea21 HIDDEN_WARP_NPC,0,0 pay_dun00,160,45,0 duplicate(FireArea) #FireArea22 HIDDEN_WARP_NPC,0,0 pay_dun00,160,44,0 duplicate(FireArea) #FireArea23 HIDDEN_WARP_NPC,0,0 pay_dun00,159,46,0 duplicate(FireArea) #FireArea31 HIDDEN_WARP_NPC,0,0 pay_dun00,159,45,0 duplicate(FireArea) #FireArea32 HIDDEN_WARP_NPC,0,0 pay_dun00,159,44,0 duplicate(FireArea) #FireArea33 HIDDEN_WARP_NPC,0,0 pay_dun00,158,46,0 duplicate(FireArea) #FireArea41 HIDDEN_WARP_NPC,0,0 pay_dun00,158,45,0 duplicate(FireArea) #FireArea42 HIDDEN_WARP_NPC,0,0 pay_dun00,158,44,0 duplicate(FireArea) #FireArea43 HIDDEN_WARP_NPC,0,0 Sorry for my bad english...
    Enjoy it 
    OBS: If do you use @reloadscript in this script, reload your character.
    Submitter luizragna Submitted 03/02/18 Category Script Releases  
  8. Upvote
    luizragna got a reaction from IndieRO in Fire Area   
    View File Fire Area
    Hello guys!
    This is my first script in the Hercules. Basically, do you receive damage while stay stepping.
    Main configurations: (I'm using the last version of hercules)
    //Damage Options: .DMG_Type = 1; // Type of damage - [0 - Normal] | [1 - Percentage of maximum health] .DMG_Attack = 5; // Damage per attack (1 to 100 if percentage damage) .DMG_Speed = 250; // Damage speed. The smaller faster (milisseconds) .CAN_Die = 0; // The character can die burned? - [0 - No] | [1 - Yes] // Effects: .DMG_Effect = 49; //When receive damage (Alternatives: 50 , 255 ) Default: 49 .FIRE_Effect = 25; //Flow Effect (Alternatives: 634 , 728, 920, 962) Default: 25 .EFFECT_Speed = 300; //The speed of loop effect (Advanced option. Not recommended change): //Time Options .TIME_DURATION_ON = 3000; // The time that the fire stay enable (milisseconds) .TIME_DURATION_OFF = 2000;// The time that the fire stay disable (milisseconds) .TIME_Quit = 500; // Burning time after leave of the danger area, (milisseconds) Cells configurations:
    //Bellow, do you configure the cells (Do you can add more, if want) pay_dun00,161,46,0 duplicate(FireArea) #FireArea11 HIDDEN_WARP_NPC,0,0 pay_dun00,161,45,0 duplicate(FireArea) #FireArea12 HIDDEN_WARP_NPC,0,0 pay_dun00,161,44,0 duplicate(FireArea) #FireArea13 HIDDEN_WARP_NPC,0,0 pay_dun00,160,46,0 duplicate(FireArea) #FireArea21 HIDDEN_WARP_NPC,0,0 pay_dun00,160,45,0 duplicate(FireArea) #FireArea22 HIDDEN_WARP_NPC,0,0 pay_dun00,160,44,0 duplicate(FireArea) #FireArea23 HIDDEN_WARP_NPC,0,0 pay_dun00,159,46,0 duplicate(FireArea) #FireArea31 HIDDEN_WARP_NPC,0,0 pay_dun00,159,45,0 duplicate(FireArea) #FireArea32 HIDDEN_WARP_NPC,0,0 pay_dun00,159,44,0 duplicate(FireArea) #FireArea33 HIDDEN_WARP_NPC,0,0 pay_dun00,158,46,0 duplicate(FireArea) #FireArea41 HIDDEN_WARP_NPC,0,0 pay_dun00,158,45,0 duplicate(FireArea) #FireArea42 HIDDEN_WARP_NPC,0,0 pay_dun00,158,44,0 duplicate(FireArea) #FireArea43 HIDDEN_WARP_NPC,0,0 Sorry for my bad english...
    Enjoy it 
    OBS: If do you use @reloadscript in this script, reload your character.
    Submitter luizragna Submitted 03/02/18 Category Script Releases  
  9. Upvote
    luizragna reacted to Winterfox in How to make a link on quest ?   
    I can just point you to a tip since  i can not find the information how to do it, but it has possibly to do something with that system:
    If you're using a client from 2011-10-10aRagexe.exe onwards, you can also use automatic navigation and open URLs in browser by using some HTML-likelabels. For example: mes "go to <NAVI>[Hat Maker]<INFO>izlude,131,148,</INFO></NAVI> to make hats";Will make the [Hat Maker] text clickable in the client and start a navigation to that point. mes "You can <URL>Google<INFO>http://www.google.com/</INFO></URL> anything";Clicking Google will open the browser and point to Google website.
×
×
  • Create New...

Important Information

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