New Way to Grant Badges??

Mar 8, 2015
51
0
6
#1
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

UI Guy
Staff member
Moderator
Sep 25, 2010
219
24
18
29
#2
Mysql database I'm assuming. I know they used to be there. Think it is called "badge_location" or something similar.
 

Valkyra

Moderator
Staff member
Moderator
Aug 31, 2010
208
17
18
#3
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.
 
Mar 8, 2015
51
0
6
#4
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
Feb 13, 2012
272
12
18
#5
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.
 
Mar 8, 2015
51
0
6
#6
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
Feb 13, 2012
272
12
18
#7
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
Feb 13, 2012
272
12
18
#8
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.
 
Mar 8, 2015
51
0
6
#9
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.
 
Mar 8, 2015
51
0
6
#10
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.