Request Name Colour Change Help

Play Now

Hab

Legend Of Mir 2 Oblivion Server Owner
Jun 12, 2024
688
312
85
Middlesbrough
Hi guys, I have a script to change name colours but it doesn't work.
Is it the script it's self? I'm not sure how to fix it?

[@Main]
This is just a basic fun NPC which changes the\
colour of your name. Just brightens the place\
up a little bit and is another server feature. Enjoy!\

<Change Name Color/@ChangeNameColor> - <Close Window/@exit>

[@ChangeNameColor]
SERVERNAME - Please Select Your Colour!\ \
<White/@ColorBai> - <Glad/@ColorHui> - <Orange/@ColorCheng>\
<Green/@ColorLv> - <DarkGreen/@ColorQing> - <Blue/@ColorLan>\ \
<Close Window/@exit>

[@ColorCheng]
#ACT
marry nameColor -13
#SAY
Your Name Color changed\ \
<Close Window/@exit>


[@ColorQing]
#ACT
marry nameColor -2
#SAY
Your Name Color changed\ \
<Close Window/@exit>

[@ColorZi]
#ACT
marry nameColor -3
#SAY
Your Name Color changed\ \
<Close Window/@exit>

[@ColorLan]
#ACT
marry nameColor -4
#SAY
Your Name Color changed\ \
<Close Window/@exit>

[@ColorLv]
#ACT
marry nameColor -6
take Gold 150000
#SAY
Your Name Color changed\ \
<Close Window/@exit>

[@ColorHui]
#ACT
marry nameColor -8
#SAY
Your Name Color changed\ \
<Exit/@exit>
 
Last edited:

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,025
34
3,235
330
Worthing, West Sussex
Never seen the @marry npc command if this command has been coded in for you then for anyone to help you we’d need to see the code behind said npc act command.

Also you’re TAKEGOLD act command has a space so won’t work.

The “ColorLv” part is exploitable. It isn’t checking if players have the required gold and only takes. Leaving the option for me with 1 gold to change my name colour without the required 150k gold.

ServerName won’t work either because it’s not a valid Say command. You’d need to write <$SERVERNAME> but that’d still require custom code to add it.

Edit: I’ve tried to give you advice and help but you just refuse it. It’s actually frustrating because I really want you to succeed and learn

Advice (Take it or leave it 🤷‍♂️)

If you’re going to create an act command to change the player’s name colour I’d suggest calling the command something like CHANGENAMECOLOUR

Then ditch the weird - values as parameters and just go straight with Red/Blue/LightBlue etc

Example:

[@MAIN]
#SAY
Hello <$USERNAME>, I’m Gerald and I deal exclusively in name colours. What colour would you like?

<Red/@Red>, <Blue/@Blue> etc etc

[@Red]
#ACT
CHANGENAMECOLOUR Red
 
Last edited:
Upvote 0

Hab

Legend Of Mir 2 Oblivion Server Owner
Jun 12, 2024
688
312
85
Middlesbrough
Never seen the @marry npc command if this command has been coded in for you then for anyone to help you we’d need to see the code behind said npc act command.

Also you’re TAKEGOLD act command has a space so won’t work.

The “ColorLv” part is exploitable. It isn’t checking if players have the required gold and only takes. Leaving the option for me with 1 gold to change my name colour without the required 150k gold.

ServerName won’t work either because it’s not a valid Say command. You’d need to write <$SERVERNAME> but that’d still require custom code to add it.

Edit: I’ve tried to give you advice and help but you just refuse it. It’s actually frustrating because I really want you to succeed and learn

Advice (Take it or leave it 🤷‍♂️)

If you’re going to create an act command to change the player’s name colour I’d suggest calling the command something like CHANGEHAIRCOLOUR

Then ditch the weird - values as parameters and just go straight with Red/Blue/LightBlue etc

Example:

[@MAIN]
#SAY
Hello <$USERNAME>, I’m Gerald and I deal exclusively in hair dying products. What coloured hair would you like?

<Red/@Red>, <Blue/@Blue> etc etc

[@Red]
#ACT
CHANGEHAIRCOLOUR Red
It's not the hair colours i'm needing bud, it's the name colours.
That was just a quick rip script from somebody
Post automatically merged:

Does anybody have the actual commands or a working NPC please?
 
Upvote 0

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,025
34
3,235
330
Worthing, West Sussex
It's not the hair colours i'm needing bud, it's the name colours.
That was just a quick rip script from somebody
Aye my bad, changed the example I’ve given you but everything I’ve said still applies.
Who did you rip that from?😂

