[crossfire] Spellcasting Swords progress

Alex Schultz alex_sch at telus.net
Thu Jun 2 01:51:30 CDT 2005


Andreas Kirschbaum wrote:

>
     
     Alex Schultz wrote:
     
     >
     
     
     >>
     
     Today I was tring to extend the "CreateInvisibleObjectInside" function
     
     >>
     
     in the python bindings to also allow limited duration forces to be
     
     >>
     
     created in the same manner that markers can do that. 
     
     >>
     
     
     >
     
     It works as intended for me: I can call the modified fuction with
     
     >
     
     either two or three arguments. The two argument one creates a permanent,
     
     >
     
     the three argument one a temporary force.
     
     >
     
     
     >
     
     Maybe Mark was right and your "make install" did not work? Or maybe you
     
     >
     
     did not restart your server?
     
     >
     
     
     I remembered those, but it turns out it wasn't installing the new 
plugin_python.so for some reason. Anyways, that's fixed now (for no 
apparent reason, but oh well), however theres one issue I'm having when 
I try make some archtypes using them; In order to store the spell data, 
I need to insert a rod in the object's inventory. The first try I did of 
that was embedding it in the arch like one can do with maps, but that 
didn't work. Then I tried by making treasurelists for the rods, however 
they failed to keep spell data that I embedded in the treasurelist.
I know that using treasurelists, and at the same time making custom rod 
arches for each of the spellswords would work, however I don't see that 
as being a very clean solution. Anybody have any better suggestions?

Thanks,
Alex Schultz


    
    


More information about the crossfire mailing list