Jump to content

Recommended Posts

Posted

Well, this is a SlotMachine style NPC that I created long time ago and I didn't give him any use, so I'll share it.

 

How it works? First of all you can configure it via .properties file so it's easy for newbies. Then, the NPC consumes X quantity of items and X am.ount of those items for each try, when you try once, the npc starts showing you a html with 3 icons, each slot has 3 possible items, the NPC randomly change every slot X times so if you have luck and after all 3 moves all 3 icons are the same, gz you won, otherwise the items were consumed and you won nothing, try it again.

As I said, feed and reward is easy configurable, same with NPC ID and with the Server Name, which will appear in the html shown by the NPC.

 

Have fun, here a video if u didn't understand how it works.

 

And yes it's done using Thread.sleep(); I know... if u don't like, rework it with ThreadPool.

 

Coded for L2jServer H5

 

 

 

 

Posted

correct me if im wrong but it sends more than 15 html packets right?

yep, maybe not recommended for populated servers xddd

didn't know any other way to simulate the slotmachine effect when I coded it, do you?

 

still funny in my opinion xd

Posted

actually neither I did, its the only way of making this happen.... L2J limits :)

 

edit: Client mostly to be accurate

  • 3 months later...
  • 1 month later...
  • 2 weeks later...
Posted

before apply manually this and test can u tell me is for freya chronicle (l2java)?

 

or it require adopt for freya? (ct2.5)

It should work for freya yes.

Posted

before apply manually this and test can u tell me is for freya chronicle (l2java)?

 

or it require adopt for freya? (ct2.5)

 

Coded for L2jServer H5

 

Read carefuly next time. And yup, its gonna work on freya also.

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.



  • Posts

    • I am selling my l2jeternity high five (all inclusive option $300) license+daily $50(mission) mod, autofarm, this is a very good and stable H5 assembly on market if you know how to run it properly, project developer LordWinter also a very passionate person and active in daily basis, because I am no longer using it, selling this out to put in good use for new h5 l2project. I am selling this for $180, pm me for details/offer. thanks *Sale and rebinding with the consent of the developer LordWinter payment option : paypal/crypto telegram: @arcadin77  
    • Hello friends, good morning, good afternoon or good evening, depending on the time you are seeing this! I have been trying to decompile and compile again with only the classes that I want LineageEffect.u for a few days now, but I have not been successful. Could someone help me by clearing up some doubts about how I can do this work and be successful?!
    • **INTERLUDE REMASTERED** Moonland is a server that's been running for about three years without wipe, and they don't plan on wiping it anytime soon. I'm selling my items or even the account due to not having much time to play anymore. I'm selling only for $$$. Not going to disclose my nickname in the server, but here are some of the items: Lvl 5 equipment for both mage and fighter +100 mage pvp set 2mastery jewels for fighter, 2 for mage, blessed antharas, blessed queen ant, ring of fallen angel, earring of fafurion. 1k + col, VIP cosmetics for armor, agathion and weapons(duals + mage wep)   I'm only selling for real money via paypal or cs2 skins so don't offer me anything else.
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • Create New...