Register for your free account! | Forgot your password?

You last visited: Today at 22:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] Costume System

Discussion on [RELEASE] Costume System within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 121
Received Thanks: 780
[RELEASE] Costume System

Hello ElitePvPers,
I'm here today to release my Costume System to you all, and you know what's the best part? It's FREE. It's thanks to the server "UniversalElements", without which I would have probably started selling it as well.

So, my Costume System is a dynamic library which needs to be preloaded when executing any game instance, and it will arrange everything on its own to make this System work on your client, provided this supports the costume and has it implemented correctly. If everything it correct on your client (taking the files from official servers should be enough), it will work out-of-the-box.

Important: It only works on game 2089M

Let me start by saying that I have no clear idea of how the official Costume System works, and all I know is what someone else told me: so errors or bugs are likely to be present, but worry not, I will fix them as soon as I have time, if you report them.

There's another side note: the system at the moment is not fully complete yet. In particular, the "expire" part is missing, so the costumes are permanent as of now. This will be implemented in the future, but as I said, when I will have time.

I haven't tested whether bonuses work or not, because I won't use them on my server, but by logic they should work. So, if someone could test this, it'd be great

Okay, so, let's make it work. The library needs to be loaded with the usual LD_[32_]PRELOAD method, I won't write how to do that once again, you can search on EPVP or Google about that.
As for the item_proto, the client one needs no editing (if you took the costumes part from the official client). The server one, on the other hand, needs the following edits:
  • Costumes need to be type "28", the subtype needs to be "0" for armor-costumes and "1" for hair. The weapon-costume is not yet implemented on official servers, so I didn't implement it as well (even though everything is ready to make it work).
  • Not needed anymore - Costumes need a specific wearflag. It's 0x1000 (4096 in decimal notation) for armor-costumes and 0x2000 (8192 in decimal notation) for hair.
  • Make sure the "value3" field matches both the one in the clientside item_proto and the ShapeIndex of the costume in characters' MSMs.
Other serverside modifications:
  • Modify the player table of your database, in particular the column "part_main": make it unsigned, and also make sure that it's a SMALLINT. Or you can run this query:
    Code:
    ALTER TABLE `player`
    MODIFY COLUMN `part_main`  smallint(6) UNSIGNED NOT NULL DEFAULT 0 AFTER `ip`;
That should be all.


Password: UniversalElements

If, by chance, you'd like to donate something for this library as I'm releasing it for FREE (while others were selling this for €50+), I'd be very grateful. Also, I'm sure a donation would boost possible bugfixes and further development


Changelog:
  • Version 1.2.4: Fixes wearflag bug. The library still needed a wearflag to be set, despite ignoring which one.
  • Version 1.2.3: Fixed the other hair bug, which consisted in the saved hair value to be overwritten at login. Set part_hair in the "player" table to 0 to solve it. - Removed the need to set the wearflag for costumes. It will only rely on the type and subtype now. - Fixed mysql_query bug (or at least I think so), thanks to BlackYuko for the suggestion.
  • Version 1.2.0: Costumes are now shown in character selection, and the hair bug is fixed.
    N.B.: To make character selection work properly, you need to modify the player table of your database, in particular the column "part_main": make it unsigned, and also make sure that it's a SMALLINT. Or you can run this query:
    Code:
    ALTER TABLE `player`
    MODIFY COLUMN `part_main`  smallint(6) UNSIGNED NOT NULL DEFAULT 0 AFTER `ip`;
  • Version 1.1.0: Initial release
ricky92 is offline  
Thanks
112 Users
Old 06/05/2013, 12:52   #2
 
dstyl's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 428
Received Thanks: 192
Thanks 4 ur release but the download-link doesn't work. ^^
dstyl is offline  
Old 06/05/2013, 12:52   #3
 
elite*gold: 0
Join Date: Sep 2012
Posts: 242
Received Thanks: 666
Download ist down
.RuffyDCapone™ is offline  
Old 06/05/2013, 12:55   #4
 
elite*gold: 0
Join Date: Apr 2009
Posts: 121
Received Thanks: 780
Sorry, fixed. XD
ricky92 is offline  
Thanks
6 Users
Old 06/05/2013, 13:25   #5
 
elite*gold: 0
Join Date: Apr 2013
Posts: 6
Received Thanks: 3
what is this file called ( lib_costume_ricky92.so )

i mean what can i do with it to make the customs work ??
DEMONKINGZ is offline  
Old 06/05/2013, 13:30   #6
 
PauloFerreira19's Avatar
 
