Why the difference [SOLVED]

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

Why the difference [SOLVED]

Postby Loki » Thu May 18, 2017 10:01 pm

Hi all, if for example

public override bool Interact(GamePlayer player)

player.name = player name

but

player.CharacterClass = doesnt equal like paladin or blademaster..


It always returns something like characterClassBlademaster

What am I missing.....
Last edited by Loki on Sat May 20, 2017 11:26 am, edited 2 times in total.
“ If debugging is the process of removing software bugs, then programming must be the process of putting them in. ”

Join https://discord.gg/r3T2U7S Official DOL Discord Chat
User avatar
Loki
Developer
 
Posts: 468
Joined: Fri Jun 23, 2006 2:14 am
Location: uk

Re: Why the difference

Postby Loki » Thu May 18, 2017 10:14 pm

Or tells me Hybrid
“ If debugging is the process of removing software bugs, then programming must be the process of putting them in. ”

Join https://discord.gg/r3T2U7S Official DOL Discord Chat
User avatar
Loki
Developer
 
Posts: 468
Joined: Fri Jun 23, 2006 2:14 am
Location: uk

Re: Why the difference

Postby ontheDOL » Thu May 18, 2017 11:55 pm

try
player.CharacterClass.Name
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Why the difference (SOLVED)

Postby Loki » Fri May 19, 2017 6:56 am

Well that's embarrassing, I went through the list looking for the obvious..... Noob! :( it was late though :).


Thank you ontheDOL
“ If debugging is the process of removing software bugs, then programming must be the process of putting them in. ”

Join https://discord.gg/r3T2U7S Official DOL Discord Chat
User avatar
Loki
Developer
 
Posts: 468
Joined: Fri Jun 23, 2006 2:14 am
Location: uk

Re: Why the difference (SOLVED)

Postby ontheDOL » Fri May 19, 2017 1:27 pm

nps, never hurts to ask ;)
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests