iLeGiTiMx Posted May 24 Share Posted May 24 Hey there, I would like to know how to increase the max spell count. I tried to change this variable in PlayerOptions.cs: Quote /// <summary> /// Number of spell slots a player has. /// </summary> public int MaxSpells = 100; I already set MaxSpells to 100, but if I try to cast a Spell like this: Quote private static void TimerCallback(Object o) { if (Globals.LoggedIn == true) { // PacketSender.SendChatMsg("Test", 0); PacketSender.SendUseSpell(35, Guid.Empty); //Last Slot + 1 } } I get kicked by the Server. If I set it to 34, the last skill gets casted. I don't need the Skill-Menu, so it's not a big deal to not see the Skill in the menu because it's index is more than 34. So how to cast a Skill above the maximum Skill Count? In the database Player_Spells I can see, that I only have 35 Skills learned, even If I learned more ingame by event. So that will be the reason for the kick. Now I would love to know how to increase the amount. Thank you and have a great day! :-) Link to comment Share on other sites More sharing options...
0 Blinkuz Posted May 24 Share Posted May 24 Change it in the server config, the server's config.json file is where you get the actual value from. iLeGiTiMx 1 Link to comment Share on other sites More sharing options...
0 iLeGiTiMx Posted May 24 Author Share Posted May 24 Wow, thank you! I had to rebuild the database and then I got my 100 slots! Have a great day Link to comment Share on other sites More sharing options...
Question
iLeGiTiMx
Hey there,
I would like to know how to increase the max spell count.
I tried to change this variable in PlayerOptions.cs:
I already set MaxSpells to 100, but if I try to cast a Spell like this:
I get kicked by the Server. If I set it to 34, the last skill gets casted.
I don't need the Skill-Menu, so it's not a big deal to not see the Skill in the menu because it's index is more than 34.
So how to cast a Skill above the maximum Skill Count?
In the database Player_Spells I can see, that I only have 35 Skills learned, even If I learned more ingame by event.
So that will be the reason for the kick. Now I would love to know how to increase the amount.
Thank you and have a great day! :-)
Link to comment
Share on other sites
2 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