elite*gold: 20
Join Date: Dec 2012
Posts: 67
Received Thanks: 34
@ricky92, can you post video or print?

Btw, thx for post this, i will test it later
PauloFerreira19 is offline  
Old 06/05/2013, 13:50   #7
 
elite*gold: 0
Join Date: Apr 2009
Posts: 121
Received Thanks: 780
Here's a screenshot:
ricky92 is offline  
Old 06/05/2013, 13:58   #8
 
elite*gold: 0
Join Date: Feb 2012
Posts: 35
Received Thanks: 5
Can you give me in an PM clientside? I have a s**t speed to download official client...
NeverSayDi3 is offline  
Old 06/05/2013, 13:59   #9
 
elite*gold: 0
Join Date: Apr 2012
Posts: 89
Received Thanks: 25
You Are BOSS dankee
xxmehmetcc is offline  
Old 06/05/2013, 14:08   #10
 
elite*gold: 0
Join Date: May 2013
Posts: 74
Received Thanks: 69
and where are the Clientfiles for this ? ...

and Thanks for release
.J0ka is offline  
Old 06/05/2013, 14:10   #11
 
vinni03's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 194
Received Thanks: 106
nice
vinni03 is offline  
Thanks
1 User
Old 06/05/2013, 14:33   #12

 
Aze /..'s Avatar
 
elite*gold: 220
Join Date: Oct 2011
Posts: 7,369
Received Thanks: 7,610
Ehm, this is not the full System?
There is no Dif-File ^-^
Aze /.. is offline  
Thanks
1 User
Old 06/05/2013, 14:42   #13
 
Spartan#117's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 151
Received Thanks: 149
Quote:
Originally Posted by .AweZome' View Post
Ehm, this is not the full System?
There is no Dif-File ^-^
You don't need any dif file, because it's a library which integrates itself into the game.

Thanks, ricky92!
Spartan#117 is offline  
Thanks
2 Users
Old 06/05/2013, 14:43   #14

 
Ocelot2606's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,086
Received Thanks: 3,786
Wie kann man die starten?
Ocelot2606 is offline  
Thanks
1 User
Old 06/05/2013, 14:47   #15
 
elite*gold: 5
Join Date: Oct 2010
Posts: 1,692
Received Thanks: 1,772
Quote:
Originally Posted by Ocelot2606 View Post
Wie kann man die starten?
Quote:
Originally Posted by ricky92 View Post
Okay, so, let's make it work. The library needs to be loaded with the usual LD_[32_]PRELOAD method, I won't write how to do that once again, you can search on EPVP or Google about that.
As for the item_proto, the client one needs no editing (if you took the costumes part from the official client). The server one, on the other hand,


64bit:
Code:
env LD_32_PRELOAD=/usr/home/game/lib_costume_ricky92.so /HIER/CODE/ZUM/CORE/STARTEN
32bit:
Code:
env LD_PRELOAD=/usr/home/game/lib_costume_ricky92.so /HIER/CODE/ZUM/CORE/STARTEN

EDIT:
Hatte bei der 64bit Variante was falsches stehen
DasKuchen is offline  
Thanks
7 Users
Reply


Similar Threads Similar Threads
[Release]AddOn for Costume System :-)
06/09/2013 - Metin2 PServer Guides & Strategies - 32 Replies
Guten Abend, Ich möchte euch mit diesem Thread mein in 2 Minuten erstelltes AddOn für das Kostüm System geben. Es funktioniert für die Quest Version und für die Lib Version. Es ist ein kleines AddOn und gehört eigentlich in den Kleine Release Bereich, aber da ich dort bereits als letztes Gepostet habe, schreibe ich es hier rein. ;) Dieses AddOn bewirkt, das wenn ihr euer Kostüm System auszieht und es zurück in euer Inventar geht, nichts im Chat angezeigt wird (Beispiel: Du hast...
[Release] Costume System
05/25/2013 - Metin2 PServer Guides & Strategies - 21 Replies
. //Close
[Release] Costume system function
12/30/2012 - Metin2 PServer Guides & Strategies - 3 Replies
closed sry my fault
[RELEASE]Costume System's Dif
08/30/2012 - Metin2 PServer Guides & Strategies - 22 Replies
Hey guys in the end i discovered to costume system adding type 28. It was hard that just send me a private message, Greetz
[Release?]Costume-System
08/20/2012 - Metin2 PServer Guides & Strategies - 6 Replies
EDIT FAIL close request



All times are GMT +2. The time now is 22:12.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.