Register for your free account! | Forgot your password?

You last visited: Today at 04:28

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

Advertisement



Model Switcher

Discussion on Model Switcher within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old 01/22/2015, 22:50   #31
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 762
Quote:
Originally Posted by magicanoo View Post
How is it the same?

Adding every scroll separately :
-18 weapons x 4 different skins = 72 scrolls
-adding 72 "if" statements in the _addtimedjob
-each if statement will contain separate (select weapon id/check if the old item ID is correct/update the new ID).
What if a user used a spear switch scroll on a sword scroll? execution will fail? you'll give him another scroll after teleporting him?
does he have to buy a specific scroll for each item? are you serious?


one scroll per skin degree:
-4 scrolls
-4x "if" statements
-each "if" statements will contain (select weapon id/case statement with all the possible items/update the new ID).
This way it becomes GENERIC and with LESS code.
Nope, that's not required not even on xExorcists method


his method will be something like:

SELECT @NewSkin = CodeName + '_SKIN_' + @DEGREE

so it will look like that

ITEM_CH_SWORD_11_A_RARE > ITEM_CH_SWORD_11_A_RARE_SKIN_08

so there is just a scroll for each degree required... but i still prefer my method
Syloxx is offline  
Old 01/22/2015, 22:53   #32


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Quote:
Originally Posted by magicanoo View Post
How is it the same?

Adding every scroll separately :
-18 weapons x 4 different skins = 72 scrolls
-adding 72 "if" statements in the _addtimedjob
-each if statement will contain separate (select weapon id/check if the old item ID is correct/update the new ID).
What if a user used a spear switch scroll on a sword scroll? execution will fail? you'll give him another scroll after teleporting him?
does he have to buy a specific scroll for each item? are you serious?


one scroll per skin degree:
-4 scrolls
-4x "if" statements
-each "if" statements will contain (select weapon id/case statement with all the possible items/update the new ID).
This way it becomes GENERIC and with LESS code.
​Exo is offline  
Old 01/22/2015, 22:54   #33
 
elite*gold: 0
Join Date: Feb 2008
Posts: 961
Received Thanks: 648
Old ID -> old codename ->add extenstion to codename ->convert new codename to ID??

Why not just from ID to ID ?
magicanoo is offline  
Old 01/22/2015, 22:57   #34
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 762
Quote:
Originally Posted by magicanoo View Post
Old ID -> old codename ->add extenstion to codename ->convert new codename to ID??

Why not just from ID to ID ?
its true, its not the best method this is why i prefer mine

but its way faster then your method
Syloxx is offline  
Old 01/22/2015, 22:58   #35


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Quote:
Originally Posted by magicanoo View Post
Old ID -> old codename ->add extenstion to codename ->convert new codename to ID??

Why not just from ID to ID ?
Because, it's impossible to know the ID automatically if there's no pattern.
​Exo is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Suche jemanden mit LC Model Switcher
11/26/2013 - Last Chaos - 1 Replies
topic meldet euch per pn oder im thread dann wird weiter besprochen lg
Help with switcher
08/25/2013 - Metin2 Private Server - 0 Replies
Hello! i use this swithcer and i need change time with use item 71084 sry,im bad speak english..
Model viewer und model dateien finden und in cinema 4d importieren
09/20/2012 - Aion - 1 Replies
Hallo Ich würde gerne mir die Aion Models fuer ein anderes Game nehmen und diese in cinema 4d importieren. Bisher habe ich die .pak datei entpackt und in der dort entstandenen zip datei viele dateien gefunden. Nach suchen bin ich zur erkenntnis gekommen das ie .cgf dateien die model sind (richtig?) MNun weiss ich aber nicht wie ich mir diese anschauen kann und dann in cinema 4d importieren kann. gibt es dafuer irgendein tool?
about the 2012 new pets model files and the weapon model files!
09/19/2012 - SRO Private Server - 2 Replies
who can tell me how to add the new pets in silkroad?and who can tell me how te add the new weapons silkroad? who can share 2012 new pets model files?THANKS!!!
DSS SWITCHER
05/31/2011 - Metin2 Private Server - 3 Replies
Hallo elitepvpers, Ich hab einen REQUEST für metin 2 P server : new world 3 - sv 1 dss switcher... Könnte jemand machen? hab schon SuFu benutzt aba die gehen net für NW3----da gehen auch kick hack... net Könnte jemand es bitte machen? DAnke mfg SQLEBBGD



All times are GMT +2. The time now is 04:28.


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.