Hi Soulmate
I am not sure what is going on but I am getting lots of weird bugs since i tried upgrading model friends to the newest version.
I made sure to copy the custom.css, the custom.js, the data.js as well as the images folder, the extra folders of partials and gui which are all specific to Model friends.
I run the webserver can get into the build.html and debug work and it appears to run as is but when I start trying to add anything I get the below bugs.
The first one is I am still getting an issue with autofill but only for variables now the autofill page name works.
second I am trying to make use of the show if feature and I have gotten it to work on some things but the latest one is doing strange things I have a show if in place which checks variable clienthi for instance.
it will show first title if clienthi = 1, with show second title if clienthi = 2.
it will show imagemap 1 if clienthi =1, and show imagemap 2 if clienthi= 2 the onclick on the first response adds 1 to the clienthi variable the second onclik set clienthi to 0.
When I play test it goes to this page and show blank like normal if there is an error with the checks
Below is the code for that page.
- Code: Select all
"clients1": {
"name": "clients",
"image": "images/phonecall.jpg",
"title_texts": [
{
"text": "Well we are looking for a girl to do a Bikini Shoot. Her Glamour would have to be >39 and she would need to bring her own Bikini. ",
"class": null,
"show_if": [
{
"variable": "clienthi",
"func": "=",
"val": "1"
}
]
},
{
"text": "No worries the job will be available once you are ready. Have a great day.",
"class": null,
"show_if": [
{
"variable": "clienthi",
"func": "=",
"val": "2"
}
]
}
],
"image_maps": [
{
"text": "I am sure we can make that happen I will let Teagan know and get the necessary outfit.",
"href": "clients",
"shape": "rect",
"coords": "10,10,1280,695",
"func": null,
"$$hashKey": "object:9170",
"show_if": [
{
"variable": "clienthi",
"func": "=",
"val": "1"
}
],
"set_vars": [
{
"variable": "clienthi",
"func": "+",
"val": "1"
}
]
},
{
"text": "Thanks talk to you soon",
"href": "officechk",
"shape": "rect",
"coords": "0,5,1280,692",
"func": null,
"$$hashKey": "object:9896",
"show_if": [
{
"variable": "clienthi",
"func": "=",
"val": "2"
}
],
"set_vars": [
{
"variable": "clienthi",
"func": "=",
"val": "0"
}
]
}
]
}
I actually tried to put all fo this on one page and added the additional required show if checks.
Thirdly for some reason in this page specifically when I have it add to the variable the variable actually shows as 01 in the debug window?
So not sure what is gogin on.
Strange.
Also when playing or debugging the game it seem to run much slower than before takes a second or 2 between each page before it was pretty much instant.
Please help.
Thanks