RPGObjects.com http://rpgobjects.com/forum/ |
|
Traipse and Dice Problem http://rpgobjects.com/forum/viewtopic.php?f=4&t=634 |
Page 1 of 2 |
Author: | Svengaard [ Tue Oct 12, 2010 2:25 am ] |
Post subject: | Traipse and Dice Problem |
Okay, so I'm still pretty new with Traipse (Ornery Orc) and I'm having problems getting my d20 dice rolls to show up in chat when I right click on a skill or an ability score. Things work fine in this other version of OpenRPG I've tried both std and d20 dicerollers. I've also tried changing my gametree click options to use, design, chat, print and nothing helps. Is there anything I'm forgetting to do? |
Author: | prof.ebral [ Tue Oct 12, 2010 2:30 am ] |
Post subject: | Re: Traipse and Dice Problem |
That is because of a bug. Sorry about that. Which nodehandler are you using? I can post a corrected version here before it goes into the Beta branch. Code: Traceback (most recent call last): File "/home/sirebral/Programs/traipse-ornery/System/orpg/gametree/gametree.py", line 774, in on_rclick if(isinstance(obj,core.node_handler)): obj.on_rclick(evt) File "/home/sirebral/Programs/traipse-ornery/System/orpg/gametree/nodehandlers/dnd35.py", line 927, in on_rclick chat.ParsePost(txt,True,True) AttributeError: 'chat_panel' object has no attribute 'ParsePost' Crash Report Created!! Is the error I am getting. This should be simple to fix. |
Author: | Svengaard [ Tue Oct 12, 2010 2:43 am ] |
Post subject: | Re: Traipse and Dice Problem |
Not 100% sure what you mean by node handler, but I'm testing using the d20 character sheet. .. Traceback (most recent call last): File "C:\Games\Traipse\System\orpg\gametree\gametree.py", line 772, in on_rclick if(isinstance(obj,core.node_handler)): obj.on_rclick(evt) File "C:\Games\Traipse\System\orpg\gametree\nodehandlers\d20.py", line 412, in on_rclick chat.ParsePost( txt, True, True ) AttributeError: 'chat_panel' object has no attribute 'ParsePost' .. Crash Report Created!! .. Printed out crash-report.txt in your System folder Is what I got when I was clicking on ability scores, hp, and skills. |
Author: | prof.ebral [ Tue Oct 12, 2010 3:21 am ] |
Post subject: | Re: Traipse and Dice Problem |
ok. I'll make the needed corrections and post a sheet here or find some way to send it to you. |
Author: | prof.ebral [ Tue Oct 12, 2010 3:30 am ] |
Post subject: | Re: Traipse and Dice Problem |
The file should be extracted and then it will replace the d20.py file found in your System/orpg/gametree/nodehandlers folder. http://www.megaupload.com/?d=5EELR85F |
Author: | Svengaard [ Tue Oct 12, 2010 4:17 am ] |
Post subject: | Re: Traipse and Dice Problem |
Hmmm. Getting the same problem. .. Traceback (most recent call last): File "C:\Games\Traipse\System\orpg\gametree\gametree.py", line 772, in on_rclick if(isinstance(obj,core.node_handler)): obj.on_rclick(evt) File "C:\Games\Traipse\System\orpg\gametree\nodehandlers\d20.py", line 361, in on_rclick chat.ParsePost(txt,True,True) AttributeError: 'chat_panel' object has no attribute 'ParsePost' .. Crash Report Created!! .. Printed out crash-report.txt in your System folder |
Author: | prof.ebral [ Tue Oct 12, 2010 5:00 am ] |
Post subject: | Re: Traipse and Dice Problem |
Did you replace the file with the one I sent you? It appears you did not "replace" the file. |
Author: | Svengaard [ Tue Oct 12, 2010 5:14 am ] |
Post subject: | Re: Traipse and Dice Problem |
Aye, I did. Still the same problem. |
Author: | prof.ebral [ Tue Oct 12, 2010 5:20 am ] |
Post subject: | Re: Traipse and Dice Problem |
You better check three or four times. Did you put it in the correct folder? What you are saying is impossible. Edit: Let me show you why: Code: def on_rclick(self,evt): item = self.tree.GetSelection() name = self.tree.GetItemText(item) if item == self.mytree_node: d20_char_child.on_ldclick(self,evt) else: skill = self.skills[name]; untrained = skill.get('untrained'); rank = skill.get('rank'); if untrained == "0" and rank == "0": txt = '%s Skill Check: Untrained' % (name) else: mod = self.get_mod(name) if mod >= 0: mod1 = "+" else: mod1 = "" txt = '%s Skill Check: [1d20%s%s]' % (name, mod1, mod) chat = self.chat Parse.Post( txt, self.chat, True, True ) See that last line ... that is line 361. See your error message: Quote: File "C:\Games\Traipse\System\orpg\gametree\nodehandlers\d20.py", line 361, in on_rclick chat.ParsePost(txt,True,True) |
Author: | Svengaard [ Tue Oct 12, 2010 5:53 am ] |
Post subject: | Re: Traipse and Dice Problem |
Aye. rebooted, checked right folder, recopied the file you sent me, checked it replaced. Even tried 3.5 Nodehandler too. Only thing I can get to work are attack rolls. Is it possible I have a different corrupt file instead? If so, which one should I be trying to download again? I have Traipse Ornery Orc {100505-00}, built on OpenRPG 1.8.0 if that helps. |
Page 1 of 2 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |