Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > uncompiled USDF bug in zdoom 2.6.1 [delete me! ]
 
Author
All times are GMT. The time now is 23:56. Post New Thread    Post A Reply
Cacowad
Member


Posts: 309
Registered: 07-12


i don't know if this is the correct place to report this...

anyway i worte a simple code for an ammo shop, and there is an error when it come to number the pages of the script:

here comes the code: the missing page is evidenced.

code:
namespace = "Strife"; include = "SCRIPT00"; conversation { actor = 8; page { name = "shop"; dialog = "welcome back"; choice { text = "i need ammo"; nextpage = 2; closedialog = false; } } page { name = "shop"; dialog = "which one?"; choice { text = "bullets"; nextpage = 3; closedialog = false; } choice { text = "shells"; nextpage = 4; closedialog = false; } choice { text = "rockets"; nextpage = 5; closedialog = false; } choice { text = "cells"; nextpage = 6; closedialog = false; } page { } page { name = "shop"; dialog = "how many?"; choice { text = "10 bullets"; cost { item = 65; // Item that is required for this option. amount = 1; // Minimum amount of the item needed. } displaycost = true; yesmessage = "purchased 10 bullets"; nomessage = "not enought souls"; giveitem = 43; // Gives the specified item upon success. nextpage = 3; } choice { text = "50 bullets"; cost { item = 65; amount = 5; } displaycost = true; yesmessage = "purchased 50 bullets"; nomessage = "not enought souls"; giveitem = 44; // Gives the specified item upon success. nextpage = 3; } choice { text = "100 bullets"; cost { item = 65; amount = 10; } displaycost = true; yesmessage = "purchased 100 bullets"; nomessage = "not enought souls"; giveitem = 66; nextpage = 3; } choice { text = "have you something else?"; nextpage = 1; } } page { name = "shop"; dialog = "how many?"; choice { text = "4 shells"; cost { item = 65; amount = 2; } displaycost = true; yesmessage = "purchased 4 shells"; nomessage = "not enought souls"; giveitem = 47; nextpage = 4; } choice { text = "20 shells"; cost { item = 65; amount = 4; } displaycost = true; yesmessage = "purchased 10 shells"; nomessage = "not enought souls"; giveitem = 48; nextpage = 4; } choice { text = "40 shells"; cost { item =65; amount = 20; } displaycost = true; yesmessage = "purchased 50 shells"; nomessage = "not enought souls"; giveitem = 67; nextpage = 4; } choice { text = "have you something else?"; nextpage = 1; } } page { name = "shop"; dialog = "how many?"; choice { text = "1 roket"; cost { item = 65; amount = 1; } displaycost = true; yesmessage = "purchased 1 rocket"; nomessage = "not enought souls"; giveitem = 45; nextpage = 5; } choice { text = "5 rokets"; cost { item = 65; amount = 5; } displaycost = true; yesmessage = "purchased 5 rokets"; nomessage = "not enought souls"; giveitem = 46; nextpage = 5; } choice { text = "10 rokets"; cost { item = 65; amount = 10; } displaycost = true; yesmessage = "purchased 10 rokets"; nomessage = "not enought souls"; giveitem = 68; nextpage = 5; } choice { text = "have you something else?"; nextpage = 1; } } page { name = "shop"; dialog = "how many?"; choice { text = "20 cells"; cost { item = 65; amount = 4; } displaycost = true; yesmessage = "purchased 20 cells"; nomessage = "not enought souls"; giveitem = 41; nextpage = 6; } choice { text = "40 cells"; cost { item = 65; amount = 8; } displaycost = true; yesmessage = "purchased 40 cells"; nomessage = "not enought souls"; giveitem = 69; nextpage = 6; } choice { text = "100 cells"; cost { item = 65; amount = 20; } displaycost = true; yesmessage = "purchased 100 cells"; nomessage = "not enought souls"; giveitem = 42; nextpage = 6; } choice { text = "have you something else?"; nextpage = 1; } } }


hope it helped.

Last edited by Cacowad on 11-20-12 at 14:55

Old Post 11-19-12 21:46 #
Cacowad is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Sodaholic
I feel justified yet disgusted with myself at the same time


Posts: 2880
Registered: 04-07



Cacowad said:
i don't know if this is the correct place to report this...

You might want to try the ZDoom forums.

Old Post 11-19-12 22:35 #
Sodaholic is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Springy
Senior Member


Posts: 1357
Registered: 09-12


Have you tried the latest SVN build? The bug could've been solved in that. EDIT: http://svn.drdteam.org/zdoom/

Old Post 11-19-12 22:38 #
Springy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Cacowad
Member


Posts: 309
Registered: 07-12



Sodaholic said:

You might want to try the ZDoom forums.



that's why i should never post anything around midnight...

anyway, i must be slightly daltonic somehow, becouse i can't pass the spambot test... the zdoom forum board isn't pink or somehow reddish?


Springy said:

Have you tried the latest SVN build? The bug could've been solved in that. EDIT: http://svn.drdteam.org/zdoom/



yes, already tried, the bug is still there.

Old Post 11-20-12 12:35 #
Cacowad is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Blzut3
Member


Posts: 517
Registered: 06-04


You have a missing closing brace on your second page and then a odd empty third page.

Old Post 11-20-12 14:01 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Cacowad
Member


Posts: 309
Registered: 07-12


you nailed it.
this mean that this post is worth of being cancelled and sent to post hell. i really don't know why i didn't notice it. sorry for the useless post.

Old Post 11-20-12 14:51 #
Cacowad is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 23:56. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > uncompiled USDF bug in zdoom 2.6.1 [delete me! ]

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.