Jump to content

Recommended Posts

Posted (edited)

Hello guys,

I had a request to make a donation manager but when i finished the guy decided to not open his server (wtf?) so the npc is now useless to me.

 

What is this?

  • A donation manager that selling packages with items and stats like nobl,rec etc.
  • Categories can be added easily i will explain later
  • Current added categories:
  • Bronze,Silver,Gold,Platinum,Diamond,Master,Grandmaster

 

How to configure it?

  • newXml.PNG.72fd05b2f10a38776e178dcde7d94e1e.PNG
  • Its configurable via xml

 

How i can add items?

  • <Package item="57,500"/>

    Will have as a reward 500 adena.

 

How i can add enchanted item?

  • <Package item="7575,1" enchant ="15"/>

    Will have as reward draconic bow +15

 

How to add stats like nobl?

  • <Package noblesse="true"/>
    <Package autoDyes="true"/>
    <Package rec="50"/>

    It is can handle noblesse,auto dyes (depends on the current class of the player) and recommends.

 

 

Some photos:

 

index.PNG.59092a0309d36ec906008d974be7b10b.PNGlist.PNG.3aba01faf612e9401c9108172dac4b11.PNGbronze.PNG.98fff4def7ce2716964d124da6b0ae77.PNGsilver.PNG.efb551ecf4863acb5e50198b40088da5.PNGgold.PNG.50ff4c6f395882f1ac8cfb90c7767fbe.PNGplatinum.PNG.95ba89f3b728ce3908678f6f98622116.PNGdiamond.PNG.e91383d2dfb11e980908b43cfc1433c2.PNGmaster.PNG.8229adbaf057a4b03d6062d0de60a959.PNGgrandmaster.PNG.5da5a0c401b3c1092f41d4f7f2217da6.PNG

 

 

I wont upload video ...

I'm not sure about in which aCis rev is coded but it does not matter.

Also i'm not friend with html designs, so don't hit me :D

 

P.s Auto dyes system is setted up by my opinion about dyes. You can easily edit it in DonationDyes.java

dyes.PNG.b4c2dfeffa62d594c128dcc3f997a148.PNG

 

 

code

data/html/mods/donate/

data/xml

 

 

Edited by melron
  • Like 1
  • Thanks 2
  • Upvote 1
Posted (edited)
45 minutes ago, .Elfocrash said:

Nice one.

 

Here is a slightly refactored version of the code: https://pastebin.com/5wiEC1TC

nice one elfo . thanks ;) i'll add the changes in some hours

Edited by melron
Posted
2 hours ago, Solomun said:

Nice job. Thanks for share :)

 

21 minutes ago, Designatix said:

Epic share once again! Thanks for sharing buddy!

thanks guys

Posted

In my opinion you should change the way you add the price for a category.
It should be like this

<Donation category="Bronze" price="ItemID,Amount">

Just my opinion tho.

Posted

Improved by elfo . Thanks!

 

 

6 minutes ago, L2J NexuS said:

In my opinion you should change the way you add the price for a category.
It should be like this


<Donation category="Bronze" price="ItemID,Amount">

Just my opinion tho.

 

It can be done by many ways. I had it like this since it was a request. (i prefer your way too)

Posted
52 minutes ago, .Elfocrash said:

You didn't really use the meaningful improvements.

 

Few of the things I changed but you chose to ignore:

 

There are things that should be final but aren't and things that aren't final but they should be, classes and methods responsible for things that shouldn't be (such us the find method having an unjustified Supplier for no reason), streams not used in the best way possible, stringbuilders with size limits that don't make sense, a parseInt method name that is deceiving, method summaries that shouldn't be there, string equality checks that start from the value you need to check against instead of the value you are actually checking and a public singleton constructor that shouldn't be public.

for some reasons i didnt update the pastebin with the latest code . i was checking the code idk what happened.. now it's updated with what ever was missed. 

 

Well thats why im sharing things , it is better for me to see post like this instead of good code etc.

 

34 minutes ago, ImBatman said:

Sir he is amateur don't you see? The whole code he made is amateur style. As i see from your coding you seem like a person who has finished a college and worked in few companies and you try to help by not providing solution but advice instead. Thats very nice for you but for his experience and knowledge he need to give priority in thinking and structure rather than limits and wrong steams. 

 

In this case you are even worse. At least he spent some minutes to update my code . what about you? ofc i'm amateur , do you think he does't know that? 

Posted
17 minutes ago, ImBatman said:

Thanks for calling me worse. I'm glad you felt offended because i called you amateur. Nice moderator respond from a person who wrote a positive comment toward someone

No I didn't felt anything. If you want to be the smart one, prove your words to him in order to learn too your better way. You are saying that the way he is talking isn't correct for amateurs even if he is helping by writing some codes. On the other hand you did nothing except telling him he is wrong. What's the point then?

Posted
3 hours ago, .Elfocrash said:

There are things that should be final but aren't and things that aren't final but they should be

I think this means the same thing :) :) :)

Posted

Didn't read the code, but from the looks of it it seems so bad... Why would someone use this instead of multisells

Posted
47 minutes ago, xxdem said:

Didn't read the code, but from the looks of it it seems so bad... Why would someone use this instead of multisells

This was my first thought when i heard about it. The guy should had his purpose idk :P

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • https://jumpshare.com/share/kIdeKALOhgtMKpBKqxpg Test Equip Armors-> FullPlate, Gloves, Legs, Chest , Boots
    • 黑色星期五 — 为您的流量提供高级福利 仅在11月28日,我们的特别促销码可为您提供13%的商店折扣。 促销码: BLACKFRIDAY (13% 折扣) 您可以通过我们的网站或 Telegram 机器人在商店购物! 有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram Messenger 方便访问商店。 其他服务: 虚拟号码服务: 前往 用于购买 Telegram Stars 的机器人: 前往 – 快速且优惠地在 Telegram 中购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们向您呈现当前的 促销和特惠活动 列表,用于购买我们服务的产品和服务: 1. 您可以在首次购买时使用促销码:SOCNET(15% 折扣) 2. 获取 $1 商店余额或 10–20% 折扣 — 只需在我们网站注册后发送您的用户名,格式如下:“SEND ME BONUS, MY USERNAME IS...” — 您需要在我们的论坛帖子中写下这句话! 3. SMM 面板首次试用可获得 $1:只需在我们的网站(支持)提交主题为“Get Trial Bonus”的工单。 4. 我们的 Telegram 频道和 Stars 购买机器人每周都会举办 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store
    • BLACK FRIDAY — PREMIUM BENEFITS FOR YOUR TRAFFIC Only on November 28 our special promo code gives you a 13% discount in the store. PROMO CODE: BLACKFRIDAY (13% Discount) Shop in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go Store Telegram bot: Go – convenient access to the store via Telegram messenger. Other services: Virtual numbers service: Go Telegram bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service's products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject "Get Trial Bonus" on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Usually, I work alone on my projects, but sometimes the work is much more than I've expected. Could you provide a price list? It would be good if we knew your price before contacting you. 
    • BLACK FRIDAY — PREMIUM BENEFITS FOR YOUR TRAFFIC Only on November 28 our special promo code gives you a 13% discount in the store. PROMO CODE: BLACKFRIDAY (13% Discount) Shop in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go Store Telegram bot: Go – convenient access to the store via Telegram messenger. Other services: Virtual numbers service: Go Telegram bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service's products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject "Get Trial Bonus" on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock