VenLife: Difference between revisions

From GridPlay
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 10: Line 10:


Our system will have farming and cooking as well as a toilet for hygene, etc.
Our system will have farming and cooking as well as a toilet for hygene, etc.
Exclusive items (yes they are wiki pages with more info)
* [[VL_HUD]]
* [[VL_Water_Well]]
* [[VL_Furniture_Devkit]]
* [[VL_Doctor_HUD]]


==API==
==API==
=== DevKit===
For our dev kits please see the list of pages above.
Our dev kit somes with one script that can be used in items like a couch
 
Our RESTful API is still in development but docs will be posted here as soon as we have some working code done
 
==Updates==
''' Crop Field 1.1.3 - Aug 31 2022 '''
* Fixed a bug with fertilizer
* More work to stabilize the code


Does require a notecard in the same prim as the core DevKit script and named '''vl config'''
''' HUD 1.2.0 - Aug 25 2022 '''
* removed the debug json.
* Added a heal confirmation
* Added code for the up coming health pill
* Health now only goes down IF food and hygene is at zero
* Added code for fishing
* Code Clean up
* New store LM in the package
* Last update to the hud for awhile sorry


All included in the package.
''' HUD 1.1.2 - Aug 22 2022 '''
* More bug fixes
* Added Item Query option. See how many items are in query to be sent including your own.
* Added Professions option. See what your at in your enabled professions.
* Cleaned up the HUD prims. Big black empty area is where your loaded ingredences show up.


Only item in the package that is not full perm is the core DevKit script itself. It is set to no mod for security reasons.
''' Overall 1.1.1 - Aug 21 2022 '''
* Lots more bug fixes for the new item system


* 99 - You send a message on this channel
''' HUD 1.1.1 - Aug 20 2022 '''
* 98 - Dev Kit script sends a message on this channel
* Changed how recipes are crafted. Now items come to your SL inv and can be added to the HUD for crafting
* Added a new prim that will show what items are in your hud.
* Fixed more bugs and some more code clean up.


Example of how to process incoming
''' 1.1.0 - Aug 11 2022 '''
<syntaxhighlight lang="lsl">
* Recoded the API for the HUD
// Message Link channels. Please see our wiki on how this works
* Took out health as a stat to give/take. Only the doctor HUD can modify this stat
integer LinkIn = 98; // You send a message to this script
* The main HUD now has a option to detach the head meter in its dialog menu
integer LinkOut = 99; // This sends a message out to other scripts you make
* Furniture DevKit has been updated with the new stats
// numbers are so this script doesnt get confused with its own messages
* DevKit now supports CSV config values. ie. StatToChange=energy,fun and StatQty=5.00,-5.00
default {
* Because of the rework of the API the devkit no longer has the Increase Decrease option. The API supports negative values
touch_end(integer num_detected) {
* Head meter been updated to support the rework and able to be detached when the HUD option is selected
llMessageLinked(LINK_SET, LinkOut, "menu", llDetectedKey(0));
//llMessageLinked(LINK_SET, LinkOut, "use", llDetectedKey(0));
}
link_message(integer sender_num, integer num, string str, key id) {
if (num == LinkIn) {
if (llJsonValueType(str, ["uri"]) != JSON_INVALID) {
                string uri = llJsonGetValue(str, ["uri"]);
                if (uri == "confirm" || uri == "used") {
                llSay(0, "Usage Confirmed");
                }
                if (uri == "#Stats#") {
                //llOwnerSay(str);
                }
            }
}
}
}
</syntaxhighlight>
URI are '''confirm''' and '''#Stats#'''


Stats uri will return the stats from the HUD of the person with '''id''' in JSON format
''' HUD 1.0.1a - August 5 2022 '''
* Minor internal bug fixes
* Added new menu button textures to match the website
* Updated included notecard to the new bug reporting website


