Jump to content

hendra814

Members
  • Posts

    1191
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by hendra814

  1. already put that too, but still got that error.
  2. maybe he using this file https://rathena.org/board/topic/107506-quests-games-mvp-ladder-instanced-edition/?tab=comments#comment-309394
  3. Here, I'm try to help prontera_seasons_fall.rar prontera_seasons_spring.rar prontera_seasons_summer.rar prontera_seasons_winter.rar
  4. src\map\clif_packetdb.h and src\map\clif_shuffle.h
  5. did you make changes at src files? Edit Already tried to with lastest rathena , has different damage but not up to 25% here my ss
  6. Post your item db script, ss for not equip weapon with AK card and with AK card to prove it.
  7. Hi, i've got error when use this script could you help me to solved this error.
  8. already tried, mine works well this for not enough payment and this for slot machine when already finished
  9. View File Slot Machine With Random Reward and Running at Spesified OnClock Hi All, Here i want share with you my modification script from @GmOcean Thanks. For GM access level change at line 3 for item/zeny payment change at line 235 ~ 238 for OnClock, change at line 191~196 This Slot Machine will disapear after 5 Minutes If you want replace, change it at line 201 For random reward, change at line 31~76 and 106~151 Special thanks to 1. @GmOcean for slot machine script 2. @Emistry for enable hideoffnpc and hideonnpc 3. @Nova for inspired slot machine function Submitter hendra814 Submitted 09/01/2017 Category Games, Events, Quests Video Content Author GMOcean, hendra814, Nova  
  10. Version 1.2

    1604 downloads

    Hi All, Here i want share with you my modification script from @GmOcean Thanks. For GM access level change at line 3 for item/zeny payment change at line 235 ~ 238 for OnClock, change at line 191~196 This Slot Machine will disapear after 5 Minutes If you want replace, change it at line 201 For random reward, change at line 31~76 and 106~151 Special thanks to 1. @GmOcean for slot machine script 2. @Emistry for enable hideoffnpc and hideonnpc 3. @Nova for inspired slot machine function
    Free
  11. @NANORAY I hope this could solve your answer. /* ============================================================= /* Slot Machine - Triple Slot Machine /* ============================================================= /* Version: v0.7 /* v0.1 - Original Script Created. /* v0.2 - Added Option for Triple Slot Machine with animations. /* v0.3 - Added support for item pricing &/or zeny pricing. /* v0.4 - Cleaned up script variables for easy editing. /* v0.5 - Tested out some new scripting methods with IF(THEN). /* v0.6 - Added option to change slot machine modes ingame. /* v0.7 - Added optional sound effects to slot machines. - NOTE /* ============================================================= /* Description /* ============================================================= /* This script will allow users to spend zeny &/or an item for a /* chance to win a prize from the slot machine. Currently there /* are 2 versions. First is a Single Slot Machine, where only 1 /* slot is rolled. Second is the Triple Slot machine, where 3 /* slots are rolled. For either version, SUCCESS must be the /* only thing displayed in order to win. /* ============================================================= /* NOTE - If using soundeffects you must add the ".wav" files /* provided in the ".rar" file to your: data/wav folder located /* in either your: ( Ragnarok folder ) OR ( .grf file ) /* ============================================================= /* Created By: GmOcean /* ===========================================================*/ prontera,152,176,4 script SlotMachine::1slot 563,{ if( getgmlevel() == 99 ) { mes "Welcome Administrator.","What would you like to do?"; menu "Play Game",-,"Change Slot Machine Mode",iMode; next; } switch( getd(".mode"+strnpcinfo(3)+"") ){ case 0: // Single Slot machine mode. mes "Do you want to play a game?"; if( !.payment ) { mes "It costs: "+ .ssm_payment_message$[0] +" to play."; } else if ( .payment == 1 ) { mes "It costs: "+ .ssm_payment_message$[1] +" to play."; } else if ( .payment == 2 ) { mes "It costs: "+ .ssm_payment_message$[0] +" & "+ .payment_message$[1] +" to play."; } if( select("YES:NO") == 2 || Zeny < .ssm_payment[0] && ( !.payment || .payment == 2 ) || countitem(.ssm_payment[1]) < .ssm_payment[2] && .payment ){ close; } while( @menu == 1 ){ if( !.payment || .payment == 2 ) { Zeny -= .ssm_payment[0]; } if( .payment ) { delitem( .ssm_payment[1], .ssm_payment[2] ); } if( .soundeffects ) { soundeffect "se_cash_provider.wav",0; } .@a = rand(1,100); if( .@a < atoi(.ssm_animate$[0]) ){ .@a = 1; } else { .@a = 2; } .@b = 1; while( .@b < atoi(.ssm_animate$[.@a]) ) { cutin .ssm_animate$[3] + .@b,4; sleep2 ( ( atoi(.ssm_animate$[4]) * 1000 ) / atoi(.ssm_animate$[.@a]) ); .@b++; } if( .@a == 1 ){ cutin .ssm_animate$[3] + atoi(.ssm_animate$[.@a]),4; dispbottom "Failed"; } else { cutin .ssm_animate$[3] + atoi(.ssm_animate$[.@a]),4; if( !.prize || .prize == 2 ) { Zeny += .ssm_prize[0]; } if( .prize ) { getitem .ssm_prize[1], .ssm_prize[2]; } if( .soundeffects ){ soundeffect "rog_steal coin.wav",0; } } if( select("Another Round:I'm done") == 2 || Zeny < .ssm_payment[0] && ( !.payment || .payment == 2 ) || countitem(.ssm_payment[1]) < .ssm_payment[2] && .payment ){ cutin "",255; close; } } end; case 1: // Triple Slot machine mode. mes "Do you want to play a game?"; if( !.payment ) { mes "It costs: "+ .tsm_payment_message$[0] +" to play."; } else if ( .payment == 1 ) { mes "It costs: "+ .tsm_payment_message$[1] +" to play."; } else if ( .payment == 2 ) { mes "It costs: "+ .tsm_payment_message$[0] +" & "+ .tsm_payment_message$[1] +" to play."; } if( select("YES:NO") == 2 || Zeny < .tsm_payment[0] && ( !.payment || .payment == 2 ) || countitem(.tsm_payment[1]) < .tsm_payment[2] && .payment ){ close; } while( @menu == 1 ){ if( !.payment || .payment == 2 ) { Zeny -= .tsm_payment[0]; } if( .payment ) { delitem( .tsm_payment[1], .tsm_payment[2] ); } if( .soundeffects ) { soundeffect "se_cash_provider.wav",0; } // Slot 1 = 100% Chance for success. (Because I didn't make a fail animation for it. .@2 = rand(1,100); //Rolls dice for Slot 2 .@3 = rand(1,100); //Rolls dice for Slot 3 if( .@2 <= atoi(.tsm_animate$[0]) && .@3 <= atoi(.tsm_animate$[1]) ){ .@a = 8; } else if( .@2 <= atoi(.tsm_animate$[0]) && .@3 > atoi(.tsm_animate$[1]) ){ .@a = 6; } else if( .@2 > atoi(.tsm_animate$[0]) && .@3 <= atoi(.tsm_animate$[1]) ){ .@a = 4; } else { .@a = 2; } .@b = 1; while( .@b < atoi(.tsm_animate$[.@a+1]) ) { cutin .tsm_animate$[.@a] + .@b,4; sleep2 ( ( atoi(.tsm_animate$[10]) * 1000 ) / atoi(.tsm_animate$[.@a+1]) ); .@b++; } cutin .tsm_animate$[.@a] + atoi(.tsm_animate$[.@a+1]),4; if( .@a == 2 ){ if( !.prize || .prize == 2 ) { Zeny += .tsm_prize[0]; } if( .prize ) { getitem .tsm_prize[1], .tsm_prize[2]; } if( .soundeffects ){ soundeffect "rog_steal_coin.wav",1; } } else { dispbottom "Failed"; } if( select("Another Round:I'm done") == 2 || Zeny < .tsm_payment[0] && ( !.payment || .payment == 2 ) || countitem(.tsm_payment[1]) < .tsm_payment[2] && .payment ){ cutin "",255; close; } } end; } OnSingleSlot: setd ".mode"+strnpcinfo(3)+"",0; end; OnTripleSlot: setd ".mode"+strnpcinfo(3)+"",1; end; iMode: next; mes "Which did you want to do?"; menu "Change THIS machine's mode:Change ALL machine's mode",-; if( @menu == 1 ) { next; mes "What mode would you like this machine to have?"; menu "Single Slot Machine Mode:Triple Slot Machine Mode",-; if( @menu == 1 ) { setd ".mode"+strnpcinfo(3)+"",0; } else { setd ".mode"+strnpcinfo(3)+"",1; } close; } else { next; mes "What mode would you like to change all slot machines to?"; menu "Single Slot Machine Mode:Triple Slot Machine Mode",-; if( @menu == 1 ) { donpcevent "::OnSingleSlot"; } else { donpcevent "::OnTripleSlot"; } close; } OnClock0800: OnClock0900: OnClock1000: OnClock1100: OnClock1200: OnClock1300: OnClock1400: OnClock1500: OnClock1600: OnClock1700: OnClock1800: OnClock1900: OnClock2000: OnClock2100: OnClock2300: announce "Slot Machine will begin in 1 minute.", bc_all; sleep 60000; announce "Come and Play slot machine at prontera", bc_all; hideoffnpc strnpcinfo(3); sleep 300000; hideonnpc strnpcinfo(3); end; OnInit: hideonnpc strnpcinfo(3); // 0 = Disabled, 1 = Enabled. .soundeffects = 1; //[ 0 = Single Slot Machine Mode ]_[ 1 = Triple Slot Machine Mode ] setd ".mode"+strnpcinfo(3)+"",0; //[0] = Fail Rate //[1] = Fail (Do not change) //[2] = Success (Do not change) //[3] = File Name (Do not change) //[4] = Animation Time (Do not change, for best results ) setarray .ssm_animate$[0],"30","29","33","slot_","3"; //[0] = Fail Rate "Slot 2" //[1] = Fail Rate "Slot 3" //[2] = SSS (Do not change) //[3] = SSS_Count (Do not change) //[4] = SSF (Do not change) //[5] = SSF_Count (Do not change) //[6] = SFS (Do not change) //[7] = SFS_Count (Do not change) //[8] = SFF (Do not change) //[9] = SFF_Count (Do not change) //[10] = Animation Time (Do not change, for best results ) setarray .tsm_animate$[0],"30","30","SSS_","41","SSF_","37","SFS_","41","SFF_","45","3"; // Prize Settings // Prize Type // 0 = Zeny, 1 = Item, 2 = Zeny&Item .prize = 2; // [0] = Zeny, [1] = Item ID, [2] = Item Amount; setarray .ssm_prize[0],125,501,10; setarray .tsm_prize[0],450,501,30; // Payment Settings // Payment Type // 0 = Zeny, 1 = Item, 2 = Zeny&Item .payment = 2; // [0] = Zeny, [1] = Item ID, [2] = Item Amount; setarray .ssm_payment[0],100,501,1; // Single Slot Machine Payment Price setarray .tsm_payment[0],300,501,3; // Triple Slot Machine Payment Price // DO NOT CHANGE BELOW // Payment Text Syntax setarray .ssm_payment_message$[0],""+ .ssm_payment[0] +" zeny",""+ getitemname(.ssm_payment[1]) +" x"+ .ssm_payment[2] +""; setarray .tsm_payment_message$[0],""+ .tsm_payment[0] +" zeny",""+ getitemname(.tsm_payment[1]) +" x"+ .tsm_payment[2] +""; end; } //Duplicates prontera,154,176,4 duplicate(1slot) SlotMachine#2slot 563 prontera,156,176,4 duplicate(1slot) SlotMachine#3slot 563
  12. You can see at this link client supported by rathena
  13. hendra814

    i need help

    go to mysql query browser, double click on login table, click edit and create your account in there. click on apply and then click edit again, last close mysql query browser. after that try run your server and test login with the id you already create.
  14. i already tried this item, the item can seen in the inventory, but when equip into character will got pop up missing sprite, when open windows equipment and click on custume windows will get windows crash iteminfo lua sprite name for this item different with pop up error. at iteminfo.lua C흩날리는천사의날개 Edit I'm already solved the error. here put in your grf or data folder data.rar
  15. Go to src\config\packet.h #ifndef PACKETVER #define PACKETVER 20140305 #endif #ifndef PACKETVER_RE /// From this point on only kRO RE clients are supported #if PACKETVER > 20151104 #define PACKETVER_RE #endif #endif #if PACKETVER >= 20110817 /// Comment to disable the official packet obfuscation support. /// This requires PACKETVER 2011-08-17 or newer. #ifndef PACKET_OBFUSCATION //#define PACKET_OBFUSCATION // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h //#define PACKET_OBFUSCATION_KEY1 <key1> //#define PACKET_OBFUSCATION_KEY2 <key2> //#define PACKET_OBFUSCATION_KEY3 <key3> /// Comment this to disable warnings for missing client side encryption //#define PACKET_OBFUSCATION_WARN #endif using new rathena, it's doesn't use version at clientinfo.xml, so just skip it for packet, rathena already support for 2014 client you can found it at src\map\clif_packetdb.h of src\map\clif_shuffle.h
  16. i'm already make git issue, here the link https://github.com/rathena/rathena/issues/2328 if they are solve this problem i will notice it in this thread Edit: team already make some changes, but still not solve the problem Latest update; i'm already solved the script, here for check vip status. prontera,140,226,6 script VIP System 109,{ if (vip_status(1)){ set .@Timer, vip_status(VIP_STATUS_EXPIRE); mes "[ VIP NPC ]"; mes "Welcome "+strcharinfo(0)+","; mes "^FF0000Your VIP Status will Expire at:^000000"; mes gettimestr("%Y-%m/%d %H:%M:%S",21,vip_status(VIP_STATUS_EXPIRE)); mes "^FF0000Time left: ^000000" + callfunc("Time2Str",.@Timer); } end; }
  17. sorry, i'm doing wrong type, i mean 2016-12-07
  18. Hi, i'm looking for client 2016-12-07eRagexeRE already tried search to this forum, but not found it. Please share it to me if you have it. Thanks
  19. try use this and this is the lastest third custome update http://herc.ws/board/topic/11531-dress-pack dont forget to make costume not disapear after reloging setting at conf\battle\client.conf save_body_style: yes
  20. @dikapramantya i already tried it too, but not using item, but by gm command direct to player, same with you, the character still in game even the VIP status already expire.
×
×
  • Create New...