SphereCommunity
saving gump error ndefined keyword 'DIALOG_up - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: saving gump error ndefined keyword 'DIALOG_up (/Thread-saving-gump-error-ndefined-keyword-DIALOG-up)



saving gump error ndefined keyword 'DIALOG_up - babazar - 08-20-2013 06:44 AM

///// Needs the below added to : sphere_serv_triggers
///////[FUNCTION f_onserver_save]
///////SERv.ALLCLIENTS DIALOG_UP D_SAVING_DLG

[DIALOG d_SAVING_DLG]
180,340
noclose
nomove

PAGE 0
resizepic 10 10 5120 280 100
checkertrans 10 10 280 100
tilepic 30 30 4168
dtext 80 25 55 The world is saving...
dtext 80 45 55 This process might take
dtext 80 65 55 a while.

[FUNCTION CLOSESAVINGDLG]
TRYSRC <UID> SRC.DIALOGCLOSE D_SAVING_DLG

[EOF]


RE: saving gump error ndefined keyword 'DIALOG_up - Alaric - 08-20-2013 06:54 AM

whats dialog_up? your function? Common dialog is just called "dialog d_blah", or "sdialog d_blah".


RE: saving gump error ndefined keyword 'DIALOG_up - babazar - 08-20-2013 07:08 AM

Sorted it,

How do you switch off the world is saving ? just the text?


RE: saving gump error ndefined keyword 'DIALOG_up - darksun84 - 08-20-2013 07:22 AM

They are in sphere_msgs.scp (the one in the scripts folder)
PHP Code:
//server_resync_failed        "Resync FAILED!"
//server_resync_start        "Server is being PAUSED for Resync"
//server_resync_success        "Resync complete!"
//server_resync_restart        "Resync restart"
//server_worldsave_notify        "World save in 10 seconds"
//server_worldsave        "World save has been initiated." 
Uncomment them and put what you want inside the "", also remember to restart the server.


RE: saving gump error ndefined keyword 'DIALOG_up - amonvangrell - 08-21-2013 05:30 AM

[FUNCTION f_onserver_save]
serv.allclients d_SAVING_DLG

[FUNCTION f_onserver_save_finished]
serv.allclients f_remove_DLG

[FUNCTION f_remove_DLG]
TRYSRC <UID> SRC.DIALOGCLOSE d_SAVING_DLG

hope its help.


RE: saving gump error ndefined keyword 'DIALOG_up - Extreme - 08-21-2013 11:48 AM

It's a missing function:

[FUNCTION DIALOG_UP]
TRYSRC <UID> SDIALOG <ARGS>


RE: saving gump error ndefined keyword 'DIALOG_up - babazar - 08-22-2013 06:09 PM

Yeh Got that extreme, and amonvangrell, TY guys,