To Send a message to the script is easy
''' DevKit 1.0.1 - July 28 2022 '''
<syntaxhighlight lang="lsl">
* [https://gridplayproductions.atlassian.net/browse/VEN-1 [VEN-1]] Fixed a bug where multiple prims in a linkset hears the same mesage
string json = llList2Json(JSON_OBJECT, ["uri","menu"]);
key id = llDetectedKey(0);
llMessageLinked(LINK_SET, 99, json, id);
</syntaxhighlight>
Options are '''menu''' and '''getstats'''


menu will open a dialog menu to '''id''' with a option to use the item
''' Doctor HUD 1.0.0 - July 21 2022 '''
* Inital release on both CasperVend and MarketPlace


==Updates==
''' HUD 1.0.1 - July 19 2022'''
''' HUD 1.0.1 - July 19 2022'''
* Moved health text on the HUD to the top
* Moved health text on the HUD to the top
Line 72: Line 78:
* Changed the URL for tickets
* Changed the URL for tickets
* Renamed JIRA to Bugs in the support menu and changed the URL to the main support portal
* Renamed JIRA to Bugs in the support menu and changed the URL to the main support portal
* Added new domain, venlife.net
''' SL Marketplace release - July 18 2022'''
* No changes to record, just putting it here for historical records


''' HUD 1.0.0b - July 15 2022'''
''' HUD 1.0.0b - July 15 2022'''

Latest revision as of 07:41, 31 August 2022


Info

We are currently setting up VenLife for release

Our system will have farming and cooking as well as a toilet for hygene, etc.

Exclusive items (yes they are wiki pages with more info)

API

For our dev kits please see the list of pages above.

Our RESTful API is still in development but docs will be posted here as soon as we have some working code done

Updates

Crop Field 1.1.3 - Aug 31 2022

  • Fixed a bug with fertilizer
  • More work to stabilize the code

HUD 1.2.0 - Aug 25 2022

  • removed the debug json.
  • Added a heal confirmation
  • Added code for the up coming health pill
  • Health now only goes down IF food and hygene is at zero
  • Added code for fishing
  • Code Clean up
  • New store LM in the package
  • Last update to the hud for awhile sorry

HUD 1.1.2 - Aug 22 2022

  • More bug fixes
  • Added Item Query option. See how many items are in query to be sent including your own.
  • Added Professions option. See what your at in your enabled professions.
  • Cleaned up the HUD prims. Big black empty area is where your loaded ingredences show up.

Overall 1.1.1 - Aug 21 2022

  • Lots more bug fixes for the new item system

HUD 1.1.1 - Aug 20 2022

  • Changed how recipes are crafted. Now items come to your SL inv and can be added to the HUD for crafting
  • Added a new prim that will show what items are in your hud.
  • Fixed more bugs and some more code clean up.

1.1.0 - Aug 11 2022

  • Recoded the API for the HUD
  • Took out health as a stat to give/take. Only the doctor HUD can modify this stat
  • The main HUD now has a option to detach the head meter in its dialog menu
  • Furniture DevKit has been updated with the new stats
  • DevKit now supports CSV config values. ie. StatToChange=energy,fun and StatQty=5.00,-5.00
  • Because of the rework of the API the devkit no longer has the Increase Decrease option. The API supports negative values
  • Head meter been updated to support the rework and able to be detached when the HUD option is selected

HUD 1.0.1a - August 5 2022

  • Minor internal bug fixes
  • Added new menu button textures to match the website
  • Updated included notecard to the new bug reporting website

DevKit 1.0.1 - July 28 2022

  • [VEN-1] Fixed a bug where multiple prims in a linkset hears the same mesage

Doctor HUD 1.0.0 - July 21 2022

  • Inital release on both CasperVend and MarketPlace

HUD 1.0.1 - July 19 2022

  • Moved health text on the HUD to the top
  • Moved health on the meter to the top
  • Added Ven Dollars to the HUD and system (V$)
  • Server side work to support V$
  • Changed the URL for tickets
  • Renamed JIRA to Bugs in the support menu and changed the URL to the main support portal
  • Added new domain, venlife.net

SL Marketplace release - July 18 2022

  • No changes to record, just putting it here for historical records

HUD 1.0.0b - July 15 2022

  • Changed the perm on the HUD to copy, no mod, no trans due to abuse found

Dev Kit - July 14 2022

  • Inital release of the dev kit, enjoy

Water Well - July 13 2022

  • Water Well released. Get 25 water every 24 hours

1.0.0a - July 13 2022

  • HUD - removed Bladder as a stat since Hygene is the same thing

1.0.0 - July 13 2022 This is a caspervend only release

  • Inital alpha release for testing
  • New logo by Molly
  • Updated signs to the new logo