Jump to content

Technoken

Members
  • Posts

    505
  • Joined

  • Days Won

    8

Everything posted by Technoken

  1. For more info you can check it here https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L7488-L7790
  2. You can try to use setunitdata and getunitdata. monster "prontera",149,190,"Poring",1002,1; .GID = $@mobid[0]; getunitdata .GID,.@por_arr; unittalk .GID,"Max HP: "+.@por_arr[UMOB_MAXHP]; unittalk .GID,"Current HP: "+.@por_arr[UMOB_HP]; sleep 10000; // Try to do some damage after 10 seconds getunitdata .GID,.@por_arr; unittalk .GID,"Current HP: "+.@por_arr[UMOB_HP]; end;
  3. Halos everyday yan naguupdate. Para di mawala configurations mo use: git stash save - para masave mga configurations mo git pull - para maging updated yung trunk mo git stash pop - para mag merge yung custom configurations mo sa latest trunk na inupdate mo. take note, kung madami kang custom configurations especially sa src part, magkaka merge conflicts yan. pero usually kung wala ka naman src part na inedit madali lan yan ayusin. chaka BACKUP first before updating. Para incase na magkanda leche leche during update may backup ka.
  4. Try mo gamitin latest rathena -> https://github.com/rathena/rathena since sa ngayon di na supported yung VS EXPRESS C++ 2010. Based din sa experience ko, nangyari to before sa windows server. Cause siguro ng XAMPP pero im not sure kasi di ko na naresolve ung sakin. nag change platform nalang ako. Anyway once mag freeze ang client mo try mo iaccess ang log database and see kung mawawala yung freeze then may mag pop up na sql error sa map server. Usually nangyyari lang yan everytime na pag start mo ng server mo pero once na mawala yung client freeze, hindi n sya uulit unless mag restart ka ng XAMPP.
  5. On vending.c find "VALUES( %d, %d, %d, '%c', '%s', %d, %d, '%s', %d, '%d', '%d', '%d' );", replace "VALUES( %d, %d, %d, '%c', '%s', %d, %d, '%s', %d, '%d', '%d', '%d', '%hu' );", solid2005 might have forgotten to update his part on his diff.
  6. Have you tried to import the sql?
  7. It's pretty easy to get those palettes but that script wouldn't be easy. As i've said, the script has it's own way to access those palette numbers which is needed for every race. Well, goodluck!
  8. It wouldn't be easy. Her palettes scripts has custom hash to access the required palette numbers which is I think unique for every clients. I saw from her fb page that she already updated her race elemental system which is now compatible with 3rd jobs.
  9. <mob id>,<amount>,<delay1>,<delay2>,<event> source: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L133-L187
  10. Thanks for the update!
  11. Technoken

    no pub

    I guess he's referring to no_chat cell?
  12. I've also tried enabling and disabling npc_securetimeout on src, but it still happens on those clients. Idk why. But never on 2015. It only happens to me on default custom stylist and warper though. So maybe bec of how the script were constructed. But i didnt explore much. Maybe later im gonna look at the menu thing.
  13. I've seen some threads saying it was because of script end; and close; but I still don't know. I also experienced this on 2012-04-10 and 2013 clients. but whenever I used 2015 clients and above I couldn't reproduce it. Until now I can't find a good answer to solve this issue. XD
  14. Did you enable Packet Obfuscation on your packets.h? Incase you did, did you define your own packet keys? Did you diff your packet keys on your client? Because of this update, clientinfo.xml will be ignored. So I guess the the version wouldn't matter.
  15. It was already mentioned. Find 00B8DEBDC3C1F600 then replace it with 00416C6572740000
  16. View File Dicebet Gambling Dicebet Gambling This is a simple script that allows players to gamble with other player using dicebet command. This idea came from GTA SAMP which me and my brother played before. He asked me if I can implement it into his server so I did. I decided to share it here so I can give some contribution here even with this simple script. I hope you guys would like it and please report if you found any bugs in the script. I'm actually thinking ways to optimize this script and add some features into it. So I guess suggestions will be welcome. Configuration OnInit: .MinBet = 1; // Minimum amount to bet .MaxBet = 500000000; // Maximum amount to bet NOTE: If you increase it by 500m, make sure that max zeny allowed per char is > 1b New Atcommands @dicebet <opponent name> <amount to bet> - sends a dicebet invitation to another player @acceptdb - accepts the dicebet invitation @declinedb - declines the dicebet invitation @resetdb - resets the dicebet invitation Submitter Technoken Submitted 08/06/2017 Category Games, Events, Quests Video Content Author Technoken  
  17. Nice video tutorials! This would really be helpful to newbies. Would be nice if you can include src tutorials but I guess that wouldn't be easy xD
  18. Check this link I think Capuche was referring to change the expression on this line https://github.com/rathena/rathena/blob/master/src/map/skill.c#L16713 per += (((signed int)sd->status.job_level)-50)/2; //Updated per the new kro descriptions. [Skotlex]
  19. Can you post the script of your enchanter? I think the script needs to modified to check bounded items and use getitembound2 instead of getitem2 if the item is bounded.
  20. Version 1.1

    601 downloads

    Dicebet Gambling This is a simple script that allows players to gamble with other player using dicebet command. This idea came from GTA SAMP which me and my brother played before. He asked me if I can implement it into his server so I did. I decided to share it here so I can give some contribution here even with this simple script. I hope you guys would like it and please report if you found any bugs in the script. I'm actually thinking ways to optimize this script and add some features into it. So I guess suggestions will be welcome. Configuration OnInit: .MinBet = 1; // Minimum amount to bet .MaxBet = 500000000; // Maximum amount to bet NOTE: If you increase it by 500m, make sure that max zeny allowed per char is > 1b New Atcommands @dicebet <opponent name> <amount to bet> - sends a dicebet invitation to another player @acceptdb - accepts the dicebet invitation @declinedb - declines the dicebet invitation @resetdb - resets the dicebet invitation
    Free
  21. I prefer as pay per project, i'm not really into being a monthly staff. Services Offered: Basic Server and Client Setup ($15) Configuration: Default configurations only Inclusions: Latest rAthena Emulator - Your desired max level, max stats, experience rates, and drop rates - Renewal or Pre-renewal Client of your Choice - 2012 up to 2017 clients - Hexed Client - YourRO.grf (default data and translated luafiles) Basic NPCs - NPC like Job Changer, Warper, Healer, etc.. Thor Patcher - Default design only unless you have your own skin FluxCP - Default design only unless you have your own theme - Free Vote for Points addon Installation and configuration of files in your VPS/Dedicated Server until the server is running Fully Configured Server and Client Setup Price: Starts at $20 and will increase depending on your desired project Configuration: Your desired configurations, items, features, etc. Inclusions: Everything on Basic Server and Client Setup but fully configured based on your request Other Services Price: Starts at $5 and will increase depending on complexity and size of the project - Server setup only - Client setup only - FluxCP installation - Forum Installation - Thor Patcher setup - Custom NPC scripts - SRC modification - Server Files Migration Free consultation as long as it is within my knowledge. Free support and help for the service I provided as long as it is necessary. Free fix of your problems not related to my service, as long as it is within my capabilities. Agreement - I can only start to work on your request if you have paid atleast 50% or more of the project price. - Price may increase incase you want the requested project to be exclusively for you. - I do not provide any refunds due to project cancellation or any in any terms without valid reason. However I might offer a free service in return. - You cannot resell my work or use it for commercial purposes. - Free support might not be provided incase the modification you did break the project. - All terms and conditions may be subject to change without prior notice. Payments - Paypal - Bank Transfer( BDO, BPI, PNB, Union Bank ) - Western Union or other PH remittances Contact Information Discord: technoken#4802
  22. @Emistry Lol yeah. What I thought is it would only run once and stop if the random item selected was in the blacklist.
  23. I don't see anything that will decrease the percentage of dropping an item. for( .@i = 0; .@i < .size; .@i++ ) { if( @inventorylist_id[.@r] == .Blacklist[.@i] ) end; } ^ this part will only check if the random item picked from inventory is in the .Blacklist.
  24. Try this one. I didn't test it though - script nightmaremode -1,{ OnPCDieEvent: if (countitem(7773) >= 1) end; if (BaseLevel < 40) end; //if ( strcharinfo(3) != "moc_fild12" ) end; // set your map //if ( pkpoints < 100 ) end; // decide on the pk points getinventorylist; if ( !@inventorylist_count ) end; .@r = rand( @inventorylist_count ); for( .@i = 0; .@i < .size; .@i++ ) { if( @inventorylist_id[.@r] == .Blacklist[.@i] ) end; } delitem2 @inventorylist_id[.@r], @inventorylist_amount[.@r], @inventorylist_identify[.@r], @inventorylist_refine[.@r], @inventorylist_attribute[.@r], @inventorylist_card1[.@r], @inventorylist_card2[.@r], @inventorylist_card3[.@r], @inventorylist_card4[.@r]; getmapxy .@map$, .@x, .@y, 0; makeitem2 @inventorylist_id[.@r], @inventorylist_amount[.@r], .@map$, .@x, .@y, @inventorylist_identify[.@r], @inventorylist_refine[.@r], @inventorylist_attribute[.@r], @inventorylist_card1[.@r], @inventorylist_card2[.@r], @inventorylist_card3[.@r], @inventorylist_card4[.@r]; end; OnInit: setarray .Blacklist, 5112,5113,5114; // ID's that are not affected by the script .size = getarraysize(.Blacklist); end; }
  25. @Questune09 I think you want the lure to be consumed per fishing attempt? Try this one prt_fild00,262,225,0 script Fishing Hole 723,{ //Fishing rod set .@Rod,2764; //Fishing Lure set .@Lure,2775; //Auto-Fish set .@Auto,1; //Auto-Fish on Fail set .@AutoFail,1; Fish: if (isequipped(.@Rod)) && (countitem(.@Lure)){ specialeffect EF_BUBBLE,"Fishing Hole"; soundeffect "_attack_axe.wav",0; dispbottom "[Fishing] Casting..."; set .@fcast,15; if (isequipped(2550)) { //Fisher's Muffler set .@fcast,.@fcast - 2; } if (isequipped(2443)) { //Fisher's Boots set .@fcast,.@fcast - 2; } if (isequipped(2764)) { //Fishing Pole set .@fcast,.@fcast - 3; } if (countitem(2775)) { //Fishing Lure set .@fcast,.@fcast - 1; } progressbar "ffffff",.@fcast; delitem 2775,1; if (rand(1,20) == 2){ getitem 6096,1; //Fish with Blue Back specialeffect2 EF_TEMP_OK; soundeffectall "see_otter_damage.wav",0,strcharinfo(3); mapannounce strcharinfo(3),strcharinfo(0)+" has caught a Blue Fish!",bc_map,"0xff77ff"; if(.@Auto==1){ goto Fish;}else{ end;} } if (rand(1,6) == 1) ||(rand(1,6) == 3) || (rand(1,6) == 6){ setarray .@Catch[0],579,908,909,963,956,6049,918,960,910,938,624,989,714,619,7720,731,730,732,970,1036,7047,704,719,1054,1053,702,919,7003,720,7210,7169,1068,948,939,925,952,7013,7870,979,1047,957,6035,1055,7220,1011,7043,11601,6096;// List of Junk/Other set .@CatchRand,.@Catch[rand(getarraysize(.@Catch))]; getitem .@CatchRand,1; } else { dispbottom "[Fishing] Nothing was caught..."; if(.@AutoFail == 1){ goto Fish;} else{ end;} } if (rand(1,100) == 3){ setarray .@Rare[0],644,603,617,5317,12211,12208,12103,4049; set .@RareCatch, .@Rare[rand(getarraysize(.@Rare))]; getitem .@RareCatch,1; //Reward mapannounce strcharinfo(3),strcharinfo(0)+" has caught a "+getitemname(.@RareCatch)+"!",bc_map,"0x33CC00"; } if(.@Auto == 1){ goto Fish;} else{ end;} } else { dispbottom "[Fishing] You need a Rod and Lure."; end; } } // Duplicate -------------------------------- prt_fild08,329,301,0 duplicate(Fishing Hole) Fishing Hole 723 izlude,143,222,0 duplicate(Fishing Hole) Fishing Hole 723 hugel,150,135,0 duplicate(Fishing Hole) Fishing Hole 723 niflheim,59,232,0 duplicate(Fishing Hole) Fishing Hole 723 hugel,119,182,0 duplicate(Fishing Hole) Fishing Hole#1 723
×
×
  • Create New...