vladislav4k Posted September 27, 2012 Posted September 27, 2012 Write please function for: 1)Change player name color 2)Change player title color 3)Do player a noblesse 4)Set quest done(set quests for sub-class and noblesse is done) Thanks
0 Fanky Posted September 27, 2012 Posted September 27, 2012 everything is placed in admincommands,if you wanna make your just take a look there dude. start searching your eclipse,you'll find out many intresting things
0 vladislav4k Posted September 27, 2012 Author Posted September 27, 2012 everything is placed in admincommands,if you wanna make your just take a look there dude. start searching your eclipse,you'll find out many intresting things I dont use Eclipse, all i can find, but how do the quest if done?
0 Mhoska Posted September 27, 2012 Posted September 27, 2012 Write please function for: 1)Change player name color 2)Change player title color 3)Do player a noblesse 4)Set quest done(set quests for sub-class and noblesse is done) Thanks this is help section, no we do your code section :/
0 Tryskell Posted September 27, 2012 Posted September 27, 2012 Use Eclipse or notepad++ search function, and search for keywords. You will easily find if you use proper keywords. Eclipse or whatever IDE (IntelliJ, NetBeans, misc) is a must-have, even for java quests. If you don't use one, then use one.
0 vladislav4k Posted September 27, 2012 Author Posted September 27, 2012 this is help section, no we do your code section :/ I understand, i find this in my source. But when i change name color (in adm panel), when I relogin, color is default. Code in script: if (command.startsWith("nameColor")) { final String val = command.substring(6); player.getAppearance().setNameColor(Integer.decode("0x" + val)); player.broadcastUserInfo(); } else if (command.startsWith("titleColor")) { final String val = command.substring(6); player.getAppearance().setTitleColor(Integer.decode("0x" + val)); player.broadcastUserInfo(); }
0 Tryskell Posted September 27, 2012 Posted September 27, 2012 Because color is outwritten due to access rights.
0 vladislav4k Posted September 27, 2012 Author Posted September 27, 2012 Because color is outwritten due to access rights. Can you say, how to do normal, when I relogin, color dont be default? I really need this
0 Tryskell Posted September 27, 2012 Posted September 27, 2012 Sounds obvious you have to rework access rights, either : making it happens only at character creation creating bypass for particular ranks (users, at least) simply drop color name/title stuff from it
0 vladislav4k Posted September 27, 2012 Author Posted September 27, 2012 Sounds obvious you have to rework access rights, either : making it happens only at character creation creating bypass for particular ranks (users, at least) simply drop color name/title stuff from it I don't understand what you written=) My script working, but after reload, color is custom. In mysql table haven't information about colors(how i see)
0 Dulens. Posted September 27, 2012 Posted September 27, 2012 What project are u using; You can find access command rights at database or datapack.
0 vladislav4k Posted September 27, 2012 Author Posted September 27, 2012 What project are u using; You can find access command rights at database or datapack. I use http://subversion.assembla.com/svn/silentium-interlude/ (no reclame)
Question
vladislav4k
Write please function for:
1)Change player name color
2)Change player title color
3)Do player a noblesse
4)Set quest done(set quests for sub-class and noblesse is done)
Thanks
11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now