Jump to content
Sign in to follow this  
Aeromesi

Ragnarok Gacha System

Do you use my scripts for your Server?  

14 members have voted

  1. 1. Do you use this for your Server?



Recommended Posts

[Ragnarok Gacha System]
Pull for Weapons.
Pull for Armor.
Pull for Cards.
Simply Gacha.

 

 

 

 

New features:

1) Be able to cycle back to main menu and quickly select new item to roll for.

2) Sound is disabled by default, so if you don't want to add client files, don't worry about it. Just put the script in server and test it out.

3) If your weight is above or equal to 50% you won't be able to gacha pull. Just imagine hitting 100% weight and your gacha item drops and someone snatches it real quick, that would be horrible.

 

Default values (Edit OnInit Label):

    .gachaPulls = 20; // How many gacha pulls they need until they can pull for a card
    .weaponChance = 2; // Weapon chance 2%
    .armorChance = 2; // Armor chance 2%
    .weaponFee = 500000; // Weapon fee
    .armorFee = 400000; // Armor fee
    .cardFee = 900000; // Card fee

$@godItems is an array of item ID's, these item ID's cannot be pulled (god items, super rare cards like gtb, etc, basically any item you don't want pulled add to the array).

Link to download:
https://github.com/Aeromesi/AeromesiCodes/blob/master/Scripts/customnpc/gacha.txt



 

 

Share this post


Link to post
Share on other sites

In the 1.3 update im going to make the value for fumb20 variable whatever you want. Instead of having it be 20 you can configure what you want.

UPDATE:
 

1.3 Update (1/24/2015)
 
Added Server Name variable .@ServName$ so you may set your server name when Fumbi specifies him coming to your Server
 
Made the script more customizable, now you are able to choose what amount of fumbi roll attempts you want, instead of 20 fumbi rolls, you can simply edit it from the fumbirolls variable!
Edited by Aeromesi

Share this post


Link to post
Share on other sites

This is a nice system.



But I like the pvp. It can replace the bg system. Hope you would release it to the public.  :D

Share this post


Link to post
Share on other sites

OMFGWTFBBQ FINALLY A COMMENT! RIGHT WHEN I WAS ABOUT TO DELETE THIS POST!

Well my script is based off Vykimo's script that's not on the internet anymore, I fixed it up, if I have it fully featured and working I'll release it

EDIT: Updating fumbi to 1.3. I realized a lot of outdated code I need to switch out, especially the menu's with switch(select())

Edited by Aeromesi

Share this post


Link to post
Share on other sites
  On 3/15/2015 at 6:35 AM, - Mariel said:

I'm hoping to use the latest revision! Thanks for this! and I hope you can fix the PVP/BG script sooner!

1.4 Update is available now :D

 

 

Scratch that, found a few errors..

Edited by Aeromesi

Share this post


Link to post
Share on other sites
  On 3/16/2015 at 9:06 PM, Aeromesi said:

 

  On 3/15/2015 at 6:35 AM, - Mariel said:

I'm hoping to use the latest revision! Thanks for this! and I hope you can fix the PVP/BG script sooner!

1.4 Update is available now :D

 

 

Scratch that, found a few errors..

Just take your time ! :)

Share this post


Link to post
Share on other sites
  On 3/17/2015 at 4:37 PM, - Mariel said:

 

  On 3/16/2015 at 9:06 PM, Aeromesi said:

 

  On 3/15/2015 at 6:35 AM, - Mariel said:

I'm hoping to use the latest revision! Thanks for this! and I hope you can fix the PVP/BG script sooner!

1.4 Update is available now :D

 

 

Scratch that, found a few errors..

Just take your time ! :)

 

 

Enjoy the 1.5 update to the Fumbi System, everything is grinded out, correctly programmed for Hercules!

Share this post


Link to post
Share on other sites
  On 3/18/2015 at 1:10 AM, Aeromesi said:

 

  On 3/17/2015 at 4:37 PM, - Mariel said:

 

  On 3/16/2015 at 9:06 PM, Aeromesi said:

 

  On 3/15/2015 at 6:35 AM, - Mariel said:

I'm hoping to use the latest revision! Thanks for this! and I hope you can fix the PVP/BG script sooner!

1.4 Update is available now :D

 

 

Scratch that, found a few errors..

Just take your time ! :)

 

 

Enjoy the 1.5 update to the Fumbi System, everything is grinded out, correctly programmed for Hercules!

Is the map of custom BG included?

Share this post


Link to post
Share on other sites

I skimmed through your script and I think it needs optimizing, you have like 10+ same cases.

Try to use callsub/callfuncs to shorten your script.

Share this post


Link to post
Share on other sites
  On 3/19/2015 at 10:21 AM, quesoph said:

I skimmed through your script and I think it needs optimizing, you have like 10+ same cases.

Try to use callsub/callfuncs to shorten your script.

I wanted to but the function for the array on goditems makes it so i cant call upon one label

 

This code:

 

.@item = callfunc ("Fumbi_Roll",1101,1190);

 

