New Way to Grant Badges??

oostos

Member
Joined
Mar 8, 2015
Messages
52
Hello,

So, after finally getting badges to work with custom racetrack and planets, I now see that they moved the badge locations to the Planer_manager.lua??  I put my waypoints in, but of course, they were not granted..Anyone know what other files need to be updated to make them work now?

Thanks for any help!!!!
 

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
235
Mysql database I'm assuming. I know they used to be there. Think it is called "badge_location" or something similar.
 

Valkyra

Member
Joined
Aug 31, 2010
Messages
211
MySQL no, they actually are pulled from the TRE's now. Not sure which exact iff datatable it is, though.

EDIT: Nevermind, those are just badges in general, planet exploration badge locations are in planet_manager.lua script for the table of the zone name.
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
Thanks for the update! I did add them to the planet_manager.lua but they were not being granted, so I didn't know if there was something else I needed to do?
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
They still need to be added to the badge_map.iff datatable found in ......Erm..... /badge

Adding Badges.

Ivojedi just moved Lua references for the planet ones from the spawn manager to the planet manager.
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
Lasko said:
They still need to be added to the badge_map.iff datatable found in ......Erm..... /badge

Adding Badges.

Ivojedi just moved Lua references for the planet ones from the spawn manager to the planet manager.
Lasko,

They also changed src/server/zone/objects/players/badges

Badge.cpp
Badge.h
Badges.h

I removed the badges from the spawn_manager file and added to the planet_manager file. Still no die.  These were all working before the lua's were changed. Any other suggestions?

Thanks!!
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
Ok, so let's start at the beginning, I'm not sure what you have or haven't done.

Tell me what you wanted to add, how you did it and what files you have edited.

Then hopefully it should be easy from there:)
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
Also, just so we are straight on this.......

Let's not confuse issues...........

There are two completely different topics in this thread.

1. Adding badges to the server.

2. Granting badges.

Obviously you need to do 1 before you can do 2.

There is one way to do option 1, many ways to do option 2.
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
Lasko said:
Also, just so we are straight on this.......

Let's not confuse issues...........

There are two completely different topics in this thread.

1. Adding badges to the server.

2. Granting badges.

Obviously you need to do 1 before you can do 2.

There is one way to do option 1, many ways to do option 2.
Hi Lasko,

Thank you for taking the time to help.  You had helped me with creating badges and then granting them in this thread http://www.modthegalaxy.com/forums/thread-mandalor-poi-badges

So when they changed the way badges were granted, I was no longer able to get badges on Mandalor. I removed the badges from the spawn_manager file and added to the planet_manager file as suggested and was still not able to get the system to award the badge.
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
oostos said:
Lasko said:
Also, just so we are straight on this.......

Let's not confuse issues...........

There are two completely different topics in this thread.

1. Adding badges to the server.

2. Granting badges.

Obviously you need to do 1 before you can do 2.

There is one way to do option 1, many ways to do option 2.
Hi Lasko,

Thank you for taking the time to help.  You had helped me with creating badges and then granting them in this thread http://www.modthegalaxy.com/forums/thread-mandalor-poi-badges

So when they changed the way badges were granted, I was no longer able to get badges on Mandalor. I removed the badges from the spawn_manager file and added to the planet_manager file as suggested and was still not able to get the system to award the badge.
I will just start over and make the badges then have them granted and report if I have any issues.
 
Top Bottom