The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color
Author Message
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #1
Color
Guys, do you know some method (or have some idea) to do the same item to have 2 different colors for 2 different players?

Example:
A Kryss Vanq
Pk see the item with color 021
Apk see the item with color 064

I know that this is very crazy, but will help me a lot!!
(This post was last modified: 02-13-2014 09:27 AM by Staff_Stanic.)
02-13-2014 09:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
Re: RE: Color
(02-13-2014 09:27 AM)Staff_Stanic Wrote:  Guys, do you know some method (or have some idea) to do the same item to have 2 different colors for 2 different players?

Example:
A Kryss Vanq
Pk see the item with color 021
Apk see the item with color 064

I know that this is very crazy, but will help me a lot!!

It's impossible. :/

Sent from my GT-I9505 using Tapatalk

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
02-14-2014 09:50 PM
Find all posts by this user Like Post Quote this message in a reply
Abuelox
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 7 in 7 posts
Joined: Apr 2010
Reputation: 0

Alteria Games

Post: #3
RE: Color
The only thing I can think to do is press a trigger when the object (on = @ click), change the color depending on their deaths.
02-14-2014 09:56 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Color
That would require to modify the packet sent from items and make a heavy heavy heavy load, it can be done but at a very high cost. Lets wait what has Ben to say.
02-14-2014 11:50 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Color
There is a LAME and BAD way to do that and it involves the use of ResLevel/ResDisp properties.

Now, i don't know how do you handle the Pk/Apk, but the concept is this :
PHP Code:
ITEMDEF i_test_sword]
Name Double Colored Sword
Id 
i_sword_long
RESLEVEL 
// Player with RESDISP 7 Will see the Color set in @Create
RESDISPDNID i_sword_long
RESDISPDNHUE 
042 // Player with RESDISP 6 will see the Color set here


ON=@Create
    COLOR 
0480
    HITPOINTS 
100 

RESDISP is an account attribute, so every time a player log in you have to check/set the correct ResDISP depending on the "faction" he belongs.

The result is this :

[Image: Fh2tCiR.jpg]

Anyway i don't suggest to use it, it's just an idea Tongue
(This post was last modified: 02-15-2014 03:41 AM by darksun84.)
02-15-2014 03:40 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #6
RE: Color
I love that high end windows 0.03 graphics!!!
02-15-2014 05:10 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Color
windows 95 ftw!

[Image: 2nis46r.jpg]
02-15-2014 05:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #8
RE: Color
Thank you a lot guys!
I'll do some tests with the RESDISP!
(This post was last modified: 02-15-2014 06:12 AM by Staff_Stanic.)
02-15-2014 06:12 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #9
RE: Color
Poor dark Big Grin
02-15-2014 06:14 AM
Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #10
RE: Color
(02-14-2014 11:50 PM)XuN Wrote:  That would require to modify the packet sent from items and make a heavy heavy heavy load, it can be done but at a very high cost.

Tell me more... Lol
02-15-2014 11:50 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)