Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: Change profileNamespace DB to inidbi2 #112

Closed
wants to merge 25 commits into from

Conversation

Vdauphin
Copy link
Owner

@Vdauphin Vdauphin commented May 5, 2016

Giallustio#72

DOC of https://github.com/code34/inidbi2 : https://github.com/code34/inidbi2/blob/master/%40inidbi2/DOCUMENTATION.txt

  • Add : inidbi link.
  • FIX : inidbi do not save object (only array, string, boolean) (side, getVariable "inHouse").
  • FIX : Array save too big for IniDB (>8k).

Take the array [city1,city2,city3] and check if the array is to big. If it is, I reduce the size of it and save separately the array in two keys ("cities1","cities2"):

  • cities1 = "[city1,city2]"

  • cities2 ="[city3]"

    The load phase is easy just read ("cities1","cities2") and append .

need to test :

  • check if inidbi is activated on server side before save
  • fob
  • object created by logistic
  • final phase
  • random rtp error
  • 30 slots migration
  • merge https://github.com/Giallustio/HeartsAndMinds (ex: Giallustio@8efdc8d)
  • save mission version
  • veh and obj array are too long ?
  • backward data base compatibility
  • optimize and clear/clean code

Final test :

  • local
  • server

- inidb do not support object
- too big array
- side error
- FIX error due assign array to the same entry
- indicate need @iniDB in mission parameter
- obtimize gethouses
- can delete data base
-  FIX element
- use array of array
- debug message
- object not save
- object load by DB are not curator enable
- object unload by player are not curator enable
…Add-initDB_master_daily

# Conflicts:
#	=BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/civ/traffic_create.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/common/getHouses.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/db/delete.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/db/load.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/db/save.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/fob/dismantle.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/create_apply.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/create_s.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/select.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/unload.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/mil/patrol_create.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/core/img/rsc/i_bleeding_1.paa
#	=BTC=co@30_Hearts_and_Minds.Altis/core/img/rsc/i_bleeding_2.paa
#	=BTC=co@30_Hearts_and_Minds.Altis/core/img/rsc/i_bleeding_3.paa
#	=BTC=co@30_Hearts_and_Minds.Altis/core/img/rsc/i_bloss_1.paa
#	=BTC=co@30_Hearts_and_Minds.Altis/core/img/rsc/i_bloss_2.paa
#	=BTC=co@30_Hearts_and_Minds.Altis/core/img/rsc/i_bloss_3.paa
#	=BTC=co@30_Hearts_and_Minds.Altis/core/img/rsc/i_unc.paa
#	=BTC=co@30_Hearts_and_Minds.Altis/core/init_server.sqf
#	=BTC=co@30_Hearts_and_Minds.Altis/mission.sqm
@Vdauphin Vdauphin added this to the 1.14 milestone May 5, 2016
@Vdauphin
Copy link
Owner Author

Vdauphin commented May 6, 2016

Close for not linux compatible :-(

@Vdauphin Vdauphin deleted the Add-initDB_master_daily branch May 20, 2017 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant