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 Quote
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 Quote
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? Quote
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 :/ Quote
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. Quote
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(); } Quote
0 Tryskell Posted September 27, 2012 Posted September 27, 2012 Because color is outwritten due to access rights. Quote
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 Quote
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 Quote
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) Quote
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. Quote
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) Quote
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.