Makes it so there needs to be multiple cases, this function is very important in the script, it calls the function fumbi_roll that contains the array $GodItems, every id stated in that array is excluded in the 1101-1190 item IDs, that would be the swords if I am correct

Edited by Aeromesi

Share this post


Link to post
Share on other sites

Example:

 

  Reveal hidden contents

 

Edited by quesoph

Share this post


Link to post
Share on other sites

Nice revised version of the Fumbi system quesoph. though I have to say I changed the sleep2 counter back to 2000, as its part of the Fumbi system in s4 league with the same wait in between when they Fumbi. Also the card system didn't work with whatever you used, so I had to put the function back in for the card system. Other then that I kept all the callsubs. New final update coming soon. (I hope xD!)

Share this post


Link to post
Share on other sites

Updated to 1.7, for those using the Fumbi system, I recommend you switch over to 1.7, it's better than ever~!

Remember, if you like my work/intend to use it, rep me up or view my signature below :)

Share this post


Link to post
Share on other sites
  On 1/22/2015 at 6:51 PM, Aeromesi said:

 

[Fumbi System Version 1.7]

Now, what exactly is the Fumbi System?

 

Fumbi explanation: You are able to "Fumbi" an Weapon or Armor in this NPC for an x amount of Zeny, it randomly gives you the chances of getting any Weapon or Armor in Ragnarok, and after whatever Fumbi roll attempts you configured, you get the chance to try and Fumbi a card. This is a fool-proof system though, you CANNOT attempt to Fumbi ANY god Weapons or Armors, or cards like Maya Purple or GTB and so forth. All those "banned" from the Fumbi roll, is located in the array .GodItems

 

This idea as long as the sprite animations are consisted of a game called S4League, a third person shooter with amazing platforming, give it a try you won't be disappointed!

 

PS: The Weapons and Armor have every category, like maces, spears, swords, etc and for armors, accessories, garments, boots, etc... Forgot to include that in this post, it has multiple options for you to choose from!

 

Instructions which is included in the fumbisystem.txt:

 

/* Configuration method:								Server Side:		.ArmChance handles the success rate of which you fumbi an Armor		.WpnChance handles the success rate of which you fumbi an Weapon		.wpnfee handles the fee amount for attempting to fumbi an Weapon		.armfee handles the fee amount for attempting to fumbi an Armor		.carfee handles the fee amount for attempting to fumbi an Card		.fname$ = The NPC's name, hence Fumbi		fumb_attempts is the variable at which you gain Fumbi points for playing towards getting a chance to Fumbi a card!		Edit the header script to your own map and add in the view ID 10099 for the Fumbi sprite.								Client Side:		What's included is the wav files for the sound effects of the actual Fumbi, and the Sprites of the Fumbi		There is a still sprite of the Fumbi and a moving sprite of the fumbi, so you can choose what you want to use		Repack your customgrf.grf with the fumbi.grf, I also left in the raw data for some reason								Last but not least, enjoy! */

 

Here's a video that visually details more about the Fumbi System:

 

 

 

Enjoy 1.7 Hercules!

 

Regards,

 

Aeromesi

HI do u have the touch down script ?

Share this post


Link to post
Share on other sites

Yes I have two versions one that @@vykimo made for me and his old version that my friend Garr helped me recode. I won't release the new version because I paid for it but maybe the old one garr helped me fix

Share this post


Link to post
Share on other sites

I updated this script, made it more clean feeling switching through the menus. Rerolling is quick and easy now. I also renamed the file and text to a gacha system.

New features:
1) Be able to cycle back to main menu and quickly select new item to roll for.
2) Sound is disabled by default, so if you don't want to add client files, don't worry about it. Just put the script in server and test it out.
3) If your weight is above or equal to 50% you won't be able to gacha pull. Just imagine hitting 100% weight and your gacha item drops and someone snatches it real quick, that would be horrible.

Default values (Edit OnInit Label):

    .gachaPulls = 10; // How many gacha pulls they need until they can pull for a card
    .weaponChance = 12; // Weapon chance 2%
    .armorChance = 12; // Armor chance 2%
    .weaponFee = 500000; // Weapon fee
    .armorFee = 400000; // Armor fee
    .cardFee = 900000; // Card fee

 

$@godItems is an array of item ID's, these item ID's cannot be pulled (god items, super rare cards like gtb, etc, basically any item you don't want pulled add to the array).


Link to download:
https://github.com/Aeromesi/AeromesiCodes/blob/master/Scripts/customnpc/gacha.txt

Share this post


Link to post
Share on other sites

For anyone that downloaded the new version yesterday I highly suggest using the update I just uploaded, there were errors I overlooked but now are fixed.

The check for getting weapons or armor at their desired % rate was inaccurate, now it's good to go!
Also a couple changes were made to the default config:
1) Have to pull 10 times to try and gacha a card.
1) 12% for weapons and armor
1) 10% for a card.

View the changes here:
https://github.com/Aeromesi/AeromesiCodes/commit/4e0decf974ddf95ab60cf264c642e28fcc374d50


 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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