Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A "problem" with opening a Dialog
Author Message
Shidhun
Journeyman
*

Posts: 59
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Jul 2012
Reputation: 1



Post: #1
A "problem" with opening a Dialog
Hi,

after trying to figure out what is wrong for a few day's, i now try my luck at this forum Smile

The Problem is the following Error :

Code:
17:34:4c:Setup_Start acct='0000000000', char='0000', IP='0.0.0.0'
17:34:ERROR:(Rassensystem_Rassenwahl.scp,623)Undefined symbol 'd_charerstellung'
17:34:ERROR:(Rassensystem_Rassenwahl.scp,623)Invalid RES_DIALOG.

My Problem is, that i really don't understand why there is a problem opening the said dialog.

The Script is a combined race-/class-System. After picking your desired race and answering the right multiple-choice questions for creating this specific race, you of course get the Race-Flag and then a Gump for the selection of your desired class openes.. or in this case it should open.

Code:
if <argchk> = 3
    tag.klasse = <hval <src.GetClass> | <def.rasse_mensch>>
    color=colors_skin
    body=c_man
    sysmessage @180 test
    update
    if <def.klassensystem_moveaftercreate>
        src.go <def.klassensystem_moveaftercreate_p>
    else
        src.go 2670,2165,0
    endif
    dialog d_charerstellung //<.........................here is the Line 623
return 0
else
dialog d_rassenwahl
endif
return 0

The Gump-Dialog itself works perfectly on my sphere-installation at home. I even tried to shorten the individual Gump-Dialog just in case if the Error was caused by too many pages. But this didn't change anything.

So, what Problem can there possibly be? As mentioned, opening the dialog on my sphere at home works without any problem. The Problem happens to occur only on our gameserver.

Perhaps somebody has an idea what might be the problem. (Perhaps some interference with other scripts, or a setting in the ini perhaps?)

thanks
07-11-2012 02:39 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: A "problem" with opening a Dialog
Hi,
can you open this dialog using .dialog d_charerstellung ?
If not, check the name or if its on scripts.
This error, undefined symbol occur when you don't have the dialog in scripts..

Check it and tell us.

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.
07-11-2012 02:47 AM
Find all posts by this user Like Post Quote this message in a reply
Shidhun
Journeyman
*

Posts: 59
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Jul 2012
Reputation: 1



Post: #3
RE: A "problem" with opening a Dialog
*facepalm*

i dont know why, but your hint was right. The Script didn't load. Allthough i don't know why it did load at home, but not on our server.

There seemed to be a problem with the filename. It had two underscores (i hope this is the right translation of what i mean Tongue) like

scripts/class_system/classes_gumps_new.scp

allthough this version worked at home (it loaded correctly), it didn't work right on our server. I had to rename the file to reduce the "underscores" to a maximum of 1 --> classes_newgumps.scp.

This is really ... weird.

EDIT : Next time i know that i should try to open all dialogs ig per hand Tongue

But thanks Extreme, now it works as it should.
(This post was last modified: 07-11-2012 03:27 AM by Shidhun.)
07-11-2012 03:26 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: A "problem" with opening a Dialog
You're welcome =D
The 'underscores' is 'underlines'.
I think its don't affect to sphere load them, because sphere have sphere_serv_triggers.scp as example.
Maybe is because you don't set in spheretables.scp to load your folder 'class_system' or the underline in this folder name don't works (never tested it, I never used underline in folder names to know)

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.
07-11-2012 03:44 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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