Jump to content

Recommended Posts

Posted

hi there, this is a simple code I made for a guy some time ago, and since I work for free I decided to share it here.

 

So this is a command /dressme which when you press it you become disguised, it hides your armor. You may wear dynasty or w/e else but others will see you with a specific armor which the admin decides via the provided XML. The results? see yourself

33jsnx2.png

 

Download: http://www.4shared.com/rar/G2Z4OFwe/DressMe.html? ,Pass: drake2wow

An install guide comes with the download link.

 

The configuring XML:

<list>
<dressme glovesId="6380" chestId="6379" legsId="0" bootsId="6381" />
</list>

Credits me

  • Upvote 1
Posted

You should not get the ids from a static xml file but allow each player to define ids by himself. The way we did it in L2Relapse/Retro on the past was:

 

1)Wear the visual set.

2)Press dressme command to grab all those ids from the current ( visual ) armor and store to the db.

3)Change to your main armor and populate UserInfo, CharInfo from the information found on the DB for every character.

 

Remember, dressme is all about letting players decide how they wanna look like, not force them to look like an xml says ;)

Posted

You should not get the ids from a static xml file but allow each player to define ids by himself. The way we did it in L2Relapse/Retro on the past was:

 

1)Wear the visual set.

2)Press dressme command to grab all those ids from the current ( visual ) armor and store to the db.

3)Change to your main armor and populate UserInfo, CharInfo from the information found on the DB for every character.

 

Remember, dressme is all about letting players decide how they wanna look like, not force them to look like an xml says ;)

 

The only reason I made it this way, is because I dint want db connections, the datatables as xml loader is there so if you want to add IDs it would be easy for the user, for example

 

/dressme draconic

 

<list>

<dressme name="draconic" glovesId="6380" chestId="6379" legsId="0" bootsId="6381" />

<dressme name="imperial" glovesId="6380" chestId="6379" legsId="0" bootsId="6381" />

</list>

and so on.

 

The code can be further developed to reach its full potential without any db connection.

 

As for the userinfo, userinfo stands for what you see, my dressme tricks the players who see you, those who get the charInfo, not urself ;)

 

Posted

Anyhow different opinions :P Good luck with the share ( and dont get affected by idiots like borntobeahero ).

 

he is trolling ;D

  • 1 month later...
Posted

I have a better DressMe script.

The one wich Leluche said about.

 

Dude no offence but you don't have the proper java knowledge to say if something is bad or if something is better, this system is very light and buggless, random db connection like the code ur reffering about can bring the server down in minutes

 

 

DB connection means harddisk->ram->cpu on the other hand my uses ram->cpu

 

harddisk responds in miliseconds while cpu and ram in nanoseconds, so you make the process 1000x slower and heavier just like that.

 

 

 

 

PS: I dont want to be the smartass, but you guys have to understand that db connection is a critical process, and should be used only on GS Loading/Shutdown only, with rare exceptions

Posted

Dude no offence but you don't have the proper java knowledge to say if something is bad or if something is better, this system is very light and buggless, random db connection like the code ur reffering about can bring the server down in minutes

 

 

DB connection means harddisk->ram->cpu on the other hand my uses ram->cpu

 

harddisk responds in miliseconds while cpu and ram in nanoseconds, so you make the process 1000x slower and heavier just like that.

 

 

 

 

PS: I dont want to be the smartass, but you guys have to understand that db connection is a critical process, and should be used only on GS Loading/Shutdown only, with rare exceptions

Don't need any java knowledges for that.

I'm just saying u can have infinite possibilities to dress yourself. And with a wooden MACHINE could be a problem yea. But now we are in 2013 right? Tons of ram , high processors. And i don't think i will reach 15 000 players to be afraid about any damage from that sistem.

 

In conclusion: What i use is better ^^. No offence, but u need to admit that sometimes other do better things. Right?

Didn't said your is trash, just that i owe a better one.

