sotid Posted September 29, 2016 Posted September 29, 2016 So my problem with him is a little weird . I can spawn him normally but he doesnt stay in the game after server restart. Before you answer let me tell you that 1)he is at custom_npc 2) at custom_spawnlist 3) # -----------------------# Class Master -# -----------------------# Allow Change Class with ClassMasterAllowClassMasters = True 4)# Spawn Class Master npc if you have any in spawnlist. Default = FalseSpawnClassMaster = True 5)I have many custom npc all spawning none leaving after restart 6)I change him from ClassMaster to VillageMaster and he stays on server after restart but he cannot give classes. 7)Every NPC that I change to L2ClassMaster goes invisible after server restart.and I have to respawn it.
0 Red-Hair-Shanks Posted October 3, 2016 Posted October 3, 2016 reinstal spawnlist on db and try again
0 'Baggos' Posted October 3, 2016 Posted October 3, 2016 l2jfrozen.properties # -------------------------- # Custom Tables - # -------------------------- Make your settings here.
0 sotid Posted October 4, 2016 Author Posted October 4, 2016 I already reinstalled but this doesnt seem to be the problem. about the tables are fine I already checked that too . The problem seems to be with L2ClassMaster as I said , cause every NPC that I change to L2ClassMaster becomes invisible after restart . but if I change the problematic npc to something else L2Monster or L2VillageMaster its coming back after the restart.
0 'Baggos' Posted October 4, 2016 Posted October 4, 2016 Try to add ClassMaster in spawnlist manually.
0 SweeTs Posted October 4, 2016 Posted October 4, 2016 Check the instance. Mby there is something onSpawn to dont save it.
0 sotid Posted October 5, 2016 Author Posted October 5, 2016 thanks for the answers guys but I already done all the previous of these but as I told you before when I change a NPC to L2ClassMaster it disappears after restart and the opposite, if I change the "roy the cat" to L2Villager or something else everything is ok but of course I cant change classes. And SweeTs what do you mean by check the instance?
0 SweeTs Posted October 5, 2016 Posted October 5, 2016 (edited) L2ClassMasterInstance.java Btw, as far as I remember, there is some stupid config like save spawns after restart. Maybe there is something like that for class master as well. Hail frozen -.- Edited October 5, 2016 by SweeTs
0 sotid Posted October 5, 2016 Author Posted October 5, 2016 I see. unfortunately I dont use eclipse cause I suck and if is a java problem then woohoo :D thank you very much though.
0 Onix Posted October 8, 2016 Posted October 8, 2016 I see. unfortunately I dont use eclipse cause I suck and if is a java problem then woohoo :D thank you very much though. You still need help with that ?
0 sotid Posted October 8, 2016 Author Posted October 8, 2016 well yes I didnt fix that as long it is a java problem. Unfortunately at my PC I only have server files not source files or something and I never used eclipse so I dont know how to start . Do you have anything else to suggest?
0 SweeTs Posted October 8, 2016 Posted October 8, 2016 No. There is no magic way if it's hardcoded in core.
0 sotid Posted October 8, 2016 Author Posted October 8, 2016 Sure I am not searching for a magic way , I mean if is a Java problem and I only have gameserver files and not source can I fix this is any way ?
0 SweeTs Posted October 8, 2016 Posted October 8, 2016 Nop, not really. You said it's only happening for ClassMaster instance, so.. I would look into it, but you need sources to dig. You should choose pack with sources.
0 'Baggos' Posted October 8, 2016 Posted October 8, 2016 I only have server files not source files or something and I never used eclipse so I dont know how to start . I think that topic must lock because if we provide you help for pre-compiled pack without sources, you will never learn. Trust me it's for your own good.
0 sotid Posted October 9, 2016 Author Posted October 9, 2016 Yes I know mate what you mean, you can lock it , a friend of mine had a server with this pack like 5 years ago and he got bored and passed it to me. Lock
Question
sotid
So my problem with him is a little weird .
I can spawn him normally but he doesnt stay in the game after server restart.
Before you answer let me tell you that
1)he is at custom_npc
2) at custom_spawnlist
3)
# -----------------------
# Class Master -
# -----------------------
# Allow Change Class with ClassMaster
AllowClassMasters = True
4)
# Spawn Class Master npc if you have any in spawnlist. Default = False
SpawnClassMaster = True
5)I have many custom npc all spawning none leaving after restart
6)I change him from ClassMaster to VillageMaster and he stays on server after restart but he cannot give classes.
7)Every NPC that I change to L2ClassMaster goes invisible after server restart.and I have to respawn it.
16 answers to this question
Recommended Posts