General support forum. If you require assistance and your problem doesnt fall in any of the other categories, this is the forum for you!
Moderator: Team Members
Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
-
Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Post
by Gangrenous » Mon Dec 19, 2016 9:01 pm
Found a nice little thing. Accidentally doing this...
Code: Select all
StartConversation(conversation, NPC, Spawn, "Hello! It's such a pleasure to talk to someone else for a change! What brings you this way from the big city, eh?")
AddConversationOption(conversation, "Glad to brighten your day. Just passing through.", "")
Instead of...
Code: Select all
AddConversationOption(conversation, "Glad to brighten your day. Just passing through.", "")
StartConversation(conversation, NPC, Spawn, "Hello! It's such a pleasure to talk to someone else for a change! What brings you this way from the big city, eh?")
Can cause a nice strange crash
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Post
by Jabantiz » Mon Dec 19, 2016 10:09 pm
Once you call start conversation the conversation variable is no longer valid so calling add conversation option after will crash. Start conversation always needs to be the last function called as it pushes every thing to the client.
-
Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Post
by Gangrenous » Tue Dec 20, 2016 6:09 am
I was just wanting to notate it. It is a means for a quest writer to completely crash the server. You could imagine if a live server was running with players and someone messed up a quest.
Resident Dirty Hippy
Who is online
Users browsing this forum: No registered users and 0 guests