Posted

Don't need any java knowledges for that.

I'm just saying u can have infinite possibilities to dress yourself. And with a wooden MACHINE could be a problem yea. But now we are in 2013 right? Tons of ram , high processors. And i don't think i will reach 15 000 players to be afraid about any damage from that sistem.

 

In conclusion: What i use is better ^^. No offence, but u need to admit that sometimes other do better things. Right?

Didn't said your is trash, just that i owe a better one.

 

Will you get dissapointed if I tell you that even the one you own can be created throuth my system WIHTOUT db connection ?

Guest
This topic is now closed to further replies.


  • Posts

    • Good luck with your g/o 😃
    • You're talking complete nonsense. The source code of SphereAPI, which handles all requests, is closed and has never been published anywhere.     That return $this doesn't affect anything, PHP just ignores it. Why are you showing it?     Yes, of course I want that, and I’m asking you — go ahead and hack it, I’d even be thankful. The most you can probably do is launch a DDoS attack, but that’s not hacking. The IP you see is just a public one, used by default to handle requests. There are many other IPs involved, which aren’t disclosed for privacy reasons. So, when should I expect your hacker attack? If you fail, it means you talked big for nothing. I hope you're not all talk and can actually back up your words. UPD: To make your task easier, I have disabled limits on incorrect and failed requests, so your site/IP won't get blocked.
    • Lineage2Dex Interlude+ x50 Server launches TODAY!       The wait is over – the Lineage2Dex Interlude+ x50 Server launches TODAY! Grand Opening - April 26 at 19:00 (UTC+3) Over 10,000 registered accounts are ready to dive in! Beta with massive activity over, thx all who participate on it! It's time to begin your real Jorney! 👉 Read full roadmap 👉 Full server description 👉 Download and registration The server will be split into 3 stages, each featuring multiple content episodes. Stage 1: April 26 – May 18 Welcome to the Classic Interlude Phase. This stage is built with minimal custom content, focused on delivering that pure Interlude experience. It’s perfect for both new players unfamiliar with our project and veterans who enjoy a traditional start. Expect a smooth and nostalgic journey with familiar mechanics. Stage 2: May 19 – June 22 Time to expand the world! As most Interlude content gets completed, we gradually introduce new elements. Hellbound will open first, followed by weekly content updates. Midway through this stage, the Isle of Prayer will become available — a new zone featuring Dynasty Gear and fresh challenges. Stage 3: From June 23 Welcome to full content access! Some location become to High-level location, offering great reward! Once this phase concludes, a full merge with Union server will take place — and yes, all your characters and items will carry over safely. We wish everyone a smooth start, fair play, and tons of fun on the new x50 server! See you in-game!
    • Hello everyone! I'm offering professional L2J development services, specialized for aCis projects.   🔹 What I offer: Ready-to-implement existing systems (events, features, gameplay improvements). Custom development: I can create new systems based on your specific requests and ideas. Bug fixing, optimization, and enhancement of your server's code. Professional, clean, and organized Java coding. Support after delivery to ensure smooth integration.   🔹 Some examples of available systems: PvP and PvE Mini-Events (fully automated). Custom Raid Boss Events. Advanced Clan Utilities (regroup features, clan ranking, etc). Reward Systems (based on kills, damage, objectives, etc). Achievements Subscription system Arena Fights (1v1 tournament, scratch made). Advanced event engine (12 events, many features). multi-client aCis project, progressive gameplay C4 to C6   🔹 Why work with me? Years of experience working directly with aCis pack. Fast, reliable communication. I care about performance and long-term stability. I can adjust the systems to fit your server's style and balance.   🔹 Pricing: Flexible depending on the complexity (fixed price per project or per system). Discounts for multiple systems or long-term collaboration.   🔹 Contact: MaxCheaters PM Discord: @Luminous   Serious and passionate about your project? Let's make your server unique!
  • Topics

×
×
  • Create New...