Creating Pre Pub 9 style or Choice Jedi

Jan 16, 2015
79
4
8
41
#21
This is doing my head in, I can't work out why it doesn't work. I have gotten the hologrind sort of working. You unlock your 6 profession and the box pops up and says perhaps you should go and meditate alone. But it doesn't grant the skill. I can target the player and /grantSkill force_title_jedi_novice or even /grantSkill force_title_jedi_rank_01 successfully without errors. If I try this before the 6 box popup that fails so it is allowing the skill to be trained.

I have managed to get the force shrine to successfully give padawan status when meditating but it will only allow me to meditate after I have granted the skill manually. The /findmytrainer works correctly once unlocked too. I just can't work out why it won't automatically grant the skill.

If anyone could offer any advise it would be greatly appreciated.

Thanks
Gyran
 

Pake

New Member
Dec 8, 2011
130
0
0
#24
You getting any error message, gyrantol? Perhaps if you post what your using for awarding the skill and any error message we could help.
 
Jan 16, 2015
79
4
8
41
#25
No I am not getting any error messages at all that is the annoying thing. I have a work around at the moment. I have created a terminal which gives the skill. I have also changed the popup message saying to go and study the old jedi archives hidden in a specific location (aka the terminal).

But I would prefer to have it so it creates automatically like it should lol.
 
Jan 16, 2015
79
4
8
41
#27
Sorry the hologrind_manager is the code that you posted in here previously...


Code:
function HologrindJediManager:sendSuiWindow(pCreatureObject)
	local suiManager = LuaSuiManager()
	suiManager:sendMessageBox(pCreatureObject, pCreatureObject, "@quest/force_sensitive/intro:force_sensitive", "You feel a sudden pull to Naboo to visit the Jedi archives hidden in the palace..... Once you have learned knowledge from the archives then go and meditate somewhere alone.........", "@ok", "HologrindJediManager", "notifyOkPressed")
end

-- Award skill and jedi status to the player.
-- @param pCreatureObject pointer to the creature object of the player who unlocked jedi.
function HologrindJediManager:awardJediStatusAndSkill(pCreatureObject)
	ObjectManager.withCreaturePlayerObject(pCreatureObject, function(playerObject)
		local pGhost = CreatureObject(pCreatureObject):getPlayerObject()

		if (pGhost == nil) then
			return
		end
		awardSkill(pCreatureObject, "force_title_jedi_rank_01")
		PlayerObject(pGhost):setJediState(1)

	end)
end
I have tried placing the award skill in numerous places in the code even in the send sui window function because that works.

This is the code I am using for the forceshrinemenucomponent which works fine.


Code:
if (not CreatureObject(pPlayer):hasSkill("force_title_jedi_rank_02")) then
		awardSkill(pPlayer, "force_title_jedi_rank_02")
	CreatureObject(pPlayer):playEffect("clienteffect/trap_electric_01.cef", "")
	CreatureObject(pPlayer):playMusicMessage("sound/music_jedi_character_creation.snd")

	PlayerObject(pGhost):setJediState(2)
 

Pake

New Member
Dec 8, 2011
130
0
0
#28
Oh, ok. I thought it was the pre-pub 9 Jedi you were trying to get working and not the village style Jedi. I'm guessing your awardSkill(pPlayer, "force_title_jedi_rank_02") isn't working because you don't have the 6 branches unlocked.

The file used to be in workspace/MMOCoreORB/src/server/zone/managers/skill/ open SkillsManager.cpp. I mention it in the OP under "Server-Side" step 1. Depending on when you last updated I believe this check was moved to the village jedi manager. Go through Core3/MMOCoreORB/bin/scripts/managers/jedi/village_jedi_manager.lua and change all the checks and you should be good.
 
Jan 16, 2015
79
4
8
41
#29
we are trying to have pre-pub 9 but we are using the current force trees.

The force_title_jedi_rank_02 at the shrine works perfectly it is the rank_01 from the holocron that isn't. As I mentioned it works from a terminal and works if I manually give the skill to the character. It comes up with an error if you try to give the skill before the 6th profession has been mastered and the terminal just does nothing. So the hologrind is doing something just not awarding the skill.
 
Apr 6, 2017
2
0
0
#30
Completely Out of Date, None of the Files are in the Correct Directories. Can't find what I Need, anyone else have a Guide to make a Pure Pre-9 System?
 

tosc

New Member
Jun 2, 2018
13
0
1
#31
hey there, sorry to bring this up at such a late date, but I was wondering if there was a non-programmer version of this that I could use to change my private server from village unlock system to the hologrind system? I'm fine with making the changes myself, I just need to know what files to change and what changes to make.

Currently, I changed jedi_manager from village unlock to Hologrind Unlock, and when I try to use a holocron to get the first prof to unlock, it says:

error running function useItem scripts/managers/jedi/hologrind_jedi_manager.lua:98: attempt to call a nill value (global 'playerObject')

So I don't know if the info posted above is at all related to this, but I would very much appreciate some help with that. I just want to use the hologrind method, rather than the village.

Yes, I understand that I would probably have to make a whole new character if not account to get it to work, that's fine, I just want it the hologrind, not village.

Thanks.