Does anybody have the actual commands or a working NPC please?
You’re not listening are you?
 
  • Haha
Reactions: Wummy
Upvote 0

Hab

Legend Of Mir 2 Oblivion Server Owner
Jun 12, 2024
688
312
85
Middlesbrough
Aye my bad, changed the example I’ve given you but everything I’ve said still applies.
Who did you rip that from?😂


You’re not listening are you?
It was given from a friend to test out as he seen I had tried doing it in the past.
I'm needing to do the name colours and then some titles for i,e Rebirthing.

What I need is somebody who knows the commands or with a fully working script.

Less confusing this way :)
 
Upvote 0

Valhalla

Nexus Mir Developer
Veteran
Nexus
Game Master
Sep 7, 2012
2,112
6
597
180
127.0.0.1
It was given from a friend to test out as he seen I had tried doing it in the past.
I'm needing to do the name colours and then some titles for i,e Rebirthing.

What I need is somebody who knows the commands or with a fully working script.

Less confusing this way :)
Let me make it clear for you, there is currently no way to change someone's name colour via NPC scripts in the public crystal source. If you want to change someone's name colour you need to CODE (NOT SCRIPT) that functionality yourself.

Whoever gave you that script is a retard imo, the crystal wiki has a list of all NPC commands.
 
  • Haha
Reactions: Wummy
Upvote 0

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,025
34
3,235
330
Worthing, West Sussex
Let me make it clear for you, there is currently no way to change someone's name colour via NPC scripts in the public crystal source. If you want to change someone's name colour you need to CODE (NOT SCRIPT) that functionality yourself.

Whoever gave you that script is a retard imo, the crystal wiki has a list of all NPC commands.
Save your breath honestly.
 
  • Haha
Reactions: Wummy
Upvote 0

Hab

Legend Of Mir 2 Oblivion Server Owner
Jun 12, 2024
688
312
85
Middlesbrough
No, playername has not been exposed as changeable via NPCActions.cs

You will need to add your own C# code to make it work, you will not find a working NPC for Crystal as the code doesn't exist.

Please refer to the Crystal Wiki

Jev is correct, Valhalla is correct, accept their advice and move ob
Thanks mate, I don't suppose you've any spare code for this?
 
  • Haha
Reactions: Wummy and Jev
Upvote 0

Hab

Legend Of Mir 2 Oblivion Server Owner
Jun 12, 2024
688
312
85
Middlesbrough
Spare code lol.

First of all, no, I don't have "spare code" that'll just slot right into your source.

Also I have no doubts that even if I did, it would be almost too painful to assist you implement it.

And lastly, I don't think I want to give you anything when you're giving Jev ****? Why did you tell him to go elsewhere when he's clearly trying to help?

He gave you the same answer as I did.
No problem.
Jev just likes to cause problems, it's as simple as editing a code and creating a script.
Plus he edits a lot, I cba with arguments for a Help post.
EDIT: It was a very small attempt at helping, I inbox him the guy refuses. Only around for bantz...

Thanks for your input.
 
  • Haha
Reactions: Wummy
Upvote 0

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,025
34
3,235
330
Worthing, West Sussex
No problem.
Jev just likes to cause problems, it's as simple as editing a code and creating a script.
Plus he edits a lot, I cba with arguments for a Help post.
EDIT: It was a very small attempt at helping, I inbox him the guy refuses. Only around for bantz...

Thanks for your input.
Does your social worker know you’re on the internet today?

I offered you the solution on a plate and would have been willing to code it in for you.

I gave you multiple chances within this thread alone to just say “yea I’d like some help” but honestly at this point. I really don’t think anyone on this forum can provide the “help” you need.
 
  • Haha
Reactions: Wummy
Upvote 0

Wummy

Majestic Mir 2
Veteran
Aug 24, 2015
845
222
105
Majestic Town
Does your social worker know you’re on the internet today?

I offered you the solution on a plate and would have been willing to code it in for you.

I gave you multiple chances within this thread alone to just say “yea I’d like some help” but honestly at this point. I really don’t think anyone on this forum can provide the “help” you need.
He gets internet access between 1pm till 11pm 🤣
 
Last edited:
Upvote 0

Hurricane

LOM2 - Code Services
Dedicated Member
Hurricane
Game Master
Oct 25, 2018
610
1
484
105
He gets internet access between 1pm till 11pm 🤣
Post automatically merged:


Why u still bothering lmfao, this guy doesn’t have a yellow helmet yet. Might have to add it in my GG shop for him to buy it 😂😂😂
why you replying to urself ? Schizophrenia?
1766440074382.png
 
  • Dislike
Reactions: DarkStar
Upvote 0