Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

mainline_sg specular item_proto bug


mekyro943

Question

Hello.
I have source compiled with mainline_sg. My problem is that I am fixing the glow in the base:

UPDATE item_proto SET specular = '30' WHERE locale_name LIKE '% + 4';
UPDATE item_proto SET specular = '40' WHERE locale_name LIKE '% + 5';
UPDATE item_proto SET specular = '50' WHERE locale_name LIKE '% + 6';
UPDATE item_proto SET specular = '65' WHERE locale_name LIKE '% + 7';
UPDATE item_proto SET specular = '80' WHERE locale_name LIKE '% + 8';
UPDATE item_proto SET specular = '100' WHERE locale_name LIKE '% + 9';

My _proto is being read from SQL not TXT - that's what it is supposed to be.
When I turn on the server, the specular value in item_proto changes to 0. How do I fix this?

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
34 minutes ago, mekyro943 said:

Hello.
I have source compiled with mainline_sg. My problem is that I am fixing the glow in the base:

UPDATE item_proto SET specular = '30' WHERE locale_name LIKE '% + 4';
UPDATE item_proto SET specular = '40' WHERE locale_name LIKE '% + 5';
UPDATE item_proto SET specular = '50' WHERE locale_name LIKE '% + 6';
UPDATE item_proto SET specular = '65' WHERE locale_name LIKE '% + 7';
UPDATE item_proto SET specular = '80' WHERE locale_name LIKE '% + 8';
UPDATE item_proto SET specular = '100' WHERE locale_name LIKE '% + 9';

My _proto is being read from SQL not TXT - that's what it is supposed to be.
When I turn on the server, the specular value in item_proto changes to 0. How do I fix this?

If it changes to 0 then you're using txt. 

Link to comment
Share on other sites

  • 0
  • Bronze

In short, the server side is more to store the specular information, to make the specular visible you have to convert your proto txt to the client part with dump proto. To see where your item_proto is you can search the binary source - UserInterface / PythonApplication.cpp -> szItemProto.
Once you dump proto with the specular you want. Proto item from the premises or from your location loads your specular.

And from what I read you use proto txt because it returns to the default values.

 

Short -> Compile your txt proto and compile your locale for new item proto with specular and specular will be solved. If is not showing check if you have spheremap01 & 02 in your client. 

And in another case you can try a debug on uiinventory / binary source to see if is taking corectly specular and values.

Edited by Vaynz
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.