The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resend Dialog
Author Message
MirroR
Apprentice
*

Posts: 36
Likes Given: 4
Likes Received: 5 in 5 posts
Joined: Apr 2012
Reputation: 1

Resty of Abyss

Post: #1
Resend Dialog
How can you be green with a single touch. Here there is an error.

watch http://www.youtube.com/watch?v=Zf-Cwnw3P...e=youtu.be

Code:
[itemdef i_dest]
id i_katana

on=@dclick
sdialog d_boatpvpm
return 1

[dialog d_boatpvpm]
150,150
resizepic 0 0 2620 225 200
dhtmlgump 0 10 225 25 0 0 <def.bfont_purple><def.center>Cannon Kontrol<def.centere>

if (<tag0.cannon_clean> < 1)
button 10 35 4005 4006 1 0 1
dhtmlgump 45 36 100 25 0 0 <def.bfont_white>Clean
else
button 10 35 4017 4018 0 0 0
dhtmlgump 45 36 100 25 0 0 <def.bfont_lgreen>Cleaning
endif

[dialog d_boatpvpm button]
on=0
if (<src.tag0.update_boatpvpm>)
        sdialog d_boatpvpm
        src.tag.update_boatpvpm
endif

on=1
sdialog d_boatpvpm
timerf 3,tag.cannon_clean 1
src.timerf 3,tag.update_boatpvpm 1
src.timerf 3,dialogclose d_boatpvpm
(This post was last modified: 05-09-2014 08:44 AM by MirroR.)
05-09-2014 08:40 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: Resend Dialog
"Este vídeo é privado."
This video is private.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
05-09-2014 09:27 AM
Find all posts by this user Like Post Quote this message in a reply
MirroR
Apprentice
*

Posts: 36
Likes Given: 4
Likes Received: 5 in 5 posts
Joined: Apr 2012
Reputation: 1

Resty of Abyss

Post: #3
RE: Resend Dialog
okay, try again.
05-09-2014 09:38 AM
Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #4
RE: Resend Dialog
The problem is because when the user click Cleaning, you show the dialog before change the value of the tag.
Try like this:
Code:
ON=1
tag.update_boatpvpm 1
sdialog d_boatpvpm
(This post was last modified: 05-09-2014 10:37 AM by Staff_Stanic.)
05-09-2014 10:37 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
MirroR
Apprentice
*

Posts: 36
Likes Given: 4
Likes Received: 5 in 5 posts
Joined: Apr 2012
Reputation: 1

Resty of Abyss

Post: #5
RE: Resend Dialog
In this case, a second dialog box opens, and updated in the background.
I'm closing the dialog box two times.

Code:
on=1
src.tag.update_boatpvpm 1
sdialog d_boatpvpm
timerf 3,tag.cannon_clear=1
(This post was last modified: 05-09-2014 10:55 AM by MirroR.)
05-09-2014 10:54 AM
Find all posts by this user Like Post Quote this message in a reply
MirroR
Apprentice
*

Posts: 36
Likes Given: 4
Likes Received: 5 in 5 posts
Joined: Apr 2012
Reputation: 1

Resty of Abyss

Post: #6
RE: Resend Dialog
Any ideas?
05-10-2014 01:46 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #7
RE: Resend Dialog
Code:
[itemdef i_dest]
id i_katana

on=@dclick
sdialog d_boatpvpm
return 1

[dialog d_boatpvpm]
150,150
resizepic 0 0 2620 225 200
dhtmlgump 0 10 225 25 0 0 <def.bfont_purple><def.center>Cannon Kontrol<def.centere>

if (<dtag0.cannon_clean>)
button 10 35 4005 4006 1 0 1
dhtmlgump 45 36 100 25 0 0 <def.bfont_white>Clean
else
button 10 35 4017 4018 0 0 0
dhtmlgump 45 36 100 25 0 0 <def.bfont_lgreen>Cleaning
endif

[dialog d_boatpvpm button]
on=0
if (<src.tag0.update_boatpvpm>)
        sdialog d_boatpvpm
        src.tag.update_boatpvpm
endif

on=1
sdialog d_boatpvpm
timerf 3,tag.cannon_clean 1
timerf 3,tag.update_boatpvpm 1
timerf 3,dialogclose d_boatpvpm
timerf 3,sdialog d_boatpvpm
Try this

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
05-10-2014 02:35 AM
Find all posts by this user Like Post Quote this message in a reply
MirroR
Apprentice
*

Posts: 36
Likes Given: 4
Likes Received: 5 in 5 posts
Joined: Apr 2012
Reputation: 1

Resty of Abyss

Post: #8
RE: Resend Dialog
Code:
if !(<dtag0.cannon_clean>)
button 10 35 4005 4006 1 0 1
dhtmlgump 45 36 100 25 0 0 <def.bfont_white>Clean
else
button 10 35 4017 4018 0 0 0
dhtmlgump 45 36 100 25 0 0 <def.bfont_lgreen>Cleaning
endif

[dialog d_boatpvpm button]
on=0
if (<src.tag0.update_boatpvpm>)
        sdialog d_boatpvpm
        src.tag.update_boatpvpm
endif

on=1
sdialog d_boatpvpm
timerf 3,tag.cannon_clean 1
timerf 3,tag.update_boatpvpm 1
timerf 3,dialogclose d_boatpvpm
timerf 3,sdialog d_boatpvpm

unfortunately didn't happen, and I do not think in such ,,anyway.
(This post was last modified: 05-19-2014 12:09 PM by MirroR.)
05-10-2014 03:15 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #9
RE: Resend Dialog
button 10 35 4005 4006 <qval <IsTimerf.tag.update_boatpvpm 1> ? 0 : 1> 0 1
05-10-2014 03:33 AM
Find all posts by this user Like Post Quote this message in a reply
MirroR
Apprentice
*

Posts: 36
Likes Given: 4
Likes Received: 5 in 5 posts
Joined: Apr 2012
Reputation: 1

Resty of Abyss

Post: #10
RE: Resend Dialog
Code:
if (<tag0.cannon_clear> < 1)
dhtmlgump 45 31 100 25 0 0 <def.bfont_white>Clean
button 10 30 4005 4006 <qval <IsTimerf.tag.update_boatpvpm 1> ? 0 : 1> 0 1
else
button 10 30 4017 4018 0 0 0
dhtmlgump 45 31 100 25 0 0 <def.bfont_lgreen>Cleanning
endif

[dialog d_boatpvpm button]

on=0
if (<src.tag0.update_boatpvpm>)
        sdialog d_boatpvpm
        src.tag.update_boatpvpm
endif

on=1
sdialog d_boatpvpm
timerf 3,tag.cannon_clear 1
src.timerf 3,tag.update_boatpvpm 1
src.timerf 3,dialogclose d_boatpvpm

unfortunately did not happen again.
05-10-2014 03:41 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)