Jump to content

mainline_sg specular item_proto bug


Recommended Posts

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

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Bronze
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. 

spacer.png

Link to comment
Share on other sites

  • Silver

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.